TExcelTAD
Home › Calculus in Depth › Area of a Surface of Revolution

Area of a Surface of Revolution

Spin a curve around an axis and it sweeps out a surface: a vase, a dish, a light bulb, a sphere. This lesson builds the surface area formula S=∫2πr dsS = \int 2\pi r\,ds from cone frustums, proves Archimedes' "hat-box" theorem for spheres, meets a horn with finite volume but infinite area, and connects it all to lathe meshes and uniform sampling on a sphere.

From frustums to an integral

Volumes of revolution came from slicing into discs (Volumes). For area, discs are the wrong building block: approximating a slanted surface by flat steps gives the wrong answer however fine the steps (the "staircase paradox"). The right building block is the frustum (a cone with its tip cut off), because it follows the slope.

A frustum with slant height ll and end radii r1r_1, r2r_2 has lateral area

A=2πrˉl,rˉ=r1+r22A = 2\pi \bar{r} l, \qquad \bar{r} = \frac{r_1 + r_2}{2}

(Unroll it: it is a piece of an annulus. Subtracting two cone areas πr⋅slant\pi r \cdot \text{slant} gives the formula.)

Partition [a,b][a, b], join the points Pi=(xi,f(xi))P_i = (x_i, f(x_i)) by segments as for arc length, and spin each segment around the x-axis. With f≥0f \ge 0 and f′f' continuous, the segment length is 1+[f′(xi∗)]2 Δxi\sqrt{1 + [f'(x_i^*)]^2}\,\Delta x_i by the Mean Value Theorem, and the average radius (f(xi−1)+f(xi))/2(f(x_{i-1}) + f(x_i))/2 tends to f(xi∗)f(x_i^*) as the pieces shrink (ff is continuous). The frustum sum is therefore a Riemann sum in the limit:

