Geodesics & Hyperbolic Distances

Shortest paths, distance formulas, and the exponential growth of circles

Shortest Paths in Curved Space

In hyperbolic space the shortest path bends, and distances grow exponentially. Circles, triangles, and neighborhoods all behave in ways a flat-world eye does not expect.

Geodesic Tracer: Four Models at Once

Click two points in the Poincare disk (top-left) to draw a geodesic in all four models. Draw one near the edge: the equal-length segments bunch up in the disks but stay even on the hyperboloid.

0 geodesics drawn
equal hyperbolic intervals
Go deeper:Shortest Paths in Curved Space

In Euclidean geometry, the shortest path between two points is always a straight line. In hyperbolic space, “straight” takes on a richer meaning: geodesics curve through space following the intrinsic metric, appearing as circular arcs in the Poincare disk, semicircles in the upper half-plane, chords in the Klein model, and great hyperbolas on the hyperboloid. Distances grow exponentially near the boundary, causing circles, triangles, and Voronoi cells to behave in ways that defy Euclidean intuition.

Go deeper:Geodesic Tracer: Four Models at Once

Click two points in the Poincare disk (top-left) to draw a geodesic. The same path is simultaneously displayed in the upper half-plane, Klein disk, and hyperboloid models. Color-coded segments mark equal hyperbolic-length intervals, revealing how the metric stretches differently in each representation.

Geodesics across models — The same shortest path appears as a circular arc (Poincare), semicircle (half-plane), chord (Klein), or intersection curve (hyperboloid), but the hyperbolic length is identical in every model

Hyperbolic Circle Growth

Use the radius slider to watch a circle swell, and compare its growth curves with the Euclidean ones side by side.

1.00
Hyp. circumference
7.384
Hyp. area
3.412
Eucl. circumference
6.283
Eucl. area
3.142
Go deeper:Hyperbolic Circle Growth

A circle of hyperbolic radius r centered at the origin fits inside the Poincare disk with Euclidean radius tanh(r/2). Its circumference C = 2π sinh(r) and area A = 2π(cosh(r)−1) both grow exponentially, dwarfing the Euclidean formulas at large radii. Use the slider to watch circles swell and compare the growth curves side by side.

Hyperbolic Law of Cosines

Drag the three vertices and watch the side lengths, angles, and deficit update. The law of cosines is checked live as you move.

Side Lengths

a (B→C)1.6778
b (A→C)1.7567
c (A→B)1.6807

Angles (radians)

A0.7116(40.8°)
B0.7900(45.3°)
C0.7143(40.9°)
A + B + C2.2159
(127.0° < 180°)

Area (angular deficit)

π − (A+B+C) = 0.9257

Law of Cosines Check

cosh(c) = cosh(a)cosh(b) − sinh(a)sinh(b)cos(C)
LHS cosh(c)2.777778
RHS2.777778
Error0.00e+0
Go deeper:Hyperbolic Law of Cosines

Drag the three vertices of a hyperbolic triangle to explore side lengths, angles, and the angular deficit. The hyperbolic law of cosines cosh(c) = cosh(a) cosh(b) − sinh(a) sinh(b) cos(C) is verified numerically in real time. The area of any hyperbolic triangle equals π − (A+B+C), which is always positive and bounded by π.

Key insight: In hyperbolic geometry, the angle sum of every triangle is strictly less than π. The “missing” angle is exactly the triangle's area, a fact with no Euclidean analogue.

Voronoi Diagram in Hyperbolic Space

Click inside the disk to place seeds, then drag them. Cells near the edge look huge but cover about the same hyperbolic area.

0 seeds placed
Go deeper:Voronoi Diagram in Hyperbolic Space

Click inside the disk to place seed points. Each pixel is colored by whichever seed is closest in the hyperbolic metric. Because the metric inflates near the boundary, cells near the edge look much larger in the Euclidean picture even though they span similar hyperbolic areas. Drag seeds to reshape cells in real time.

Key Takeaways

  • One geodesic looks different in each model but has the same length.
  • Circle circumference and area grow exponentially with the radius.
  • Every triangle's angle sum falls short of π by its area.
  • Voronoi cells look warped because the metric stretches toward the edge.

Spot a mistake or have an idea?

Search