Remember back to grade school geometry when your teachers forced you to memorize the Pythagorean theorem? wonder why it works?
Imagine triangle with the legs being lengths and and the hypotenuse (the longest side) . Now we get four of those triangles for form a square.
We know the area of the outer square is but what about the interior square? What is the interior square compared to the outer one?
To find the area of the internal square we subtract the area of the four triangles. Each triangle has an area of , as a result we have :
Groups of three numbers such as and are called Pythagorean triples because they satisfy the Pythagorean theorem. It is possible to generate Pythagorean triples using a set of equations called Euclid’s formula.