For with real coefficients and , direct subtraction from its conjugate gives
The imaginary part remains positive, and the inverse transformation has the same form, so is a bijection of the upper half-plane. Moreover
Thus every path has the same hyperbolic length as its image. Taking the infimum over connecting paths, and using the inverse for the reverse inequality, proves every is an isometry.
Likewise
Its squared modulus and the two imaginary-part factors cancel in the quotient, proving
We can normalize any ordered distinct pair to with . First send to by , a real determinant-one Möbius transformation after rescaling its representing matrix. The stabilizer transformations
fix . Under the Cayley map , direct substitution gives . Choose to rotate the second point's nonzero disc coordinate onto the positive real axis. Its inverse image is with .
The vertical path from to has length . Any other path has length at least , so . Consequently
Invariance of both quantities transfers this equality back to every pair; coincident points satisfy it as well. Therefore
For the right-triangle identity, normalize its right vertex to and one leg to the vertical geodesic, with endpoint , . The other leg lies on the unit semicircle, with endpoint , , . These geodesics meet orthogonally at , since the metric is conformal to the Euclidean metric. The semicircle is a geodesic because a real Möbius transformation sends it to a vertical line; vertical lines are minimizing by the same length bound. The stabilizer rotations above can align any given tangent direction, giving this normal form for every right triangle.
If the legs have lengths and the opposite side has length , the distance formula gives
and
Thus the hyperbolic Pythagorean theorem is