S=∫ab2πf(x)1+[f′(x)]2 dxS = \int_a^b 2\pi f(x) \sqrt{1 + [f'(x)]^2}\,dx

The pattern to remember is S=∫2π⋅(radius)⋅dsS = \int 2\pi \cdot (\text{radius}) \cdot ds with ds=1+(f′)2 dx=1+[g′(y)]2 dyds = \sqrt{1 + (f')^2}\,dx = \sqrt{1 + [g'(y)]^2}\,dy:

Rotate about Radius Formula
x-axis y=f(x)y = f(x) S=∫2πy dsS = \int 2\pi y\,ds
y-axis xx S=∫2πx dsS = \int 2\pi x\,ds
line y=cy = c ∣y−c∣\lvert y - c \rvert S=∫2π∣y−c∣ dsS = \int 2\pi \lvert y - c \rvert\,ds

Choose dsds in whichever variable makes the integral easier; the radius just has to be written in the same variable.

Archimedes' hat-box theorem

Rotate f(x)=R2−x2f(x) = \sqrt{R^2 - x^2} (upper semicircle) about the x-axis. Here f′=−x/ff' = -x/f, so

f⋅1+(f′)2=f⋅f2+x2f2=f2+x2=RS(a,b)=∫ab2πR dx=2πR(b−a)\begin{aligned} f \cdot \sqrt{1 + (f')^2} &= f \cdot \sqrt{\frac{f^2 + x^2}{f^2}} = \sqrt{f^2 + x^2} = R \\ S(a, b) &= \int_a^b 2\pi R\,dx = 2\pi R (b - a) \end{aligned}

The area of a spherical zone depends only on its height b−ab - a, not on where it is cut. With b−a=2Rb - a = 2R this gives the full sphere 4πR24\pi R^2. Archimedes noticed that this equals the area of the cylinder wrapped around the sphere, and he asked for the figure on his tombstone.

python · try it yourself
import sympy as sp

x, R, a, b = sp.symbols("x R a b", positive=True)

def integrand(f):
    """2π · f · √(1 + f′²), written as 2π√(f²(1 + f′²)) since f ≥ 0"""
    return 2 * sp.pi * sp.sqrt(sp.simplify(f**2 * (1 + sp.diff(f, x) ** 2)))

g = integrand(x**3 / 3)
print("y = x³/3 on [0, 1]:", sp.simplify(sp.integrate(g, (x, 0, 1))))
h = integrand(sp.sqrt(R**2 - x**2))
print("sphere integrand  :", h)
print("zone a ≤ x ≤ b    :", sp.factor(sp.integrate(h, (x, a, b))))
print("whole sphere      :", sp.integrate(h, (x, -R, R)))
y = x³/3 on [0, 1]: pi*(-1 + 2*sqrt(2))/9
sphere integrand  : 2*pi*R
zone a ≤ x ≤ b    : -2*pi*R*(a - b)
whole sphere      : 4*pi*R**2

The first answer is π9(22−1)≈0.6386\frac{\pi}{9}(2\sqrt{2} - 1) \approx 0.6386: substitute u=1+x4u = 1 + x^4 by hand to confirm.

Gabriel's horn: finite paint, infinite surface

Rotate y=1/xy = 1/x for x≥1x \ge 1 about the x-axis. The volume is finite, but the surface area is not (Improper Integrals):

V=∫1∞πx2 dx=πS=∫1∞2πx1+1x4 dx≥∫1∞2πx dx=∞(comparison: 1+1/x4≥1)\begin{aligned} V &= \int_1^{\infty} \frac{\pi}{x^2}\,dx = \pi \\ S &= \int_1^{\infty} \frac{2\pi}{x} \sqrt{1 + \frac{1}{x^4}}\,dx \ge \int_1^{\infty} \frac{2\pi}{x}\,dx = \infty && \text{(comparison: } \sqrt{1 + 1/x^4} \ge 1\text{)} \end{aligned}

The "paradox" (you can fill it with paint but never paint it) dissolves once you notice that a coat of paint has a thickness, while a mathematical surface does not.

In software

  • Lathe meshes. 3D tools build vases, bottles, wheels and chess pieces by revolving a 2D profile ("lathe" in Three.js, "screw" in Blender). The mesh's area is a sum of thin quads; as the resolution grows it converges to the integral, which you can use to check a mesh or price a material.
  • Uniform random points on a sphere. The hat-box theorem says that the height zz of a uniform random point on the unit sphere is uniform on [−1,1][-1, 1]. So z=uniform⁡(−1,1)z = \operatorname{uniform}(-1, 1), θ=uniform⁡(0,2π)\theta = \operatorname{uniform}(0, 2\pi), r=1−z2r = \sqrt{1 - z^2} samples the sphere perfectly, with no rejection loop. Particle emitters, global illumination and random rotations use exactly this trick.
python · try it yourself
import numpy as np

# Lathe mesh: rotate y = x² (0 ≤ x ≤ 1) about the y-axis, sum the quad areas
def lathe_area(n_prof, n_rot):
    xs = np.linspace(0, 1, n_prof + 1)
    ys = xs**2
    th = np.linspace(0, 2 * np.pi, n_rot + 1)
    P = np.stack([np.outer(xs, np.cos(th)), np.outer(ys, np.ones_like(th)),
                  np.outer(xs, np.sin(th))], axis=-1)
    a, b, c, d = P[:-1, :-1], P[1:, :-1], P[1:, 1:], P[:-1, 1:]
    tri = lambda p, q, r: 0.5 * np.linalg.norm(np.cross(q - p, r - p), axis=-1)
    return float(np.sum(tri(a, b, c) + tri(a, c, d)))

exact = np.pi / 6 * (5 * np.sqrt(5) - 1)
for n in [8, 32, 128]:
    print(f"{n:3d} x {n:3d} mesh: {lathe_area(n, n):.5f}")
print(f"integral     : {exact:.5f}")
  8 x   8 mesh: 5.04119
 32 x  32 mesh: 5.31176
128 x 128 mesh: 5.32925
integral     : 5.33041

The exact value is ∫012πx1+4x2 dx=π6(55−1)\int_0^1 2\pi x \sqrt{1 + 4x^2}\,dx = \frac{\pi}{6}(5\sqrt{5} - 1), rotating about the y-axis so the radius is xx.

python · try it yourself
import numpy as np

rng = np.random.default_rng(7)
n = 200_000
z = rng.uniform(-1, 1, n)
theta = rng.uniform(0, 2 * np.pi, n)
r = np.sqrt(1 - z**2)
pts = np.stack([r * np.cos(theta), r * np.sin(theta), z], axis=1)

print("all on the sphere:", bool(np.allclose(np.linalg.norm(pts, axis=1), 1)))
# Hat-box: the band 0.5 < z < 0.9 (height 0.4) should hold 0.4/2 = 20% of the area
band = float(np.mean((z > 0.5) & (z < 0.9)))
cap = float(np.mean(pts[:, 0] > 0.6))           # a cap of height 0.4 in another direction
print(f"band fraction {band:.4f}, cap fraction {cap:.4f}, theory 0.2000")
all on the sphere: True
band fraction 0.2013, cap fraction 0.2007, theory 0.2000

The cap test in the x-direction matters: it shows the points are uniform in every direction, not only along zz.

For the survey course's first look at solids of revolution, see Volumes.

Exercises

Exercise 1: Cone from the formula

Rotate y=(r/h)xy = (r/h) x, 0≤x≤h0 \le x \le h, about the x-axis to get a cone. Show its lateral area is πrr2+h2\pi r \sqrt{r^2 + h^2}.

Answer

S=πrr2+h2S = \pi r \sqrt{r^2 + h^2} (π⋅radius⋅slant height\pi \cdot \text{radius} \cdot \text{slant height}).

Solution
f′=rh,ds=1+r2h2 dx=h2+r2h dxS=∫0h2πrhx⋅h2+r2h dx=2πrh2+r2h2⋅h22=πrr2+h2\begin{aligned} &f' = \frac{r}{h}, \qquad ds = \sqrt{1 + \frac{r^2}{h^2}}\,dx = \frac{\sqrt{h^2 + r^2}}{h}\,dx \\ S &= \int_0^h 2\pi \frac{r}{h} x \cdot \frac{\sqrt{h^2 + r^2}}{h}\,dx = \frac{2\pi r \sqrt{h^2 + r^2}}{h^2} \cdot \frac{h^2}{2} = \pi r \sqrt{r^2 + h^2} \end{aligned}

Exercise 2: Polar cap

What fraction of the Earth's surface (a sphere of radius RR) lies north of latitude 30°?

Answer

14\frac{1}{4}

Solution

At latitude 30° the height above the equatorial plane is Rsin⁡30∘=R/2R \sin 30^\circ = R/2, so the cap has height R−R/2=R/2R - R/2 = R/2. By the hat-box theorem its area is 2πR⋅R/2=πR22\pi R \cdot R/2 = \pi R^2, and πR2/4πR2=1/4\pi R^2 / 4\pi R^2 = 1/4.

Exercise 3: A numerical surface

Rotate y=sin⁡xy = \sin x, 0≤x≤π0 \le x \le \pi, about the x-axis. Find the exact area (substitute u=cos⁡xu = \cos x) and check it numerically.

Answer

S=2π(2+asinh⁡1)=2π(2+ln⁡(1+2))≈14.4236S = 2\pi(\sqrt{2} + \operatorname{asinh} 1) = 2\pi(\sqrt{2} + \ln(1 + \sqrt{2})) \approx 14.4236

Solution
S=∫0π2πsin⁡x1+cos⁡2x dx,u=cos⁡x, du=−sin⁡x dx=2π∫−111+u2 du=2π⋅2⋅[u1+u22+asinh⁡(u)2]01=2π(2+asinh⁡1)\begin{aligned} S &= \int_0^{\pi} 2\pi \sin x \sqrt{1 + \cos^2 x}\,dx, && u = \cos x,\ du = -\sin x\,dx \\ &= 2\pi \int_{-1}^{1} \sqrt{1 + u^2}\,du = 2\pi \cdot 2 \cdot \left[\frac{u\sqrt{1 + u^2}}{2} + \frac{\operatorname{asinh}(u)}{2}\right]_0^1 = 2\pi(\sqrt{2} + \operatorname{asinh} 1) \end{aligned}
python · try it yourself
import numpy as np
from scipy.integrate import quad

S, _ = quad(lambda t: 2 * np.pi * np.sin(t) * np.sqrt(1 + np.cos(t) ** 2), 0, np.pi)
print(f"{S:.4f} {2 * np.pi * (np.sqrt(2) + np.arcsinh(1)):.4f}")
14.4236 14.4236

Exercise 4: Gabriel's horn, truncated

Compute the surface area of y=1/xy = 1/x on [1,N][1, N] rotated about the x-axis for N=10,100,1000N = 10, 100, 1000, and compare with 2πln⁡N2\pi \ln N. What does the comparison suggest?

Answer

About 15.1815.18, 29.6529.65, 44.1144.11 against 2πln⁡N≈14.472\pi \ln N \approx 14.47, 28.9428.94, 43.4043.40: the area grows like 2πln⁡N2\pi \ln N plus a constant ≈0.71\approx 0.71, so it is unbounded.

Solution

The integrand 2πx1+1/x4\frac{2\pi}{x}\sqrt{1 + 1/x^4} exceeds 2π/x2\pi/x by a term that is integrable on [1,∞)[1, \infty), so S(N)−2πln⁡NS(N) - 2\pi \ln N approaches a constant while 2πln⁡N→∞2\pi \ln N \to \infty.

python · try it yourself
import numpy as np
from scipy.integrate import quad

for N in [10, 100, 1000]:
    S, _ = quad(lambda t: 2 * np.pi / t * np.sqrt(1 + t**-4), 1, N, limit=200)
    print(f"N={N:4d}  S={S:.4f}  2π ln N={2 * np.pi * np.log(N):.4f}  diff={S - 2 * np.pi * np.log(N):.4f}")
N=  10  S=15.1774  2π ln N=14.4676  diff=0.7099
N= 100  S=29.6451  2π ln N=28.9351  diff=0.7100
N=1000  S=44.1127  2π ln N=43.4027  diff=0.7100

Test yourself

Why are frustums, not thin cylinders, used to derive the surface area formula?

  1. Cylinders are harder to integrate
  2. Cylinders ignore the slope, so their areas converge to ∫2πf dx\int 2\pi f\,dx, which is wrong for slanted curves
  3. Frustums give a lower bound
  4. Cylinders only work for the y-axis

On a unit sphere, which band has the larger area: 0<z<0.10 < z < 0.1 or 0.9<z<10.9 < z < 1?

  1. The band near the equator
  2. The cap near the pole
  3. They are equal
  4. It depends on the radius

Gabriel's horn (y=1/xy = 1/x, x≥1x \ge 1, rotated about the x-axis) has

  1. finite volume and finite area
  2. infinite volume and infinite area
  3. infinite volume and finite area
  4. finite volume π\pi and infinite area