Geometry – Circle Inscribed in Pythagorean Triangle

elementary-number-theorygeometry

Given the question (from Burton):

"For an arbitrary positive integer $n$, show that there exists a Pythagorean triangle the radius of whose inscribed circle is $n$."

My solution is $3n$,$4n$,$5n$ while textbook hints at a solution of $2n+1$,$2n^2+2n$,$2n^2+2n+1$

The latter seems to describe a Pythagorean triangle with side lengths that form a primitive Pythagorean triple while mine obviously does not except for the case $n=1$. Is that what is expected if the question does not specify? How does one approach generating such a primitive solution?

The text only says " let us define a Pythagorean triangle to be a right triangle whose sides are of integral length"

Best Answer

Your example fully answers the question as put.

For a primitive triple, suppose it has the standard representation $s^2-t^2,2st,s^2+t^2$ where $s$ and $t$ obey the usual conditions. Then the perimeter $p$ is $2st+2s^2$, and the area $A$ is $st(s^2-t^2)$.

If $r$ is the radius of the incircle, then $rp/2=A$, so $rp=2A$. For an incircle of radius $n$, we want $n(2st+2s^2)=2st(s^2-t^2)$. Cancellation simplifies this to $n=t(s-t)$.

The simplest way to achieve this is to let $s=n+1$ and $t=n$. That ensures $s$ and $t$ are relatively prime and of opposite parity. For $n$ odd we can let $t=1$ and $s=n+1$.

These are the only possibilities for $n=1$ or $n$ an odd prime. Other alternatives are available for $n$ with a more complicated multiplicative structure.