Law of cosines . The power of the point with respect to the circle is equal to both and . Therefore, which is the law of cosines. Using algebraic measures for line segments (allowing negative numbers as lengths of segments) the case of obtuse angle () and acute angle () can be treated simultaneously. By using the law of sines and knowing that the angles of a triangle must sum to 180 degrees, we have the following system of equations (the three unknowns are the angles): Then, by using the third equation of the system, we obtain a system of two equations in
Triangle the hypotenuse equals the sum of the squares of the lengths of the two other sides. If the hypotenuse has length "c", and the legs have lengths "a" and "b", then the theorem states that The converse is true: if the lengths of the sides of a triangle satisfy the above equation, then the triangle has a right angle opposite side "c". Some other facts about right triangles: For all triangles, angles and sides are related by the law of cosines and law of sines (also called the "cosine rule" and "sine rule"). The triangle inequality states that the sum