Go to the first, previous, next, last section, table of contents.

# Elliptic Functions

## Introduction to Elliptic Functions and Integrals

Maxima includes support for Jacobian elliptic functions and for complete and incomplete elliptic integrals. This includes symbolic manipulation of these functions and numerical evaluation as well. Definitions of these functions and many of their properties can by found in Abramowitz and Stegun, Chapter 16--17. As much as possible, we use the definitions and relationships given there.

In particular, all elliptic functions and integrals use the parameter m instead of the modulus k or the modular angle \alpha. This is one area where we differ from Abramowitz and Stegun who use the modular angle for the elliptic functions. The following relationships are true:

The elliptic functions and integrals are primarily intended to support symbolic computation. Therefore, most of derivatives of the functions and integrals are known. However, if floating-point values are given, a floating-point result is returned.

Support for most of the other properties of elliptic functions and integrals other than derivatives has not yet been written.

Some examples of elliptic functions:

    (C1) jacobi_sn(u,m);
    (D1)                            JACOBI_SN(u, m)
    (C2) jacobi_sn(u,1);
    (D2)                                TANH(u)
    (C3) jacobi_sn(u,0);
    (D3)                                SIN(u)
    (C4) diff(jacobi_sn(u,m),u);
    (D4)                    JACOBI_CN(u, m) JACOBI_DN(u, m)
    (C5) diff(jacobi_sn(u,m),m);
    (D5) JACOBI_CN(u, m) JACOBI_DN(u, m)

          ELLIPTIC_E(ASIN(JACOBI_SN(u, m)), m)
     (u - ------------------------------------)/(2 m)
                         1 - m

                2
       JACOBI_CN (u, m) JACOBI_SN(u, m)
     + --------------------------------
                  2 (1 - m)

Some examples of elliptic integrals:

    (C1) elliptic_f(phi,m);
    (D1)                          ELLIPTIC_F(PHI, m)
    (C2) elliptic_f(phi,0);
    (D2)                                  PHI
    (C3) elliptic_f(phi,1);
                                          PHI   %PI
    (D3)                          LOG(TAN(--- + ---))
                                           2     4
    (C4) elliptic_e(phi,1);
    (D4)                               SIN(PHI)
    (C5) elliptic_e(phi,0);
    (D5)                                  PHI
    (C6) elliptic_kc(1/2);
                                                1
    (D6)                            ELLIPTIC_KC(-)
                                                2
    (C7) makegamma(%);
                                            2 1
                                       GAMMA (-)
                                              4
    (D7)                              -----------
                                      4 SQRT(%PI)
    (C8) diff(elliptic_f(phi,m),phi);
                                           1
    (D8)                         ---------------------
                                               2
                                 SQRT(1 - m SIN (PHI))
    (C9) diff(elliptic_f(phi,m),m);
          ELLIPTIC_E(PHI, m) - (1 - m) ELLIPTIC_F(PHI, m)
    (D9) (-----------------------------------------------
                                 m

                                COS(PHI) SIN(PHI)
                            - ---------------------)/(2 (1 - m))
                                            2
                              SQRT(1 - m SIN (PHI))

Support for elliptic functions and integrals was written by Raymond Toy. It is placed under the terms of the General Public License (GPL) that governs the distribution of Maxima.

## Definitions for Elliptic Functions

Function: JACOBI_SN (u, m)
  The Jacobian elliptic function sn(u,m).

Function: JACOBI_CN (u, m)
  The Jacobian elliptic function cn(u,m).

Function: JACOBI_DN (u, m)
  The Jacobian elliptic function dn(u,m).

Function: JACOBI_NS (u, m)
  The Jacobian elliptic function ns(u,m) = 1/sn(u,m).

Function: JACOBI_SC (u, m)
  The Jacobian elliptic function sc(u,m) = sn(u,m)/cn(u,m).

Function: JACOBI_SD (u, m)
  The Jacobian elliptic function sd(u,m) = sn(u,m)/dn(u,m).

Function: JACOBI_NC (u, m)
  The Jacobian elliptic function nc(u,m) = 1/cn(u,m).

Function: JACOBI_CS (u, m)
  The Jacobian elliptic function cs(u,m) = cn(u,m)/sn(u,m).

Function: JACOBI_CD (u, m)
  The Jacobian elliptic function cd(u,m) = cn(u,m)/dn(u,m).

Function: JACOBI_ND (u, m)
  The Jacobian elliptic function nc(u,m) = 1/cn(u,m).

Function: JACOBI_DS (u, m)
  The Jacobian elliptic function ds(u,m) = dn(u,m)/sn(u,m).

Function: JACOBI_DC (u, m)
  The Jacobian elliptic function dc(u,m) = dn(u,m)/cn(u,m).

Function: INVERSE_JACOBI_SN (u, m)
  The inverse of the Jacobian elliptic function sn(u,m).

Function: INVERSE_JACOBI_CN (u, m)
  The inverse of the Jacobian elliptic function cn(u,m).

Function: INVERSE_JACOBI_DN (u, m)
  The inverse of the Jacobian elliptic function dn(u,m).

Function: INVERSE_JACOBI_NS (u, m)
  The inverse of the Jacobian elliptic function ns(u,m).

Function: INVERSE_JACOBI_SC (u, m)
  The inverse of the Jacobian elliptic function sc(u,m).

Function: INVERSE_JACOBI_SD (u, m)
  The inverse of the Jacobian elliptic function sd(u,m).

Function: INVERSE_JACOBI_NC (u, m)
  The inverse of the Jacobian elliptic function nc(u,m).

Function: INVERSE_JACOBI_CS (u, m)
  The inverse of the Jacobian elliptic function cs(u,m).

Function: INVERSE_JACOBI_CD (u, m)
  The inverse of the Jacobian elliptic function cd(u,m).

Function: INVERSE_JACOBI_ND (u, m)
  The inverse of the Jacobian elliptic function nc(u,m).

Function: INVERSE_JACOBI_DS (u, m)
  The inverse of the Jacobian elliptic function ds(u,m).

Function: INVERSE_JACOBI_DC (u, m)
  The inverse of the Jacobian elliptic function dc(u,m).

## Definitions for Elliptic Integrals

Function: ELLIPTIC_F (phi, m)
  The incomplete elliptic integral of the first kind, defined as

  See also ELLIPTIC_E, ELLIPTIC_KC

Function: ELLIPTIC_E (phi, m)
  The incomplete elliptic integral of the second kind, defined as See also ELLIPTIC_E, ELLIPTIC_EC

Function: ELLIPTIC_EU (u, m)
  The incomplete elliptic integral of the second kind, defined as

  This is related to ELLIPTIC_E by See also ELLIPTIC_E.

Function: ELLIPTIC_PI (n, phi, m)
  The incomplete elliptic integral of the third kind, defined as

  Only the derivative with respect to phi is known by MAXIMA.

Function: ELLIPTIC_KC (m)
  The complete elliptic integral of the first kind, defined as

  For certain values of m, the value of the integral is known in terms of Gamma functions. Use MAKEGAMMA to evaluate them.

Function: ELLIPTIC_EC (m)
  The complete elliptic integral of the second kind, defined as

  For certain values of m, the value of the integral is known in terms of Gamma functions. Use MAKEGAMMA to evaluate them.

Go to the first, previous, next, last section, table of contents.