In physics, some of the areas where you find elliptic integrals are:
- Celestial mechanics
- Magnetostatics and electrostatics
- Relativistic harmonic oscillators
- Large amplitude oscillations of pendulums
In mathematics, elliptic integrals are part of the beautiful theory of elliptic functions. Elliptic integrals even show up in engineering when elliptic functions are used to design filters.
Since they are important in so many areas, alot of effort has gone into finding efficient ways of calculating elliptic integrals. In addition to calculating them, it is sometimes very useful to have a good approximation for them and the simpler the approximation, the better.
The simplest and most useful approximations are rational or Pade approximations. For a function of a single variable, such as the complete elliptic integrals, a rational approximation is just the ratio of two polynomials in the variable.
Below is a list of rational approximations for complete elliptic integrals of the first and second kind. These approximations are astonishingly good and they are the best rational approximations that we are aware of.
The derivation of these approximations has not yet been published. Once published, the derivation will be posted here. If you want to learn more about these approximations send Stefan an email (stefan at exstrom dot com).
Complete Elliptic Integrals of the First Kind
The following table lists rational approximations for complete elliptic integrals of the first kind. The larger the value of n, the better the approximation.
| 3 | |
| 5 | |
| 7 | |
| 9 | |
| 11 |
Below is a plot of the log of the difference between each of these approximations and the elliptic integral. The plot starts at x = 0.2 because below this value, the differences are so small that we had numerical instability problems trying to calculate them. Below x = 0.2, the approximations are essentially equivalent to the elliptic integral.
Below is a plot of the elliptic integral and the n=7 approximation. You can see that there is essentially no difference until x becomes greater than about 0.9.
Complete Elliptic Integrals of the Second Kind
Coming soon.