Hacker News new | past | comments | ask | show | jobs | submit login

Hey, John — Matt Parker mentioned in one of his ellipse videos the fact that every elliptical ratio has its own pi-like constant. He just quickly rattles the fact off, but never delves into it. Do you know of any research into trying to characterize the family of pi? I mean, beyond its evil cousins.



For a circle, pi is the ratio of the circumference to its diameter. Every ellipse also has a circumference-to-diameter ratio. Well, two ratios, since ellipses have both major and minor diameters. You might think that there would be some kind of clever formula that let you calculate this ratio, but there isn’t! Instead, these pi-like numbers for ellipses are expressed as integrals:

https://en.wikipedia.org/wiki/Elliptic_integral

Scroll down to “Complete elliptic integral of the second kind”. That is your search term for looking it up. It is kind of a surprise that there isn’t some neat formula for calculating the circumference of an ellipse. The formula given is:

  C = 4 a E(e)
The function E(e) here can be calculated in a few different ways, but it is really just defined as an integral that measures the length of a single ellipse arc.

Here, e is eccentricity. E(0) therefore gives π/4 since a circle has eccentricity 0. E(1) also therefore gives 1. So the E(e) function goes from π/4 to 1 as e goes from 0 to 1.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: