Complete Elliptic Integral of the Third Kind Pi(n,k) Calculator

Complete Elliptic Integral of the Third Kind Pi(n,k) Calculator

Emerging AI Skill PRO

Enter Calculation

Convention: integrand contains k²·sin²θ (modulus k) and the factor 1 − n·sin²θ. Requires |k| < 1 and n < 1 for a finite ordinary value.

Formula

Π(n,k)=∫0π/2dθ(1−nsin2θ)1−k2sin2θ\Pi(n,k) = \int_{0}^{\pi/2} \frac{d\theta}{\left(1 - \text{n}\,\sin^{2}\theta\right)\sqrt{1 - \text{k}^{2}\,\sin^{2}\theta}}
Usage stats

Advertisement

Results

Π(n, k)
2.8771910188
dimensionless
Integrand 1 / [ (1 − n·sin²θ) · √(1 − k²·sin²θ) ]
Convention modulus k (k²), characteristic factor 1 − n·sin²θ
Method Composite Simpson, 200000 panels

Report an error on this page

What is the complete elliptic integral of the third kind?

The complete elliptic integral of the third kind, written \(\Pi(n,k)\), is a special function that arises in classical mechanics (the period of a pendulum with damping-like terms), electromagnetism, and geometry. It is defined by the integral of 1 divided by (1 - n sin² theta) times the square root of (1 - k² sin² theta), taken from theta = 0 to pi/2:

$$\Pi(n,k) = \int_{0}^{\pi/2} \frac{d\theta}{\left(1 - \text{n}\,\sin^{2}\theta\right)\sqrt{1 - \text{k}^{2}\,\sin^{2}\theta}}$$

This calculator evaluates it numerically and is a pure mathematics tool, valid identically everywhere.

Diagram of an angle theta over 0 to pi/2 with shaded area under a rising curve representing the integral
The complete elliptic integral integrates over the angle theta from 0 to pi/2.

Convention used here

Conventions differ between textbooks, so read this carefully. We use the modulus k convention: the radical contains \(k^{2}\sin^{2}\theta\). Some references instead use the parameter m, where \(m = k^{2}\). We also use the characteristic n in the factor \((1 - n\sin^{2}\theta)\) without squaring n. A few texts write the factor as \((1 + n\sin^{2}\theta)\); to match those, flip the sign of n. Because k only appears squared, the sign of k does not change the result.

Advertisement
Side-by-side diagram comparing the modulus k convention and the parameter m convention
This tool uses the modulus k convention (m = k^2), which differs from the parameter convention.

How to use it

Enter the characteristic n and the modulus k. For an ordinary finite value, keep \(|k| < 1\) and \(n < 1\). The tool integrates with composite Simpson's rule using 200,000 panels, giving roughly ten or more significant digits for well-behaved inputs.

Worked example

Take \(n = 0.7\) and \(k = 0.1\). A quick estimate is

$$\Pi(n,0) = \frac{\pi/2}{\sqrt{1 - n}} = \frac{1.5707963}{\sqrt{0.3}} = 2.86790.$$

Adding the small \(k = 0.1\) correction raises it slightly, and full numerical integration yields \(\Pi(0.7, 0.1) \approx 2.87224\).

FAQ

What if n = 0? Then \(\Pi(0,k)\) equals \(K(k)\), the complete elliptic integral of the first kind.

What if k = 0? The integrand simplifies and \(\Pi(n,0) = \dfrac{\pi/2}{\sqrt{1 - n}}\) for \(n < 1\).

Why is n = 1 not allowed? The factor becomes \(\cos^{2}\theta\), producing a non-integrable singularity at \(\theta = \pi/2\), so the integral diverges. Values \(n > 1\) require a Cauchy principal value, which this basic calculator does not compute.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators