
In mathematics, the Pythagorean theorem or Pythagoras's theorem is a statement about the sides of a right triangle.
One of the angles of a right triangle is always equal to 90 degrees, one of the angles of a rectangle. This angle is the right angle. The two sides next to the right angle are called the legs and the other side is called the hypotenuse. The hypotenuse is the side opposite to the right angle, and it is always the longest side.
The Pythagorean theorem says that the area of a square on the hypotenuse (longest side) is equal to the sum of the areas of the squares on the legs (short sides). In this picture, the area of the blue square added to the area of the red square makes the area of the purple square. It was named after the Greek mathematician Pythagoras:
If the lengths of the legs are a and b, and the length of the hypotenuse is c, then, .
For example, if the shorter sides measure 3.75 and 5, then the theorem says to multiply both numbers by themselves, then add to get the long side:
1.) 3.75 × 3.75 = 14.0625
2.) 5 × 5 = 25
3.) 14.0625 + 25 = 39.0625
4.) √39.0625 = 6.25
There are many different proofs of this theorem. They fall into four categories:

One proof of the Pythagorean theorem was found by a Greek mathematician, Eudoxus of Cnidus.
The proof uses three lemmas:
The proof is:

We can get another proof of the Pythagorean theorem by using similar triangles.
From the image, add equations (1) and (2):
And we get:

You can take the two smaller squares and cut them into triangles. These triangles can be put together to make a square the same size as the third square.
This proof and other ones based on cutting and rearranging pieces of the shapes rely on the fact that cutting shapes into pieces and moving them around does not change the area as long as no pieces are lost.
These proofs are often used to teach the theorem for the first time. The process of cutting and rearranging pieces of a shape is easy to understand and do yourself.
Pythagorean triples or triplets are three whole numbers which fit the equation .
The triangle with sides of 3, 4, and 5 is a well known example. If a=3 and b=4, then because . This can also be shown as
The three-four-five triangle works for all multiples of 3, 4, and 5. In other words, numbers such as 6, 8, 10 or 30, 40 and 50 are also Pythagorean triples. Another example of a triple is the 12-5-13 triangle, because .
A Pythagorean triple that is not a multiple of other triples is called a primitive Pythagorean triple. Any primitive Pythagorean triple can be found using the expression , but the following conditions must be satisfied. They place restrictions on the values of and .
If all four conditions are satisfied, then the values of and create a primitive Pythagorean triple.
and create a primitive Pythagorean triple. The values satisfy all four conditions. , and , so the triple is created.