Jacobi's solution for geodesics on a triaxial ellipsoid

This paper presents a numerical implementation of Jacobi's 1838 analytical solution for geodesics on a triaxial ellipsoid, detailing the accurate evaluation of integrals and the solution of coupled equations to enable the calculation of geodesic paths and distances, as well as the determination of shortest paths between two points.

Original authors: Charles F. F. Karney

Published 2026-02-18
📖 4 min read🧠 Deep dive

This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the Earth not as a perfect sphere or even a slightly squashed ball (like a standard basketball), but as a lumpy, three-sided potato. In math terms, this is a triaxial ellipsoid. It has three different lengths: a long side, a medium side, and a short side.

For centuries, scientists knew how to draw the "straightest possible line" (a geodesic) between two points on a sphere or a standard squashed ball. But on this lumpy, three-sided potato, the math was a nightmare. It was like trying to navigate a maze where the walls keep shifting shape.

In 1838, a brilliant mathematician named Carl Gustav Jacob Jacobi found a secret key. He discovered that even on this lumpy potato, you could describe the path using simple one-dimensional integrals (basically, summing up tiny slices of a curve). However, for nearly 200 years, nobody knew how to actually use his formula on a computer without it crashing or giving wrong answers.

Charles Karney, the author of this paper, finally cracked the code. Here is how he did it, explained simply:

1. The Problem: The "Lumpy Potato" Navigation

If you try to walk in a straight line on a lumpy potato, your path gets weird. It might loop around the long way, or zigzag back and forth.

  • The Old Way: Previous methods tried to simulate the walk step-by-step (like a video game character taking tiny steps). This works for short trips, but if you walk for a long time, the tiny errors pile up, and you end up in the wrong country.
  • The Goal: Karney wanted a method that is accurate no matter how far you walk, and fast enough to be useful.

2. The Solution: The "Fourier Fourier" Trick

Jacobi's solution involves complex math formulas (integrals) that are hard to calculate directly. Karney's big idea was to treat these formulas like a song.

  • The Analogy: Imagine the complex curve of the path is a complicated musical note. Instead of trying to calculate the exact physics of the sound wave, Karney broke the note down into a Chorus of Sine Waves (a Fourier series).
  • Why it works: Sine waves are easy to integrate (sum up). By approximating the difficult math as a sum of simple waves, he could calculate the path with extreme precision. It's like turning a jagged, rocky mountain path into a smooth, rolling hill that a computer can measure instantly.

3. The "Umbilic" Trap

There are two special spots on the potato (called umbilics) where the surface is perfectly round, like the top of a sphere.

  • The Problem: At these spots, the math formulas break down and scream "Error!" (mathematical singularities).
  • The Fix: Karney realized that geodesics passing through these spots behave in a predictable, chaotic way. He created a special "bridge" to jump over these spots, calculating exactly how the path twists and turns as it passes through the roundest part of the potato.

4. Solving the "Inverse" Puzzle

There are two types of navigation problems:

  1. Direct: "I am here, facing North. Where do I end up after 100 miles?" (Easy with Karney's method).
  2. Inverse: "I am here, and I want to go to that specific point. Which direction should I face?" (Harder).

Karney used a clever trick for the second problem. He treated the direction you face as a dial. He spun the dial, calculated where you would end up, and kept adjusting the dial until you landed exactly on your target. Because his "song" method was so accurate, this dial-spinning process converged (found the answer) very quickly.

5. Why This Matters

  • For Earth: While Earth is mostly a standard squashed ball, some parts of it (and other planets like Mars or asteroids) are lumpy. This method allows for ultra-precise mapping of these weird shapes.
  • For Space: If you are sending a probe to an asteroid that looks like a potato, you need to know exactly how to fly around it without crashing.
  • For Math: It proves that Jacobi's 180-year-old secret was correct and usable, turning a theoretical curiosity into a practical tool.

The Bottom Line

Charles Karney took a 19th-century mathematical masterpiece that was too messy to use, cleaned it up with modern digital tools (Fourier series), and built a high-precision GPS for lumpy, three-sided worlds. He showed that even on the most irregular shapes, the "straightest path" can be found with incredible speed and accuracy.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →