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
Apollonius's theorem and be θ and θ′ where θ includes and θ′ includes . Then θ′ is the supplement of θ and cos θ′ = −cos θ. The law of cosines for θ and θ′ states Add these equations to obtain as required. Apollonius's theorem In geometry, Apollonius's theorem is a theorem relating the length of a median of a triangle to the lengths of its side. It states that "the sum of the squares of any two sides of any triangle equals twice the square on half the third side, together with twice the square on the median bisecting the third