# Jacobi elliptic functions

In mathematics, the Jacobi elliptic functions are a set of basic elliptic functions, and auxiliary theta functions, that are of historical importance. They are found in the description of the motion of a pendulum (see also pendulum (mathematics)), as well as in the design of the electronic elliptic filters. While trigonometric functions are defined with reference to a circle, the Jacobi elliptic functions are a generalization which refer to other conic sections, the ellipse in particular. The relation to trigonometric functions is contained in the notation, for example, by the matching notation sn for sin. The Jacobi elliptic functions are used more often in practical problems than the Weierstrass elliptic functions as they do not require notions of complex analysis to be defined and/or understood. They were introduced by Carl Gustav Jakob Jacobi (1829).

## Introduction

There are twelve Jacobi elliptic functions denoted by pq(u,m), where p and q are any of the letters c, s, n, and d. (Functions of the form pp(u,m) are trivially set to unity for notational completeness). u is the argument, and m is the parameter, both of which may be complex.

In the complex plane of the argument u, the twelve functions form a repeating lattice of simple poles and zeroes.[1] Depending on the function, one repeating parallelogram, or unit cell, will have sides of length 2K or 4K on the real axis, and 2K' or 4K' on the imaginary axis, where K=K(m) and K'=K(1-m) are known as the quarter periods with K(.) being the elliptic integral of the first kind. The nature of the unit cell can be determined by inspecting the "auxiliary rectangle" (generally a parallelogram), which is a rectangle formed by the origin (0,0) at one corner, and (K,K') as the diagonally opposite corner. As in the diagram, the four corners of the auxiliary rectangle are named s, c, d, and n, going counter-clockwise from the origin. The function pq(u,m) will have a zero at the "p" corner and a pole at the "q" corner. The twelve functions correspond to the twelve ways of arranging these poles and zeroes in the corners of the rectangle.

When the argument u and parameter m are real, with 0<m<1, K and K' will be real and the auxiliary parallelogram will in fact be a rectangle, and the Jacobi elliptic functions will all be real valued.

Mathematically, Jacobian elliptic functions are doubly periodic meromorphic functions on the complex plane. Since they are doubly periodic, they factor through a torus – in effect, their domain can be taken to be a torus, just as cosine and sine are in effect defined on a circle. Instead of having only one circle, we now have the product of two circles, one real and the other imaginary. The complex plane can be replaced by a complex torus. The circumference of the first circle is 4K and the second 4K, where K and K are the quarter periods. Each function has two zeroes and two poles at opposite positions on the torus. Among the points 0, K, K + iK, iK there is one zero and one pole.

The Jacobian elliptic functions are then the unique doubly periodic, meromorphic functions satisfying the following three properties:

• There is a simple zero at the corner p, and a simple pole at the corner q.
• The step from p to q is equal to half the period of the function pq u; that is, the function pq u is periodic in the direction pq, with the period being twice the distance from p to q. The function pq u is also periodic in the other two directions, with a period such that the distance from p to one of the other corners is a quarter period.
• If the function pq u is expanded in terms of u at one of the corners, the leading term in the expansion has a coefficient of 1. In other words, the leading term of the expansion of pq u at the corner p is u; the leading term of the expansion at the corner q is 1/u, and the leading term of an expansion at the other two corners is 1.
Jacobi elliptic function sn
Jacobi elliptic function cn
Jacobi elliptic function dn
Jacobi elliptic function sc
Plots of four Jacobi Elliptic Functions in the complex plane of ‘’u’’, illustrating their double periodic behavior. Images generated using a version of the domain coloring method.[2] All have values of the k parameter equal to 0.8.

## Notation

