Over a short stretch a smooth curve is nearly straight, so the Pythagorean theorem measures each small piece: its length is √(Δx² + Δy²), which is √(1 + (Δy/Δx)²) Δx. Adding the pieces and taking the limit gives the arc length L = ∫ₐᵇ √(1 + f′(x)²) dx, or ∫ √(1 + g′(y)²) dy for a curve x = g(y). The integral often has no antiderivative in closed form, so a numerical integral finishes many problems; curves where 1 + f′² is a perfect square give exact answers.
What you'll learn
Derive the arc length formula from the Pythagorean theorem
Compute the arc length of y = f(x) or x = g(y)
Recognize integrands that simplify to a perfect square
Approximate arc length numerically and with chords
A ruler measures straight lines. To measure a curve, replace it by straight
pieces: mark points along it, join neighbors with chords, and add up the chord
lengths. More points make a closer fit.
y = x²
Four chords along y = x² from x = 0 to x = 2
The four chords total 4.627. The curve’s actual length is 4.647: a chord
is the shortest path between its ends, so chords always come up a little short.
Take one small piece of the curve y=f(x) over a run Δx. Its chord
rises Δy, so by the Pythagorean theorem its length is
Δx2+Δy2=1+(ΔxΔy)2Δx
By the Mean Value Theorem, ΔxΔy=f′(x∗) at some point
x∗ of the piece. The chord lengths then form a Riemann sum for
1+f′(x)2, and as the pieces shrink the sum becomes the integral.
Arc length adds up tiny hypotenuses.
Definition
If f′ is continuous on [a,b], the arc length of y=f(x) from x=a
to x=b is
L=∫ab1+f′(x)2dx
For a curve x=g(y), c≤y≤d, swap the variables:
L=∫cd1+g′(y)2dy.
The square root in the formula rarely has an elementary antiderivative. Even the
parabola y=x2 leads to ∫1+4x2dx, which needs techniques
beyond this course. In practice, set up the integral and evaluate it
numerically with a calculator. Exact answers come from curves chosen so that
1+f′(x)2 is a perfect square, as in Example 2.
Find the length of the line y=2x+1 from x=0 to x=3, and check it with the distance formula.
Answer
35≈6.71
Full solution
∫031+22dx=35. The endpoints are (0,1) and (3,7), and 32+62=45=35.
Find the length of y=32x3/2 from x=0 to x=3.
Answer
314
Full solution
f′(x)=x1/2, so 1+f′2=1+x. L=∫03(1+x)1/2dx=32[(1+x)3/2]03=32(8−1)=314.
Find the length of y=x3/2 from x=0 to x=1.
Answer
271313−8≈1.44
Full solution
As in Example 1, L=278[(1+49x)3/2]01=278((413)3/2−1)=278(81313−1).
Set up an integral for the length of one arch of y=sinx, 0≤x≤π, and evaluate it numerically.
Answer
∫0π1+cos2xdx≈3.82
Full solution
f′(x)=cosx. The integrand has no elementary antiderivative, so a calculator finishes it.
Find the length of x=32(y−1)3/2 from y=1 to y=4.
Answer
314
Full solution
g′(y)=(y−1)1/2, so 1+g′2=y. L=∫14y1/2dy=32(8−1)=314.
Find the length of y=8x4+4x21 from x=1 to x=2.
Answer
1633
Full solution
f′(x)=2x3−2x31, and 1+f′2=(2x3+2x31)2. L=[8x4−4x21]12=(2−161)−(81−41)=1633.
Find the length of y=ln(cosx) from x=0 to x=4π. Use ∫secxdx=ln∣secx+tanx∣+C.
Answer
ln(2+1)≈0.881
Full solution
f′(x)=−tanx, and 1+tan2x=sec2x, so L=∫0π/4secxdx=ln(2+1)−ln1.
Approximate the length of y=x2 from x=0 to x=2 with two chords, through x=0, 1 and 2. Is the result an overestimate or an underestimate?
Answer
2+10≈4.58, an underestimate
Full solution
The chords run from (0,0) to (1,1) and from (1,1) to (2,4), with lengths 2 and 10. Each chord is shorter than its arc, so the total is below the length 4.647.
Find the length of y=2ex+e−x from x=0 to x=1.
Answer
2e−e−1≈1.18
Full solution
f′(x)=2ex−e−x, and 1+f′2=(2ex+e−x)2, since the cross terms flip sign as in Example 2. So L=∫012ex+e−xdx=[2ex−e−x]01.
A student finds the length of y=x2 from x=0 to x=1 as ∫01(1+2x)dx=2. What went wrong?
Hint
What is the length of a tiny piece with run Δx and rise Δy?
Answer
The integrand should be 1+(2x)2, not 1+2x. The length is about 1.479.
Full solution
L=∫011+4x2dx≈1.479 numerically.
The student’s integrand is too big everywhere: 1+a2<1+a for every a>0, because squaring the right side gives 1+2a+a2. So ∫01(1+2x)dx must overshoot the length.
Frequently asked questions
What is the arc length formula?
For y = f(x) from x = a to x = b, the length is the integral from a to b of √(1 + f′(x)²) dx.
Where does the formula come from?
A tiny piece of the curve is nearly a straight segment with run Δx and rise Δy. Its length √(Δx² + Δy²) equals √(1 + (Δy/Δx)²) Δx, and summing the pieces gives the integral.
Why can't I evaluate most arc length integrals by hand?
The square root of 1 + f′² rarely has an elementary antiderivative. Textbook examples are chosen so that it simplifies; in general, use a numerical integral.
How do I find the length of x = g(y)?
Swap the roles of the variables: L = ∫ from c to d of √(1 + g′(y)²) dy, with y-limits.
Do chords overestimate or underestimate the length?
They underestimate it. A straight segment is the shortest path between two points, so each chord is shorter than the arc it cuts off.