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?
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.
If we let 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 , subject to ∠ A B C = 9 0 ∘ . Then, this is maximal exactly when ... (fill in the rest of the proof).
Let O be the midpoint of the image. Then the OABC setup reminds me of / is identical to this 2/17 Problem of the week .
Log in to reply
I made a correction to the start of the solution based on your comment. Thank you.
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 , when the square isn't rotated and fits nicely into the central region.
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.
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.
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.
Oh this is a nice application of Thales' theorem , I think you should post this comment as a solution instead!
Nice approach, Marta!
@Marta Reece Is it necessary to set the second derivative to prove that x=1 is a maximum value?
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 − x 2 ) 3 / 2 2 . So it would be negative, as is needed for a maximum.
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.
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
. Let
A
by the grid point above
O
and let
B
be the midpoint of the square's side closest to
A
. And let
θ
be the measure of the angle
∠
A
O
B
.
Note that
O
A
=
1
and
O
B
=
cos
θ
. Since
O
B
is half the width of the square we see that the square's area is
4
×
O
B
2
which is
4
(
cos
2
θ
)
. This value is maximized when
cos
θ
=
1
, which means
θ
=
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!
Best answer.
Brilliant, anyway.
By symmetry, two opposite sides of the square will touch the corners indicated in the figure. Since the distance between these corners is 2 , then the largest possible square you can fit in there will be 2 × 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 , so the length/width of the square would be less than 2 .
Therefore, the area of the largest orange square would be: 2 × 2 = 4
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'!
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.
Nice approach, @Peter Macgregor with no need for any math! :0)
I can tell it is 4 by eyeballing it.
Problem Loading...
Note Loading...
Set Loading...
To maximize the area of the square, we'll maximize B D = A B + B C .
We know that A C = 2 . So if we define x = A B we get B C = 2 − x 2 and B D = x + 2 − x 2 .
Setting first derivative equal zero will give us 2 − x 2 x = 1 which is true for x = 1 .
That means the largest square has A B = B C = 1 and a side B D = 2 .