The idea: measure a curve with straight pieces

A ruler can only measure straight lines. To measure a curve y = f(x) from x = a to x = b, put n + 1 points on it at equal steps Δx = (b − a)/n, join each point to the next with a straight piece (a chord), and add the pieces. The result is the length of a polyline. As n grows the polyline hugs the curve, and its length closes in on the arc length L.

Two copies of the curve y = x squared on [0, 1]. Left: a polyline of 4 chords, length 1.4743, error minus 0.0047. Right: 16 chords, length 1.4787, error minus 0.0003. The exact length is 1.4789
Four chords already come within 0.005 of the length; sixteen come within 0.0003.

One piece is a hypotenuse

Each piece goes Δx across and Δy = f(xi+1) − f(xi) up or down, so it is the hypotenuse of a right triangle. Pythagoras gives its length: Δs = √(Δx² + Δy²). The zoom box on the canvas draws this triangle for the piece that was just added, with Δx, Δy and Δs. (Demo: x² on [0, 1], chords n = 1 → 16)

A right triangle with legs delta x and delta y and hypotenuse delta s, next to four steps: Pythagoras, delta s equals the square root of delta x squared plus delta y squared; take out delta x; the mean value theorem replaces delta y over delta x with f prime of c; adding and letting n go to infinity gives L equals the integral of the square root of 1 plus f prime squared
Pull Δx out of the square root and the slope Δy/Δx turns into f′(x): the integrand √(1 + f′(x)²).

From the sum to the integral

Take Δx out of the square root: Δs = √(1 + (Δy/Δx)²) · Δx. By the Mean Value Theorem, the slope Δy/Δx of a chord equals f′(c) at some point c inside the piece. So the polyline length is a Riemann sum of the function √(1 + f′(x)²), and as n → ∞ it becomes the integral

L = ∫ab √(1 + f′(x)²) dx.

The factor √(1 + f′²) says how much longer a piece is than its Δx. On a flat part (f′ = 0) it is 1. On a slope of 1 it is √2 ≈ 1.41. Where the curve is steep it is large. Compare the strips of Riemann Sums, which add height × Δx; here each strip adds stretch × Δx.

How fast the polyline converges

A straight line is the shortest path between two points, so a chord is never longer than the bit of curve it cuts off. The polyline is always a little too short, and it gets longer each time n doubles. The table on the canvas shows how many times smaller the error got (÷):

CurveExact Ln = 4n = 16Error ÷ per doubling
x² on [0, 1](2√5 + asinh 2)/4 ≈ 1.47891.47431.4787≈ 4 (error ∝ 1/n²)
sin x on [0, π]≈ 3.82023.79013.8183≈ 4
semicircle √(1 − x²)π ≈ 3.14163.03533.1285≈ 2.83 = 21.5

A smooth curve loses about the same small amount on every piece, roughly Δx³ times the bend, so the total error falls like 1/n². The semicircle is vertical at x = ±1: f′ is infinite there and √(1 + f′²) blows up. The integral is still finite (it is π), but the two end pieces stay steep and long, and the error only shrinks like 1/n1.5. (Demo: semicircle → π, infinite slope at the ends)

The staircase paradox

Why hypotenuses and not something simpler? Try a staircase: for each piece go across Δx, then straight up or down |Δy|. With more steps the staircase looks more and more like the curve, but its length never moves. On x² from (0, 0) to (1, 1) the steps add up to 1 across + 1 up = 2 for every n, while the curve is 1.4789 long. On the semicircle the staircase is 2 across + 1 up + 1 down = 4, which is the old joke "π = 4". (Demo: staircase paradox, always 2; Demo: π = 4? staircase on the semicircle)

Three copies of the diagonal from (0, 0) to (1, 1) with staircases of 1, 4 and 16 steps. Every staircase adds up to 2 while the diagonal is the square root of 2, about 1.4142
Looking close to the curve is not enough: each step's Δx + |Δy| stays longer than its hypotenuse, however small the steps.

Each step is longer than its own hypotenuse by a fixed fraction that depends only on the slope, not on the step size. Making the steps smaller makes more of them, so the extra never goes away. Only pieces that point the same way as the curve, the chords, converge to its length.

Closed forms are rare

The integrand √(1 + f′²) has a square root of a sum, and most of these integrals have no formula in elementary functions. Textbook examples are picked so it works out: y = x3/2 on [0, 4] gives √(1 + 9x/4) and L = (8/27)(10√10 − 1) ≈ 9.0734. The parabola needs asinh. One arch of sin x needs an elliptic integral, so in practice its length 3.8202 comes from a numerical method, which is exactly what the polyline is. (Demo: sin x on [0, π], no closed form)

The same strips build volumes (π f(x)² Δx) on Volumes by Slicing, and areas on the Fundamental Theorem of Calculus page.

Archimedes measured the circle the same way, with polygons inside and outside it: see Archimedes' π.

A classic arc-length result: one arch of the cycloid is exactly 8r long.

What the page leaves out

Curves given by parameters, L = ∫ √(x′(t)² + y′(t)²) dt, and in polar form, L = ∫ √(r² + r′²) dθ; curves in space; the arc-length function s(x) and reparametrizing by arc length; surface area of a solid of revolution, 2π f(x) √(1 + f′²) dx; curves that have no finite length at all, such as the Koch snowflake; and floating-point rounding when n is huge.

On the mind map

Open the Calculus mind mapCalculusLimits and derivatives: slope at a point, as a limitLimits and derivativesReading derivatives: what f′ and f″ say about fReading derivativesIntegrals: add up thin slicesIntegralsSeries: a function as an infinite sumSeriesNumerical methods: approximate when exact is hardNumerical methodsDifferential equations: know the slope, find the curveDifferential equationsChaos: simple rules, unpredictable pathsChaosVector calculus: fields that spread and spinVector calculusAccumulationAccumulationamount = area under the rate graphRiemann sumsRiemann sumsmore rectangles, closer to the exact areaFundamental theoremFundamental theoremthe area function's slope is f(x)Parts and substitutionParts and substitution∫u dv = uv − ∫v du; du = g′(x)dxVolumes by slicingVolumes by slicingadd disks π f(x)² Δx or shells 2πxh ΔxImproper integralsImproper integrals∫ 1/xᵖ from 1 to ∞ is finite only if p > 1Six types of integralsSix types of integralscut, multiply, add: curve, area, volumeArc lengthsum of tiny hypotenuses √(1 + f′²)Open the Calculus mind mapCalculusadd up thin slicesIntegralsAccumulationAccumulationamount = area under the rate graphRiemann sumsRiemann sumsmore rectangles, closer to the exact areaFundamental theoremFundamental theoremthe area function's slope is f(x)Parts and substitutionParts and substitution∫u dv = uv − ∫v du; du = g′(x)dxVolumes by slicingVolumes by slicingadd disks π f(x)² Δx or shells 2πxh ΔxImproper integralsImproper integrals∫ 1/xᵖ from 1 to ∞ is finite only if p > 1Six types of integralsSix types of integralscut, multiply, add: curve, area, volumeArc lengthsum of tiny hypotenuses √(1 + f′²)
This page on the Calculus mind map · 42 pages in 8 branches · open it to see the whole map and test yourself in recall mode.