Let the circle touches the sides BC, CA, AB of the right triangle ABC at D,E and F respectively, where BC =a, CA =b and AB =c Since length of trangents drawn from an external point are equal. ⇒AE=AF and BD =BF. Also CE=CD =r. and b-r =AF, a-r =BF Therefore, AB =AF +BF c=b-r+a-r AB =c =AF +BF =b-r+a-r ⇒r=a+b−c2