Square squeeze

Geometry Level 3

You would like to maximize the area of an orange square that you fit between the four blue unit squares that lie on a regular grid as shown:

What is the largest area you can achieve?

4 Less than 4 Greater than 4

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Marta Reece
Mar 7, 2017

To maximize the area of the square, we'll maximize B D = A B + B C BD=AB+BC .

We know that A C = 2 AC=\sqrt{2} . So if we define x = A B x=AB we get B C = 2 x 2 BC=\sqrt{2-x^2} and B D = x + 2 x 2 BD= x+\sqrt{2-x^2} .

Setting first derivative equal zero will give us x 2 x 2 = 1 \frac{x}{\sqrt{2-x^2}}=1 which is true for x = 1 x=1 .

That means the largest square has A B = B C = 1 AB=BC=1 and a side B D = 2 BD=2 .

Moderator note:

If we let O O be the midpoint of the image, then the OABC setup reminds me of this 2/17 Problem of the week .

This shows us how we can build up our intuition for a problem based on previous experiences

Nice! We could do this directly by observing that we want to maximize A B C ABC , subject to A B C = 9 0 \angle ABC = 90 ^ \circ . Then, this is maximal exactly when ... (fill in the rest of the proof).


Let O O be the midpoint of the image. Then the OABC setup reminds me of / is identical to this 2/17 Problem of the week .

Calvin Lin Staff - 4 years, 3 months ago

Log in to reply

I made a correction to the start of the solution based on your comment. Thank you.

Marta Reece - 4 years, 3 months ago

I think a simpler solution, without using calculus, would be to notice that the part of the middle horizontal line containing C, that passes through the rotated square has a length of 2. So, one side of the (rotated) square will be less than 2. So the maximum area would be 4 \boxed4 , when the square isn't rotated and fits nicely into the central region.

Geoff Pilling - 4 years, 3 months ago

Log in to reply

This is true and it is definitely more elegant. The reason I posted the solution I did was to help those people who do not grasp this to see a way they could either arrive at the conclusion, or at least have a confidence in it.

Marta Reece - 4 years, 3 months ago

Log in to reply

Ah, good point!

Geoff Pilling - 4 years, 3 months ago

The B point must be on the Thales circle over AC. The base of all the possible ABC triangles are the same, AC, so their area depends on their altitude. The maximum altitude is the radius of the Thales circle,it is the case, when B is on the grid. So the maximum area of the square is 4.

Katalin Cselőtei - 4 years, 2 months ago

Log in to reply

Good observation. I like proofs like that, the ones that make you see why it has to be so, not just calculate an answer.

Marta Reece - 4 years, 2 months ago

Oh this is a nice application of Thales' theorem , I think you should post this comment as a solution instead!

Pi Han Goh - 4 years, 2 months ago

Nice approach, Marta!

Geoff Pilling - 4 years, 3 months ago

@Marta Reece Is it necessary to set the second derivative to prove that x=1 is a maximum value?

Zuriel Aquino - 4 years, 2 months ago

Log in to reply

I did not do that step, because from the geometry of the problem it was obvious that the critical point found was the location of a maximum. But if one were to do it, the second derivative would be 2 ( 2 x 2 ) 3 / 2 -\frac{2}{(2-x^2)^{3/2}} . So it would be negative, as is needed for a maximum.

Marta Reece - 4 years, 2 months ago

A slight variation on your approach is to think of maximizing the sum of that right triangles legs in terms of maximizing the sum of sine and cosine.

Peter Byers - 4 years, 2 months ago
Richard Desper
Mar 21, 2017

OK, let's add some grid lines to the middle. Note that the center of the square is at the intersection of the gridlines (by symmetry) - call this point O O . Let A A by the grid point above O O and let B B be the midpoint of the square's side closest to A A . And let θ \theta be the measure of the angle A O B \angle AOB . Note that O A = 1 OA = 1 and O B = cos θ OB = \cos \theta . Since O B OB is half the width of the square we see that the square's area is 4 × O B 2 4 \times OB^2 which is 4 ( cos 2 θ ) 4 (\cos^2 \theta) . This value is maximized when cos θ = 1 \cos \theta = 1 , which means θ = 0 \theta = 0 , .i.e when the square is flush with the gridlines.

Oh woah! This is the cleverest solution yet! I like how there's so little (actual) calculation involved.

My approach was the same as @Marta Reece 's, but yours is certainly much more elegant!

Pi Han Goh - 4 years, 2 months ago

Best answer.

Terry Smith - 4 years, 2 months ago

Brilliant, anyway.

Leonblum Iznotded - 2 years, 11 months ago
Geoff Pilling
Mar 7, 2017

By symmetry, two opposite sides of the square will touch the corners indicated in the figure. Since the distance between these corners is 2 2 , then the largest possible square you can fit in there will be 2 × 2 2 \times 2 . If you rotate the square as shown, the area of the square will only be smaller, since then a line segment connecting two opposite blue squares will go diagonally through the square and will have a distance of 2 2 , so the length/width of the square would be less than 2 2 .

Therefore, the area of the largest orange square would be: 2 × 2 = 4 2 \times 2 = \boxed4

Peter Macgregor
Mar 22, 2017

Imagine the orange square sitting unrotated and covering the four middle squares. In this position it has an area of 4. Now rotate it to a new position and adjust its size so it nestles between the blue squares as shown. Now examine the diagram as drawn by Geoff. As it rotates to the new position the orange square looses four white right angled triangles and gains four orange triangles. The orange triangles are similar to the white ones but smaller, and so the area has been reduced.

The orange triangles are smaller because their hypotenuses are less than a grid unit (just look at the diagram!), while the white hypotenuses are longer than a grid unit (because one of the other sides of the white triangles is a grid unit).

Done.

Glad you liked the 'maths free' approach Geoff. But perhaps identifying the similar triangles, and knowing that the hypotenuse is the longest side of a right angled triangle should count as 'maths'!

Peter Macgregor - 4 years, 2 months ago

Log in to reply

I agree with you, Peter. So basically the orange triangles and the white triangles are similar, then we know the orange triangle is smaller because it has shorter hypotenuse.

Christopher Boo - 4 years, 2 months ago

Nice approach, @Peter Macgregor with no need for any math! :0)

Geoff Pilling - 4 years, 2 months ago

I can tell it is 4 by eyeballing it.

Dennis Rodman - 2 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...