AP Calculus BC

Arc Length of a Curve: Formula and Worked Examples

The arc length of a smooth curve y = f(x) from x = a to x = b is the integral from a to b of the square root of 1 + (f'(x))^2. Find the derivative, square it, add 1, take the square root, and integrate. Many of these integrals have no elementary antiderivative and are evaluated with a calculator.

The formula

Arc length is the distance along a curve, as if you laid a string on the graph and then pulled it straight to measure it. For a curve y=f(x)y = f(x) whose derivative f′f' is continuous on [a,b][a, b], the length from x=ax = a to x=bx = b is

L=∫ab1+[f′(x)]2 dxL = \int_a^b \sqrt{1 + \left[f'(x)\right]^2}\,dx

This is Topic 8.13, The Arc Length of a Smooth, Planar Curve and Distance Traveled, a BC-only topic. The integrand uses the derivative of ff, and the function ff itself does not appear in it.

Where the formula comes from

Cut the curve into short pieces and replace each piece with a straight segment. A segment that runs Δx\Delta x horizontally and Δy\Delta y vertically has length given by the Pythagorean theorem. Factoring Δx\Delta x out of the square root:

(Δx)2+(Δy)2=1+(ΔyΔx)2 Δx\sqrt{(\Delta x)^2 + (\Delta y)^2} = \sqrt{1 + \left(\frac{\Delta y}{\Delta x}\right)^2}\,\Delta x

As the pieces shrink, the slope ΔyΔx\frac{\Delta y}{\Delta x} of each segment approaches the derivative f′(x)f'(x), and the sum of the segment lengths becomes the integral above. The 11 under the root comes from the horizontal run and the [f′(x)]2\left[f'(x)\right]^2 comes from the vertical rise.

The four-step procedure

  1. Differentiate to get f′(x)f'(x).
  2. Square the derivative and add 11. Simplify 1+[f′(x)]21 + \left[f'(x)\right]^2 as far as it will go before taking the square root.
  3. Write the integral ∫ab1+[f′(x)]2 dx\int_a^b \sqrt{1 + \left[f'(x)\right]^2}\,dx with the given bounds.
  4. Evaluate. If the square root simplifies, integrate by hand. If it does not, evaluate the definite integral numerically on a calculator.

If the curve is given as x=g(y)x = g(y) for c≤y≤dc \le y \le d, the same reasoning with the roles of xx and yy switched gives L=∫cd1+[g′(y)]2 dyL = \int_c^d \sqrt{1 + \left[g'(y)\right]^2}\,dy.

The perfect-square pattern

A square root of a sum rarely simplifies, so by-hand arc length problems are built so that 1+[f′(x)]21 + \left[f'(x)\right]^2 turns out to be a perfect square. There are two common designs.

In the first, [f′(x)]2\left[f'(x)\right]^2 is simple enough that a substitution handles the root. For f(x)=23x3/2f(x) = \frac{2}{3}x^{3/2}, the derivative is x1/2x^{1/2}, its square is xx, and the integrand is 1+x\sqrt{1 + x}.

In the second, the derivative is a difference of two terms whose product is 14\frac{1}{4}. Squaring produces a middle term of −12-\frac{1}{2}, and adding 11 flips it to +12+\frac{1}{2}, which turns the square of a difference into the square of a sum. For example, if f′(x)=x22−12x2f'(x) = \frac{x^2}{2} - \frac{1}{2x^2}:

1+(x22−12x2)2=x44+12+14x4=(x22+12x2)21 + \left(\frac{x^2}{2} - \frac{1}{2x^2}\right)^2 = \frac{x^4}{4} + \frac{1}{2} + \frac{1}{4x^4} = \left(\frac{x^2}{2} + \frac{1}{2x^2}\right)^2

The square root then cancels the square, leaving an integrand with no radical. When you see a function like x36+12x\frac{x^3}{6} + \frac{1}{2x}, a power of xx plus a reciprocal power, expect this pattern.

Common mistakes

  • Simplifying 1+[f′(x)]2\sqrt{1 + \left[f'(x)\right]^2} to 1+f′(x)1 + f'(x). A square root does not distribute over a sum.
  • Putting f(x)f(x) under the root in place of f′(x)f'(x).
  • Forgetting to square the derivative, or squaring a two-term derivative without the middle term.
  • Dropping the 11.
  • Integrating 1+[f′(x)]21 + \left[f'(x)\right]^2 without the square root.

Quick check

The shortest path between two points is a straight line, so the arc length must be at least the straight-line distance between the endpoints (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)). If your answer is smaller than that distance, something went wrong.

For a particle moving in the plane with position (x(t),y(t))(x(t), y(t)), the related BC formula integrates the speed [x′(t)]2+[y′(t)]2\sqrt{\left[x'(t)\right]^2 + \left[y'(t)\right]^2} over time to get distance traveled. The arc length vs distance travelled page explains when the two agree.

Worked examples

Worked example

A root that simplifies with substitution

Find the length of the curve y=23x3/2y = \frac{2}{3}x^{3/2} from x=0x = 0 to x=3x = 3.

  1. Differentiate: with f(x)=23x3/2f(x) = \frac{2}{3}x^{3/2}, f′(x)=23⋅32x1/2=x1/2f'(x) = \frac{2}{3} \cdot \frac{3}{2}x^{1/2} = x^{1/2}.
  2. Square and add 11: 1+[f′(x)]2=1+x1 + \left[f'(x)\right]^2 = 1 + x.
  3. Set up the integral: L=∫031+x dxL = \int_0^3 \sqrt{1 + x}\,dx.
  4. Integrate with u=1+xu = 1 + x: L=[23(1+x)3/2]03=23(43/2−13/2)=23(8−1)=143L = \left[\frac{2}{3}(1 + x)^{3/2}\right]_0^3 = \frac{2}{3}\left(4^{3/2} - 1^{3/2}\right) = \frac{2}{3}(8 - 1) = \frac{14}{3}.
  5. Check against the straight-line distance. The endpoints are (0,0)(0, 0) and (3,23)(3, 2\sqrt{3}), which are 9+12=21≈4.583\sqrt{9 + 12} = \sqrt{21} \approx 4.583 apart. The arc length 143≈4.667\frac{14}{3} \approx 4.667 is slightly longer, as it should be.

L=143≈4.667L = \frac{14}{3} \approx 4.667

Worked example

The perfect-square pattern

Find the length of the curve y=x36+12xy = \frac{x^3}{6} + \frac{1}{2x} from x=1x = 1 to x=2x = 2.

  1. Differentiate: with f(x)=x36+12xf(x) = \frac{x^3}{6} + \frac{1}{2x}, f′(x)=x22−12x2f'(x) = \frac{x^2}{2} - \frac{1}{2x^2}.
  2. Square the derivative: [f′(x)]2=x44−2⋅x22⋅12x2+14x4=x44−12+14x4\left[f'(x)\right]^2 = \frac{x^4}{4} - 2 \cdot \frac{x^2}{2} \cdot \frac{1}{2x^2} + \frac{1}{4x^4} = \frac{x^4}{4} - \frac{1}{2} + \frac{1}{4x^4}.
  3. Add 11: 1+[f′(x)]2=x44+12+14x4=(x22+12x2)21 + \left[f'(x)\right]^2 = \frac{x^4}{4} + \frac{1}{2} + \frac{1}{4x^4} = \left(\frac{x^2}{2} + \frac{1}{2x^2}\right)^2.
  4. Take the square root. On [1,2][1, 2] the expression x22+12x2\frac{x^2}{2} + \frac{1}{2x^2} is positive, so L=∫12(x22+12x2)dxL = \int_1^2 \left(\frac{x^2}{2} + \frac{1}{2x^2}\right)dx.
  5. Integrate: L=[x36−12x]12=(86−14)−(16−12)=1312+412=1712L = \left[\frac{x^3}{6} - \frac{1}{2x}\right]_1^2 = \left(\frac{8}{6} - \frac{1}{4}\right) - \left(\frac{1}{6} - \frac{1}{2}\right) = \frac{13}{12} + \frac{4}{12} = \frac{17}{12}.

L=1712≈1.417L = \frac{17}{12} \approx 1.417

Worked example

Set up by hand, evaluate with a calculator

Find the length of the parabola y=x2y = x^2 from x=0x = 0 to x=2x = 2, to three decimal places.

  1. Differentiate: with f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x.
  2. Square and add 11: 1+[f′(x)]2=1+4x21 + \left[f'(x)\right]^2 = 1 + 4x^2. This is not a perfect square, and no simple substitution removes the root.
  3. Set up the integral: L=∫021+4x2 dxL = \int_0^2 \sqrt{1 + 4x^2}\,dx.
  4. Evaluate numerically with a calculator: L≈4.647L \approx 4.647.
  5. Check against the straight-line distance from (0,0)(0, 0) to (2,4)(2, 4), which is 4+16=20≈4.472\sqrt{4 + 16} = \sqrt{20} \approx 4.472. The arc length is longer.

L=∫021+4x2 dx≈4.647L = \int_0^2 \sqrt{1 + 4x^2}\,dx \approx 4.647

Frequently asked questions

Why do so many arc length problems need a calculator?

The integrand is a square root of 11 plus a squared derivative, and for most functions that expression has no elementary antiderivative. Even y=x3y = x^3 leads to ∫1+9x4 dx\int \sqrt{1 + 9x^4}\,dx, which cannot be written with the standard functions. Problems meant to be done by hand are chosen so the radicand simplifies.

Can I use the arc length formula if the curve is given as x in terms of y?

Yes. For x=g(y)x = g(y) with c≤y≤dc \le y \le d, the length is ∫cd1+[g′(y)]2 dy\int_c^d \sqrt{1 + \left[g'(y)\right]^2}\,dy. Differentiate with respect to yy and use the yy-values as bounds.

Is arc length on the AP Calculus AB exam?

It is not part of the AB course. Topic 8.13, The Arc Length of a Smooth, Planar Curve and Distance Traveled, is listed as a BC-only topic in the course framework.