Arc Length of a Curve

April 12, 2026

Problem

Find the length of the curve y = x² from x = 0 to x = 2.

Explanation

The arc length of a smooth curve is the total distance you'd walk along it. We approximate the curve by tiny straight segments, sum up their lengths via Pythagoras, and take the limit — which gives a clean integral formula.

Deriving the Formula

Take a tiny piece of curve. Its horizontal change is dxdx, its vertical change is dydy. By Pythagoras:

ds=(dx)2+(dy)2=1+(dydx)2dxds = \sqrt{(dx)^{2} + (dy)^{2}} = \sqrt{1 + \left(\dfrac{dy}{dx}\right)^{2}}\,dx

Integrating from aa to bb:

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

Step-by-Step Solution

Given: f(x)=x2f(x) = x^{2} on [0,2][0, 2].

Find: The arc length LL.


Step 1 — Compute f(x)f'(x).

f(x)=2xf'(x) = 2x

Step 2 — Plug into the formula.

L=021+(2x)2dx=021+4x2dxL = \int_{0}^{2} \sqrt{1 + (2x)^{2}}\,dx = \int_{0}^{2} \sqrt{1 + 4x^{2}}\,dx

Step 3 — This integral has a closed form.

The antiderivative of 1+4x2\sqrt{1 + 4x^{2}} involves a hyperbolic substitution or a trig substitution. The closed form is:

1+4x2dx=x1+4x22+14ln ⁣(2x+1+4x2)+C\int\sqrt{1 + 4x^{2}}\,dx = \dfrac{x\sqrt{1 + 4x^{2}}}{2} + \dfrac{1}{4}\ln\!\left(2x + \sqrt{1 + 4x^{2}}\right) + C

Step 4 — Evaluate at the bounds x=0x = 0 and x=2x = 2.

At x=2x = 2: 1+16=174.123\sqrt{1 + 16} = \sqrt{17} \approx 4.123

2172+14ln(4+17)=17+ln(8.123)4\dfrac{2\sqrt{17}}{2} + \dfrac{1}{4}\ln(4 + \sqrt{17}) = \sqrt{17} + \dfrac{\ln(8.123)}{4}

4.123+2.094744.123+0.52374.647\approx 4.123 + \dfrac{2.0947}{4} \approx 4.123 + 0.5237 \approx 4.647

At x=0x = 0: 1+0=1\sqrt{1 + 0} = 1

012+14ln(0+1)=0+0=0\dfrac{0 \cdot 1}{2} + \dfrac{1}{4}\ln(0 + 1) = 0 + 0 = 0

Step 5 — Subtract.

L=4.64704.647  unitsL = 4.647 - 0 \approx 4.647\;\text{units}

Step 6 — Sanity check using a polygonal approximation.

If you split [0,2][0, 2] into 100 tiny segments and compute (dx)2+(Δy)2\sum\sqrt{(dx)^{2} + (\Delta y)^{2}}, you get approximately 4.64714.6471 — matching the closed form. The visualization does this on the fly.

Step 7 — Compare to the straight-line distance.

The straight chord from (0,0)(0, 0) to (2,4)(2, 4) has length 4+16=204.472\sqrt{4 + 16} = \sqrt{20} \approx 4.472. So the curved path is about 0.1750.175 longer than the straight one (3.9% longer). The curve doesn't deviate much from the chord because y=x2y = x^{2} is fairly mild on this interval.


Answer: The arc length of y=x2y = x^{2} from x=0x = 0 to x=2x = 2 is

  L=17+ln(4+17)44.647  units  \boxed{\;L = \sqrt{17} + \dfrac{\ln(4 + \sqrt{17})}{4} \approx 4.647\;\text{units}\;}

This is about 4% longer than the straight chord from (0,0)(0, 0) to (2,4)(2, 4).

Try It

  • Adjust the number of segments widget — see how the polygonal approximation gets more accurate as nn grows.
  • The HUD shows the running sum (the polygonal length) compared to the closed-form value.
  • At n=50n = 50, the approximation is already accurate to about 4 decimal places.

Interactive Visualization

Parameters

16.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Arc Length of a Curve | MathSpin