Below is a right triangle MNO where MO=a, ON=b, and MN=c. An altitude OP is constructed so MP =x and PN=y. Below is the proof of the Pythagorean theorem, that
. The proof is divided into three parts, where the title of each part indicates its main purpose.