Chapter VI · Derivatives and integrals

Areas of plane curves

§148 40 min

Why the derivative of the area under a curve is the height of the curve, how that turns area problems into integration problems, and how to find areas of loops given parametrically or in polar coordinates.

Why this matters

Up to now integration has been a purely formal game: find a function with a given derivative. Here it acquires its most important meaning. Hardy shows that the area under the curve y=ϕ(x)y = \phi(x), viewed as a function of the right-hand end xx, has derivative ϕ(x)\phi(x). So areas can be computed by integration, and every integral we have learned to find becomes a formula for an area. This is the first form of the fundamental theorem of calculus. Hardy is careful to say what he is assuming: here “area” is taken on trust, with its common-sense properties; Chapter VII defines it properly.

The idea

Let Φ(x)\Phi(x) be the area under the curve y=ϕ(x)y = \phi(x) from 00 to xx (Hardy’s region ONPP0ONPP_0, with ϕ>0\phi > 0). Move xx to x+hx + h. The area grows by a thin strip NN′P′PNN'P'P. If the strip were a rectangle, its area would be h ϕ(x)h\,\phi(x), and {Φ(x+h)−Φ(x)}/h\{\Phi(x+h) - \Phi(x)\}/h would be exactly ϕ(x)\phi(x). It is not quite a rectangle: there is a small sliver PRP′PRP' between the curve and the horizontal line through PP. The whole question is whether that sliver is small compared with hh.

Explore The strip, the rectangle and the sliver

Try this. Slide ∣h∣|h| down from 11 to 0.0010.001 and watch the readout: compare {Φ(x+h)−Φ(x)}/h\{\Phi(x+h) - \Phi(x)\}/h with ϕ(x)\phi(x). Switch on “Zoom on the strip” and do it again. Try hh negative, and try the steadily rising curve.

ϕ(x)=1.3+0.55sin⁡2.3x+0.25sin⁡6x\phi(x) = 1.3 + 0.55\sin 2.3x + 0.25\sin 6x, area Φ(x)\Phi(x) from 00 to xx
xy
  • Φ(x), area so far
  • rectangle h·φ(x)
  • sliver PRP′ (signed)
  • φ(x) ± λ(h)
Φ(x)=2.607\Phi(x) = 2.607. Strip: Φ(x+h)−Φ(x)h=0.78962\dfrac{\Phi(x+h) - \Phi(x)}{h} = 0.78962, while ϕ(x)=0.9744\phi(x) = 0.9744. The difference μ(h)=−0.185\mu(h) = -0.185 is bounded by λ(h)=0.424\lambda(h) = 0.424, and both shrink to 00 with hh.
What to notice

The sliver (vermillion) always lies inside the green band of half-width λ(h)\lambda(h), the largest distance of the arc PP′PP' from the horizontal through PP, so its area is at most ∣h∣ λ(h)|h|\,\lambda(h). As h→0h \to 0, λ(h)→0\lambda(h) \to 0 because ϕ\phi is continuous, so the quotient tends to ϕ(x)\phi(x). In the zoomed view the curve over the strip looks flatter and flatter, and the strip becomes a rectangle. The curve need not rise or fall steadily; that is why Hardy uses λ(h)\lambda(h) rather than the height kk of the step.

Precise statements

Hardy assumes that a region such as ONPP0ONPP_0 has an area, a positive number, and that areas behave as common sense says: the area of a region cut into two pieces is the sum of their areas, a region inside another has smaller area, and a rectangle has area base times height.

Theorem The ordinate is the derivative of the area Hardy: §148

Let ϕ\phi be continuous and positive, and let Φ(x)\Phi(x) be the area bounded by the curve y=ϕ(x)y = \phi(x), the axis of xx and the ordinates at 00 and xx. Then Φ\Phi is continuous and differentiable, and

Φ′(x)=ϕ(x).\Phi'(x) = \phi(x) .

In Hardy’s words, the ordinate of the curve is the derivative of the area, and the area is the integral of the ordinate. This gives a rule:

Corollary Computing an area Hardy: §148

To find the area under y=ϕ(x)y = \phi(x) between the ordinates x=x1x = x_1 and x=x2x = x_2 (x1<x2x_1 < x_2), find any integral Φ\Phi of ϕ\phi; the area is Φ(x2)−Φ(x1)\Phi(x_2) - \Phi(x_1). If the curve lies below the axis, this difference is negative, and its absolute value is the area.

