# 2008 iTest Problems/Problem 52

## Problem

A triangle has sides of length $48, 55$, and $73$. A square is inscribed in the triangle such that one side of the square lies on the longest side of the triangle, and the two vertices not on that side of the square touch the other two sides of the triangle. If $c$ and $d$ are relatively prime positive integers such that $c/d$ is the length of a side of the square, ﬁnd the value of $c + d$.

## Solution

$[asy] draw((0,0)--(73,0)--(2304/73,2640/73)--(0,0)); draw((21.1,0)--(21.1,192720/7969)--(45.1,192720/7969)--(45.1,0)); draw((2304/73,2640/73)--(2304/73,0),dotted); [/asy]$

Let $a$ be the altitude to the longest side, and let $x$ be the length of the square. Using similar triangles to write a proportion, $$\frac{a-x}{x} = \frac{a}{73}$$ $$73a-73x=ax$$ $$x = \frac{73a}{a+73}$$

Note that $48^2 + 55^2 = 73^2$, so the sides are part of a right triangle. That means the altitude to the hypotenuse is $\tfrac{48 \cdot 55}{73}$. Substitute that to get $$\frac{73 \cdot \frac{48 \cdot 55}{73}}{73 + \frac{48 \cdot 55}{73}}$$ $$\frac{48 \cdot 55}{\frac{73^2 + 48 \cdot 55}{73}}$$ $$\frac{48 \cdot 55 \cdot 73}{73^2 + 48 \cdot 55}$$ $$\frac{192720}{7969}$$ The prime factorization of $7969$ is $13 \cdot 613$. Since both of the numbers are not a factor of $192720$, we can confirm that $192720$ and $7969$ are relatively prime, so $c+d = \boxed{200689}$.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 24, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}