# Difference between revisions of "2018 AMC 10A Problems/Problem 23"

## Problem

Farmer Pythagoras has a field in the shape of a right triangle. The right triangle's legs have lengths 3 and 4 units. In the corner where those sides meet at a right angle, he leaves a small unplanted square $S$ so that from the air it looks like the right angle symbol. The rest of the field is planted. The shortest distance from $S$ to the hypotenuse is 2 units. What fraction of the field is planted?

$[asy] draw((0,0)--(4,0)--(0,3)--(0,0)); draw((0,0)--(0.3,0)--(0.3,0.3)--(0,0.3)--(0,0)); fill(origin--(0.3,0)--(0.3,0.3)--(0,0.3)--cycle, gray); label("4", (2,0), N); label("3", (0,1.5), E); label("2", (.8,1), E); label("S", (0,0), NE); draw((0.3,0.3)--(1.4,1.9), dashed); [/asy]$

$\textbf{(A) } \frac{25}{27} \qquad \textbf{(B) } \frac{26}{27} \qquad \textbf{(C) } \frac{73}{75} \qquad \textbf{(D) } \frac{145}{147} \qquad \textbf{(E) } \frac{74}{75}$

## Solution 1

Let the square have side length $x$. Connect the upper-right vertex of square $S$ with the two vertices of the triangle's hypotenuse. This divides the triangle in several regions whose areas must add up to the area of the whole triangle, which is $6$.

Square $S$ has area $x^2$, and the two thin triangle regions have area $\dfrac{x(3-x)}{2}$ and $\dfrac{x(4-x)}{2}$. The final triangular region with the hypotenuse as its base and height $2$ has area $5$. Thus, we have $$x^2+\dfrac{x(3-x)}{2}+\dfrac{x(4-x)}{2}+5=6$$

Solving gives $x=\dfrac{2}{7}$. The area of $S$ is $\dfrac{4}{49}$ and the desired ratio is $\dfrac{6-\dfrac{4}{49}}{6}=\boxed{\dfrac{145}{147}}$.

Alternatively, once you get $x=\frac{2}{7}$, you can avoid computation by noticing that there is a denominator of $7$, so the answer must have a factor of $7$ in the denominator, which only $\boxed{\dfrac{145}{147}}$ does.

## Solution 2

Let the square have side length $s$. If we were to extend the sides of the square further into the triangle until they intersect on point on the hypotenuse, we'd have a similar right triangle formed between the hypotenuse and the two new lines, and 2 smaller similar triangles that share a side of length 2. Using the side-to-side ratios of these triangles, we can find that the length of the big similar triangle is $\frac{5}{3}(2)=\frac{10}{3}$. Now, let's extend this big similar right triangle to the left until it hits the side of length 3. Now, the length is $\frac{10}{3}+s$, and using the ratios of the side lengths, the height is $\frac{3}{4}(\frac{10}{3}+s)=\frac{5}{2}+\frac{3s}{4}$. Looking at the diagram, if we add the height of this triangle to the side length of the square, we'd get 3, so $$\frac{5}{2}+\frac{3s}{4}+s=\frac{5}{2}+\frac{7s}{4}=3 \\ \frac{7s}{4}=\frac{1}{2} \\ s=\frac{2}{7} \implies \textrm{ area of square is } (\frac{2}{7})^2=\frac{4}{49}$$

Now comes the easy part: finding the ratio of the areas: $\frac{3\cdot 4 \cdot \frac{1}{2} -\frac{4}{49}}{3\cdot 4 \cdot \frac{1}{2}}=\frac{6-\frac{4}{49}}{6}=\frac{294-4}{294}=\frac{290}{294}=\boxed{\frac{145}{147}}$.

Solution by ktong

## Solution 3

We use coordinate geometry. Let the right angle be at $(0,0)$ and the hypotenuse be the line $3x+4y = 12$ for $0\le x\le 3$. Denote the position of $S$ as $(s,s)$, and by the point to line distance formula, we know that $$\frac{|3s+4s-12|}{5} = 2$$ $$\Rightarrow |7s-12| = 10$$ Obviously $s<\frac{22}{7}$, so $s = \frac{2}{7}$, and from here the rest of the solution follows to get $\boxed{\frac{145}{147}}$.

## Solution 4

Let the side length of the square be $x$. First off, let us make a similar triangle with the segment of length $2$ and the top-right corner of $S$. Therefore, the longest side of the smaller triangle must be $2 \cdot \frac54 = \frac52$. We then do operations with that side in terms of $x$. We subtract $x$ from the bottom, and $\frac{3x}{4}$ from the top. That gives us the equation of $3-\frac{7x}{4} = \frac{5}{2}$. Solving, $$12-7x = 10 \implies x = \frac{2}{7}.$$

Thus, $x^2 = \frac{4}{49}$, so the fraction of the triangle (area $6$) covered by the square is $\frac{2}{147}$. The answer is then $\boxed{\dfrac{145}{147}}$.

## Solution 5

$[asy] draw((0,0)--(4,0)--(0,3)--(0,0)); draw((0,0)--(0.3,0)--(0.3,0.3)--(0,0.3)--(0,0)); fill(origin--(0.3,0)--(0.3,0.3)--(0,0.3)--cycle, gray); draw((0.3,0.3)--(3.6,0.3), dashed); draw((0.3,2.7)--(0.3,0.3), dashed); label("S", (-0.05,-0.05), NE); draw((0.3,0.3)--(1.41,1.91)); draw((1.63,1.78)--(1.48,1.56)); draw((1.28,1.70)--(1.48,1.56)); label("4", (2,0), S); label("3", (0,1.5), W); label("\frac{10}{3}", (2,0.3), N); label("\frac{5}{2}", (0.3,1.5), E); label("2", (1,1.2), E); draw((3.6,0)--(3.6,0.3), dashed); draw((0,2.7)--(0.3,2.7), dashed); label("\small{l}", (3.6,0.15), W); label("\small{l}", (0.15,2.7), S); label("\small{l}", (0.3,0.15), E); label("\small{l}", (0.15,0.3), N); [/asy]$

On the diagram above, find two smaller triangles similar to the large one with side lengths $3$, $4$, and $5$; consequently, the segments with length $\frac{5}{2}$ and $\frac{10}{3}$.

Find an expression for $l$: using the hypotenuse, we can see that $\frac{3}{2}+\frac{8}{3}+\frac{5}{4}l+\frac{5}{3}l=5$. Simplifying, $\frac{35}{12}l=\frac{5}{6}$, or $l=2/7$.

A different calculation would yield $l+\frac{3}{4}l+\frac{5}{2}=3$, so $\frac{7}{4}l=\frac{1}{2}$. In other words, $l=\frac{2}{7}$, while to check, $l+\frac{4}{3}l+\frac{10}{3}=4$. As such, $\frac{7}{3}l=\frac{2}{3}$, and $l=\frac{2}{7}$.

Finally, we get $A(\Square S)=l^2=\frac{4}{49}$, to finish. As a proportion of the triangle with area $6$, the answer would be $1-\frac{4}{49\cdot6}=1-\frac{2}{147}=\frac{145}{147}$, so $\boxed{\textit D}$ is correct. ∎ --anna0kear

## Solution 6

Let $s$ be the side length of the square. The area of the triangle is $6$. Connect the inside corner of the square to the three corners. Then, the area of the triangle is also $5 + \frac{3}{2}s + 2s = 5 + \frac{7}{2}s$. Solving gives $s = \frac{2}{7}$. That makes the answer $\frac{6 - \left(\frac{2}{7}\right)^2}{6} = \frac{145}{147}$. $\boxed{\textbf{D}.}$

\