The rule holds because two integrals of ϕ\phi differ by a constant (§130), so the area function, which vanishes at x1x_1, is Φ(x)−Φ(x1)\Phi(x) - \Phi(x_1). When the curve crosses the axis, Φ(x2)−Φ(x1)\Phi(x_2) - \Phi(x_1) is a signed area: parts below the axis count negatively.

Explore Signed area: sin⁡x\sin x from 00 to 2π2\pi

Try this. Drag xx from 00 to about 6.286.28. Watch the lower curve, F(x)=∫0xsin⁡t dt=1−cos⁡xF(x) = \int_0^x\sin t\,dt = 1 - \cos x.

F(x)=∫axsin⁡t dtF(x) = \int_{a}^{x} \sin t\,dt, a=0a = 0
tf(t)
xF(x)
  • f(t)
  • counts +
  • counts −
  • F(x)
  • x (drag)
F(4)=∫04sin⁡t dt=1.6536F(4) = \int_{0}^{4} \sin t\,dt = 1.6536. Slope of FF at xx: F′(x)=f(x)=−0.7568F'(x) = f(x) = −0.7568.
What to notice

FF rises to 22 at x=πx = \pi, then falls back to 00 at x=2πx = 2\pi: the part of the curve below the axis is counted negatively. The total geometric area between the curve and the axis is 2+2=42 + 2 = 4; it is found by integrating separately over [0,π][0, \pi] and [π,2π][\pi, 2\pi] (Hardy’s Ex. LIV. 7).

Loops given by parameters

Many curves are best described by x=ϕ(t)x = \phi(t), y=ψ(t)y = \psi(t). If xx increases with tt, the substitution rule turns the area under the curve into ∫y dxdt dt\int y\,\dfrac{dx}{dt}\,dt (Hardy’s Ex. LIV. 8). For a closed loop there is a neater formula, which measures the area as the region swept out by the radius from the origin: the radius moving from P(t)P(t) to P(t+dt)P(t + dt) sweeps a thin triangle of area about 12(x dy−y dx)\tfrac12(x\,dy - y\,dx).

Proposition Area of a loop Hardy: Examples LIV, 9

If a closed curve x=ϕ(t)x = \phi(t), y=ψ(t)y = \psi(t) (with continuous derivatives), forming a single loop that no parallel to either axis meets in more than two points, is described once anticlockwise as tt goes from t0t_0 to t1t_1, its area is the increase from t0t_0 to t1t_1 of any of

−∫y dxdt dt,∫x dydt dt,12∫(xdydt−ydxdt)dt.-\int y\,\frac{dx}{dt}\,dt, \qquad \int x\,\frac{dy}{dt}\,dt, \qquad \frac12\int\left(x\frac{dy}{dt} - y\frac{dx}{dt}\right)dt .

In polar coordinates r=f(θ)r = f(\theta), the area swept between the radii θ1\theta_1 and θ2\theta_2 is the increase of 12∫r2 dθ\tfrac12\int r^2\,d\theta (Ex. LIV. 18).

Explore Sweeping out a loop

Try this. Drag the slider to trace the loop of the folium x3+y3=3xyx^3 + y^3 = 3xy and watch the swept area grow towards 32\frac32. Then try the ellipse, the figure-of-eight loop and the cardioid.

x=3t1+t3, y=3t21+t3, 0≤t<∞x = \dfrac{3t}{1+t^3},\ y = \dfrac{3t^2}{1+t^3},\ 0 \le t < \infty
xy
  • region swept so far
  • radius OP
  • origin O
Swept so far: 12∫(x dy−y dx)≈0.3429\tfrac12\int (x\,dy - y\,dx) \approx 0.3429. For the whole loop the exact area is 32a2=1.5\tfrac32 a^2 = 1.5.
What to notice

The radius from the origin sweeps exactly the region inside the loop when the origin is on or inside the loop and every ray from it meets the curve once more, as here. The readout adds up the thin triangles 12(x dy−y dx)\frac12(x\,dy - y\,dx); at 100% it agrees with the exact area to the digits shown.

Proofs

Proof The ordinate is the derivative of the area
Strategy

Compare the strip Φ(x+h)−Φ(x)\Phi(x+h) - \Phi(x) with the rectangle h ϕ(x)h\,\phi(x). The difference is the sliver PRP′PRP', whose area is at most ∣h∣|h| times the largest vertical distance λ(h)\lambda(h) of the arc PP′PP' from the horizontal through PP. Continuity of ϕ\phi makes λ(h)→0\lambda(h) \to 0.

Split the strip (take h>0h > 0)

