2017 AMC 10A Problem 21
A square with side length is inscribed in a right triangle with sides of length , , and so that one vertex of the square coincides with the right-angle vertex of the triangle. A square with side length is inscribed in another right triangle with sides of length , , and so that one side of the square lies on the hypotenuse of the triangle. What is ?
Show solution without answering
Key insight
Each square cuts off small right triangles shaped like the 3-4-5 triangle. Their matching side ratios let you write a side of the big triangle using the square's side.
Solution
Both squares cut off small right triangles that have the same shape as the -- triangle. Matching shapes means matching ratios of sides, and that is enough to find each square.
Part 1: the square in the corner ().
1. Stand the triangle with the leg of length along the bottom and the leg of length going up the left side. The square sits in the bottom-left corner, and its top-right corner touches the hypotenuse.
2. Above the square is a small right triangle. Its bottom side is the top of the square, length . Its height is the rest of the left leg, .
3. Its top side is flat like the big triangle's bottom, and it shares the top corner, so it has the same shape as the big triangle. In the big triangle, bottom height . So
4. Cross-multiply: , so and .
Part 2: the square on the hypotenuse ().
5. Now the square lies along the hypotenuse, and its two top corners touch the two legs. Along the hypotenuse, from one end to the other, you pass: a small corner triangle, the square's bottom side , and another small corner triangle.
6. Each corner triangle has a right angle (the square's side stands straight up from the hypotenuse) and shares a corner angle with the big triangle. So each has the -- shape. In each one, the square's side is the leg standing up, and the other leg lies along the hypotenuse.
7. Corner where the leg of length meets the hypotenuse. In the big triangle, the side across from this corner is the short leg and the side next to it is . In the small triangle, is across from this corner, so plays the role of . The piece along the hypotenuse plays the role of : it is .
8. Corner where the leg of length meets the hypotenuse. Here the roles swap: plays the role of , and the piece along the hypotenuse is .
9. The three pieces fill the hypotenuse of length :
Over twelfths: , so .
Part 3: the ratio.
The answer is .
Why this works
A square tucked inside a right triangle always leaves small right triangles that share an angle with the big one, so they are all the same shape. Write one side of the big triangle as a sum of pieces, express each piece using the square's side and the ratio, and solve one equation. The only care needed is matching each small triangle's legs to the right sides of the big triangle.
Alternative approach
For the square on the hypotenuse, use the triangle on top instead. The height of the big triangle measured from the hypotenuse is (twice the area divided by the base). The triangle above the square has base (the square's top side, parallel to the hypotenuse) and height , and it has the same shape as the big triangle. So base height matches:
Cross-multiplying gives , so and , as before.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The square at the right angle. Put the right angle at the origin with legs along the axes, the leg of length on the -axis and on the -axis. The hypotenuse is the line , and the square's far corner lies on it:
The square on the hypotenuse. The square's two upper corners touch the legs, cutting off two small right triangles at the ends of the hypotenuse plus a triangle on top. The small triangle at the vertex whose angle is opposite the side has one leg (a side of the square, perpendicular to the hypotenuse) and the other leg along the hypotenuse; it is similar to the -- triangle with legs in ratio , so its hypotenuse-leg is . At the other vertex the roles swap and the hypotenuse-leg is . These two pieces plus the square's side make up the hypotenuse:
Ratio.
The answer is .
Review in the AoPS books
- Introduction to Geometry, Chapter 3: Congruent Triangles
- Introduction to Geometry, Chapter 4: Perimeter and Area (§4.2)
- Introduction to Geometry, Chapter 5: Similar Triangles
- Introduction to Geometry, Chapter 6: Right Triangles (§6.1, §6.2, §6.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.