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
Moiré pattern four sides equal to ; (we have a right triangle whose hypotenuse is and the side opposite to the angle is ). The pale lines correspond to the small diagonal of the rhombus. As the diagonals are the bisectors of the neighbouring sides, we can see that the pale line makes an angle equal to with the perpendicular of each pattern's line. Additionally, the spacing between two pale lines is , half of the long diagonal. The long diagonal is the hypotenuse of a right triangle and the sides of the right angle are and . The Pythagorean theorem gives: