On this page
Walk straight ahead on the Earth and you follow the surface, not a straight line through space. MathWorld defines it in one line: a geodesic is a locally arc-length-minimising curve. It never steers left or right as seen from inside the surface; it bends only as the surface forces it to.
What is a geodesic on a sphere?
On a sphere, the geodesics are great circles, like the equator (MathWorld). The shortest path between two points on a sphere is a segment of a great circle (MathWorld, great circle). We work out one such route in the haversine formula for the great-circle distance from Delhi to London.
How do you find geodesics on a cylinder?
A cylinder unrolls into a flat rectangle without stretching. On such a developable surface, a geodesic maps to a straight line on the flattened plane (Patrikalakis, Maekawa and Cho, MIT, section 10.8). So unroll the surface, draw a straight line, and roll it back up.
A cylinder of radius R unrolls into a strip of width 2πR. The line z = kx rolls back up with x = Rφ, so z = kRφ: height grows in proportion to angle, which is a helix. With k = 0 you get a horizontal circle; a vertical line stays a straight line down the side.
Is a geodesic always the shortest path?
No. A geodesic is only locally shortest: every short piece is the shortest route between its ends, but the whole curve need not be. Wikipedia's article on geodesics gives the clean example: going the long way round a great circle between two points on a sphere is a geodesic but not the shortest path.
On a cylinder, take two points separated by height h and angle Δφ, with Δφ between −180° and 180°. On the strip you can draw a line to the target or to its copy n strip-widths along (n = ±1, ±2, …). Each rolls up into a helix of length √(h² + R²(Δφ + 2πn)²), winding further round as n grows. All are geodesics, but only n = 0 is shortest. The MIT notes exclude cylinders for this reason: there can be more than one solution.
What is Clairaut's relation?
On a surface of revolution (a vase, a cone, a sphere), let r be the distance from the axis and ψ the angle between the geodesic and the meridian, the curve where a plane containing the axis cuts the surface. Clairaut's relation, named after Alexis Claude de Clairaut, says that r·sin ψ is constant along a geodesic (Wikipedia, Clairaut's relation).
Since sin ψ is at most 1, a geodesic never comes closer to the axis than its constant, and at its closest point it runs exactly sideways (ψ = 90°).
Worked example: a geodesic on a cone
Take a cone whose side makes 30° with its axis at the apex O. A point at slant distance s from O is r = s·sin 30° = s/2 from the axis.
Unroll it. With slant length L, the base circumference 2πL·sin 30° = πL becomes the arc of a sector of radius L: a half-disc.
Start at P, 10 cm from O, heading sideways (ψ = 90°). Here r = 5 cm, so Clairaut gives r·sin ψ = 5 cm along the whole path.
Predict. When the geodesic reaches r = 10 cm (20 cm from O), sin ψ = 5/10, so ψ = 30°.
Check on the flat sheet. There the geodesic is a straight line 10 cm from O, at right angles to OP. At 20 cm from O it meets the radius at an angle whose sine is 10/20: again 30°.
Find how far round it goes. On the sheet, that point is arccos(10/20) = 60° from OP. An angle on the sheet is the angle round the axis times sin 30°, so that is 120° round the cone. Far out, the flat angle nears 90° on each side of OP, so the geodesic goes almost, but never quite, once round the cone and never meets itself.
How do you solve a geodesic problem?
Can it be unrolled flat, like a cylinder or cone? Draw straight lines on the flat version.
Is it a surface of revolution? Write down r·sin ψ at the start; it never changes.
Can a path wrap round? Each straight line to a copy of the target is a geodesic.
Only then ask which is shortest.
Next, read how curvature counts holes in the Gauss–Bonnet theorem, and how shortest paths are set up with the Euler–Lagrange equation.
For meridians and curvature, the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing. If unrolling still won't click, Fermi's AI tutor can draw the figure on a board and check your understanding as it goes.



