AMC 10 Step by Step

2017 AMC 10A Problem 21

P21-25~7 minPrint

A square with side length xx is inscribed in a right triangle with sides of length 33 , 44 , and 55 so that one vertex of the square coincides with the right-angle vertex of the triangle. A square with side length yy is inscribed in another right triangle with sides of length 33 , 44 , and 55 so that one side of the square lies on the hypotenuse of the triangle. What is xy\tfrac{x}{y} ?

Log in to save your progress.
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 33-44-55 triangle. Matching shapes means matching ratios of sides, and that is enough to find each square.

Part 1: the square in the corner (xx).

1. Stand the triangle with the leg of length 44 along the bottom and the leg of length 33 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 xx. Its height is the rest of the left leg, 3−x3 - x.
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 ÷\div height =4÷3= 4 \div 3. So
x3−x=43.\frac{x}{3 - x} = \frac43.
4. Cross-multiply: 3x=4(3−x)=12−4x3x = 4(3 - x) = 12 - 4x, so 7x=127x = 12 and x=127x = \dfrac{12}{7}.

Part 2: the square on the hypotenuse (yy).

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 yy, 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 33-44-55 shape. In each one, the square's side yy is the leg standing up, and the other leg lies along the hypotenuse.
7. Corner where the leg of length 44 meets the hypotenuse. In the big triangle, the side across from this corner is the short leg 33 and the side next to it is 44. In the small triangle, yy is across from this corner, so yy plays the role of 33. The piece along the hypotenuse plays the role of 44: it is 43y\tfrac43 y.
8. Corner where the leg of length 33 meets the hypotenuse. Here the roles swap: yy plays the role of 44, and the piece along the hypotenuse is 34y\tfrac34 y.
9. The three pieces fill the hypotenuse of length 55:
43y+y+34y=5.\tfrac43 y + y + \tfrac34 y = 5.
Over twelfths: 1612y+1212y+912y=3712y=5\tfrac{16}{12}y + \tfrac{12}{12}y + \tfrac{9}{12}y = \tfrac{37}{12}y = 5, so y=6037y = \dfrac{60}{37}.

Part 3: the ratio.

  1. xy=127÷6037=127⋅3760=3735.\frac{x}{y} = \frac{12}{7} \div \frac{60}{37} = \frac{12}{7} \cdot \frac{37}{60} = \frac{37}{35}.

The answer is (D) 3735\boxed{\textbf{(D)}\ \frac{37}{35}}.

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 3:43 : 4 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 3⋅45=125\frac{3 \cdot 4}{5} = \frac{12}{5} (twice the area divided by the base). The triangle above the square has base yy (the square's top side, parallel to the hypotenuse) and height 125−y\frac{12}{5} - y, and it has the same shape as the big triangle. So base ÷\div height matches:
y125−y=5125.\frac{y}{\frac{12}{5} - y} = \frac{5}{\frac{12}{5}}.
Cross-multiplying gives 125y=12−5y\tfrac{12}{5}y = 12 - 5y, so 375y=12\tfrac{37}{5}y = 12 and y=6037y = \frac{60}{37}, 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 44 on the xx-axis and 33 on the yy-axis. The hypotenuse is the line X4+Y3=1\frac{X}{4} + \frac{Y}{3} = 1, and the square's far corner (x,x)(x, x) lies on it:
x4+x3=1⟹7x12=1⟹x=127.\frac{x}{4} + \frac{x}{3} = 1 \quad\Longrightarrow\quad \frac{7x}{12} = 1 \quad\Longrightarrow\quad x = \frac{12}{7}.

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 33 has one leg yy (a side of the square, perpendicular to the hypotenuse) and the other leg along the hypotenuse; it is similar to the 33-44-55 triangle with legs in ratio 3:43 : 4, so its hypotenuse-leg is 43y\tfrac{4}{3}y. At the other vertex the roles swap and the hypotenuse-leg is 34y\tfrac{3}{4}y. These two pieces plus the square's side make up the hypotenuse:
43y+y+34y=5⟹3712y=5⟹y=6037.\frac{4}{3}y + y + \frac{3}{4}y = 5 \quad\Longrightarrow\quad \frac{37}{12}y = 5 \quad\Longrightarrow\quad y = \frac{60}{37}.

Ratio.
xy=12/760/37=12⋅377⋅60=3735.\frac{x}{y} = \frac{12/7}{60/37} = \frac{12 \cdot 37}{7 \cdot 60} = \frac{37}{35}.

The answer is (D) 3735\boxed{\textbf{(D)}\ \frac{37}{35}}.

Review in the AoPS books

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.