Calculus · Grade 12 and undergraduate

Arc Length

Quick answer

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

Measuring a curve with straight pieces

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.

Four chords along y = x² from x = 0 to x = 2 The parabola y = x squared from 0 to 2, with dots at x = 0, 0.5, 1, 1.5 and 2 joined by four straight chords. The chords hug the curve and add up to 4.627, a little less than the curve's length of 4.647. 121234xy
  • y = x²
Four chords along y = x² from x = 0 to x = 2

The four chords total 4.6274.627. The curve’s actual length is 4.6474.647: a chord is the shortest path between its ends, so chords always come up a little short.

Why the integrand is √(1 + f′(x)²)

Take one small piece of the curve y=f(x)y = f(x) over a run Δx\Delta x. Its chord rises Δy\Delta y, so by the Pythagorean theorem its length is

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

By the Mean Value Theorem, ΔyΔx=f′(x∗)\tfrac{\Delta y}{\Delta x} = f'(x^*) at some point x∗x^* of the piece. The chord lengths then form a Riemann sum for 1+f′(x)2\sqrt{1 + f'(x)^2}, and as the pieces shrink the sum becomes the integral. Arc length adds up tiny hypotenuses.

Definition

If f′f' is continuous on [a,b][a, b], the arc length of 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 + f'(x)^2}\,dx

For a curve x=g(y)x = g(y), c≤y≤dc \le y \le d, swap the variables: L=∫cd1+g′(y)2 dyL = \int_c^d \sqrt{1 + g'(y)^2}\,dy.

When the integral cannot be done by hand

The square root in the formula rarely has an elementary antiderivative. Even the parabola y=x2y = x^2 leads to ∫1+4x2 dx\int \sqrt{1 + 4x^2}\,dx, 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)21 + f'(x)^2 is a perfect square, as in Example 2.

Worked examples

Common mistakes

