Prove that in a right-triangle the square of the hypotenuse is equal to the sum of the squares of the other two sides.
We have (By AA similarity)
Therefore
(in similar triangles corresponding sides are proportional )
Also,
therefore,
or
Adding eq (1) and (2), we get
(from figure )
Therefore,