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
Sum of angles of a triangle sum of all three exterior angles, that equals to 360° in the Euclidean case (as for any convex polygon), is less than 360° in the spherical case, and is greater than 360° in the hyperbolic case. In the differential geometry of surfaces, the question of a triangle's angular defect is understood as a special case of the Gauss-Bonnet theorem where the curvature of a closed curve is not a function, but a measure with the support in exactly three points – vertices of a triangle. Sum of angles of a triangle In several geometries, a triangle has three "vertices" and