By the additivity of area, Φ(x+h)−Φ(x)\Phi(x+h) - \Phi(x) is the area of the strip NN′P′PNN'P'P, and this equals h ϕ(x)+(PRP′)h\,\phi(x) + (PRP'), where (PRP′)(PRP') is the area between the arc and the line y=ϕ(x)y = \phi(x), counted negatively where the arc is below the line. For h<0h < 0 the same holds with the strip on the left.

Bound the sliver

Let λ(h)\lambda(h) be the largest value of ∣ϕ(t)−ϕ(x)∣|\phi(t) - \phi(x)| for tt between xx and x+hx + h. The sliver lies in a rectangle of width ∣h∣|h| and height λ(h)\lambda(h) (above or below the line), so ∣(PRP′)∣≤∣h∣ λ(h)|(PRP')| \le |h|\,\lambda(h). Write (PRP′)=h μ(h)(PRP') = h\,\mu(h); then ∣μ(h)∣≤λ(h)|\mu(h)| \le \lambda(h), and

Φ(x+h)−Φ(x)=h{ϕ(x)+μ(h)}.\Phi(x+h) - \Phi(x) = h\{\phi(x) + \mu(h)\}.

λ(h)→0\lambda(h) \to 0

Let ε>0\varepsilon > 0. By continuity of ϕ\phi at xx there is δ>0\delta > 0 with ∣ϕ(t)−ϕ(x)∣<ε|\phi(t) - \phi(x)| < \varepsilon whenever ∣t−x∣<δ|t - x| < \delta. So λ(h)≤ε\lambda(h) \le \varepsilon when ∣h∣<δ|h| < \delta.

Continuity and the derivative

From the last two steps, Φ(x+h)−Φ(x)→0\Phi(x+h) - \Phi(x) \to 0 as h→0h \to 0, so Φ\Phi is continuous; and Φ(x+h)−Φ(x)h=ϕ(x)+μ(h)→ϕ(x)\dfrac{\Phi(x+h) - \Phi(x)}{h} = \phi(x) + \mu(h) \to \phi(x), so Φ′(x)=ϕ(x)\Phi'(x) = \phi(x).

The argument is rigorous given the existence of areas with the stated properties. The gap is exactly that assumption, which Chapter VII fills by defining the area (the definite integral) as a limit of sums. Note also what the proof gives for free: since Φ\Phi is an integral of ϕ\phi, every continuous ϕ\phi has an integral. (The theorem assumed ϕ>0\phi > 0; on a closed interval a continuous ϕ\phi is bounded, so ϕ+K\phi + K is positive for a suitable constant KK, and if Φ\Phi is an integral of ϕ+K\phi + K then Φ−Kx\Phi - Kx is an integral of ϕ\phi.) This is the existence theorem promised in §130.

Proof Area of a loop: the triangle formula
Strategy

Cut the loop by vertical lines into an upper and a lower arc, use “area under the upper arc minus area under the lower arc”, and convert each to an integral in tt; then average with the analogous horizontal computation.

Upper minus lower

Going anticlockwise, the lower arc is traversed with xx increasing and the upper arc with xx decreasing. The area under an arc traversed with xx increasing is the increase of ∫y dxdt dt\int y\,\frac{dx}{dt}\,dt (substitution, §136); traversed backwards it gives minus that area.

Add

So the increase of ∫y dxdt dt\int y\,\frac{dx}{dt}\,dt over the whole circuit is (area under lower) −- (area under upper) =−= -(area of the loop). This is the first formula.

The other two

The same argument with the roles of xx and yy exchanged gives the second (the sign flips because going anticlockwise is clockwise in the (y,x)(y, x) plane). The third is their average.

Polar form

With x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta and θ\theta as parameter, xdydθ−ydxdθ=r2(cos⁡2θ+sin⁡2θ)=r2x\frac{dy}{d\theta} - y\frac{dx}{d\theta} = r^2(\cos^2\theta + \sin^2\theta) = r^2, the terms in dr/dθdr/d\theta cancelling.

Worked examples and exercises

Exercise Under a parabola ●○○ Hardy: Examples LIV, 1

Find the area bounded by the parabola y=x2/4ay = x^2/4a (a>0a > 0), the axis of xx and the ordinate x=ξ>0x = \xi > 0.

Hint
An integral of x2/4ax^2/4a is x3/12ax^3/12a; choose the constant so that it vanishes at x=0x = 0.

Solution

