The Pythagorean theorem

 

 

A = (a + b)2

B = (a + b)2

A = B

A = a2 + b2 + 2ab

B = c2 + 2ab

a2 + b2 + 2ab = c2 + 2ab

a2 + b2 = c2

q. e. d.