In$\triangle ABC$, $\angle C$ is a right angle. Prove that $r = \frac{a+b-c}{2}\;\text{and}\; r_c = \frac{a+b+c}{2}.$ Legs are named in traditional way.
My Work
As $r = \frac{A}{s}$. So, here $r = \frac{ab}{a+b+c}$. Is there any way to prove this is equal to $\frac{a+b-c}{2}$?. Or else how to solve this is also the second part?