The elliptic functions can be given in a variety of notations, which can make the subject unnecessarily confusing. Elliptic functions are functions of two variables. The first variable might be given in terms of the amplitude φ, or more commonly, in terms of u given below. The second variable might be given in terms of the parameter m, or as the elliptic modulus k, where k2 = m, or in terms of the modular angle α, where m =  sin2 α. The complements of k and m are defined as m' =1-m and ${\displaystyle k'={\sqrt {m'}}}$. These four terms are used below without comment to simplify various expressions.

The twelve Jacobi elliptic functions are generally written as pq(u,m) where ‘’p’’ and ‘’q’’ are any of the letters ‘’c’’, ‘’s’’, ‘’n’’, and ‘’d’’. Functions of the form pp(u,m) are trivially set to unity for notational completeness. The “major” functions are generally taken to be cn(u,m), sn(u,m) and dn(u,m) from which all other functions can be derived and expressions are often written solely in terms of these three functions, however, various symmetries and generalizations are often most conveniently expressed using the full set. (This notation is due to Gudermann and Glaisher and is not Jacobi's original notation.)

The parameter

The functions are notationally related to each other by the multiplication rule: (arguments suppressed)

${\displaystyle \operatorname {pq} \,\,\,\,\operatorname {p'q'} =\operatorname {pq'} \,\,\,\operatorname {p'q} }$

from which other commonly used relationships can be derived:

${\displaystyle \operatorname {pr} /\operatorname {qr} =\operatorname {pq} }$
${\displaystyle \operatorname {pr} \,\,\operatorname {rq} =\operatorname {pq} }$
${\displaystyle 1/\operatorname {qp} =\operatorname {pq} }$

The multiplication rule follows immediately from the identification of the elliptic functions with the Neville theta functions[3]

${\displaystyle \operatorname {pq} (u,m)={\frac {\theta _{p}(u,m)}{\theta _{q}(u,m)}}}$

## Definition as inverses of elliptic integrals

The above definition, in terms of the unique meromorphic functions satisfying certain properties, is quite abstract. There is a simpler, but completely equivalent definition, giving the elliptic functions as inverses of the incomplete elliptic integral of the first kind. Let

${\displaystyle u=\int _{0}^{\varphi }{\frac {\mathrm {d} \theta }{\sqrt {1-m\sin ^{2}\theta }}}\,.}$

Then the elliptic sine sn u (Latin: sinus amplitudinis) is given by

${\displaystyle \operatorname {sn} u=\sin \varphi \,}$

and the elliptic cosine cn u (Latin: cosinus amplitudinis) is given by

${\displaystyle \operatorname {cn} u=\cos \varphi }$

and the delta amplitude dn u (Latin: delta amplitudinis)

${\displaystyle \operatorname {dn} u={\sqrt {1-m\sin ^{2}\varphi }}\,.}$

Here, the angle ${\displaystyle \varphi }$ is called the amplitude. On occasion, dn u = Δ(u) is called the delta amplitude. In the above, the value m is a free parameter, usually taken to be real, 0  m  1, and so the elliptic functions can be thought of as being given by two variables, the amplitude ${\displaystyle \varphi }$ and the parameter m.

The remaining nine elliptic functions are easily built from the above three, and are given in a section below.

Note that when ${\displaystyle \varphi =\pi /2}$, that u then equals the quarter period K.

## Definition as trigonometry - the Jacobi ellipse

${\displaystyle \cos \varphi ,\sin \varphi }$ are defined on the unit circle, with radius r = 1 and angle ${\displaystyle \varphi =}$ arc length of the unit circle measured from the positive x-axis. Similarly, Jacobi elliptic functions are defined on the unit ellipse, with a = 1. Let

{\displaystyle {\begin{aligned}&x^{2}+{\frac {y^{2}}{b^{2}}}=1,\quad b>1,\\&m=1-{\frac {1}{b^{2}}},\quad 0

then:

${\displaystyle r(\varphi ,m)={\frac {1}{\sqrt {1-m\sin ^{2}\varphi }}}\,.}$

For each angle ${\displaystyle \varphi }$ the angular component of the arc length, the 'angular arc length' is computed. An advantage of angular arc length is that we can calculate a total arc length for hyperbolas. For the ellipse the angular arc length is:

${\displaystyle u=u(\varphi ,m)=\int _{0}^{\varphi }r(\theta ,m)\,d\theta .}$

Let ${\displaystyle P=(x,y)}$ be the point on the ellipse with angular arc length ${\displaystyle u(\varphi ,m)}$ and let ${\displaystyle P'=(x',y')}$ be the point on the unit circle with the angular arc length ${\displaystyle \varphi }$, (note that origin ${\displaystyle O,P'}$ and ${\displaystyle P}$ are on the same straight line). The familiar relations from the unit circle (${\displaystyle OP'=1}$):

${\displaystyle x'=\cos \varphi ,\quad y'=\sin \varphi }$

imply for the ellipse:

${\displaystyle x'=\operatorname {cn} (u,m),\quad y'=\operatorname {sn} (u,m).}$

So the projections of the intersection point ${\displaystyle P'}$ of the line ${\displaystyle OP}$ with the unit circle on the x- and y-axes are simply ${\displaystyle \operatorname {cn} (u,m)}$ and ${\displaystyle \operatorname {sn} (u,m)}$. These projections may be interpreted as 'definition as trigonometry'. In short:

${\displaystyle \operatorname {cn} (u,m)={\frac {x(u,m)}{r(u,m)}},\quad \operatorname {sn} (u,m)={\frac {y(u,m)}{r(u,m)}},\quad \operatorname {dn} (u,m)={\frac {1}{r(u,m)}}.}$

For the ${\displaystyle x}$ and ${\displaystyle y}$ value of the point ${\displaystyle P}$ with ${\displaystyle u}$ and parameter ${\displaystyle m}$ we get, after inserting the relation:

${\displaystyle r(\varphi ,m)={\frac {1}{\operatorname {dn} (u,m)}}}$

into:${\displaystyle x=r(\varphi ,m)\cos(\varphi ),y=r(\varphi ,m)\sin(\varphi )}$ that:

${\displaystyle x={\frac {\operatorname {cn} (u,m)}{\operatorname {dn} (u,m)}},\quad y={\frac {\operatorname {sn} (u,m)}{\operatorname {dn} (u,m)}}.}$

The latter relations for the x- and y-coordinates of points on the unit ellipse may be considered as generalization of the relations ${\displaystyle x=\cos \varphi ,y=\sin \varphi }$ for the coordinates of points on the unit circle.

The following table summarizes the expressions for all Jacobi elliptic functions pq(u,m) in the variables (x,y,r) and (φ,dn) with ${\displaystyle r={\sqrt {x^{2}+y^{2}}}}$

Jacobi Elliptic Functions pq[u,m] as functions of {x,y,r} and {φ,dn}
q
c s n d
p
c 1${\displaystyle x/y=\cot(\phi )}$${\displaystyle x/r=\cos(\phi )}$${\displaystyle x=\cos(\phi )/dn}$
s ${\displaystyle y/x=\tan(\phi )}$1${\displaystyle y/r=\sin(\phi )}$${\displaystyle y=\sin(\phi )/dn}$
n ${\displaystyle r/x=\sec(\phi )}$${\displaystyle r/y=\csc(\phi )}$1${\displaystyle r=1/dn}$
d ${\displaystyle 1/x=dn\sec(\phi )}$${\displaystyle 1/y=dn\csc(\phi )}$${\displaystyle 1/r=dn}$1

## Definition in terms of Jacobi theta functions

Equivalently, Jacobi's elliptic functions can be defined in terms of his theta functions. If we abbreviate ${\displaystyle \vartheta (0;\tau )}$ as ${\displaystyle \vartheta }$, and ${\displaystyle \vartheta _{01}(0;\tau ),\vartheta _{10}(0;\tau ),\vartheta _{11}(0;\tau )}$ respectively as ${\displaystyle \vartheta _{01},\vartheta _{10},\vartheta _{11}}$ (the theta constants) then the elliptic modulus k is ${\displaystyle k=\left({\vartheta _{10} \over \vartheta }\right)^{2}}$. If we set ${\displaystyle u=\pi \vartheta ^{2}z}$, we have

{\displaystyle {\begin{aligned}\operatorname {sn} (u;k)&=-{\vartheta \vartheta _{11}(z;\tau ) \over \vartheta _{10}\vartheta _{01}(z;\tau )}\\[7pt]\operatorname {cn} (u;k)&={\vartheta _{01}\vartheta _{10}(z;\tau ) \over \vartheta _{10}\vartheta _{01}(z;\tau )}\\[7pt]\operatorname {dn} (u;k)&={\vartheta _{01}\vartheta (z;\tau ) \over \vartheta \vartheta _{01}(z;\tau )}\end{aligned}}}

Since the Jacobi functions are defined in terms of the elliptic modulus ${\displaystyle k(\tau )}$, we need to invert this and find ${\displaystyle \tau }$ in terms of ${\displaystyle k}$. We start from ${\displaystyle k'={\sqrt {1-k^{2}}}}$, the complementary modulus. As a function of ${\displaystyle \tau }$ it is

${\displaystyle k'(\tau )=\left({\vartheta _{01} \over \vartheta }\right)^{2}.}$

Let us first define

${\displaystyle \ell ={1 \over 2}{1-{\sqrt {k'}} \over 1+{\sqrt {k'}}}={1 \over 2}{\vartheta -\vartheta _{01} \over \vartheta +\vartheta _{01}}.}$

Then define the nome as ${\displaystyle q=\exp(\pi i\tau )}$ and expand ${\displaystyle \ell }$ as a power series in the nome ${\displaystyle q}$, we obtain

${\displaystyle \ell ={q+q^{9}+q^{25}+\cdots \over 1+2q^{4}+2q^{16}+\cdots }.}$

Reversion of series now gives

${\displaystyle q=\ell +2\ell ^{5}+15\ell ^{9}+150\ell ^{13}+1707\ell ^{17}+20910\ell ^{21}+268616\ell ^{25}+\cdots .}$

Since we may reduce to the case where the imaginary part of ${\displaystyle \tau }$ is greater than or equal to ${\displaystyle {\sqrt {3}}/2}$, we can assume the absolute value of ${\displaystyle q}$ is less than or equal to ${\displaystyle \exp(-\pi {\sqrt {3}}/2)\approx 0.0658}$; for values this small the above series converges very rapidly and easily allows us to find the appropriate value for ${\displaystyle q}$.

## Definition in terms of Neville theta functions

The Jacobi Elliptic functions can be defined very simply using the Neville theta functions:[4]

${\displaystyle pq(u,m)={\frac {\theta _{p}(u,m)}{\theta _{q}(u,m)}}}$

Simplifications of complicated products of the Jacobi elliptic functions are often made easier using these identities.

## Jacobi Transformations

### The Jacobi imaginary transformations

The Jacobi imaginary transformations relate various functions of the imaginary variable i u or, equivalently, relations between various values of the m parameter. In terms of the major functions:[5]:506

${\displaystyle \operatorname {cn} (u,m)=\operatorname {nc} (i\,u,1\!-\!m)}$
${\displaystyle \operatorname {sn} (u,m)=-i\operatorname {sc} (i\,u,1\!-\!m)}$
${\displaystyle \operatorname {dn} (u,m)=\operatorname {dc} (i\,u,1\!-\!m)}$

Using the multiplication rule, all other functions may be expressed in terms of the above three. The transformations may be generally written as ${\displaystyle pq(u,m)=\gamma _{pq}pq'(i\,u,1\!-\!m)}$. The following table gives the ${\displaystyle \gamma _{pq}pq'(i\,u,1\!-\!m)}$ for the specified pq(u,m).[4] (The arguments ${\displaystyle (i\,u,1\!-\!m)}$ are suppressed)

Jacobi Imaginary transformations ${\displaystyle \gamma _{pq}\operatorname {pq} '(i\,u,1\!-\!m)}$
q
c s n d
p
c 1i nsncnd
s -i sn1-i sc-i sd
n cni cs1cd
d dni dsdc1

Since the hyperbolic trigonometric functions are proportional to the circular trigonometric functions with imaginary arguments, it follows that the Jacobi functions will yield the hyperbolic functions for m=1.[3]:249 In the figure, the Jacobi curve has degenerated to two vertical lines at x=1 and x=-1.

### The Jacobi real transformations

The Jacobi real transformations[3]:308 yield expressions for the elliptic functions in terms with alternate values of m. The transformations may be generally written as ${\displaystyle pq(u,m)=\gamma _{pq}pq'(k\,u,1/m)}$. The following table gives the ${\displaystyle \gamma _{pq}pq'(k\,u,1/m)}$ for the specified pq(u,m).[4] (The arguments ${\displaystyle (k\,u,1/m)}$ are suppressed)

Jacobi Real transformations ${\displaystyle \gamma _{pq}\operatorname {pq} '(k\,u,1/m)}$
q
c s n d
p
c 1${\displaystyle k}$ dsdndc
s ${\displaystyle {\frac {1}{k}}}$ sd1${\displaystyle {\frac {1}{k}}}$ sn${\displaystyle {\frac {1}{k}}}$ sc
n nd${\displaystyle k}$ ns1nc
d cd${\displaystyle k}$ cscn1

### Other Jacobi transformations

Jacobi's real and imaginary transformations can be combined in various ways to yield three more simple transformations .[3]:214 The real and imaginary transformations are two transformations in a group (D3 or Anharmonic group) of six transformations. If

${\displaystyle \mu _{R}(m)=1/m}$

is the transformation for the m parameter in the real transformation, and

${\displaystyle \mu _{I}(m)=1-m=m'}$

is the transformation of m in the imaginary transformation, then the other transformations can be built up by successive application of these two basic transformations, yielding only three more possibilities:

{\displaystyle {\begin{aligned}\mu _{IR}(m)&=&\mu _{I}(\mu _{R}(m))&=&-m'/m\\\mu _{RI}(m)&=&\mu _{R}(\mu _{I}(m))&=&1/m'\\\mu _{RIR}(m)&=&\mu _{R}(\mu _{I}(\mu _{R}(m)))&=&-m/m'\end{aligned}}}

These five transformations, along with the identity transformation (μU(m)=m) yield the 6 element group. With regard to the Jacobi elliptic functions, the general transformation can be expressed using just three functions:

${\displaystyle \operatorname {cs} (u,m)=\gamma _{i}\operatorname {cs'} (\gamma _{i}u,\mu _{i}(m))}$
${\displaystyle \operatorname {ns} (u,m)=\gamma _{i}\operatorname {ns'} (\gamma _{i}u,\mu _{i}(m))}$
${\displaystyle \operatorname {ds} (u,m)=\gamma _{i}\operatorname {ds'} (\gamma _{i}u,\mu _{i}(m))}$

where i = U, I, IR, R, RI, or RIR, identifying the transformation, γi is a multiplication factor common to these three functions, and the prime indicates the transformed function. The other nine transformed functions can be built up from the above three. The reason the cs, ns, ds functions were chosen to represent the transformation is that the other functions will be ratios of these three (except for their inverses) and the multiplication factors will cancel.

The following table lists the multiplication factors for the three ps functions, the transformed m 's, and the transformed function names for each of the six transformations.[3]:214 (As usual, k2=m, 1-k2=k12=m' and the arguments (${\displaystyle \gamma _{i}u,\mu _{i}(m)}$) are suppressed)

Parameters for the six transformations
Transformation i${\displaystyle \gamma _{i}}$${\displaystyle \mu _{i}(m)}$cs'ns'ds'
U 1mcsnsds
I im'nscsds
IR i k-m'/mdscsns
R k1/mdsnscs
RI i k11/m'nsdscs
RIR k1-m/m'csdsns

Thus, for example, we may build the following table for the RIR transformation.[4] The transformation is generally written ${\displaystyle \operatorname {pq} (u,m)=\gamma _{pq}\,\operatorname {pq'} (k'\,u,-m/m')}$ (The arguments ${\displaystyle (k'\,u,-m/m')}$ are suppressed)

The RIR transformation ${\displaystyle \gamma _{pq}\,\operatorname {pq'} (k'\,u,-m/m')}$
q
c s n d
p
c 1k' cscdcn
s ${\displaystyle {\frac {1}{k'}}}$ sc1${\displaystyle {\frac {1}{k'}}}$ sd${\displaystyle {\frac {1}{k'}}}$ sn
n dc${\displaystyle k'}$ ds1dn
d nc${\displaystyle k'}$ nsnd1

The value of the Jacobi transformations is that any set of Jacobi elliptic functions with any complex-valued parameter m can be converted into another set for which 0<=m<=1 and, for real values of u, the function values will be real.[3]:p.215

## The Jacobi hyperbola

Introducing complex numbers, our ellipse has an associated hyperbola:

${\displaystyle xx^{2}-{\frac {yy^{2}}{b^{2}}}=1}$

from applying Jacobi's imaginary transformation[4] to the elliptic functions in the above equation for x and y.

${\displaystyle xx={\frac {1}{\operatorname {dn} (u,1-m)}},\quad yy={\frac {\operatorname {sn} (u,1-m)}{\operatorname {dn} (u,1-m)}}}$

It follows that we can put ${\displaystyle x=\operatorname {dn} (u,1-m),y=\operatorname {sn} (u,1-m)}$. So our ellipse has a dual ellipse with m replaced by 1-m. This leads to the complex torus mentioned in the Introduction.[6] Generally, m may be a complex number, but when m is real and m<0, the curve is an ellipse with major axis in the x direction. At m=0 the curve is a circle, and for 0<m<1, the curve is an ellipse with major axis in the y direction. At m=1, the curve degenerates into two vertical lines at x=+/- 1. For m>1, the curve is a hyperbola. When m is complex but not real, x or y or both are complex and the curve cannot be described on a real x-y diagram.

## Minor functions

Reversing the order of the two letters of the function name results in the reciprocals of the three functions above:

{\displaystyle {\begin{aligned}\operatorname {ns} (u)={\frac {1}{\operatorname {sn} (u)}},\qquad \operatorname {nc} (u)={\frac {1}{\operatorname {cn} (u)}},\qquad \operatorname {nd} (u)={\frac {1}{\operatorname {dn} (u)}}.\end{aligned}}}

Similarly, the ratios of the three primary functions correspond to the first letter of the numerator followed by the first letter of the denominator:

{\displaystyle {\begin{aligned}\operatorname {sc} (u)={\frac {\operatorname {sn} (u)}{\operatorname {cn} (u)}},\qquad \operatorname {sd} (u)={\frac {\operatorname {sn} (u)}{\operatorname {dn} (u)}},\qquad \operatorname {dc} (u)={\frac {\operatorname {dn} (u)}{\operatorname {cn} (u)}},\qquad \operatorname {ds} (u)={\frac {\operatorname {dn} (u)}{\operatorname {sn} (u)}},\qquad \operatorname {cs} (u)={\frac {\operatorname {cn} (u)}{\operatorname {sn} (u)}},\qquad \operatorname {cd} (u)={\frac {\operatorname {cn} (u)}{\operatorname {dn} (u)}}.\end{aligned}}}

More compactly, we have

${\displaystyle \operatorname {pq} (u)={\frac {\operatorname {pn} (u)}{\operatorname {qn} (u)}}}$

where p and q are any of the letters s, c, d.

## Periodicity, poles, and residues

In the complex plane of the argument u, the Jacobi elliptic functions form a repeating pattern of poles (and zeroes). The residues of the poles all have the same amplitude, differing only in sign. Each function pq(u,m) has an inverse function qp(u,m) in which the positions of the poles and zeroes are exchanged. The periods of repetition are generally different in the real and imaginary directions, hence the use of the term "doubly periodic" to describe them.

The double periodicity of the Jacobi elliptic functions may be expressed as:

${\displaystyle \operatorname {pq} (u+2\alpha K(m)+2i\beta K(1-m)\,,\,m)=(-1)^{\gamma }\operatorname {pq} (u,m)}$

where α and β are any pair of integers. K(.) is the complete elliptic integral of the first kind, also known as the quarter period. The power of negative unity (γ) is given in the following table:

${\displaystyle \gamma }$
q
c s n d
p
c 0βα+βα
s β0αα+β
n α+βα0β
d αα+ββ0

When the factor (-1)γ is equal to -1, the equation expresses quasi-periodicity. When it is equal to unity, it expresses full periodicity. It can be seen, for example, that for the entries containing only α when α is even, full periodicity is expressed by the above equation, and the function has full periods of 4K(m) and 2iK(1-m). Likewise, functions with entries containing only β have full periods of 2K(m) and 4iK(1-m), while those with α + β have full periods of 4K(m) and 4iK(1-m).

In the diagram on the right, which plots one repeating unit for each function, indicating phase along with the location of poles and zeroes, a number of regularities can be noted: The inverse of each function is opposite the diagonal, and has the same size unit cell, with poles and zeroes exchanged. The pole and zero arrangement in the auxiliary rectangle formed by (0,0), (K,0), (0,K') and (K,K') are in accordance with the description of the pole and zero placement described in the introduction above. Also, the size of the white ovals indicating poles are a rough measure of the amplitude of the residue for that pole. The residues of the poles closest to the origin in the figure (i.e. in the auxiliary rectangle) are listed in the following table:

Residues of Jacobi Elliptic Functions
q
c s n d
p
c 1${\displaystyle -{\frac {i}{k}}}$${\displaystyle -{\frac {1}{k}}}$
s ${\displaystyle -{\frac {1}{k'}}}$${\displaystyle {\frac {1}{k}}}$${\displaystyle -{\frac {i}{k\,k'}}}$
n ${\displaystyle -{\frac {1}{k'}}}$1${\displaystyle -{\frac {i}{k'}}}$
d -11${\displaystyle -i}$

When applicable, poles displaced above by 2K or displaced to the right by 2K' have the same value but with signs reversed, while those diagonally opposite have the same value. Note that poles and zeroes on the left and lower edges are considered part of the unit cell, while those on the upper and right edges are not.

## Relations between squares of the functions

Relations between squares of the functions can be derived from two basic relationships (Arguments (u,m) suppressed):

${\displaystyle \operatorname {cn} ^{2}+\operatorname {sn} ^{2}=1}$
${\displaystyle \operatorname {cn} ^{2}+m'\operatorname {sn} ^{2}=\operatorname {dn} ^{2}}$

where m + m' = 1 and m = k2. Multiplying by any function of the form nq yields more general equations:

${\displaystyle \operatorname {cq} ^{2}+\operatorname {sq} ^{2}=\operatorname {nq} ^{2}}$
${\displaystyle \operatorname {cq} ^{2}+m'\operatorname {sq} ^{2}=\operatorname {dq} ^{2}}$

With q=d, these correspond trigonometrically to the equations for the unit circle (${\displaystyle x^{2}+y^{2}=r^{2}}$) and the unit ellipse (${\displaystyle x^{2}+m'y^{2}=1}$), with x=cd, y=sd and r=nd. Using the multiplication rule, other relationships may be derived. For example:

${\displaystyle -\operatorname {dn} ^{2}+m'=-m\operatorname {cn} ^{2}=m\operatorname {sn} ^{2}-m}$
${\displaystyle -m'\operatorname {nd} ^{2}+m'=-mm'\operatorname {sd} ^{2}=m\operatorname {cd} ^{2}-m}$
${\displaystyle m'\operatorname {sc} ^{2}+m'=m'\operatorname {nc} ^{2}=\operatorname {dc} ^{2}-m}$
${\displaystyle \operatorname {cs} ^{2}+m'=\operatorname {ds} ^{2}=\operatorname {ns} ^{2}-m}$

The functions satisfy the two square relations

${\displaystyle \operatorname {cn} ^{2}(u,k)+\operatorname {sn} ^{2}(u,k)=1,\,}$
${\displaystyle \operatorname {dn} ^{2}(u,k)+k^{2}\operatorname {sn} ^{2}(u,k)=1.\,}$

From this we see that (cn, sn, dn) parametrizes an elliptic curve which is the intersection of the two quadrics defined by the above two equations. We now may define a group law for points on this curve by the addition formulas for the Jacobi functions[1]

{\displaystyle {\begin{aligned}\operatorname {cn} (x+y)&={\operatorname {cn} (x)\operatorname {cn} (y)-\operatorname {sn} (x)\operatorname {sn} (y)\operatorname {dn} (x)\operatorname {dn} (y) \over {1-k^{2}\operatorname {sn} ^{2}(x)\operatorname {sn} ^{2}(y)}},\\[8pt]\operatorname {sn} (x+y)&={\operatorname {sn} (x)\operatorname {cn} (y)\operatorname {dn} (y)+\operatorname {sn} (y)\operatorname {cn} (x)\operatorname {dn} (x) \over {1-k^{2}\operatorname {sn} ^{2}(x)\operatorname {sn} ^{2}(y)}},\\[8pt]\operatorname {dn} (x+y)&={\operatorname {dn} (x)\operatorname {dn} (y)-k^{2}\operatorname {sn} (x)\operatorname {sn} (y)\operatorname {cn} (x)\operatorname {cn} (y) \over {1-k^{2}\operatorname {sn} ^{2}(x)\operatorname {sn} ^{2}(y)}}.\end{aligned}}}

Double angle formulae can be easily derived from the above equations by setting x=y.[1] Half angle formulae[4][1] are all of the form:

${\displaystyle \operatorname {pq} ({\tfrac {1}{2}}u,m)^{2}=f_{p}/f_{q}}$

where:

${\displaystyle f_{c}=\operatorname {cn} (u,m)+\operatorname {dn} (u,m)}$
${\displaystyle f_{s}=1-\operatorname {cn} (u,m)}$
${\displaystyle f_{n}=1+\operatorname {dn} (u,m)}$
${\displaystyle f_{d}=(1+\operatorname {dn} (u,m))-m(1-\operatorname {cn} (u,m))}$

## Expansion in terms of the nome

Let the nome be ${\displaystyle q=\exp(-\pi K'/K)}$ and let the argument be ${\displaystyle v=\pi u/(2K)}$. Then the functions have expansions as Lambert series

${\displaystyle \operatorname {sn} (u)={\frac {2\pi }{K{\sqrt {m}}}}\sum _{n=0}^{\infty }{\frac {q^{n+1/2}}{1-q^{2n+1}}}\sin((2n+1)v),}$
${\displaystyle \operatorname {cn} (u)={\frac {2\pi }{K{\sqrt {m}}}}\sum _{n=0}^{\infty }{\frac {q^{n+1/2}}{1+q^{2n+1}}}\cos((2n+1)v),}$
${\displaystyle \operatorname {dn} (u)={\frac {\pi }{2K}}+{\frac {2\pi }{K}}\sum _{n=1}^{\infty }{\frac {q^{n}}{1+q^{2n}}}\cos(2nv).}$

## Jacobi elliptic functions as solutions of nonlinear ordinary differential equations

The derivatives of the three basic Jacobi elliptic functions are:

${\displaystyle {\frac {\mathrm {d} }{\mathrm {d} z}}\operatorname {sn} (z)=\operatorname {cn} (z)\operatorname {dn} (z),}$

${\displaystyle {\frac {\mathrm {d} }{\mathrm {d} z}}\operatorname {cn} (z)=-\operatorname {sn} (z)\operatorname {dn} (z),}$

${\displaystyle {\frac {\mathrm {d} }{\mathrm {d} z}}\operatorname {dn} (z)=-k^{2}\operatorname {sn} (z)\operatorname {cn} (z).}$

These can be used to derive the derivatives of all other functions as shown in the table below (arguments (u,m) suppressed):

Derivatives ${\displaystyle {\frac {d}{du}}\operatorname {pq} (u,m)}$
q
c s n d
p
c 0-ds ns-dn sn-m' nd sd
s dc nc0cn dncd nd
n dc sc-cs ds0m cd sd
d m' nc sc-cs ns-m cn sn0

With the addition theorems above and for a given k with 0 < k < 1 the major functions are therefore solutions to the following nonlinear ordinary differential equations:

• ${\displaystyle \operatorname {sn} (x)}$ solves the differential equations
${\displaystyle {\frac {\mathrm {d} ^{2}y}{\mathrm {d} x^{2}}}+(1+k^{2})y-2k^{2}y^{3}=0}$
and
${\displaystyle \left({\frac {\mathrm {d} y}{\mathrm {d} x}}\right)^{2}=(1-y^{2})(1-k^{2}y^{2})}$
• ${\displaystyle \operatorname {cn} (x)}$ solves the differential equations
${\displaystyle {\frac {\mathrm {d} ^{2}y}{\mathrm {d} x^{2}}}+(1-2k^{2})y+2k^{2}y^{3}=0}$
and
${\displaystyle \left({\frac {\mathrm {d} y}{\mathrm {d} x}}\right)^{2}=(1-y^{2})(1-k^{2}+k^{2}y^{2})}$
• ${\displaystyle \operatorname {dn} (x)}$ solves the differential equations
${\displaystyle {\frac {\mathrm {d} ^{2}y}{\mathrm {d} x^{2}}}-(2-k^{2})y+2y^{3}=0}$
and
${\displaystyle \left({\frac {\mathrm {d} y}{\mathrm {d} x}}\right)^{2}=(y^{2}-1)(1-k^{2}-y^{2})}$

## Approximation in terms of hyperbolic functions

The Jacobi elliptic functions can be expanded in terms of the hyperbolic functions. When ${\displaystyle m}$ is close to unity, such that ${\displaystyle m'^{2}}$ and higher powers of ${\displaystyle m'}$ can be neglected, we have:

• sn(u):
${\displaystyle \operatorname {sn} (u,m)\approx \tanh(u)+{\frac {1}{4}}m'(\sinh(u)\cosh(u)-u)\operatorname {sech} ^{2}(u).}$
• cn(u):
${\displaystyle \operatorname {cn} (u,m)\approx \operatorname {sech} (u)-{\frac {1}{4}}m'(\sinh(u)\cosh(u)-u)\tanh u\operatorname {sech} (u).}$
• dn(u):
${\displaystyle \operatorname {dn} (u,m)\approx \operatorname {sech} (u)+{\frac {1}{4}}m'(\sinh(u)\cosh(u)+u)\tanh(u)\operatorname {sech} (u).}$
• am(u):
${\displaystyle \operatorname {am} (u,m)\approx \operatorname {gd} (u)+{\frac {1}{4}}m'(\sinh(u)\cosh(u)-u)\operatorname {sech} (u).}$

## Inverse functions

The inverses of the Jacobi elliptic functions can be defined similarly to the inverse trigonometric functions; if ${\displaystyle x=\operatorname {sn} (\xi ,k)}$, ${\displaystyle \xi =\mathrm {arcsn} (x,k)}$. They can be represented as elliptic integrals,[7][8][9] and power series representations have been found.[10][1]

• ${\displaystyle \mathrm {arcsn} \,(x,k)=\int _{0}^{x}{\frac {\mathrm {d} t}{\sqrt {(1-t^{2})(1-k^{2}t^{2})}}}}$
• ${\displaystyle \mathrm {arccn} \,(x,k)=\int _{x}^{1}{\frac {\mathrm {d} t}{\sqrt {(1-t^{2})(1-k^{2}+k^{2}t^{2})}}}}$
• ${\displaystyle \mathrm {arcdn} \,(x,k)=\int _{x}^{1}{\frac {\mathrm {d} t}{\sqrt {(1-t^{2})(t^{2}+k^{2}-1)}}}}$

## Map projection

The Peirce quincuncial projection is a map projection based on Jacobian elliptic functions.

## Notes

1. Olver, F. W. J.; et al., eds. (2017-12-22). "NIST Digital Library of Mathematical Functions (Release 1.0.17)". National Institute of Standards and Technology. Retrieved 2018-02-26.
2. http://nbviewer.ipython.org/github/empet/Math/blob/master/DomainColoring.ipynb
3. Neville, Eric Harold (1944). Jacobian Elliptic Functions. Oxford: Oxford University Press.
4. "Introduction to the Jacobi elliptic functions". The Wolfram Functions Site. Wolfram Research, Inc. 2018. Retrieved January 7, 2018.
5. Whittaker, E.T.; Watson, G.N. (1940). A Course in Modern Analysis. New York, USA: The MacMillan Co. ISBN 978-0-521-58807-2.
6. https://paramanands.blogspot.co.uk/2011/01/elliptic-functions-complex-variables.html#.WlHhTbp2t9A
7. Reinhardt, W. P.; Walker, P. L. (2010), "§22.15 Inverse Functions", in Olver, Frank W. J.; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.), NIST Handbook of Mathematical Functions, Cambridge University Press, ISBN 978-0-521-19225-5, MR 2723248
8. Ehrhardt, Wolfgang. "The AMath and DAMath Special Functions: Reference Manual and Implementation Notes" (PDF). p. 42. Retrieved 17 July 2013.
9. Byrd, P.F.; Friedman, M.D. (1971). Handbook of Elliptic Integrals for Engineers and Scientists (2nd ed.). Berlin: Springer-Verlag.
10. Carlson, B. C. (2008). "Power series for inverse Jacobian elliptic functions" (PDF). Mathematics of Computation. 77 (263): 1615–1621. doi:10.1090/s0025-5718-07-02049-2. Retrieved 17 July 2013.