Complete Elliptic Integrals K(k) and E(k) Table Calculator

Complete Elliptic Integrals K(k) and E(k) Table Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

K(ki)=∫0π/2dθ1−ki2sin2⁡θ,E(ki)=∫0π/21−ki2sin2⁡θdθwhere{ki=Initial k+i·Stepi=0,1,…,Rows−1\begin{gathered} K(k_i) = \int_{0}^{\pi/2} \frac{d\theta}{\sqrt{1 - k_i^2 \sin^2\theta}}, \qquad E(k_i) = \int_{0}^{\pi/2} \sqrt{1 - k_i^2 \sin^2\theta}\; d\theta \\[1.5em] \text{where}\quad \left\{ \begin{aligned} k_i &= {{\text{Initial }k}} + i \cdot \text{Step} \\ i &= 0,\,1,\,\dots,\,\text{Rows} - 1 \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Complete Elliptic Integrals Table
51
rows generated (first row: k = 0)
# k K(k) E(k)
0 0 1.5707963268 1.5707963268
1 0.02 1.5709534418 1.5706392354
2 0.04 1.5714252114 1.5701678196
3 0.06 1.5722129134 1.5693816544
4 0.08 1.5733186891 1.5682800287
5 0.1 1.5747455615 1.566861942
6 0.12 1.5764974611 1.5651260995
7 0.14 1.5785792598 1.5630709052
8 0.16 1.580996813 1.5606944534
9 0.18 1.5837570122 1.5579945192
10 0.2 1.5868678475 1.5549685462
11 0.22 1.5903384811 1.5516136326
12 0.24 1.5941793356 1.5479265148
13 0.26 1.5984021958 1.5439035491
14 0.28 1.6030203282 1.5395406898
15 0.3 1.6080486199 1.5348334649
16 0.32 1.6135037416 1.5297769482
17 0.34 1.6194043356 1.524365727
18 0.36 1.6257712374 1.5185938659
19 0.38 1.6326277338 1.5124548649
20 0.4 1.6399998659 1.5059416124
21 0.42 1.6479167867 1.4990463297
22 0.44 1.6564111832 1.4917605093
23 0.46 1.6655197786 1.4840748421
24 0.48 1.6752839313 1.4759791341
25 0.5 1.6857503548 1.4674622093
26 0.52 1.6969719877 1.4585117971
27 0.54 1.7090090521 1.4491143989
28 0.56 1.7219303517 1.4392551324
29 0.58 1.7358148763 1.4289175454
30 0.6 1.7507538029 1.4180833944
31 0.62 1.7668530174 1.4067323774
32 0.64 1.7842363259 1.3948418088
33 0.66 1.8030495951 1.382386222
34 0.68 1.8234661602 1.3693368757
35 0.7 1.8456939984 1.3556611356
36 0.72 1.8699854005 1.3413216876
37 0.74 1.8966502641 1.326275524
38 0.76 1.9260747573 1.3104726123
39 0.78 1.9587481843 1.2938541136
40 0.8 1.9953027777 1.2763499432
41 0.82 2.0365746658 1.2578753404
42 0.84 2.0837011184 1.2383258872
43 0.86 2.1382834421 1.2175699905
44 0.88 2.2026769671 1.1954369771
45 0.9 2.2805491384 1.1716970528
46 0.92 2.3780711768 1.1460247138
47 0.94 2.506864511 1.1179239344
48 0.96 2.6931429647 1.0865464634
49 0.98 3.0209804456 1.0500922614
50 1 Infinity 1

Report an error on this page

What this calculator does

This tool builds a table of the two complete elliptic integrals: \(K(k)\), the first kind, and \(E(k)\), the second kind, evaluated over a sequence of modulus values \(k\). You give a starting value, a step size, and how many rows you want; the calculator marches \(k\) from the initial value, adding the step each row, and reports \(K(k)\) and \(E(k)\) for every row. This is pure mathematics (special functions) and applies identically everywhere.

Graphs of K(k) rising to a vertical asymptote and E(k) descending as k goes from 0 to 1
\(K(k)\) diverges as \(k\) approaches 1 while \(E(k)\) decreases smoothly.

How to use it

Enter the initial value of k (the modulus, a pure ratio with \(-1 \le k \le 1\)), the increment added to \(k\) each row (it may be negative), and the number of repetitions (rows, an integer \(\ge 1\)). For example, initial 0, step 0.02, 51 rows sweeps \(k\) from 0.00 to 1.00. The integrals depend only on \(k\) squared, so negative \(k\) gives the same values as positive \(k\).

The formula explained

The argument here is the modulus k, not the parameter \(m = k^2\). In integral form, \(K(k)\) is the integral from 0 to \(\pi/2\) of \(d\theta / \sqrt{1 - k^2 \sin^2\theta}\), and \(E(k)\) is the integral of \(\sqrt{1 - k^2 \sin^2\theta}\; d\theta\) over the same range.

$$K(k_i) = \int_{0}^{\pi/2} \frac{d\theta}{\sqrt{1 - k_i^2 \sin^2\theta}}, \qquad E(k_i) = \int_{0}^{\pi/2} \sqrt{1 - k_i^2 \sin^2\theta}\; d\theta$$

We evaluate them with the fast, high-precision Arithmetic-Geometric Mean (AGM):

$$K(k) = \frac{\pi}{2 \cdot \text{AGM}(1, \sqrt{1 - k^2})}$$

For \(E\) we accumulate the AGM c-terms:

$$E(k) = K(k) \cdot \left(1 - \sum 2^{n-1} c_n^2\right) \quad \text{with } c_0^2 = k^2$$
Advertisement
Diagram of two sequences converging to a common arithmetic-geometric mean value
The AGM iterates an arithmetic mean and a geometric mean until both sequences converge.

Worked example

For \(k = 0.5\): \(1 - k^2 = 0.75\), \(\sqrt{0.75} = 0.8660254\). \(\text{AGM}(1, 0.8660254) \approx 0.9318082\), so

$$K(0.5) = \frac{\pi}{2 \cdot 0.9318082} = 1.6857503548$$

The c-term sum is \(\approx 0.1294902\), giving

$$E(0.5) = 1.6857503548 \cdot (1 - 0.1294902) = 1.4674622093$$

FAQ

What happens at k = 1? \(K(1)\) diverges to infinity; \(E(1) = 1\) exactly. The table shows "Infinity" for \(K\) and 1 for \(E\) at the edge rather than crashing.

Does the calculator use k or m? It uses the modulus \(k\). If you have the parameter \(m\), take its square root (\(k = \sqrt{m}\)) before entering.

What about |k| > 1? That is outside the real domain \(-1 \le k \le 1\); such rows are flagged as out of domain.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators