How long is a curve? A ruler only measures straight segments, but calculus lets you break a curve into tiny pieces that are almost straight, measure each piece with the Pythagorean theorem, and add them up. Arc length is a BC-only topic, and the same idea returns in the next unit for parametric and polar curves.
Building the formula
Suppose y=f(x) has a continuous derivative on [a,b]. Zoom in on a tiny piece of the curve. It looks like the hypotenuse of a right triangle with horizontal leg dx and vertical leg dy, so its length is
ds=(dx)2+(dy)2.
Factor (dx)2 out of the square root:
ds=1+(dxdy)2dx.
Adding all the pieces from x=a to x=b gives the length of the whole curve.
Arc length
If f′ is continuous on [a,b], the length of the curve y=f(x) from x=a to x=b is
L=∫ab1+(f′(x))2dx.
If the curve is given as x=g(y) for c≤y≤d, the length is
L=∫cd1+(g′(y))2dy.
A quick check: for a line y=mx+b, the integrand is the constant 1+m2, so the length from x=a to x=b is (b−a)1+m2. That is exactly the distance formula, which is a good sign the formula is right.
When can you integrate by hand?
The square root makes most arc length integrals impossible to find with elementary antiderivatives. Even y=x2 from 0 to 1 gives ∫011+4x2dx, which needs a trig substitution. On the AP exam, arc length appears in two ways:
Calculator questions: set up the integral and evaluate it numerically.
Hand questions: the function is chosen so that 1+(f′)2 is a perfect square, or so a simple u-substitution works.
The perfect-square trick shows up often. If f′(x)=A−B where 4AB=1, then
1+(A−B)2=A2−2AB+B2+1=A2+2AB+B2=(A+B)2,
and the square root disappears.
The curve y = (2/3)x^(3/2) from (0, 0) to (3, 2√3). Its length is 14/3 ≈ 4.67, a bit more than the straight-line distance √21 ≈ 4.58.Open in grapher →
Find the length of y=x2 from x=0 to x=1, to three decimal places.
L=∫011+(2x)2dx=∫011+4x2dx≈1.479.
On a calculator question, the setup is worth as much as the number. Write the integral, then evaluate.
Common mistake
The most common mistake is forgetting to square the derivative, or forgetting the 1. The integrand is 1+(f′)2, not 1+f′ and not (f′)2. Another slip is taking the square root of 1+(f′)2 term by term: 1+u2 is not1+u.
Tip
Arc length is always at least the straight-line distance between the endpoints. If your answer is shorter than the chord, something is wrong.
Curves given as x = g(y)
Sometimes x is the easier function. For example, the curve x=21y2 from y=0 to y=1 has dydx=y, so its length is ∫011+y2dy. Use whichever variable makes the derivative simpler, and make sure the limits match the variable you integrate in.
Practice
Practice 1
Use the arc length formula to find the length of y=3x+1 from x=0 to x=2.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 2
Which integral gives the length of the curve y=sinx from x=0 to x=π?
Practice 3
Find the exact length of y=x3/2 from x=0 to x=4.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
Find the length of y=8x4+4x21 from x=1 to x=2.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 5
Find the length of the curve x=32(y−1)3/2 from y=1 to y=9.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 6
Calculator allowed. Find the length of y=ex from x=0 to x=1. Round to three decimal places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 7
Find the exact length of y=ln(1−x2) from x=0 to x=21.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 8
The length of a curve y=f(x) from x=1 to x=4 is given by ∫141+x29dx. Which could be f(x)?