Lemniscate Calculator

Lemniscate Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

A=a2,L=2ϖa,ϖ=2∫01dt1−t4=πAGM(1,2)≈2.622057554A = a^2,\; L = 2\varpi a,\quad \varpi = 2\int_0^1\frac{dt}{\sqrt{1 - t^4} } = \frac{\pi}{\operatorname{AGM}(1, \sqrt{2})} \approx 2.622057554
Usage stats

Advertisement

Results

Area A (both loops)
25
square units
Half-width a (centre to the tip of a loop) 5
Perimeter (arc length) L 26.220576
Focal distance c (centre to a focus) 3.535534
Area of one loop 12.5square units
Total width 2a 10
Height of a loop 3.535534

Report an error on this page

What this calculator does

The lemniscate of Bernoulli is the figure-eight curve (x² + y²)² = a²(x² − y²), where a is the distance from the centre (the crossing point) to the tip of each loop, half the total width. It is the set of points whose distances to the two foci (±c, 0), c = a/√2, have the product c²; in polar coordinates r² = a² cos 2θ.

Derivation of the formulas

Area of both loops:

$$ A = a^2 $$

Perimeter:

$$ L = 2\varpi a,\quad \varpi = 2\int_0^1\frac{dt}{\sqrt{1 - t^4} } = \frac{\pi}{\operatorname{AGM}(1, \sqrt{2})} \approx 2.622057554 $$

Focal distance:

$$ c = \frac{a}{\sqrt{2} } $$

Height of a loop:

$$ h = \frac{a}{\sqrt{2} } $$

From r² = a² cos 2θ, one loop is swept for θ between −π/4 and π/4, so the polar area formula gives ½∫ r² dθ = (a²/2)∫ cos 2θ dθ = a²/2 per loop and a² for both. For the length, write the loop in terms of r: since r⁴ = a⁴cos²2θ, the arc element is ds = a² dr / √(a⁴ − r⁴); from the centre to a tip it integrates to a∫₀¹ dt/√(1 − t⁴) = aϖ/2, and the whole curve has four such quarters: L = 2ϖa. The lemniscate constant ϖ has no elementary closed form; Gauss showed ϖ = π/AGM(1, √2), and the calculator computes it with that arithmetic-geometric mean, an iteration that doubles the correct digits at each step. The highest point of a loop is where y² = a² cos 2θ sin²θ is largest, at sin²θ = 1/4, giving y = a/(2√2), so each loop is a/√2 high.

Solving from what you know

Choose what you know: Half-width a (centre to the tip of a loop); Area A (both loops); Perimeter (arc length) L; Focal distance c (centre to a focus). The calculator first finds the sizes that define the curve and then computes every other value from the formulas above. Each length is accepted from 0.000001 to 1,000,000,000, each area from 0.000000000001 to 1,000,000,000,000,000,000; anything outside is refused with a sentence that names the range.

Worked example

With the default a = 5: A = 25, each loop encloses 12.5, the perimeter is 10ϖ ≈ 26.220576, the foci are about 3.535534 from the centre, and each loop is about 3.535534 high.

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable. They are shown with up to 6 decimal places; a value below 0.000001 or of 10¹⁵ and more is shown as its plain 12-digit number instead. The unit you pick is a label: lengths are shown in that unit and areas in its square.

Advertisement
A lemniscate with a centre-to-tip half-width of 5, area 12.5 in each loop, and total area 25.
For a half-width of 5, each loop has area 12.5 and the total area is 25.

Frequently asked questions

Why is the area exactly a²?

The polar area of one loop is (a²/2)∫ cos 2θ dθ over a quarter turn, which is a²/2 with no π left over, so both loops together enclose exactly a².

What is the lemniscate constant?

ϖ ≈ 2.622057554 is to the lemniscate what π is to the circle: the lemniscate with a = 1 has perimeter 2ϖ. It equals π divided by the arithmetic-geometric mean of 1 and √2.

How accurate are the results?

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.

References

J. Dennis Lawrence, A Catalog of Special Plane Curves, Dover Publications, 1972

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018

Last updated:

Most popular in Geometry

View all Geometry calculators