Rectangles in triangles
Excerpt: This is a maximising problem that students are expected to tackle without calculus. Ideally students should be allowed the time to explore their own chosen approach before comparing its efficiency and accuracy to those of others.
Problem
What is the greatest area of a rectangle inscribed in a given right-angled triangle?
Consider this situation, where is a vertex of both the rectangle and the triangle.
Suggestion
If the horizontal length of the rectangle is labelled , what is the vertical length of the rectangle in terms of and side lengths and ?
Next step
Consider this situation, where one edge of the rectangle lies on the line .
-
How does your approach to each situation compare?
-
How does the area of the rectangle identified in each situation compare?



Solution
What is the greatest area of a rectangle inscribed inside a given right-angled triangle?
Consider this situation, where C is a vertex of both the rectangle and the triangle.
This problem can be tackled in many ways, some of which are more effective than others.
We might consider an algebraic approach.
Step 1
Consider a specific case.
Let’s say that for simplicity I choose to consider a , , right-angled triangle. If I set the width of the rectangle to be , how would I calculate the area of the resulting rectangle?
Well, if then length and if I notice that triangle is similar to triangle then I can calculate the linear scale factor of enlargement.
The linear scale factor is calculated as the ratio of corresponding lengths in the two similar triangles. In this case I want to consider going from the larger triangle to the smaller triangle so I have
I can now calculate length as
So the area of this particular rectangle is
I have successfully calculated the area of one particular rectangle inscribed inside my , , right-angled triangle. However, I still need to answer the bigger question: What is the greatest area of a rectangle inscribed inside a right-angled triangle?
To do this I will need to now move towards a more general case.
Step 2
Moving towards a more general case.
Applying the method used for my specific case to a general rectangle of horizontal length inscribed inside a , , right-angled triangle, the linear scale factor will be given by .
The area of rectangle will now be given by
I can now see that I am dealing with a quadratic expression. This will look like a parabola with, in this case, a maximum point. If I can sketch the parabola then I may be able to locate the -coordinate of the maximum, which corresponds to the horizontal length of the rectangle with maximum area.
I can see that the maximum area will occur when (I am exploiting the vertical symmetry property of the parabola) and I can now substitute this into to identify the maximum area as
Notice that this is exactly half the area of the original , , triangle!
I wonder if this is true in general for any right-angled triangle?
Step 3
A general case
Applying the same method as before but to a right-angled triangle of side lengths , , , I see that the linear scale factor is
Using this I can now identify the length of the vertical side of the rectangle as and therefore the area is given by
Sketching the graph of this expression as before I can see that the rectangle of maximum area occurs when . Substituting this into the general formula for the area I find that
The area of the original triangle is given by .
Therefore it is the case that if a rectangle is inscribed inside a right-angled triangle in this way, its greatest area will be exactly half that of the triangle.
One of the first things we must do when taking an algebraic approach is to decide which length in the diagram to consider as our variable. The suggestion in the main problem page suggested that we choose the horizontal length of the rectangle, . However, we could just have easily chosen the vertical length of the rectangle. We may have even chosen to work with one of the other lengths in the diagram.
So how do we know which will be the best choice of variable? We might assume that it will make no difference to the final result but does it make a difference to the journey? Will one choice of variable be ‘easier’ to work with than another?
Additional thinking
In this particular scenario, because the sides of the rectangle are each parallel to a side of the original triangle, selecting the length or width of the rectangle as our variable will in fact lead to a symmetrical chain of reasoning, an equivalent amount of work required to reach a solution.
If however, we choose to vary a length along the hypotenuse, say from point B to the top right-hand vertex of the rectangle, then we might expect some extra ‘journey time’ in order to identify the length and width of the rectangle and hence the area.
Sometimes it is hard to predict which choice of variable will be ‘best’. It is often with hindsight and experience of the problem that we can see an alternative, potentially more effective, approach.
Alternatively we might consider a possible geometric approach.
Step 1
Suppose .
Folding along the line we have this:
By showing that triangles and are congruent we can see that the area outside of the red rectangle is greater (by triangle ) than the area inside of it. Therefore the area of the red rectangle is less than half of the area of the triangle .
Step 2
Suppose .
Folding along the line we have this:
By showing that this splits the original triangle into four smaller, congruent triangles we can see that the area outside of the red rectangle is equal to the area inside of it. Therefore as increases to the area of the red rectangle increases to half of the area of the triangle .
Step 3
Suppose .
Folding along the line we have this:
By showing that triangles and are congruent we can see that the area outside of the red rectangle is greater (by triangle ) than the area inside of it. Therefore the area of the red rectangle is, once again, less than half of the area of triangle .
Conclusion
By considering each of these three cases we have shown that the red rectangle will have a maximum area equal to half that of the original triangle . This will occur when the horizontal length of the rectangle, .
You might like to reconsider your approach to this problem after exploring some of the ideas at Calculus of Powers.








Next step solution
It would seem sensible to attempt to approach this using methods similar to those used in the first problem.
As before, one of the first things needed in an algebraic approach is to identify the length of the rectangle that lies on the line in terms of and the side lengths of the triangle , , .
As before, one of the first things we must do is decide which length in the diagram to consider as our variable. In the original scenario it seemed sensible to select one of the sides of the rectangle to vary.
So which will be the best choice of variable this time? Why might we choose to label length ?
In the previous situation I used similar triangles to identify the missing lengths. By considering the interior angles of each of the smaller white triangles (, , and ) I can show that all are in fact similar to triangle .
If I now consider triangle I can calculate the linear scale factor from this to triangle as and therefore the length .
Now I consider triangle . Length and so the linear scale factor from this triangle to triangle is given by Length can now be written as .
The area of the blue rectangle can now be expressed as
Once again I am dealing with a quadratic equation that has a maximum point that can be located by sketching the graph.
The maximum value occurs when which corresponds to a maximum area of .
Notice that once again it is the case that if a rectangle is inscribed inside a right-angled triangle in this way, its greatest area will be exactly half that of the triangle.
The algebraic approach is not the only valid method. Often we use algebra as part of our first attempt to solve a problem, but it may be beneficial to think about other approaches first. We can also consider a geometric approach here. Can you construct a similar folding argument to the one that was used in the first problem?



