# Difference between revisions of "2007 AMC 12B Problems/Problem 23"

## Problem 23

How many non-congruent right triangles with positive integer leg lengths have areas that are numerically equal to $3$ times their perimeters?

$\mathrm {(A)} 6\qquad \mathrm {(B)} 7\qquad \mathrm {(C)} 8\qquad \mathrm {(D)} 10\qquad \mathrm {(E)} 12$

## Solution

Let $a$ and $b$ be the two legs of the triangle.

We have $\frac{1}{2}ab = 3(a+b+c)$.

Then $ab=6\cdot (a+b+\sqrt {a^2 + b^2})$.

We can complete the square under the root, and we get, $ab=6\cdot (a+b+\sqrt {(a+b)^2 - 2ab})$.

Let $ab=p$ and $a+b=s$, we have $p=6\cdot (s+ \sqrt {s^2 - 2p})$.

After rearranging, squaring both sides, and simplifying, we have $p=12s-72$.

Putting back $a$ and $b$, and after factoring using $SFFT$, we've got $(a-12)\cdot (b-12)=72$.

Factoring 72, we get 6 pairs of $a$ and $b$

$(13, 84), (14, 48), (15, 36), (16, 30), (18, 24), (20, 21).$

And this gives us $6$ solutions $\Rightarrow \mathrm{(A)}$.

## Solution #2

We will proceed by using the fact that $[ABC] = r\cdot s$, where $r$ is the radius of the incircle and $s$ is the semiperimeter ($s = \frac{p}{2}$).

We are given $[ABC] = 3p = 6s \Rightarrow rs = 6s \Rightarrow r = 6$.

The incircle of $ABC$ breaks the triangle's sides into segments such that $AB = x + y$, $BC = x + z$ and $AC = y + z$. Since ABC is a right triangle, one of $x$, $y$ and $z$ is equal to its radius, 6. Let's assume $z = 6$.

The side lengths then become $AB = x + y$, $BC = x + 6$ and $AC = y + 6$. Plugging into Pythagorean's theorem:

$(x + y)^2 = (x+6)^2 + (y + 6)^2$

$x^2 + 2xy + y^2 = x^2 + 12x + 36 + y^2 + 12y + 36$

$2xy - 12x - 12y = 72$

$xy - 6x - 6y = 36$

$(x - 6)(y - 6) - 36 = 36$

$(x - 6)(y - 6) = 72$

We can factor $72$ to arrive with $6$ pairs of solutions: $(7, 78), (8,42), (9, 30), (10, 24), (12, 18),$ and $(14, 15) \Rightarrow \mathrm{(A)}$.

## See Also

 2007 AMC 12B (Problems • Answer Key • Resources) Preceded byProblem 22 Followed byProblem 24 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 12 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.

Invalid username
Login to AoPS