Elliptic function - different definitions

  • Context: Graduate 
  • Thread starter Thread starter csopi
  • Start date Start date
  • Tags Tags
    Definitions Function
Click For Summary
SUMMARY

The discussion centers on the differences between the complete elliptic integral of the first kind as defined in Wolfram Mathematica (EllipticK[m]) and the traditional definition found in Abramowitz-Stegun (K(m)). Specifically, while K(m) is defined for |m| < 1, EllipticK[m] extends its domain to -Infinity < m < 1, introducing complexities for values of m < -1. The user seeks to relate EllipticK[m] to K(m) for m < -1, particularly in the context of implementing elliptic functions in GSL, where K(m) is limited to |m| < 1.

PREREQUISITES
  • Understanding of complete elliptic integrals
  • Familiarity with Wolfram Mathematica and its functions
  • Knowledge of GSL (GNU Scientific Library) for numerical computations
  • Basic concepts of branch cuts in complex analysis
NEXT STEPS
  • Research the relationship between EllipticK[m] and K(m) for m < -1
  • Explore branch cuts in complex functions and their implications
  • Review GSL documentation on elliptic functions and their domain restrictions
  • Investigate numerical methods for handling out-of-domain errors in GSL
USEFUL FOR

Mathematicians, numerical analysts, and software developers working with elliptic functions, particularly those implementing algorithms in GSL or using Mathematica for mathematical modeling.

csopi
Messages
81
Reaction score
2
Elliptic function -- different definitions

Hi,

I have recently discovered, that the definition of the complete elliptic integral of the first kind in Wolfram Mathematica (EllipticK[m]) is different from the usual (K(m)), given in Abramowitz-Stegun.

Their domains are not the same. In Abramowitz-Stegun, K is defined for |m| < 1, however in Mathematica, the domain is -Infinity < m<1.

My question is, the following. How EllipticK[m] is related to K, when m < -1? Is it related at all?
 
Physics news on Phys.org
Thanks for the fast reply.

Yes, I have checked it, although I did not really understand it. For m > 1, EllipticK is complex, while for m < -1 it is real, and I cannot see, how they are related.

To be specific, my problem is that I am writing a numerical code in GSL, that uses elliptic functions. The formulas to be calculated numerically were derivedwith the help of Mathematica, so they contain EllipticK. The problem is, that (following Abramowitz) the GSL version of K(m) is defined only for |m| < 1, and when I'm passing a large negative argument to it (e.g. -4, that is a valid value for EllipticK), it dies with an out of domain error. So I need to express EllipticK[m] in terms of K.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K