Skip to content
Family Table Math

Arc Length

How long is a curve? A string laid along the graph of y=sin⁡xy = \sin x from 00 to π\pi and then pulled straight would have some length, but you can’t measure it with a ruler. Calculus finds it the same way it finds area: chop the curve into tiny pieces, approximate each piece with something simple (here, a straight line), and add them up with an integral. Arc length is a BC-only application of integration, and on the AP exam it’s usually calculator active.

Approximate the curve by short straight chords. Over a small step Δx\Delta x, the curve rises by Δy\Delta y, and the Pythagorean theorem gives the chord’s length:

(Δ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 chords get shorter, ΔyΔx\dfrac{\Delta y}{\Delta x} becomes the derivative f′(x)f'(x), and the sum of the chords becomes an integral.

The curve y = sin x from 0 to pi, with four straight chords joining the points at multiples of pi over 4. The first chord is the hypotenuse of a small right triangle with horizontal side delta x and vertical side delta y. The chords together are a little shorter than the curve. 1 π/2 π Δx Δy y = sin x
Four chords give a length of about 3.7903.790; the true length of y=sin⁡xy = \sin x on [0,π][0, \pi] is about 3.8203.820.

If f′f' is continuous on [a,b][a, b], the length of the curve y=f(x)y = f(x) from x=ax = a to x=bx = b is

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

For a curve written as x=g(y)x = g(y), from y=cy = c to y=dy = d, swap the roles of the variables:

L=∫cd1+(g′(y))2 dyL = \int_c^d \sqrt{1 + \big(g'(y)\big)^2}\,dy

Use the dydy version when the curve is easier to write as xx in terms of yy, or when dydx\dfrac{dy}{dx} is undefined somewhere on the interval (a vertical tangent).

The square root makes most arc length integrals impossible to do by hand. So on the AP exam, arc length almost always appears in the calculator-active section: write the integral with the correct derivative and limits, then let your calculator evaluate it and report 3 decimal places. A few special curves are built so that 1+(f′(x))21 + \big(f'(x)\big)^2 is a perfect square, and those can be done exactly.

Two quick checks: arc length is always positive, and it is always at least the straight-line distance between the endpoints.

Curves given by parametric equations (and the total distance travelled by a moving particle) use a related formula; see parametric arc length.

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

Solution. f′(x)=23⋅32x1/2=xf'(x) = \tfrac{2}{3} \cdot \tfrac{3}{2}x^{1/2} = \sqrt{x}, so 1+(f′(x))2=1+x1 + \big(f'(x)\big)^2 = 1 + x.

L=∫031+x dx=[23(1+x)3/2]03=23(43/2−1)=23(8−1)=143L = \int_0^3 \sqrt{1 + x}\,dx = \Big[\tfrac{2}{3}(1 + x)^{3/2}\Big]_0^3 = \tfrac{2}{3}\left(4^{3/2} - 1\right) = \tfrac{2}{3}(8 - 1) = \frac{14}{3}

Check: the endpoints are (0,0)(0, 0) and (3,23)(3, 2\sqrt{3}), about 4.5834.583 apart in a straight line, and 143≈4.667\tfrac{14}{3} \approx 4.667 is a bit longer. ✓

Find the length of y=x2y = x^2 from x=0x = 0 to x=1x = 1.

Solution. f′(x)=2xf'(x) = 2x, so

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

(by calculator). The straight-line distance from (0,0)(0, 0) to (1,1)(1, 1) is 2≈1.414\sqrt{2} \approx 1.414, a little less. ✓

Find the length of y=sin⁡xy = \sin x from x=0x = 0 to x=πx = \pi. (Radians, as always in calculus.)

Solution. f′(x)=cos⁡xf'(x) = \cos x, so

L=∫0π1+cos⁡2x dx≈3.820L = \int_0^\pi \sqrt{1 + \cos^2 x}\,dx \approx 3.820

This matches the figure: the four chords add up to about 3.7903.790, just a little shorter than the curve, as chords always are.

Find the length of the curve x=y2x = y^2 from y=0y = 0 to y=2y = 2.

Solution. Here g(y)=y2g(y) = y^2 and g′(y)=2yg'(y) = 2y:

L=∫021+4y2 dy≈4.647L = \int_0^2 \sqrt{1 + 4y^2}\,dy \approx 4.647

This is the same curve as y=xy = \sqrt{x} for 0≤x≤40 \le x \le 4. But dydx=12x\dfrac{dy}{dx} = \dfrac{1}{2\sqrt{x}} is undefined at x=0x = 0 (the curve has a vertical tangent there), so the dydy version avoids an improper integral.

Forgetting to square the derivative. The integrand is 1+(f′(x))2\sqrt{1 + \big(f'(x)\big)^2}. Writing 1+f′(x)\sqrt{1 + f'(x)} is a common slip that costs the setup point.

Using f(x) instead of f’(x). The formula uses the derivative. For y=x2y = x^2, the integrand is 1+4x2\sqrt{1 + 4x^2}, not 1+x4\sqrt{1 + x^4}.

Simplifying the square root wrongly. 1+4x2\sqrt{1 + 4x^2} is not 1+2x1 + 2x. A square root of a sum doesn’t split. Only simplify when the inside is truly a perfect square.

Mismatched limits. In the dydy version, the limits must be yy-values. In Example 4, the limits are y=0y = 0 to y=2y = 2, not x=0x = 0 to x=4x = 4.

Rounding too early or too little. Let the calculator evaluate the whole integral and give 3 decimal places. Don’t round the derivative first.

Degree mode on a trig curve. With the calculator in degrees, ∫0π1+cos⁡2x dx\displaystyle\int_0^\pi \sqrt{1 + \cos^2 x}\,dx comes out wrong. Use radians.

1. (Warm-up) Use the arc length formula to find the length of the line y=2x+1y = 2x + 1 from x=0x = 0 to x=3x = 3. Check with the distance formula.

Solution

f′(x)=2f'(x) = 2, so

L=∫031+4 dx=35≈6.708L = \int_0^3 \sqrt{1 + 4}\,dx = 3\sqrt{5} \approx 6.708

Check: the endpoints are (0,1)(0, 1) and (3,7)(3, 7), and 32+62=45=35\sqrt{3^2 + 6^2} = \sqrt{45} = 3\sqrt{5}. ✓

2. (Warm-up) Write an integral for the length of y=x3y = x^3 from x=0x = 0 to x=2x = 2, then evaluate it with a calculator.

Solution

f′(x)=3x2f'(x) = 3x^2, so (f′(x))2=9x4\big(f'(x)\big)^2 = 9x^4:

L=∫021+9x4 dx≈8.630L = \int_0^2 \sqrt{1 + 9x^4}\,dx \approx 8.630

3. (Core) Find the exact length of y=43x3/2y = \tfrac{4}{3}x^{3/2} from x=0x = 0 to x=2x = 2.

Solution

f′(x)=2x1/2f'(x) = 2x^{1/2}, so 1+(f′(x))2=1+4x1 + \big(f'(x)\big)^2 = 1 + 4x. With u=1+4xu = 1 + 4x, dx=14 dudx = \tfrac{1}{4}\,du:

L=∫021+4x dx=[16(1+4x)3/2]02=16(27−1)=133L = \int_0^2 \sqrt{1 + 4x}\,dx = \Big[\tfrac{1}{6}(1 + 4x)^{3/2}\Big]_0^2 = \tfrac{1}{6}(27 - 1) = \frac{13}{3}

4. (Core) Find the length of y=exy = e^x from x=0x = 0 to x=1x = 1, to 3 decimal places.

Solution

f′(x)=exf'(x) = e^x, so

L=∫011+e2x dx≈2.003L = \int_0^1 \sqrt{1 + e^{2x}}\,dx \approx 2.003

5. (Core) Find the length of the curve x=12y2x = \tfrac{1}{2}y^2 from y=0y = 0 to y=1y = 1, to 3 decimal places.

Solution

g′(y)=yg'(y) = y, so

L=∫011+y2 dy≈1.148L = \int_0^1 \sqrt{1 + y^2}\,dy \approx 1.148

6. (Core) The curve y=4−x2y = \sqrt{4 - x^2} is part of a circle of radius 22. Find the exact length of the curve from x=0x = 0 to x=1x = 1, and check your answer with geometry.

Solution

f′(x)=−x4−x2f'(x) = \dfrac{-x}{\sqrt{4 - x^2}}, so

1+(f′(x))2=1+x24−x2=44−x21 + \big(f'(x)\big)^2 = 1 + \frac{x^2}{4 - x^2} = \frac{4}{4 - x^2}L=∫0124−x2 dx=[2arcsin⁡x2]01=2⋅π6=π3≈1.047L = \int_0^1 \frac{2}{\sqrt{4 - x^2}}\,dx = \Big[2\arcsin\frac{x}{2}\Big]_0^1 = 2 \cdot \frac{\pi}{6} = \frac{\pi}{3} \approx 1.047

Geometry check: from (0,2)(0, 2) to (1,3)(1, \sqrt{3}) the radius turns through π6\tfrac{\pi}{6} radians (from 90∘90^\circ to 60∘60^\circ), and arc length is radius × angle =2⋅π6=π3= 2 \cdot \tfrac{\pi}{6} = \tfrac{\pi}{3}. ✓

7. (Core) A suspension bridge cable hangs in the shape y=0.05x2y = 0.05x^2, where xx and yy are in metres, between towers at x=−10x = -10 and x=10x = 10. Find the length of the cable to 3 decimal places.

Solution

f′(x)=0.1xf'(x) = 0.1x, so

L=∫−10101+0.01x2 dx≈22.956 mL = \int_{-10}^{10} \sqrt{1 + 0.01x^2}\,dx \approx 22.956 \text{ m}

That’s a bit more than the 2020 m straight span between the towers, as it should be.

8. (Challenge) Find the exact length of y=x36+12xy = \dfrac{x^3}{6} + \dfrac{1}{2x} from x=1x = 1 to x=2x = 2.

Solution

f′(x)=x22−12x2f'(x) = \dfrac{x^2}{2} - \dfrac{1}{2x^2}. Then

1+(f′(x))2=1+x44−12+14x4=x44+12+14x4=(x22+12x2)2\begin{aligned} 1 + \big(f'(x)\big)^2 &= 1 + \frac{x^4}{4} - \frac{1}{2} + \frac{1}{4x^4} \\ &= \frac{x^4}{4} + \frac{1}{2} + \frac{1}{4x^4} = \left(\frac{x^2}{2} + \frac{1}{2x^2}\right)^2 \end{aligned}

a perfect square. So

L=∫12(x22+12x2)dx=[x36−12x]12=(43−14)−(16−12)=1712L = \int_1^2 \left(\frac{x^2}{2} + \frac{1}{2x^2}\right)dx = \Big[\frac{x^3}{6} - \frac{1}{2x}\Big]_1^2 = \left(\frac{4}{3} - \frac{1}{4}\right) - \left(\frac{1}{6} - \frac{1}{2}\right) = \frac{17}{12}

9. (Challenge) Let s(x)=∫0x1+4t2 dts(x) = \displaystyle\int_0^x \sqrt{1 + 4t^2}\,dt be the length of y=t2y = t^2 from t=0t = 0 to t=xt = x.

  • (a) Find s′(x)s'(x) and explain why ss is increasing.
  • (b) Use a calculator to find the value bb for which the curve from 00 to bb has length 33. Give bb to 3 decimal places.
Solution

(a) By the Fundamental Theorem of Calculus, s′(x)=1+4x2s'(x) = \sqrt{1 + 4x^2}. This is always positive (at least 11), so ss is increasing: the length keeps growing as you go farther along the curve.

(b) Solve ∫0b1+4t2 dt=3\displaystyle\int_0^b \sqrt{1 + 4t^2}\,dt = 3 with the calculator’s solver (or by graphing y=s(x)y = s(x) and y=3y = 3). This gives b≈1.554b \approx 1.554.