In hyperbolic geometry, the ultraparallel theorem states that every pair of ultraparallel lines in the hyperbolic plane has a unique common perpendicular hyperbolic line.
Let

be four distinct points on the abscissa of the Cartesian plane. Let
and
be semicircles above the abscissa with diameters
and
respectively. Then in the upper half-plane model HP,
and
represent ultraparallel lines.
Compose the following two hyperbolic motions:

.
Then
,
,
,
.
Now continue with these two hyperbolic motions:

![{\displaystyle x\to \left[(c-a)^{-1}-(b-a)^{-1}\right]^{-1}x\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6b61c645472df90a0f7743906f0c2576e22f72d7)
Then
stays at
,
,
,
(say). The unique semicircle, with center at the origin, perpendicular to the one on
must have a radius tangent to the radius of the other. The right triangle formed by the abscissa and the perpendicular radii has hypotenuse of length
. Since
is the radius of the semicircle on
, the common perpendicular sought has radius-square
.
The four hyperbolic motions that produced
above can each be inverted and applied in reverse order to the semicircle centered at the origin and of radius
to yield the unique hyperbolic line perpendicular to both ultraparallels
and
.