Φ(x)=x3/12a\Phi(x) = x^3/12a, with Φ(0)=0\Phi(0) = 0, so the area is ξ3/12a\xi^3/12a. Note that it is one third of the rectangle ξ⋅ξ2/4a\xi\cdot\xi^2/4a with the same base and height, as Archimedes found.

Exercise The ellipse ●●○ Hardy: Examples LIV, 2

Show that the area of the ellipse x2/a2+y2/b2=1x^2/a^2 + y^2/b^2 = 1 is πab\pi ab, (i) from y=b1−x2/a2y = b\sqrt{1 - x^2/a^2} and (ii) from the parametric form x=acos⁡tx = a\cos t, y=bsin⁡ty = b\sin t.

Hint
(i) Use ∫α2−x2 dx=12xα2−x2+12α2arcsin⁡(x/α)\int\sqrt{\alpha^2 - x^2}\,dx = \tfrac12x\sqrt{\alpha^2-x^2} + \tfrac12\alpha^2\arcsin(x/\alpha) from the lesson on parts.
Hint
(ii) x dydt−y dxdt=abx\,\dfrac{dy}{dt} - y\,\dfrac{dx}{dt} = ab.

Solution

(i) The upper half has area ba[12xa2−x2+12a2arcsin⁡xa]−aa=ba⋅12a2π=12πab\dfrac{b}{a}\left[\tfrac12x\sqrt{a^2-x^2} + \tfrac12a^2\arcsin\dfrac xa\right]_{-a}^{a} = \dfrac ba\cdot\tfrac12a^2\pi = \tfrac12\pi ab. Double it.

(ii) 12∫02π(acos⁡t⋅bcos⁡t+bsin⁡t⋅asin⁡t) dt\tfrac12\displaystyle\int_0^{2\pi}(a\cos t\cdot b\cos t + b\sin t\cdot a\sin t)\,dt increases by 12ab⋅2π=πab\tfrac12ab\cdot 2\pi = \pi ab. The widget’s ellipse has a=2a = 2, b=1b = 1, area 2π2\pi.

Exercise The loop of the folium ●●○ Hardy: Examples LIV, 11

Find the area of the loop of x3+y3=3axyx^3 + y^3 = 3axy.

Hint
Put y=txy = tx: x=3at/(1+t3)x = 3at/(1+t^3), y=3at2/(1+t3)y = 3at^2/(1+t^3). The loop is described once as tt goes from 00 to ∞\infty.
Hint
x dy−y dx=x2 d(y/x)=x2 dtx\,dy - y\,dx = x^2\,d(y/x) = x^2\,dt.

Solution

Since y/x=ty/x = t, we have xdydt−ydxdt=x2ddt(yx)=x2=9a2t2(1+t3)2x\dfrac{dy}{dt} - y\dfrac{dx}{dt} = x^2\dfrac{d}{dt}\left(\dfrac yx\right) = x^2 = \dfrac{9a^2t^2}{(1+t^3)^2}. An integral is 12∫9a2t2 dt(1+t3)2=−3a22(1+t3)\tfrac12\displaystyle\int\frac{9a^2t^2\,dt}{(1+t^3)^2} = -\frac{3a^2}{2(1+t^3)}. Its increase from t=0t = 0 to t→∞t \to \infty is 0−(−32a2)=32a20 - \left(-\tfrac32a^2\right) = \tfrac32a^2. (Strictly, we take the limit as t→∞t \to \infty; the widget traces the loop for a=1a = 1.)

Exercise A figure-of-eight ●●○ Hardy: Examples LIV, 14

Prove that the area of a loop of x=asin⁡2tx = a\sin 2t, y=asin⁡ty = a\sin t is 43a2\tfrac43a^2.

Hint
One loop is 0≤t≤π0 \le t \le \pi. Compute xy˙−yx˙x\dot y - y\dot x and simplify with sin⁡2t=2sin⁡tcos⁡t\sin 2t = 2\sin t\cos t, cos⁡2t=2cos⁡2t−1\cos 2t = 2\cos^2t - 1.

Solution

