Arc Length and Surface Area
How long is the curve y = x^{3/2} between x = 0 and x = 4? And how much paint would you need to cover a vase made by spinning a curve around an axis? Both questions are answered by the same idea: cut the curve into tiny straight pieces, measure each piece, and add them up with an integral.
This article gives the formulas, shows where they come from, and works through two examples. In the first the integral can be solved by hand, and in the second it cannot. You can check any definite integral from this article in the integral calculator, which shows the solution step by step. If you want a general routine for the integration itself, start with How to Solve Integrals Step by Step.
Arc length: the formula and where it comes from
Take a smooth curve y = f(x) between x = a and x = b. “Smooth” here means that f'(x) exists and is continuous on [a, b].
Zoom in on a very small piece of the curve. It looks like a straight segment with horizontal run dx and vertical rise dy. By the Pythagorean theorem, its length is
ds = \sqrt{dx^2 + dy^2}.
Factor dx out of the square root, using dy = f'(x)\,dx:
ds = \sqrt{1 + \left(\frac{dy}{dx}\right)^2}\,dx.
Adding up all the pieces gives the arc length:
L = \int_a^b \sqrt{1 + \big(f'(x)\big)^2}\,dx.
Some curves are easier to describe with x as a function of y. Then you swap the roles of the variables.
| Curve given as | Arc length |
|---|---|
| y = f(x), a \le x \le b | \displaystyle L = \int_a^b \sqrt{1 + \big(f'(x)\big)^2}\,dx |
| x = g(y), c \le y \le d | \displaystyle L = \int_c^d \sqrt{1 + \big(g'(y)\big)^2}\,dy |
Two quick sanity checks are worth remembering:
- A straight line is the shortest path between two points, so L is never less than the distance between the endpoints.
- If f'(x) = 0 (a horizontal line), the formula gives L = b - a, as it should.
Surface area of revolution
Now spin the curve y = f(x), with f(x) \ge 0, around the x-axis. Each tiny piece of length ds sweeps out a thin band. If you unroll the band, it is almost a rectangle. One side is the circumference of the circle the piece travels along, 2\pi y, and the other side is the piece length ds. The area of the band is therefore 2\pi y\,ds, and adding the bands gives
S = 2\pi \int_a^b f(x)\,\sqrt{1 + \big(f'(x)\big)^2}\,dx.
This is the arc length integral with an extra factor 2\pi y, which is the distance around the circle at that point. For rotation around the y-axis, the radius of each circle is x instead of y.
| Rotation around | Surface area |
|---|---|
| x-axis | \displaystyle S = 2\pi \int_a^b y\,\sqrt{1 + \big(f'(x)\big)^2}\,dx |
| y-axis | \displaystyle S = 2\pi \int_a^b x\,\sqrt{1 + \big(f'(x)\big)^2}\,dx |
Don’t confuse this with volume. The volume of the solid uses \pi y^2\,dx (see Volumes of Revolution), while the surface area uses the slanted length ds. Using only dx in the surface formula would give the wrong answer, because the band is tilted along the curve.
A quick check on a cone. Rotate y = x for 0 \le x \le 1 around the x-axis. This is a cone with radius 1 and slant height \sqrt{2}, so its lateral area is \pi r \ell = \pi\sqrt{2}. The formula gives the same value, since f'(x) = 1:
S = 2\pi\int_0^1 x\sqrt{1 + 1}\,dx = 2\pi\sqrt{2}\cdot\frac{1}{2} = \pi\sqrt{2}.
Example 1: an arc length that can be solved exactly
Find the length of y = x^{3/2} from x = 0 to x = 4.
Step 1: Differentiate.
y' = \frac{3}{2}x^{1/2}, \qquad (y')^2 = \frac{9}{4}x.
Step 2: Set up the integral.
L = \int_0^4 \sqrt{1 + \frac{9}{4}x}\,dx.
Step 3: Find an antiderivative with a substitution. Let u = 1 + \frac{9}{4}x. Then du = \frac{9}{4}\,dx, so dx = \frac{4}{9}\,du:
\int \sqrt{1 + \tfrac{9}{4}x}\,dx = \frac{4}{9}\int u^{1/2}\,du = \frac{4}{9}\cdot\frac{2}{3}\,u^{3/2} + C = \frac{8}{27}\left(1 + \frac{9}{4}x\right)^{3/2} + C.
Step 4: Check by differentiating.
\frac{d}{dx}\left[\frac{8}{27}\left(1 + \tfrac{9}{4}x\right)^{3/2}\right] = \frac{8}{27}\cdot\frac{3}{2}\cdot\frac{9}{4}\left(1 + \tfrac{9}{4}x\right)^{1/2} = \sqrt{1 + \tfrac{9}{4}x}.
The constants multiply to \frac{8\cdot 3\cdot 9}{27\cdot 2\cdot 4} = 1, so the antiderivative is correct.
Step 5: Apply the limits. At x = 4 we get 1 + 9 = 10, and at x = 0 we get 1:
L = \frac{8}{27}\Big(10^{3/2} - 1\Big) = \frac{8}{27}\big(10\sqrt{10} - 1\big) \approx 9.0734.
Step 6: Sanity check. The straight segment from (0, 0) to (4, 8) has length \sqrt{16 + 64} \approx 8.944. The curve bends away from that segment, so it must be a bit longer. The value 9.0734 fits.
You can check this step by step in the integral
calculator. Enter sqrt(1+9*x/4) with limits 0 and 4 and compare each stage with the
solution above.
Example 2: when the integral has no elementary antiderivative
Find the length of one arch of the sine curve, y = \sin x for 0 \le x \le \pi.
Step 1: Set up the integral. Here y' = \cos x, so
L = \int_0^\pi \sqrt{1 + \cos^2 x}\,dx.
Step 2: Try to find an antiderivative. This is where the usual tools stop working. Substitutions and trigonometric identities do not lead anywhere, because \sqrt{1 + \cos^2 x} has no antiderivative that can be written with elementary functions. This is not a lack of cleverness. It can be proved, and the integral belongs to the family of elliptic integrals. See Non-Elementary Integrals for the general picture.
An exact value does exist in terms of a special function, which is 2\sqrt{2}\,E\!\left(\tfrac{1}{\sqrt{2}}\right) with E the complete elliptic integral of the second kind. For practical work, though, you want a number.
Step 3: Switch to a numerical value. A definite integral is still a well-defined number even without a formula for the antiderivative, so we can approximate it. Simpson’s rule with n subintervals (where n is even) of width h = \frac{b-a}{n} is
\int_a^b f(x)\,dx \approx \frac{h}{3}\Big[f_0 + 4f_1 + 2f_2 + 4f_3 + \cdots + 2f_{n-2} + 4f_{n-1} + f_n\Big],
where f_k = f(a + kh).
Take n = 8, so h = \frac{\pi}{8}, and let f(x) = \sqrt{1 + \cos^2 x}:
| k | x_k | f_k | Weight |
|---|---|---|---|
| 0 | 0 | 1.414214 | 1 |
| 1 | \pi/8 | 1.361453 | 4 |
| 2 | \pi/4 | 1.224745 | 2 |
| 3 | 3\pi/8 | 1.070726 | 4 |
| 4 | \pi/2 | 1.000000 | 2 |
| 5 | 5\pi/8 | 1.070726 | 4 |
| 6 | 3\pi/4 | 1.224745 | 2 |
| 7 | 7\pi/8 | 1.361453 | 4 |
| 8 | \pi | 1.414214 | 1 |
The weighted sum is
2(1.414214) + 4(4.864358) + 2(3.449490) = 29.18484,
and multiplying by \frac{h}{3} = \frac{\pi}{24} \approx 0.1309 gives
L \approx 3.8203.
Using more subintervals brings the result closer to the true value, which is about 3.8202.
Step 4: Sanity check. The arch starts and ends on the x-axis, so it is longer than the base \pi \approx 3.1416. It is also shorter than walking along the base and then up and down by 1 each way, which gives \pi + 2 \approx 5.1416. Our value of 3.82 sits between these bounds.
The same approach works for surface area. If the integrand y\sqrt{1 + (y')^2} has no elementary antiderivative, you set up the integral correctly and then evaluate it numerically.
How to choose your approach
| Situation | What to do |
|---|---|
| 1 + (f')^2 is a perfect square, or the integrand simplifies after a substitution | Integrate by hand and check by differentiating |
| The integrand has no elementary antiderivative | Set up the integral, then use a numerical method such as Simpson’s rule |
| You are unsure about a step | Re-solve the definite integral in the integral calculator and compare the steps |
Common mistakes
- Forgetting the square root. The integrand is \sqrt{1 + (f')^2}, not 1 + (f')^2.
- Dropping the 1. The expression under the root is 1 + (f')^2, not (f')^2 alone.
- Using the wrong radius. For rotation around the x-axis the radius is y, and for the y-axis it is x.
- Forgetting 2\pi in surface area formulas.
- Mixing variables. If the curve is given as x = g(y), the limits must be y-values.
Summary
Arc length comes from adding tiny hypotenuses, ds = \sqrt{1 + (f')^2}\,dx. Surface area of revolution adds a factor 2\pi times the radius to that same integrand. Many textbook examples are chosen so that the square root simplifies, but real curves often lead to integrals with no elementary antiderivative. In that case the setup is still correct, and a numerical value is the practical answer. For the integration techniques that appear throughout these examples, return to How to Solve Integrals Step by Step.