Pythagorean theorem three sides in place of squares (squares are a special case, of course). The upper figure shows that for a scalene triangle, the area of the parallelogram on the longest side is the sum of the areas of the parallelograms on the other two sides, provided the parallelogram on the long side is constructed as indicated (the dimensions labeled with arrows are the same, and determine the sides of the bottom parallelogram). This replacement of squares with parallelograms bears a clear resemblance to the original Pythagoras's theorem, and was considered a generalization by Pappus of Alexandria in 4 AD The
Pythagorean theorem the dot product of vectors. The dot product is called the "standard" inner product or the "Euclidean" inner product. However, other inner products are possible. The concept of length is replaced by the concept of the norm ||v|| of a vector v, defined as: In an inner-product space, the Pythagorean theorem states that for any two orthogonal vectors v and w we have Here the vectors v and w are akin to the sides of a right triangle with hypotenuse given by the vector sum v + w. This form of the Pythagorean theorem is a consequence of the properties