xy˙−yx˙=a2(sin⁡2tcos⁡t−2sin⁡tcos⁡2t)=a2(2sin⁡tcos⁡2t−4sin⁡tcos⁡2t+2sin⁡t)=2a2sin⁡t(1−cos⁡2t)=2a2sin⁡3tx\dot y - y\dot x = a^2(\sin 2t\cos t - 2\sin t\cos 2t) = a^2(2\sin t\cos^2t - 4\sin t\cos^2t + 2\sin t) = 2a^2\sin t(1 - \cos^2 t) = 2a^2\sin^3t. So the area is the increase of a2∫sin⁡3t dta^2\int\sin^3t\,dt from 00 to π\pi. Since sin⁡3t=sin⁡t−cos⁡2tsin⁡t\sin^3t = \sin t - \cos^2t\sin t, an integral is −cos⁡t+13cos⁡3t-\cos t + \tfrac13\cos^3t, which increases by (1−13)−(−1+13)=43\left(1 - \tfrac13\right) - \left(-1 + \tfrac13\right) = \tfrac43. The area is 43a2\tfrac43a^2.

Exercise The limaçon ●●○ Hardy: Examples LIV, 18 (iii)

Find the area enclosed by the limaçon r=a+bcos⁡θr = a + b\cos\theta when a≥b>0a \ge b > 0.

Hint
Use 12∫r2 dθ\tfrac12\int r^2\,d\theta over 0≤θ≤2π0 \le \theta \le 2\pi, and cos⁡2θ=12(1+cos⁡2θ)\cos^2\theta = \tfrac12(1 + \cos 2\theta).

Solution

12r2=12a2+abcos⁡θ+14b2(1+cos⁡2θ)\tfrac12r^2 = \tfrac12a^2 + ab\cos\theta + \tfrac14b^2(1 + \cos 2\theta). Over a full turn the cosine terms contribute nothing, so the area is 2π(12a2+14b2)=π(a2+12b2)2\pi\left(\tfrac12a^2 + \tfrac14b^2\right) = \pi\left(a^2 + \tfrac12b^2\right). For a=ba = b (the cardioid of the widget, with a=b=1a = b = 1) this is 32πa2\tfrac32\pi a^2. If a<ba < b the curve has an inner loop, which the formula counts twice; Hardy asks you to distinguish this case.

Check yourself

Check yourself Enter a number

What is the total area between y=sin⁡xy = \sin x and the axis of xx for 0≤x≤2π0 \le x \le 2\pi, counting every part positively?

Why

From 00 to π\pi: −cos⁡π+cos⁡0=2-\cos\pi + \cos 0 = 2. From π\pi to 2π2\pi the integral gives −2-2, an area of 22 below the axis. Total 44. The single computation −cos⁡2π+cos⁡0=0-\cos 2\pi + \cos 0 = 0 gives the signed area.

Check yourself Choose one

In the proof that Φ′(x)=ϕ(x)\Phi'(x) = \phi(x), which property of ϕ\phi makes the sliver negligible?

Why

The sliver is at most ∣h∣λ(h)|h|\lambda(h), and λ(h)→0\lambda(h) \to 0 is exactly continuity at xx. Monotonicity is not needed (Hardy’s Fig. 42a shows a curve that rises and falls), nor differentiability. Positivity only keeps the region above the axis.

Check yourself True or false?

The area under y=[x]y = [x] (the integral part) from 00 to xx is a differentiable function of xx.

Why

False. At an integer the curve jumps, so λ(h)\lambda(h) does not tend to 00, and the one-sided difference quotients of the area tend to the two different heights. The area function has corners at the integers. The theorem needs continuity of ϕ\phi at the point.

Check yourself Enter a number

What is the area under y=x2y = x^2 from 00 to 11?

Why

Φ(x)=x3/3\Phi(x) = x^3/3 with Φ(0)=0\Phi(0) = 0, so the area is 13\tfrac13.

Hardy’s language

Thus the ordinate of the curve is the derivative of the area, and the area is the integral of the ordinate.

— G. H. Hardy, §148

Summary

Summary
  • The area Φ(x)\Phi(x) under a continuous curve satisfies Φ′(x)=ϕ(x)\Phi'(x) = \phi(x): the strip is a rectangle hϕ(x)h\phi(x) plus a sliver of area at most ∣h∣λ(h)|h|\lambda(h), and λ(h)→0\lambda(h) \to 0 by continuity.
  • So areas are found by integration: Φ(x2)−Φ(x1)\Phi(x_2) - \Phi(x_1) for any integral Φ\Phi of ϕ\phi. Parts below the axis count negatively.
  • The proof assumes that areas exist; Chapter VII proves it. Granted that, every continuous function has an integral.
  • For a loop traced once anticlockwise, the area is the increase of 12∫(xy˙−yx˙) dt\tfrac12\int(x\dot y - y\dot x)\,dt; in polar coordinates, of 12∫r2 dθ\tfrac12\int r^2\,d\theta.