Chapter VI · Derivatives and integrals

Lengths of plane curves

§149 30 min

Why length is harder to pin down than area, the formula S′(x)=1+ϕ′(x)2S'(x) = \sqrt{1 + \phi'(x)^2} and what it assumes, and its parametric and polar forms.

Why this matters

After areas, lengths. The formula is familiar: the length of y=ϕ(x)y = \phi(x) from aa to bb is ∫ab1+ϕ′(x)2 dx\int_a^b\sqrt{1 + \phi'(x)^2}\,dx. But Hardy is frank that he cannot prove it at this stage, and the reason is instructive. For area, assuming that regions have areas with the obvious properties was enough to derive everything. For length, the analogous assumption is not enough: even the continuity of the arc length is not obvious. The section therefore does two things: it shows what the formula must be, and it makes clear which extra assumption is used.

The idea

The natural way to measure a curve is with a ruler: mark points on it, join them by chords, and add up the chord lengths. The finer the marking, the closer the polygon hugs the curve, and its length should approach the length of the curve.

But “hugging the curve” is not enough. A staircase of horizontal and vertical steps can lie as close to the curve as we like, and yet its length never changes: it is always the total horizontal run plus the total vertical rise. So which approximations converge to the length is a real question.

Explore Chords versus staircases

Try this. Increase the number of pieces nn and watch the polygon length approach the value of the formula. Look at the ratio arc/chord for the worst piece. Then switch on the staircase and increase nn again. Try the quarter circle too.

y=14x2, 0≤x≤3y = \tfrac14x^2,\ 0 \le x \le 3
xy
  • the curve
  • inscribed polygon
Polygon with n=4n = 4 chords: length 3.889163.88916. Formula ∫1+ϕ′(x)2 dx=32134+log⁡(32+134)=3.89893\int\sqrt{1 + \phi'(x)^2}\,dx = \tfrac32\sqrt{\tfrac{13}{4}} + \log\left(\tfrac32 + \sqrt{\tfrac{13}{4}}\right) = 3.89893. Largest ratio arc/chord over the pieces: 1.00541.0054.
What to notice

The chord polygons approach the formula’s value from below (an inscribed polygon is never longer than the arc), and the worst ratio arc/chord tends to 11: this is Hardy’s assumption lim⁡{PP′}/PP′=1\lim\{PP'\}/PP' = 1. The staircase gets as close to the curve as you like but its length is stuck at (b−a)+∣ϕ(b)−ϕ(a)∣(b - a) + |\phi(b) - \phi(a)| for a monotonic curve. For the quarter circle it stays at 22 while the arc is 12π≈1.571\frac12\pi \approx 1.571.

Precise statements

Theorem Length of a curve (assuming lengths exist) Hardy: §149

Let ϕ\phi have a continuous derivative. Suppose that the arc P0PP_0P of y=ϕ(x)y = \phi(x) from x=0x = 0 has a length S(x)S(x), and that the ratio of a small arc to its chord tends to 11: lim⁡h→0{PP′}/PP′=1\lim_{h\to 0}\{PP'\}/PP' = 1, where P′P' is the point with abscissa x+hx + h. Then

S′(x)=1+{ϕ′(x)}2,S(x)=∫1+{ϕ′(x)}2 dx.S'(x) = \sqrt{1 + \{\phi'(x)\}^2}, \qquad S(x) = \int\sqrt{1 + \{\phi'(x)\}^2}\,dx .

The same reasoning applied to a curve x=ϕ(t)x = \phi(t), y=ψ(t)y = \psi(t), or to r=f(θ)r = f(\theta), gives

dSdt=(dxdt)2+(dydt)2,dSdθ=r2+(drdθ)2.\frac{dS}{dt} = \sqrt{\left(\frac{dx}{dt}\right)^2 + \left(\frac{dy}{dt}\right)^2}, \qquad \frac{dS}{d\theta} = \sqrt{r^2 + \left(\frac{dr}{d\theta}\right)^2} .

The polar form is Hardy’s Ex. LIV. 18. These integrals are often not elementary: the arc of an ellipse x=asin⁡tx = a\sin t, y=bcos⁡ty = b\cos t leads to a∫1−e2sin⁡2t dta\int\sqrt{1 - e^2\sin^2t}\,dt (ee the eccentricity), an elliptic integral, which cannot be expressed by the functions at our disposal (Ex. LIV. 16).

Proofs

Proof Length of a curve
Strategy

Write the difference quotient of SS as (arc/chord) × (chord/hh). The first factor tends to 11 by assumption. The second is computed from Pythagoras and the mean value theorem.

Split the quotient

With P=(x,ϕ(x))P = (x, \phi(x)) and P′=(x+h,ϕ(x+h))P' = (x + h, \phi(x + h)), the increase S(x+h)−S(x)S(x+h) - S(x) is the length {PP′}\{PP'\} of the arc (for h>0h > 0; for h<0h < 0 swap the roles of PP and P′P'). So S(x+h)−S(x)h={PP′}PP′⋅PP′h.\frac{S(x+h) - S(x)}{h} = \frac{\{PP'\}}{PP'}\cdot\frac{PP'}{h} .

The chord by Pythagoras

With k=ϕ(x+h)−ϕ(x)k = \phi(x + h) - \phi(x), the chord is PP′=h2+k2=∣h∣1+k2/h2PP' = \sqrt{h^2 + k^2} = |h|\sqrt{1 + k^2/h^2}.

Mean value theorem

k=h ϕ′(ξ)k = h\,\phi'(\xi) for some ξ\xi between xx and x+hx + h (§126). So PP′/∣h∣=1+ϕ′(ξ)2PP'/|h| = \sqrt{1 + \phi'(\xi)^2}.

Let h→0h \to 0

As h→0h \to 0, ξ→x\xi \to x, and since ϕ′\phi' is continuous, 1+ϕ′(ξ)2→1+ϕ′(x)2\sqrt{1 + \phi'(\xi)^2} \to \sqrt{1 + \phi'(x)^2}. With the assumption {PP′}/PP′→1\{PP'\}/PP' \to 1, the quotient tends to 1+ϕ′(x)2\sqrt{1 + \phi'(x)^2}. (For h<0h < 0 both the arc and hh change sign, and the limit is the same.)

Where is the weak point? It is the assumption that {PP′}/PP′→1\{PP'\}/PP' \to 1, together with the existence of S(x)S(x) at all. Both need a definition of length. The modern one is exactly the chord polygon of the widget: the length of a curve is the least upper bound of the lengths of all inscribed polygons, and a curve is rectifiable when this is finite. With that definition, and ϕ′\phi' continuous, one can prove the formula; a continuous curve need not be rectifiable at all (the graph of xsin⁡(1/x)x\sin(1/x) near 00 has infinite length: between consecutive zeros 1/{(k+1)π}1/\{(k+1)\pi\} and 1/(kπ)1/(k\pi) it climbs to a height of roughly 1/{(k+12)π}1/\{(k + \tfrac12)\pi\} and comes back, and ∑1/k\sum 1/k diverges).

Worked examples and exercises

Exercise An arc of a parabola ●●○ Hardy: Examples LIV, 1

Find the length of the arc of y=x2/4ay = x^2/4a from the origin to x=ξx = \xi.

Hint
1+ϕ′(x)2=1+x2/4a2=12ax2+4a2\sqrt{1 + \phi'(x)^2} = \sqrt{1 + x^2/4a^2} = \dfrac{1}{2a}\sqrt{x^2 + 4a^2}.
Hint
Use ∫x2+α2 dx=12xx2+α2+12α2log⁡{x+x2+α2}\int\sqrt{x^2 + \alpha^2}\,dx = \tfrac12x\sqrt{x^2+\alpha^2} + \tfrac12\alpha^2\log\{x + \sqrt{x^2+\alpha^2}\} with α=2a\alpha = 2a.

Solution
S=12a[12xx2+4a2+2a2log⁡{x+x2+4a2}]0ξ=ξξ2+4a24a+alog⁡ξ+ξ2+4a22a.S = \frac{1}{2a}\left[\tfrac12x\sqrt{x^2 + 4a^2} + 2a^2\log\{x + \sqrt{x^2+4a^2}\}\right]_0^\xi = \frac{\xi\sqrt{\xi^2+4a^2}}{4a} + a\log\frac{\xi + \sqrt{\xi^2+4a^2}}{2a} .

For a=1a = 1, ξ=3\xi = 3 this is 3413+log⁡3+132≈3.8989\tfrac34\sqrt{13} + \log\dfrac{3 + \sqrt{13}}{2} \approx 3.8989, the value in the widget.

Exercise A curve with an elementary length ●○○ Hardy: §149

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

Hint
1+ϕ′(x)2=1+94x1 + \phi'(x)^2 = 1 + \tfrac94x.

Solution

∫041+94x dx=[827(1+94x)3/2]04=827(103/2−1)≈9.073\displaystyle\int_0^4\sqrt{1 + \tfrac94x}\,dx = \left[\tfrac{8}{27}\left(1 + \tfrac94x\right)^{3/2}\right]_0^4 = \tfrac{8}{27}\left(10^{3/2} - 1\right) \approx 9.073, using the linear change of variable. Curves for which 1+ϕ′21 + \phi'^2 is a perfect square, or simple like this, are the exception rather than the rule.

Exercise A circle in polar coordinates ●○○ Hardy: Examples LIV, 18 (i)

Find the area and the perimeter of the circle r=2asin⁡θr = 2a\sin\theta, 0≤θ≤π0 \le \theta \le \pi.

Hint
r2+(dr/dθ)2=4a2sin⁡2θ+4a2cos⁡2θr^2 + (dr/d\theta)^2 = 4a^2\sin^2\theta + 4a^2\cos^2\theta.

Solution

Perimeter: r2+r′2=2a\sqrt{r^2 + r'^2} = 2a, so the length is 2a⋅π=2πa2a\cdot\pi = 2\pi a. Area: 12∫0π4a2sin⁡2θ dθ=2a2⋅12π=πa2\tfrac12\int_0^\pi 4a^2\sin^2\theta\,d\theta = 2a^2\cdot\tfrac12\pi = \pi a^2. This is a circle of radius aa through the origin, as it should be.

Exercise The cycloid ●●○ Hardy: §149; the cycloid of Examples LIV, 17

For the cycloid x=a(t+sin⁡t)x = a(t + \sin t), y=a(1+cos⁡t)y = a(1 + \cos t), find the length of the arch −π≤t≤π-\pi \le t \le \pi.

Hint
x˙2+y˙2=a2{(1+cos⁡t)2+sin⁡2t}=2a2(1+cos⁡t)\dot x^2 + \dot y^2 = a^2\{(1 + \cos t)^2 + \sin^2t\} = 2a^2(1 + \cos t). Use 1+cos⁡t=2cos⁡212t1 + \cos t = 2\cos^2\tfrac12t.

Solution

x˙2+y˙2=2a∣cos⁡12t∣=2acos⁡12t\sqrt{\dot x^2 + \dot y^2} = 2a|\cos\tfrac12t| = 2a\cos\tfrac12t for ∣t∣≤π|t| \le \pi. An integral is 4asin⁡12t4a\sin\tfrac12t, which increases by 4a−(−4a)=8a4a - (-4a) = 8a. The arch of a cycloid is four times the diameter of the rolling circle, a result of Wren (1658).

Exercise The ellipse leads to a new kind of integral ●○○ Hardy: Examples LIV, 16

Show that the arc of the ellipse x=asin⁡tx = a\sin t, y=bcos⁡ty = b\cos t (a>ba > b) from t1t_1 to t2t_2 is the increase of a∫1−e2sin⁡2t dta\int\sqrt{1 - e^2\sin^2 t}\,dt, where e2=1−b2/a2e^2 = 1 - b^2/a^2.

Hint
Compute x˙2+y˙2\dot x^2 + \dot y^2 and write cos⁡2t=1−sin⁡2t\cos^2t = 1 - \sin^2t.

Solution

x˙2+y˙2=a2cos⁡2t+b2sin⁡2t=a2−(a2−b2)sin⁡2t=a2(1−e2sin⁡2t)\dot x^2 + \dot y^2 = a^2\cos^2t + b^2\sin^2t = a^2 - (a^2 - b^2)\sin^2t = a^2(1 - e^2\sin^2t). So dS/dt=a1−e2sin⁡2tdS/dt = a\sqrt{1 - e^2\sin^2t}. For 0<e<10 < e < 1 none of the methods of this chapter applies, and in fact the integral is not an elementary function. This is the origin of the name “elliptic integral”.

Check yourself

Check yourself True or false?

If a sequence of paths gets uniformly closer and closer to a curve, their lengths tend to the length of the curve.

Why

False. The staircases in the widget converge to the curve uniformly, but their lengths are constant, and different from the curve’s length. Length is not continuous under this kind of convergence. That is why length is defined through inscribed polygons, whose vertices lie on the curve.

Check yourself Enter a number

Compute the length of y=1−x2y = \sqrt{1 - x^2} from x=0x = 0 to x=1x = 1 from the formula (three decimals).

Why

1+ϕ′2=1+x21−x2=11−x21 + \phi'^2 = 1 + \dfrac{x^2}{1-x^2} = \dfrac{1}{1-x^2}, so the length is arcsin⁡1−arcsin⁡0=12π≈1.571\arcsin 1 - \arcsin 0 = \tfrac12\pi \approx 1.571. The integrand is unbounded at x=1x = 1; the formula is still right, as a limit.

Check yourself Choose one

Which ingredient of Hardy’s derivation of S′(x)=1+ϕ′(x)2S'(x) = \sqrt{1 + \phi'(x)^2} is an assumption, not proved in Chapter VI?

Why

The chord length is Pythagoras, the second is the mean value theorem, and the fourth follows from continuity of ϕ′\phi'. That arcs have lengths, and that arc and chord are asymptotically equal, are exactly what a definition of length must supply.

Hardy’s language

Indeed it is not possible to proceed further, with any degree of rigour, without a careful analysis of just what is meant by the length of a curve.

— G. H. Hardy, §149

Summary

Summary
  • Length is measured by inscribed polygons; arbitrary approximating paths (staircases) can have the wrong length.
  • If arcs have lengths and arc/chord →1\to 1, then S′(x)=1+ϕ′(x)2S'(x) = \sqrt{1 + \phi'(x)^2}; the proof is Pythagoras plus the mean value theorem.
  • Parametric form ∫x˙2+y˙2 dt\int\sqrt{\dot x^2 + \dot y^2}\,dt; polar form ∫r2+r′2 dθ\int\sqrt{r^2 + r'^2}\,d\theta.
  • Few curves have elementary lengths; the ellipse already leads to a non-elementary (elliptic) integral.