Let a, b, c denote the legs and the hypotenuse of the given right triangle, and consider the two squares in the accompanying figure, each having a+b as its side. The first square is dissected into six pieces-namely, the two squares on the legs and four right triangles congruent to the given triangle. The second square is dissected into five pieces-namely, the square on the hypotenuse and four right triangles congruent to the given triangle. By subtracting equals from equals, it now follows that the square on the hypotenuse is equal to the sum of the squares on the legs" (Eves 81).
Consider the following figure.
The area of the first square is given by (a+b)^2 or 4(1/2ab)+ a^2 + b^2.
The area of the second square is given by (a+b)^2 or 4(1/2ab) + c^2.
Since the squares have equal areas we can set them equal to another and subtract equals. The case (a+b)^2=(a+b)^2 is not interesting. Let's do the other case.
4(1/2ab) + a^2 + b^2 = 4(1/2ab)+ c^2
Subtracting equals from both sides we have
concluding Pythagoras' proof.