View Single Post
Old 02-04-2008, 12:59 AM   #8 (permalink)
ygolo
My termites win
 
ygolo's Avatar
 
Join Date: Aug 2007
Type: intp
Location: North of somewhere (so not the south pole)
Posts: 3,203
ygolo is unique just like everyone else
Default

Quote:
Originally Posted by nemo View Post
A cool fact I proved accidentally while taking a number theory class is that the radius of the circle inscribed by any Pathagorean triangle is always an integer.
I missed this on the first read.

Generating pythogorean triples in the usual way by setting m and n to relatively-prime naturals...

a=m^2-n^2, b=2mn, c=m^2+n^2,

and calculating the in-radius in the usual way ...

s=(a+b+c)/2=m^2+mn=m(m+n)
r^2=(s-a)(s-b)(s-c)/s=(n^2+mn)(m^2-mn)(mn-n^2)/[m(m+n)]=
(m^2n^4-m^4n^2-mn^5+m^3n^3)/[m(m+n)]=
[m^2n^2(n^2-m^2)-mn(n^2-m^2)]/[m(m+n)]=
[(m^2n^2-mn)(n^2-m^2)]/[m(m+n)]=
(mn^2-n)(n-m) which is an integer.


My way is inelegant as usual. It's been a while since I was a math major, but I think that could be made rigorous.

I'm sure yours was far more elegant, considering you did it by "accident."
__________________

sloan+ Rxua|I|; primary Inquisitive; R(82%)L(52%)U(62%)A(54%)I(86%)

CTO of IPTN (see Maverick's Sig.) and member of Maverick's Biker Club.

Accept the past. Live for the present. Look forward to the future.

My Blog

I linked some of your blogs; if you feel that is inappropriate, please let me know.

ygolo is offline   Reply With Quote