Arc Length

Imagine laying a piece of string right along a curve \(y = f(x)\) from \(x=a\) to \(x=b\), then pulling the string straight and measuring it with a ruler. That length is the arc length.

By the end you can

Where the formula comes from

Zoom way in on a tiny piece of a smooth curve. It looks like a straight line segment with horizontal run \(dx\) and vertical rise \(dy\). By the Pythagorean theorem, its tiny length \(ds\) is:

\[ ds = \sqrt{(dx)^2 + (dy)^2} \]

Factor \((dx)^2\) out of the square root (assuming \(dx > 0\)):

\[ ds = \sqrt{1 + \left(\frac{dy}{dx}\right)^2}\,dx \]

Add up all the tiny hypotenuses from \(a\) to \(b\) with an integral:

Arc length of \(y = f(x)\) on \([a, b]\)
\[ L = \int_a^b \sqrt{1 + \big(f'(x)\big)^2}\,dx \]

If the curve is written as \(x = g(y)\) for \(c \le y \le d\), factor out \(dy\) instead:

Arc length of \(x = g(y)\) on \([c, d]\)
\[ L = \int_c^d \sqrt{1 + \big(g'(y)\big)^2}\,dy \]
See it: adding up tiny straight segments

Drag \(n\) to chop \(y = \sin x\) on \([0, \pi]\) into more straight segments. Watch the total segment length approach the true arc length.

Worked examples

Be honest with yourself up front: most arc-length integrals cannot be done by hand because of the square root. The few that work by hand are specially engineered so that \(1 + (f'(x))^2\) simplifies cleanly (either via u-sub or by turning into a perfect square).

Example 1 · Clean u-substitution

Find the arc length of \(y = \tfrac23 x^{3/2}\) on \([0, 3]\).

  1. Differentiate: \(f'(x) = \tfrac23 \cdot \tfrac32 x^{1/2} = \sqrt{x}\).
  2. Square it and add 1: \(1 + (f'(x))^2 = 1 + x\).
  3. Integrate: \[ L = \int_0^3 \sqrt{1 + x}\,dx = \Big[\tfrac23 (1+x)^{3/2}\Big]_0^3 = \tfrac23\big(4^{3/2} - 1^{3/2}\big) = \tfrac23(8 - 1) \]
\(\dfrac{14}{3}\)
Example 2 · The classic "perfect square" trick

Find the arc length of \(y = \dfrac{x^3}{6} + \dfrac{1}{2x}\) on \([1, 2]\).

  1. Differentiate: \(f'(x) = \dfrac{x^2}{2} - \dfrac{1}{2x^2}\).
  2. Square it (watch the middle term!): \[ \big(f'(x)\big)^2 = \frac{x^4}{4} - \frac{1}{2} + \frac{1}{4x^4} \] The middle term is \(2\cdot\frac{x^2}{2}\cdot\left(-\frac{1}{2x^2}\right) = -\tfrac12\). The \(x^2\)'s cancel!
  3. Add \(1\): that turns \(-\tfrac12\) into \(+\tfrac12\), which re-factors into a perfect square! \[ 1 + \big(f'(x)\big)^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 (everything inside is positive on \([1,2]\)) and integrate: \[ L = \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(\frac86 - \frac14\right) - \left(\frac16 - \frac12\right) \]
\(\dfrac{17}{12}\)
Example 3 · Curve written as \(x = g(y)\)

Find the arc length of \(x = \tfrac13 y^{3/2} - y^{1/2}\) for \(1 \le y \le 4\).

  1. Differentiate with respect to \(y\): \(g'(y) = \tfrac12 y^{1/2} - \tfrac12 y^{-1/2}\).
  2. Compute \(1 + (g'(y))^2\): \[ 1 + \left(\tfrac14 y - \tfrac12 + \tfrac14 y^{-1}\right) = \tfrac14 y + \tfrac12 + \tfrac14 y^{-1} = \left(\tfrac12 y^{1/2} + \tfrac12 y^{-1/2}\right)^2 \]
  3. Take the square root and integrate from \(y=1\) to \(y=4\): \[ L = \int_1^4 \left(\tfrac12 y^{1/2} + \tfrac12 y^{-1/2}\right)dy = \Big[\tfrac13 y^{3/2} + y^{1/2}\Big]_1^4 = \left(\tfrac83 + 2\right) - \left(\tfrac13 + 1\right) \]
\(\dfrac{10}{3}\)
Example 4 · Calculator-active setup

Find the length of one arch of \(y = \sin x\), from \(x = 0\) to \(x = \pi\).

  1. Differentiate: \(f'(x) = \cos x\).
  2. Set up the integral (this step earns the setup point on an FRQ): \[ L = \int_0^\pi \sqrt{1 + \cos^2 x}\,dx \]
  3. There is no elementary antiderivative, so evaluate numerically on a calculator (in radian mode).
\(3.820\)
Coming up in Unit 9

What if a curve loops back on itself and can't be written as \(y = f(x)\)? In Parametric Equations, you'll use the exact same Pythagorean idea to get \(L = \int_a^b \sqrt{(x'(t))^2 + (y'(t))^2}\,dt\).

Which integral gives the arc length of \(y = e^{2x}\) from \(x = 0\) to \(x = 1\)?

First differentiate: \(f'(x) = 2e^{2x}\). Then square the whole derivative: \((2e^{2x})^2 = 4e^{4x}\). Forgetting the chain rule \(2\) gives option 1; forgetting to square \(2e^{2x}\) gives option 3; squaring \(e^{2x}\) as \(e^{2x}\) instead of \(e^{4x}\) gives option 4.

A curve has \(f'(x) = \tan x\) on \([0, \pi/4]\). What does \(\sqrt{1 + (f'(x))^2}\) simplify to?

Trig identity: \(1 + \tan^2 x = \sec^2 x\), and \(\sqrt{\sec^2 x} = \sec x\) on \([0, \pi/4]\) since \(\sec x > 0\) there. Notice \(\sqrt{1 + \tan^2 x} \ne 1 + \tan x\) — you can never split a square root over a sum!

Common mistakes

Watch out for these
On the AP exam

Non-calculator multiple choice often asks you only to identify the correct integral setup (like Quiz 1 above). On calculator FRQs, write the full integral with bounds and integrand before giving your 3-decimal-place answer.

Practice problems

Warm-up

Find the exact arc length of \(y = x^{3/2}\) on \([0, 4]\).

Hint

\(f'(x) = \tfrac32 x^{1/2}\), so \(1 + (f'(x))^2 = 1 + \tfrac94 x\). Use u-substitution.

Solution

Let \(u = 1 + \tfrac94 x\), \(du = \tfrac94\,dx \Rightarrow dx = \tfrac49\,du\). Bounds: \(u(0) = 1\), \(u(4) = 10\).

\[ L = \frac49 \int_1^{10} u^{1/2}\,du = \frac49 \cdot \frac23\Big[u^{3/2}\Big]_1^{10} = \frac{8}{27}\big(10^{3/2} - 1\big) \]
\(\dfrac{8}{27}(10\sqrt{10} - 1)\) (about \(9.073\))
Medium

Find the exact arc length of \(y = \ln(\cos x)\) on \([0, \pi/4]\).

Hint

\(f'(x) = -\tan x\). Remember \(\int \sec x\,dx = \ln|\sec x + \tan x| + C\).

Solution

\(1 + (-\tan x)^2 = \sec^2 x\), and \(\sec x > 0\) on \([0,\pi/4]\).

\[ L = \int_0^{\pi/4} \sec x\,dx = \Big[\ln|\sec x + \tan x|\Big]_0^{\pi/4} = \ln(\sqrt{2} + 1) - \ln(1 + 0) \]
\(\ln(\sqrt{2} + 1)\) (about \(0.881\))
Medium

Find the exact arc length of \(x = \dfrac{y^3}{3} + \dfrac{1}{4y}\) for \(1 \le y \le 3\).

Hint

Use the \(dy\) formula and the perfect-square trick from Example 2.

Solution

\(g'(y) = y^2 - \frac{1}{4y^2}\). Then \(1 + (g'(y))^2 = 1 + y^4 - \tfrac12 + \frac{1}{16y^4} = \left(y^2 + \frac{1}{4y^2}\right)^2\).

\[ L = \int_1^3 \left(y^2 + \frac{1}{4y^2}\right)dy = \Big[\frac{y^3}{3} - \frac{1}{4y}\Big]_1^3 = \left(9 - \frac{1}{12}\right) - \left(\frac13 - \frac14\right) = 9 - \frac{1}{6} \]
\(\dfrac{53}{6}\)
AP-style · Calculator

Set up and evaluate (to 3 decimal places) the arc length of \(y = x^2\) from \((0,0)\) to \((2,4)\).

Hint

\(f'(x) = 2x\), so \((f'(x))^2 = 4x^2\).

Solution
\[ L = \int_0^2 \sqrt{1 + 4x^2}\,dx \approx 4.647 \]

Sanity check: the straight line from \((0,0)\) to \((2,4)\) has length \(\sqrt{4+16} = \sqrt{20} \approx 4.472\). Our curved path should be slightly longer, and \(4.647 > 4.472\) ✓.

\(4.647\)
AP-style · Calculator

Set up and evaluate the length of \(y = e^x\) on \([0, 1]\).

Hint

\(f'(x) = e^x\), so \((f'(x))^2 = e^{2x}\).

Solution
\[ L = \int_0^1 \sqrt{1 + e^{2x}}\,dx \approx 2.003 \]

Sanity check: straight line from \((0,1)\) to \((1,e)\) has length \(\sqrt{1 + (e-1)^2} \approx 1.988\), slightly less than \(2.003\) ✓.

\(2.003\) (or \(2.004\) rounded to nearest; \(2.00350\) rounds to \(2.004\) or truncates to \(2.003\) — both accepted on AP!)