Arc Length of a Curve

Arc length measures the actual distance along a curve between two points, extending the simple distance formula to account for the curve's twists and turns.

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

Solve a problem with Arc Length of a Curve

Type the problem. The solver will use Arc Length of a Curve where Arc Length of a Curve is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Arc Length of a Curve takes
LL
ff
aa
bb
xx
Arc Length of a Curve
SymbolMeaning
LLThe arc length, or total distance traveled along the curve from x=ax = a to x=bx = b; measured in the same units as aa and bb.
ffThe function describing the curve; it must be continuous and differentiable on the interval [a,b][a, b] for the arc length formula to apply.
aaThe left endpoint of the interval over which arc length is measured; the starting xx-value.
bbThe right endpoint of the interval; the ending xx-value, and arc length is always measured from left to right, so a<ba < b.
xxThe independent variable; arc length is computed as xx ranges from aa to bb.

When to use it

Use this when you need the actual distance a path travels, such as the length of a hiking trail or the distance a car drives along a curved road.

Level

Usually taught in: Calculus II

Worked examples

1. Arc length of a line segment

Problem

Find the arc length of f(x)=xf(x) = x from x=0x = 0 to x=3x = 3.
  1. f(x)=1f'(x) = 1

    Differentiate the function using the power rule.

  2. 1+[f(x)]2=1+12=21 + \big[f'(x)\big]^2 = 1 + 1^2 = 2

    Compute 1+[f(x)]21 + [f'(x)]^2 by substituting the derivative.

  3. L=032dxL = \int_0^3 \sqrt{2} \, dx

    Apply the arc length formula by taking the square root and setting up the definite integral.

  4. L=[2x]03=2(30)=32L = \left[\sqrt{2} \cdot x\right]_0^3 = \sqrt{2}(3 - 0) = 3\sqrt{2}

    Integrate by recognizing that 2\sqrt{2} is a constant, then evaluate at the bounds using the Fundamental Theorem of Calculus.

Answer: L=32L = 3\sqrt{2}

Since f(x)=xf(x) = x is a straight line, the arc is literally a line segment. The arc length formula correctly gives 323\sqrt{2}, which matches the distance formula applied to the segment from (0,0)(0, 0) to (3,3)(3, 3) (distance =32+32=32= \sqrt{3^2 + 3^2} = 3\sqrt{2}).

2. Power function requiring u-substitution

Problem

Find the arc length of f(x)=23x3/2f(x) = \frac{2}{3}x^{3/2} from x=0x = 0 to x=4x = 4.
  1. f(x)=2332x1/2=x1/2f'(x) = \frac{2}{3} \cdot \frac{3}{2} x^{1/2} = x^{1/2}

    Differentiate using the power rule, bringing down the exponent 32\frac{3}{2} and reducing the power by 1.

  2. [f(x)]2=(x1/2)2=x\big[f'(x)\big]^2 = (x^{1/2})^2 = x

    Square the derivative to get xx.

  3. 1+[f(x)]2=1+x1 + \big[f'(x)\big]^2 = 1 + x

    Add 1 to the squared derivative.

  4. L=041+xdxL = \int_0^4 \sqrt{1 + x} \, dx

    Set up the arc length integral with the square root of 1+x1 + x.

  5. u=1+x,du=dx;x=0u=1,x=4u=5u = 1 + x, \quad du = dx; \quad x = 0 \Rightarrow u = 1, \quad x = 4 \Rightarrow u = 5

    Use uu-substitution to transform 1+x\sqrt{1 + x} into a simpler form; update the bounds accordingly.

  6. L=15u1/2du=[23u3/2]15L = \int_1^5 u^{1/2} \, du = \left[\frac{2}{3}u^{3/2}\right]_1^5

    Rewrite u\sqrt{u} as u1/2u^{1/2} and integrate using the power rule for integration.

  7. L=23(53/213/2)=23(551)L = \frac{2}{3}(5^{3/2} - 1^{3/2}) = \frac{2}{3}(5\sqrt{5} - 1)

    Evaluate at the bounds; note that 53/2=555^{3/2} = 5 \cdot \sqrt{5} and 13/2=11^{3/2} = 1.

Answer: L=23(551)L = \frac{2}{3}(5\sqrt{5} - 1)

This problem showcases uu-substitution because the integrand 1+x\sqrt{1 + x} does not immediately fit a standard form. The substitution simplifies the square root to a power function, which the power rule handles easily.

3. Word problem: distance on a winding mountain road

Problem

You are on a road trip traveling along a winding mountain road. Your elevation (in meters, relative to the starting point) is given by f(x)=13x3/2f(x) = \frac{1}{3}x^{3/2}, where xx is the horizontal distance from the starting point in kilometers. On the first leg, you drive horizontally from x=0x = 0 to x=3x = 3 kilometers. On the second leg, you drive on a flat highway. How far did you actually travel along the first curved road?
  1. f(x)=1332x1/2=12x1/2f'(x) = \frac{1}{3} \cdot \frac{3}{2} x^{1/2} = \frac{1}{2}x^{1/2}

    Differentiate to find the instantaneous rate of change of elevation with respect to horizontal distance.

  2. [f(x)]2=(12x1/2)2=14x\big[f'(x)\big]^2 = \left(\frac{1}{2}x^{1/2}\right)^2 = \frac{1}{4}x

    Square the derivative.

  3. 1+[f(x)]2=1+14x=4+x41 + \big[f'(x)\big]^2 = 1 + \frac{1}{4}x = \frac{4 + x}{4}

    Add 1; combining into a single fraction reveals the structure for the next step.

  4. 1+[f(x)]2=4+x4=4+x2\sqrt{1 + \big[f'(x)\big]^2} = \sqrt{\frac{4 + x}{4}} = \frac{\sqrt{4 + x}}{2}

    Take the square root of the fraction by taking the square root of numerator and denominator separately.

  5. L=034+x2dx=12034+xdxL = \int_0^3 \frac{\sqrt{4 + x}}{2} \, dx = \frac{1}{2}\int_0^3 \sqrt{4 + x} \, dx

    Factor out the constant 12\frac{1}{2} and set up the arc length integral.

  6. u=4+x,du=dx;x=0u=4,x=3u=7u = 4 + x, \quad du = dx; \quad x = 0 \Rightarrow u = 4, \quad x = 3 \Rightarrow u = 7

    Apply uu-substitution to simplify 4+x\sqrt{4 + x}.

  7. L=1247u1/2du=12[23u3/2]47L = \frac{1}{2}\int_4^7 u^{1/2} \, du = \frac{1}{2}\left[\frac{2}{3}u^{3/2}\right]_4^7

    Integrate using the power rule after the substitution.

  8. L=1223(73/243/2)=13(778)L = \frac{1}{2} \cdot \frac{2}{3}(7^{3/2} - 4^{3/2}) = \frac{1}{3}(7\sqrt{7} - 8)

    Simplify the product 1223=13\frac{1}{2} \cdot \frac{2}{3} = \frac{1}{3}, and compute 73/2=777^{3/2} = 7\sqrt{7} and 43/2=84^{3/2} = 8.

Answer: L=13(778) kilometersL = \frac{1}{3}(7\sqrt{7} - 8) \text{ kilometers}

The actual road distance exceeds the horizontal distance of 3 km because the road curves upward. Arc length captures this by measuring the true path along the winding road. The formula effectively converts a three-dimensional path (horizontal movement plus elevation gain) into a single one-dimensional arc length.

Common mistakes

Where Arc Length of a Curve usually goes wrong
Answer came out wrong
Writing L=01(1+[f(x)]2)dxL = \int_0^1 (1 + [f'(x)]^2) \, dx when f(x)=xf(x) = x, yielding L=2L = 2 instead of L=2L = \sqrt{2}.
Always include the square root: L=011+[f(x)]2dx=012dx=2L = \int_0^1 \sqrt{1 + [f'(x)]^2} \, dx = \int_0^1 \sqrt{2} \, dx = \sqrt{2}.
Using the function f(x)f(x) instead of the derivative f(x)f'(x), writing L=011+f(x)dx=011+xdxL = \int_0^1 \sqrt{1 + f(x)} \, dx = \int_0^1 \sqrt{1 + x} \, dx when f(x)=xf(x) = x.
Find the derivative first: f(x)=1f'(x) = 1, then substitute into the formula: L=011+12dx=012dx=2L = \int_0^1 \sqrt{1 + 1^2} \, dx = \int_0^1 \sqrt{2} \, dx = \sqrt{2}.
When f(x)=12x2f(x) = \frac{1}{2}x^2, squaring the function instead of the derivative and writing L=021+x4dxL = \int_0^2 \sqrt{1 + x^4} \, dx instead of L=021+x2dxL = \int_0^2 \sqrt{1 + x^2} \, dx.
Differentiate first: f(x)=xf'(x) = x, so [f(x)]2=x2[f'(x)]^2 = x^2, and the integrand is 1+x2\sqrt{1 + x^2}—not 1+x4\sqrt{1 + x^4}.
The mistakeWhy it is wrongThe fix
Writing L=01(1+[f(x)]2)dxL = \int_0^1 (1 + [f'(x)]^2) \, dx when f(x)=xf(x) = x, yielding L=2L = 2 instead of L=2L = \sqrt{2}.The arc length formula requires a square root around 1+[f(x)]21 + [f'(x)]^2; omitting it computes an entirely different integral that has no geometric meaning as arc length.Always include the square root: L=011+[f(x)]2dx=012dx=2L = \int_0^1 \sqrt{1 + [f'(x)]^2} \, dx = \int_0^1 \sqrt{2} \, dx = \sqrt{2}.
Using the function f(x)f(x) instead of the derivative f(x)f'(x), writing L=011+f(x)dx=011+xdxL = \int_0^1 \sqrt{1 + f(x)} \, dx = \int_0^1 \sqrt{1 + x} \, dx when f(x)=xf(x) = x.The arc length formula requires the derivative f(x)f'(x), not the function itself. Substituting the wrong expression leads to a completely incorrect setup.Find the derivative first: f(x)=1f'(x) = 1, then substitute into the formula: L=011+12dx=012dx=2L = \int_0^1 \sqrt{1 + 1^2} \, dx = \int_0^1 \sqrt{2} \, dx = \sqrt{2}.
When f(x)=12x2f(x) = \frac{1}{2}x^2, squaring the function instead of the derivative and writing L=021+x4dxL = \int_0^2 \sqrt{1 + x^4} \, dx instead of L=021+x2dxL = \int_0^2 \sqrt{1 + x^2} \, dx.You must square the derivative f(x)=xf'(x) = x to get [f(x)]2=x2[f'(x)]^2 = x^2, not square the original function to get [f(x)]2=14x4[f(x)]^2 = \frac{1}{4}x^4.Differentiate first: f(x)=xf'(x) = x, so [f(x)]2=x2[f'(x)]^2 = x^2, and the integrand is 1+x2\sqrt{1 + x^2}—not 1+x4\sqrt{1 + x^4}.

Tips and when to use something else

  • The formula requires the derivative f(x)f'(x): always differentiate the function first, then square it, before substituting into the arc length integral.
  • When 1+[f(x)]2dx\int \sqrt{1 + [f'(x)]^2} \, dx does not simplify immediately, try uu-substitution if 1+[f(x)]21 + [f'(x)]^2 is a linear function of xx, or Trigonometric Substitution if it has the form 1+(stuff)2\sqrt{1 + (\text{stuff})^2}.
  • Arc length measures distance along the curve itself. If a problem asks for the straight-line distance between two points, use the distance formula; if it asks for area under the curve, use abf(x)dx\int_a^b f(x) \, dx instead.
  • When the integral does not simplify to an elementary function, leave the answer as the integral itself or use numerical methods to approximate it—do not force a false closed form.

Frequently asked questions

Why is there a square root in the arc length formula?
The square root comes from the Pythagorean theorem applied infinitesimally. As you move along the curve, the horizontal change is dxdx and the vertical change is dy=f(x)dxdy = f'(x) \, dx. These form the legs of a tiny right triangle, and the hypotenuse (the arc element) has length ds=(dx)2+(dy)2=1+[f(x)]2dxds = \sqrt{(dx)^2 + (dy)^2} = \sqrt{1 + [f'(x)]^2} \, dx. Integrating all these pieces gives the total arc length.
Can I just use the distance formula to find arc length?
No. The distance formula d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} gives the straight-line distance (the chord connecting two points), not the arc length. Arc length follows the actual path of the curve, which is strictly longer unless the curve is already a straight line. For any curved path, you must use the arc length integral.
What if the integral 1+[f(x)]2dx\int \sqrt{1 + [f'(x)]^2} \, dx doesn't have a closed form?
Many arc length integrals have no elementary closed form (for instance, 1+x2dx\int \sqrt{1 + x^2} \, dx and 1+x4dx\int \sqrt{1 + x^4} \, dx). In such cases, you can leave the answer as the integral, or use numerical integration methods (Simpson's rule, a graphing calculator, or a computer) to approximate the arc length to any desired precision.
When should I use Trigonometric Substitution for arc length?
Use Trigonometric Substitution when 1+[f(x)]21 + [f'(x)]^2 has the form a2+x2a^2 + x^2, a2x2a^2 - x^2, or x2a2x^2 - a^2 (or scalar multiples). For example, if f(x)=2xf'(x) = 2x, then 1+[f(x)]2=1+4x21 + [f'(x)]^2 = 1 + 4x^2, which suits a tangent substitution. The trig substitution converts the radical into a trigonometric function that integrates more easily.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18