Why Is Ellipse Circumference Difficult?
Unlike the area of an ellipse, which has a simple closed-form formula (A = pi*a*b), the circumference of an ellipse cannot be expressed using elementary functions. The exact circumference requires evaluating a complete elliptic integral of the second kind, which is an infinite series. This is why we rely on various approximation methods.
Approximation Methods
Ramanujan's Approximation
One of the most accurate simple approximations, accurate to within about 0.02% for most ellipses.
Infinite Series (Exact)
The exact formula uses a series involving the eccentricity parameter h = ((a-b)/(a+b))^2.
Naive Approximation
A rough estimate that is easy to compute but less accurate for elongated ellipses.
Ramanujan's Formula Explained
Srinivasa Ramanujan proposed an elegant approximation in 1914. The formula is:
C = pi * [3(a + b) - sqrt((3a + b)(a + 3b))]
This formula is remarkably accurate. For an ellipse with eccentricity up to about 0.95, the error is less than 0.04%. For nearly circular ellipses (small eccentricity), the error is negligible.
The Infinite Series Approach
The exact circumference is given by the complete elliptic integral of the second kind. One useful series representation uses the parameter h = ((a-b)/(a+b))2:
C = pi(a+b) * [1 + (1/4)h + (1/64)h2 + (1/256)h3 + ...]
More precisely, the coefficient of hn is [C(1/2, n)]2, where C(1/2, n) is the generalized binomial coefficient. The series converges rapidly when a and b are similar in size (small h), but converges more slowly for highly elongated ellipses.
When to Use Which Method
- Quick estimate: Use pi(a+b) for a rough ballpark, especially for nearly circular ellipses.
- Good accuracy: Use Ramanujan's approximation for everyday calculations. It is fast and accurate to within 0.02%.
- High precision: Use the infinite series with enough terms (10-20 terms gives excellent accuracy for most ellipses).
- Extreme eccentricity: For very elongated ellipses (e close to 1), use more series terms or specialized numerical integration.
Historical Context
The problem of computing the circumference of an ellipse was studied by many great mathematicians. Euler, Maclaurin, and Ivory all contributed series expansions. Ramanujan's contribution in 1914 was remarkable because his simple formula achieves accuracy comparable to using many terms of the infinite series, yet requires only basic arithmetic operations.
Examples
- Circle (a = b = 5): C = pi(3(10) - sqrt(20*20)) = pi(30-20) = 10pi = 31.416. This exactly matches 2*pi*r = 31.416.
- Mild ellipse (a = 10, b = 8): C = pi(3(18) - sqrt(38*28)) = pi(54 - 32.603) = 56.897 units.
- Elongated (a = 10, b = 2): C = pi(3(12) - sqrt(32*16)) = pi(36 - 22.627) = 42.0 units.
Practical Applications
- Track design: Computing the length of an elliptical running track or race course.
- Astronomy: Estimating the path length of a planetary orbit around the Sun.
- Engineering: Determining the circumference of elliptical pipes, gaskets, or structural members.
- Fencing: Calculating the amount of material needed to enclose an elliptical area.