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
Schwarz triangle of the reciprocals of these integers: This is simply a way of saying that in Euclidean space the interior angles of a triangle sum to , while on a sphere they sum to an angle greater than , and on hyperbolic space they sum to less. A Schwarz triangle is represented graphically by a triangular graph. Each node represents an edge (mirror) of the Schwarz triangle. Each edge is labeled by a rational value corresponding to the reflection order, being π/vertex angle. Order-2 edges represent perpendicular mirrors that can be ignored in this diagram. The Coxeter-Dynkin diagram represents this triangular