MathLabs

Geometry

Non-Euclidean geometry

What happens when Euclid's fifth postulate fails: curved spaces where triangles have angle sums other than 180°.

IntuitionCurved worlds

Imagine an ant living on a surface, unable to leave it. The ant can still discover whether its world is flat or curved — without ever seeing it from outside — just by drawing a triangle and adding up its three angles. On a flat sheet of paper the angles always sum to exactly 180°180°. On a sphere, like the surface of the Earth, a large triangle's angles sum to more than 180°180°. On a saddle-shaped surface, they sum to less. Non-Euclidean geometry studies what "straight lines" and "distance" mean, and what theorems still hold, on such curved worlds.

3D plot of the saddle surface z = x squared minus y squared, showing its characteristic upward curve in one direction and downward curve in the perpendicular direction.
The saddle z=x2−y2z = x^2 - y^2: a surface of negative curvature. A triangle drawn on it (using geodesics) has an angle sum less than 180°180°.

UndergraduateEuclid's fifth postulate

If a straight line falling on two straight lines makes the interior angles on the same side sum to less than two right angles, then the two lines, extended indefinitely, meet on that side. Equivalently (Playfair's axiom, 1795): through a point not on a given line, there is exactly one line parallel to it.

Why is it true?

Unlike Euclid's other four postulates, which are self-evident about a bounded piece of the plane, the fifth speaks about lines extended indefinitely — a claim about infinity that cannot be checked by drawing. This made it feel less like an axiom and more like a theorem waiting to be proved from the others; that search occupied mathematicians for two thousand years.

Proof

Step 1 — Deduce Playfair's axiom from Euclid's fifth postulate. Let ℓ\ell be a line and P∉ℓP \notin \ell an external point. Drop a perpendicular tt from PP to ℓ\ell, and construct the line mm through PP perpendicular to tt. By alternate interior angles, mm is parallel to ℓ\ell. Any other line through PP makes interior angles with tt whose sum on one side satisfies α+β<π\alpha + \beta < \pi, so by Euclid's fifth postulate it must intersect ℓ\ell. Thus mm is the unique parallel through PP.

Step 2 — Deduce the Euclidean triangle angle sum from Playfair's axiom. Given a triangle △ABC\triangle ABC, draw the unique line mm through AA parallel to BCBC. Alternate interior angles with the transversal ABAB and ACAC transfer ∠B\angle B and ∠C\angle C adjacent to ∠A\angle A along the straight line mm where α+β=π\alpha + \beta = \pi, yielding ∠A+∠B+∠C=π\angle A + \angle B + \angle C = \pi.

3D rendering of a sphere, illustrating that great circles (the sphere's geodesics) always intersect, unlike parallel lines in the plane.
The sphere: geodesics are great circles. Any two great circles always meet (in two antipodal points), so there are no parallel 'lines' at all — and every triangle's angles sum to more than 180°180°.

UndergraduateModels of hyperbolic geometry

In hyperbolic (negatively curved) geometry, the opposite happens: through a point not on a line ℓ\ell, infinitely many lines can be drawn that never meet ℓ\ell. Triangle angle sums are always less than 180°180°, and — remarkably — the defect 180°−(α+β+γ)180° - (\alpha+\beta+\gamma) is proportional to the triangle's area. Because this geometry cannot be drawn as a literal flat picture, mathematicians use conformal models: faithful dictionaries between hyperbolic geometry and ordinary Euclidean shapes.

ds2=4 (dx2+dy2)(1−x2−y2)2,x2+y2<1ds^2 = \frac{4\,(dx^2 + dy^2)}{(1 - x^2 - y^2)^2}, \qquad x^2 + y^2 < 1

This is the Poincaré disk model: the hyperbolic plane is represented by the open unit disk, and 'straight lines' (geodesics) become diameters and circular arcs that meet the boundary circle at right angles. Lengths blow up near the boundary, so the boundary circle — infinitely far away in the hyperbolic metric — is never reached. The Poincaré half-plane model instead uses the upper half-plane y>0y > 0 with metric ds2=(dx2+dy2)/y2ds^2 = (dx^2+dy^2)/y^2; its geodesics are vertical rays and semicircles centered on the x-axis. Both models are conformal (they preserve angles) but distort distances and areas, and both trace back to Eugenio Beltrami's 1868 discovery that hyperbolic geometry is exactly the intrinsic geometry of surfaces of constant negative curvature.

3D rendering of a one-sheeted hyperboloid, a saddle-like ruled surface flaring outward from a narrow waist, used here to visualize negative curvature.
The hyperboloid of one sheet, x2+y2−z2=1x^2+y^2-z^2=1: a doubly-ruled surface with negative Gaussian curvature at every point, giving a 3D sense of what 'negatively curved' looks like. (The hyperboloid model of the hyperbolic plane instead uses one sheet of the two-sheeted hyperboloid x2+y2−z2=−1x^2+y^2-z^2=-1 with the Minkowski metric — a different, non-visualizable-in-3D construction that Beltrami and Klein used to make hyperbolic distance computations easy.)

AdvancedCurvature: from Gauss to Riemann

The Gaussian curvature KK of a surface — defined extrinsically as the product of its two principal curvatures — depends only on the surface's intrinsic metric (lengths and angles measured within the surface), and is therefore unchanged by any bending that does not stretch or tear it.

Why is it true?

A sheet of paper (flat, K=0K=0) can be rolled into a cylinder without stretching, and a cylinder still has K=0K=0 intrinsically — a bug living on it, measuring only within the surface, would find ordinary Euclidean geometry, even though the cylinder looks curved from outside. But no flat sheet can be wrapped onto a sphere (K>0K>0) without stretching or wrinkling — which is exactly why every flat map of the Earth distorts something. Gauss proved this in 1827 using a formula for KK built purely from the first fundamental form, so it never references how the surface sits in space.

Proof

Step 1 — Write the extrinsic formula in terms of fundamental forms. A smooth surface x(u,v)\mathbf{x}(u,v) in R3\mathbb{R}^3 has first fundamental form I=E du2+2F du dv+G dv2I = E\,du^2 + 2F\,du\,dv + G\,dv^2 and second fundamental form II=L du2+2M du dv+N dv2II = L\,du^2 + 2M\,du\,dv + N\,dv^2. The shape operator has determinant equal to the Gaussian curvature K=κ1κ2=LN−M2EG−F2K = \kappa_1 \kappa_2 = \frac{LN - M^2}{EG - F^2}.

Step 2 — Eliminate the normal vector via Gauss's equations. Differentiating the Gauss frame equations and imposing equality of mixed third partials xuuv=xuvu\mathbf{x}_{uuv} = \mathbf{x}_{uvu} expresses the numerator LN−M2LN - M^2 solely in terms of the metric coefficients E,F,GE, F, G and their first and second partial derivatives (the Christoffel symbols).

Step 3 — Obtain the intrinsic Brioschi/orthogonal formula. In orthogonal coordinates (F=0F = 0), the compatibility identity simplifies directly to K=−12EG(∂∂uGuEG+∂∂vEvEG)K = -\frac{1}{2\sqrt{EG}}\left(\frac{\partial}{\partial u}\frac{G_u}{\sqrt{EG}} + \frac{\partial}{\partial v}\frac{E_v}{\sqrt{EG}}\right). Because this expression depends only on E,F,GE, F, G, any local isometry preserving II automatically preserves KK.

For a geodesic triangle TT on a surface with Gaussian curvature KK and interior angles α,β,γ\alpha, \beta, \gamma: ∬TK dA=α+β+γ−π.\iint_T K \, dA = \alpha + \beta + \gamma - \pi. More generally, for a closed surface MM: ∬MK dA=2πχ(M)\iint_M K \, dA = 2\pi \chi(M), where χ(M)\chi(M) is the Euler characteristic — a topological invariant.

Why is it true?

This is the precise, quantitative version of the ant-and-triangle idea from the introduction: angle excess (or defect) is not just a sign of curvature, it equals the total curvature enclosed. It is one of the deepest bridges in mathematics, linking geometry (curvature, a smooth, local, metric notion) to topology (the Euler characteristic, a discrete, global, purely combinatorial one) — a sphere (χ=2\chi=2) must have positive total curvature no matter how it is bent, while a torus (χ=0\chi=0) must have zero total curvature on average, however it curves locally.

Proof

Step 1 — Prove the local formula on a geodesic triangle. Let TT be a geodesic triangle bounded by three geodesic arcs forming ∂T\partial T. In an orthonormal frame along ∂T\partial T, the geodesic curvature along each smooth edge is zero, while the exterior jump angles at the three vertices sum to (π−α)+(π−β)+(π−γ)=3π−(α+β+γ)(\pi - \alpha) + (\pi - \beta) + (\pi - \gamma) = 3\pi - (\alpha + \beta + \gamma). Applying Green's theorem to the connection form around ∂T\partial T shows that the total turning angle 2π2\pi minus the exterior jumps equals the curvature integral, giving ∬TK dA=α+β+γ−π\iint_T K\,dA = \alpha + \beta + \gamma - \pi.

Step 2 — Sum over a geodesic triangulation of a closed surface. Triangulate a closed surface MM into FF geodesic triangles with EE edges and VV vertices. Because each triangle has 3 edges and each edge is shared by 2 triangles, we have 3F=2E3F = 2E. Summing the local formula over all triangles and noting that the angles around each of the VV vertices sum to 2π2\pi gives ∬MK dA=∑i=1F(αi+βi+γi−π)=2πV−πF\iint_M K\,dA = \sum_{i=1}^F (\alpha_i + \beta_i + \gamma_i - \pi) = 2\pi V - \pi F. Substituting the edge-face relation yields ∬MK dA=2π(V−E+F)=2πχ(M)\iint_M K\,dA = 2\pi(V - E + F) = 2\pi \chi(M).

∬TK dA=α+β+γ−π,∬MK dA=2πχ(M)\iint_T K\,dA = \alpha + \beta + \gamma - \pi, \qquad \iint_M K\,dA = 2\pi \chi(M)
Three geometries compared
PropertyEuclideanElliptic / sphericalHyperbolic
Curvature KKK=0K = 0K>0K > 0K<0K < 0
Triangle angle sum=180°= 180°>180°> 180°<180°< 180°
Lines through an external point parallel to ℓ\ellexactly onenoneinfinitely many
Example modelthe Euclidean planethe spherethe Poincaré disk

UndergraduateReal-World Applications and Worked Examples

Non-Euclidean geometry is indispensable across modern science and engineering: long-distance aviation and maritime navigation follow great-circle geodesics on a positively curved Earth (K>0K > 0), GPS satellites must account for relativistic spacetime curvature, and modern machine learning embeds hierarchical trees and knowledge graphs into the Poincaré disk (K<0K < 0) because hyperbolic volume grows exponentially with radius rr.

Example: Geodesy: Area of an Octant Triangle on Earth

Consider a spherical triangle TT on the Earth (modeled as a sphere of radius R=6371 kmR = 6371\text{ km} with constant curvature K=1/R2K = 1/R^2) formed by the North Pole and two points on the equator separated by 90∘90^\circ of longitude. Find its interior angles, spherical excess EE, and surface area.

Solution

Step 1 — Determine the interior angles. Meridians meet the equator at right angles, and the two meridians separated by 90∘90^\circ of longitude meet at a right angle at the North Pole. Thus α=β=γ=π/2\alpha = \beta = \gamma = \pi/2.

Step 2 — Compute the spherical excess. By Girard's formula (the constant-curvature case of Gauss–Bonnet), the angle excess is E=α+β+γ−π=3π2−π=π2E = \alpha + \beta + \gamma - \pi = \frac{3\pi}{2} - \pi = \frac{\pi}{2} radians.

Step 3 — Compute the area. Since ∬TK dA=(1/R2) Area(T)=E\iint_T K\,dA = (1/R^2)\,\mathrm{Area}(T) = E, we obtain Area(T)=R2E=πR22\mathrm{Area}(T) = R^2 E = \frac{\pi R^2}{2} (one-eighth of the sphere's surface 4πR24\pi R^2), which evaluates to Area(T)=π(6371)22≈6.375×107 km2\mathrm{Area}(T) = \frac{\pi (6371)^2}{2} \approx 6.375 \times 10^7\text{ km}^2.

Example: Poincaré Disk: Hyperbolic Distance and Ideal Triangle Area

In the Poincaré disk model (K=−1K = -1) with radial line element ds=2 dr1−r2ds = \frac{2\,dr}{1 - r^2}, compute the hyperbolic distance from the origin 00 to r=tanh⁡(1)≈0.7616r = \tanh(1) \approx 0.7616, and find the area of an ideal geodesic triangle whose three vertices lie on the boundary circle r=1r = 1.

Solution

Step 1 — Integrate the Poincaré metric along a radial diameter. A diameter through the origin is a geodesic. Integrating the radial line element from 00 to rr gives dH(0,r)=∫0r2 dt1−t2=ln⁡1+r1−rd_{\mathbb{H}}(0, r) = \int_0^r \frac{2\,dt}{1 - t^2} = \ln\frac{1+r}{1-r}. Substituting r=tanh⁡(1)≈0.7616r = \tanh(1) \approx 0.7616 yields dH(0,tanh⁡1)=ln⁡1+tanh⁡11−tanh⁡1=ln⁡(e2)=2d_{\mathbb{H}}(0, \tanh 1) = \ln\frac{1+\tanh 1}{1-\tanh 1} = \ln(e^2) = 2.

Step 2 — Evaluate the angle defect of an ideal triangle. The geodesic arcs of an ideal triangle meet the boundary circle r=1r = 1 orthogonally at the same ideal vertices, so the interior angles between adjacent sides are α=β=γ=0\alpha = \beta = \gamma = 0. By Gauss–Bonnet with K=−1K = -1, the area is Area(T∞)=π−(0+0+0)=π\mathrm{Area}(T_{\infty}) = \pi - (0 + 0 + 0) = \pi — the maximum possible area of any triangle in the hyperbolic plane.

ResearchResearch today

In hyperbolic geometry, the sum of the interior angles of a triangle is

In the Poincaré disk model of the hyperbolic plane, geodesics ('straight lines') are represented by

Gauss's Theorema Egregium ('remarkable theorem') states that Gaussian curvature is

On a hyperbolic surface of constant curvature K=−1K = -1, a geodesic triangle TT has interior angles α=π/3\alpha = \pi/3, β=π/4\beta = \pi/4, and γ=π/6\gamma = \pi/6. What is its area?

References

  1. William P. Thurston (1982). Three-dimensional manifolds, Kleinian groups and hyperbolic geometry
  2. Grigori Perelman (2002). The entropy formula for the Ricci flow and its geometric applications
  3. Carl Friedrich Gauss (trans. James Caddall Morehead, Adam Miller Hiltebeitel) (1965). General Investigations of Curved Surfaces (1827 and 1825)
  4. Marvin J. Greenberg (2008). Euclidean and Non-Euclidean Geometries: Development and History