Ma · Mathematics

How to Calculate an Ellipsoid’s Volume in Cylindrical Coordinates

Published By the 9to5Science editorial team

At a glance

  1. 1. Write the ellipsoid

    Use semiaxes a, b, and c in the equation x²/a² + y²/b² + z²/c² = 1.

  2. 2. Switch coordinates

    Substitute x = r cos θ and y = r sin θ, and include the cylindrical-coordinate Jacobian r.

  3. 3. Set the bounds

    For each angle, integrate z between the ellipsoid’s upper and lower surfaces and r from zero to its boundary.

  4. 4. Evaluate

    Integrate over θ from zero to 2π; the result is 4πabc/3.

Cylindrical coordinates are useful for an ellipsoid because its vertical extent can be described as a top surface and a bottom surface above each point in the horizontal plane. If the ellipsoid is centered at the origin and its axes align with the coordinate axes, the triple integral simplifies to the familiar volume formula.

The key detail is that when the two horizontal semiaxes are different, the boundary radius changes with the angle. The derivation below accounts for that variation.

Set up the ellipsoid

Let the ellipsoid be

x2a2+y2b2+z2c2=1,\frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2}=1,

where aa, bb, and cc are positive semiaxis lengths. In cylindrical coordinates, x=rcos⁡θx=r\cos\theta and y=rsin⁡θy=r\sin\theta. Substituting gives

r2cos⁡2θa2+r2sin⁡2θb2+z2c2=1.\frac{r^2\cos^2\theta}{a^2}+\frac{r^2\sin^2\theta}{b^2}+\frac{z^2}{c^2}=1.

Solving for zz gives the upper and lower surfaces:

z=±c1−r2(cos⁡2θa2+sin⁡2θb2).z=\pm c\sqrt{1-r^2\left(\frac{\cos^2\theta}{a^2}+\frac{\sin^2\theta}{b^2}\right)}.

The expression under the square root must be nonnegative. Therefore, for each angle,

0≤r≤1cos⁡2θa2+sin⁡2θb2,0≤θ≤2π.0\leq r\leq \frac{1}{\sqrt{\frac{\cos^2\theta}{a^2}+\frac{\sin^2\theta}{b^2}}}, \qquad 0\leq\theta\leq 2\pi.

The vertical coordinate runs from the lower surface to the upper surface. In cylindrical coordinates, the volume element is r dz dr dθr\,dz\,dr\,d\theta; the factor rr is the Jacobian.

Write and evaluate the triple integral

Integrating first with respect to zz uses the ellipsoid’s full vertical height at each (r,θ)(r,\theta):

V=∫02π∫0R(θ)∫−c1−A(θ)r2c1−A(θ)r2r dz dr dθ,V=\int_0^{2\pi}\int_0^{R(\theta)}\int_{-c\sqrt{1-A(\theta)r^2}}^{c\sqrt{1-A(\theta)r^2}} r\,dz\,dr\,d\theta,

where

A(θ)=cos⁡2θa2+sin⁡2θb2,R(θ)=1A(θ).A(\theta)=\frac{\cos^2\theta}{a^2}+\frac{\sin^2\theta}{b^2}, \qquad R(\theta)=\frac{1}{\sqrt{A(\theta)}}.

After integrating over zz and then rr,

V=∫02π∫01/A(θ)2cr1−A(θ)r2 dr dθ=2c3∫02π1A(θ) dθ.\begin{aligned} V&=\int_0^{2\pi}\int_0^{1/\sqrt{A(\theta)}}2cr\sqrt{1-A(\theta)r^2}\,dr\,d\theta\\ &=\frac{2c}{3}\int_0^{2\pi}\frac{1}{A(\theta)}\,d\theta. \end{aligned}

The remaining angular integral is

∫02πdθcos⁡2θa2+sin⁡2θb2=2πab.\int_0^{2\pi}\frac{d\theta}{\frac{\cos^2\theta}{a^2}+\frac{\sin^2\theta}{b^2}}=2\pi ab.

For example, symmetry reduces it to four times the integral from 00 to π/2\pi/2. With t=tan⁡θt=\tan\theta, that quarter-circle integral becomes ∫0∞dt1/a2+t2/b2=πab/2\int_0^\infty \frac{dt}{1/a^2+t^2/b^2}=\pi ab/2. Thus

V=2c3(2πab)=43πabc.V=\frac{2c}{3}(2\pi ab)=\boxed{\frac{4}{3}\pi abc}.

Worked example: semiaxes 3, 2, and 4

Consider

x29+y24+z216=1.\frac{x^2}{9}+\frac{y^2}{4}+\frac{z^2}{16}=1.

Here a=3a=3, b=2b=2, and c=4c=4. The cylindrical-coordinate radial boundary is

R(θ)=1cos⁡2θ/9+sin⁡2θ/4.R(\theta)=\frac{1}{\sqrt{\cos^2\theta/9+\sin^2\theta/4}}.

It varies with θ\theta because the horizontal cross-section is an ellipse, not a circle. Using the evaluated angular integral,

V=2(4)3∫02πdθcos⁡2θ/9+sin⁡2θ/4=83(2π⋅3⋅2)=32π.V=\frac{2(4)}{3}\int_0^{2\pi}\frac{d\theta}{\cos^2\theta/9+\sin^2\theta/4} =\frac{8}{3}(2\pi\cdot3\cdot2)=32\pi.

The volume is 32π32\pi cubic units, approximately 100.53100.53 cubic units.

Common mistakes

  • Omitting the Jacobian: The cylindrical volume element is r dz dr dθr\,dz\,dr\,d\theta, not just dz dr dθdz\,dr\,d\theta.
  • Using a constant radial limit: Unless a=ba=b, the radial limit depends on θ\theta. Using r≤ar\leq a or r≤br\leq b for every angle does not describe the ellipsoid’s horizontal boundary.
  • Integrating only the upper half: The volume integral must cover both surfaces, from negative to positive zz. Equivalently, you can integrate the upper half and double the result.
  • Confusing semiaxes with full axis lengths: In the equation, aa, bb, and cc are half-lengths. If the full axis lengths are LxL_x, LyL_y, and LzL_z, then the volume is πLxLyLz/6\pi L_xL_yL_z/6.

When this setup applies

This derivation assumes the ellipsoid is centered at the origin and aligned with the coordinate axes. A translated but axis-aligned ellipsoid can be handled by shifting coordinates. For a rotated ellipsoid, the equation generally introduces mixed terms, so cylindrical bounds may be less convenient; a rotation of coordinates or an appropriate change of variables is often simpler.

References

  1. Calculus: Early Transcendentals, James Stewart

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.