Practice problems

  1. Find the length of the line y=2x+1y = 2x + 1 from x=0x = 0 to x=3x = 3, and check it with the distance formula.

    Answer

    35≈6.713\sqrt{5} \approx 6.71

    Full solution

    ∫031+22 dx=35\int_0^3 \sqrt{1 + 2^2}\,dx = 3\sqrt{5}. 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. Find the length of y=23x3/2y = \tfrac{2}{3}x^{3/2} from x=0x = 0 to x=3x = 3.

    Answer

    143\tfrac{14}{3}

    Full solution

    f′(x)=x1/2f'(x) = x^{1/2}, so 1+f′2=1+x1 + f'^2 = 1 + x. L=∫03(1+x)1/2 dx=23[(1+x)3/2]03=23(8−1)=143L = \int_0^3 (1 + x)^{1/2}\,dx = \tfrac{2}{3}\big[(1 + x)^{3/2}\big]_0^3 = \tfrac{2}{3}(8 - 1) = \tfrac{14}{3}.

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

    Answer

    1313−827≈1.44\tfrac{13\sqrt{13} - 8}{27} \approx 1.44

    Full solution

    As in Example 1, L=827[(1+94x)3/2]01=827((134)3/2−1)=827(13138−1)L = \tfrac{8}{27}\big[(1 + \tfrac{9}{4}x)^{3/2}\big]_0^1 = \tfrac{8}{27}\left(\left(\tfrac{13}{4}\right)^{3/2} - 1\right) = \tfrac{8}{27}\left(\tfrac{13\sqrt{13}}{8} - 1\right).

  4. Set up an integral for the length of one arch of y=sin⁡xy = \sin x, 0≤x≤π0 \le x \le \pi, and evaluate it numerically.

    Answer

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

    Full solution

    f′(x)=cos⁡xf'(x) = \cos x. The integrand has no elementary antiderivative, so a calculator finishes it.

  5. Find the length of x=23(y−1)3/2x = \tfrac{2}{3}(y - 1)^{3/2} from y=1y = 1 to y=4y = 4.

    Answer

    143\tfrac{14}{3}

    Full solution

    g′(y)=(y−1)1/2g'(y) = (y - 1)^{1/2}, so 1+g′2=y1 + g'^2 = y. L=∫14y1/2 dy=23(8−1)=143L = \int_1^4 y^{1/2}\,dy = \tfrac{2}{3}(8 - 1) = \tfrac{14}{3}.

  6. Find the length of y=x48+14x2y = \tfrac{x^4}{8} + \tfrac{1}{4x^2} from x=1x = 1 to x=2x = 2.

    Answer

    3316\tfrac{33}{16}

    Full solution

    f′(x)=x32−12x3f'(x) = \tfrac{x^3}{2} - \tfrac{1}{2x^3}, and 1+f′2=(x32+12x3)21 + f'^2 = \left(\tfrac{x^3}{2} + \tfrac{1}{2x^3}\right)^2. L=[x48−14x2]12=(2−116)−(18−14)=3316L = \big[\tfrac{x^4}{8} - \tfrac{1}{4x^2}\big]_1^2 = \left(2 - \tfrac{1}{16}\right) - \left(\tfrac{1}{8} - \tfrac{1}{4}\right) = \tfrac{33}{16}.

  7. Find the length of y=ln⁡(cos⁡x)y = \ln(\cos x) from x=0x = 0 to x=π4x = \tfrac{\pi}{4}. Use ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+C\int \sec x\,dx = \ln\lvert \sec x + \tan x \rvert + C.

    Answer

    ln⁡(2+1)≈0.881\ln(\sqrt{2} + 1) \approx 0.881

    Full solution

    f′(x)=−tan⁡xf'(x) = -\tan x, and 1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 x, so L=∫0π/4sec⁡x dx=ln⁡(2+1)−ln⁡1L = \int_0^{\pi/4} \sec x\,dx = \ln(\sqrt{2} + 1) - \ln 1.

  8. Approximate the length of y=x2y = x^2 from x=0x = 0 to x=2x = 2 with two chords, through x=0x = 0, 11 and 22. Is the result an overestimate or an underestimate?

    Answer

    2+10≈4.58\sqrt{2} + \sqrt{10} \approx 4.58, an underestimate

    Full solution

    The chords run from (0,0)(0, 0) to (1,1)(1, 1) and from (1,1)(1, 1) to (2,4)(2, 4), with lengths 2\sqrt{2} and 10\sqrt{10}. Each chord is shorter than its arc, so the total is below the length 4.6474.647.

  9. Find the length of y=ex+e−x2y = \tfrac{e^x + e^{-x}}{2} from x=0x = 0 to x=1x = 1.

    Answer

    e−e−12≈1.18\tfrac{e - e^{-1}}{2} \approx 1.18

    Full solution

    f′(x)=ex−e−x2f'(x) = \tfrac{e^x - e^{-x}}{2}, and 1+f′2=(ex+e−x2)21 + f'^2 = \left(\tfrac{e^x + e^{-x}}{2}\right)^2, since the cross terms flip sign as in Example 2. So L=∫01ex+e−x2 dx=[ex−e−x2]01L = \int_0^1 \tfrac{e^x + e^{-x}}{2}\,dx = \big[\tfrac{e^x - e^{-x}}{2}\big]_0^1.

  10. A student finds the length of y=x2y = x^2 from x=0x = 0 to x=1x = 1 as ∫01(1+2x) dx=2\int_0^1 (1 + 2x)\,dx = 2. What went wrong?

    Hint

    What is the length of a tiny piece with run Δx\Delta x and rise Δy\Delta y?

    Answer

    The integrand should be 1+(2x)2\sqrt{1 + (2x)^2}, not 1+2x1 + 2x. The length is about 1.4791.479.

    Full solution

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

    The student’s integrand is too big everywhere: 1+a2<1+a\sqrt{1 + a^2} < 1 + a for every a>0a > 0, because squaring the right side gives 1+2a+a21 + 2a + a^2. So ∫01(1+2x) dx\int_0^1 (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.

What to learn next