Chapter VII · Additional theorems in the differential and integral calculus

The measure of an angle and the circular functions

§163 35 min

An angle is measured by twice the area of the sector it cuts from the unit circle, and this turns arctan⁡m\arctan m into the integral ∫0mdt/(1+t2)\int_0^m dt/(1+t^2).

Why this matters

Since Chapter II we have been using sin⁡x\sin x and cos⁡x\cos x, differentiating them, and expanding them in series. But what is the number xx in sin⁡x\sin x? School trigonometry says “the angle in radians, the length of the arc”, and Hardy points out that we have never proved that a curved arc has a length. §163 repairs this with the tool of the previous lesson: it measures an angle by an area, which we can now define, and shows that this measure is given by a definite integral. That integral is the foundation on which Chapter IX builds the whole theory of the circular functions.

The idea

Everyone agrees on what an angle is: two rays OAOA and OPOP from a point. The difficulty is to attach a number to it. The usual answer is the length of the arc APAP of the unit circle centred at OO. A neat alternative is available. The sector AOPAOP of a unit circle with arc length xx has area 12x\tfrac12 x (a full circle has circumference 2π2\pi and area π\pi). So “arc length” and “twice the sector area” are the same number, whenever both make sense; and we do know what area means, since §161.

Put OAOA along the positive xx-axis and let OPOP be the ray y=mxy = mx with m>0m > 0. The sector is cut from the quarter disc by that ray. The widget computes its area from the definition, and compares twice that area with a quite different area: the region under y=1/(1+t2)y = 1/(1+t^2) from t=0t = 0 to t=mt = m.

Explore Twice a sector is an area under 1/(1+t2)1/(1+t^2)

Try this. Drag PP round the circle, or move the slider for the slope mm. Compare the two numbers in the read-out: twice the sector area, and the area under the curve on the right. Then switch on Hardy’s split, and push mm as far as it will go.

The unit circle and the ray y=1 xy = 1\,x
The curve y=11+t2y = \dfrac{1}{1+t^2}, area from 00 to mm
t
  • sector AOP
  • the ray y = mx (drag P)
Sector area ϕ(m)=12mμ2+∫μ11−x2 dx=0.25+0.1427=0.392699\phi(m) = \tfrac12 m\mu^2 + \int_\mu^1 \sqrt{1-x^2}\,dx = 0.25 + 0.1427 = 0.392699
Twice that is 0.7853980.785398; and ∫0mdt1+t2=0.785398\int_0^{m} \frac{dt}{1+t^2} = 0.785398.
As mm grows without bound the sector fills a quarter of the disc, so the angle tends to 2⋅π4=π2≈1.5707962 \cdot \tfrac{\pi}{4} = \tfrac{\pi}{2} \approx 1.570796.
What to notice

The two numbers agree for every mm, although one is an area inside a circle and the other an area under a quite different curve. With the split on you see how the sector is computed: a triangle plus the region under the arc. As mm grows the sector creeps towards the full quarter disc, and the area under 1/(1+t2)1/(1+t^2) creeps towards the same limit, about 1.57081.5708, although the interval [0,m][0, m] is unbounded.

The agreement is not a coincidence, and the proof is a single differentiation. Write ϕ(m)\phi(m) for the area of the sector. If we can show that ϕ′(m)=12(1+m2)\phi'(m) = \frac{1}{2(1+m^2)}, then since ϕ(0)=0\phi(0) = 0 the fundamental theorem gives ϕ(m)=12∫0mdt/(1+t2)\phi(m) = \tfrac12\int_0^m dt/(1+t^2). And ϕ′(m)\phi'(m) is easy to find, because the sector splits into two pieces whose areas we can write down: a triangle, and a region under the arc y=1−x2y = \sqrt{1 - x^2}.

Precise statements

Definition Measure of an angle Hardy: §163

Let AA and PP lie on the circle of radius 11 with centre OO. The measure of the angle AOPAOP is twice the area of the sector AOPAOP.

Theorem The sector area as an integral Hardy: §163

Let OAOA be the positive xx-axis and OPOP the ray y=mxy = mx, m≥0m \ge 0, and let ϕ(m)\phi(m) be the area of the sector AOPAOP of the unit circle. Then

ϕ(m)=12∫0mdt1+t2.\phi(m) = \frac12 \int_0^m \frac{dt}{1+t^2} .

So the measure of the angle between the xx-axis and the ray y=mxy = mx is ∫0mdt/(1+t2)\int_0^m dt/(1+t^2). Since the tangent of that angle is mm, this is the analytical form of the definition.

Definition The inverse tangent Hardy: §163

For every real mm,

arctan⁡m=∫0mdt1+t2.\arctan m = \int_0^m \frac{dt}{1+t^2} .

This defines arctan⁡\arctan as a genuine function of mm with no geometry left in it, for negative mm too. It is continuous and increasing, with derivative 1/(1+m2)1/(1+m^2), and it is odd, because the integrand is even. It is also bounded: ∫0mdt/(1+t2)<∫01dt+∫1mdt/t2<2\int_0^m dt/(1+t^2) < \int_0^1 dt + \int_1^m dt/t^2 < 2. So it tends to a limit as m→∞m \to \infty; that limit is twice the area of the quarter disc, and we call it 12π\tfrac12\pi. Chapter IX defines tan⁡\tan as the inverse function of arctan⁡\arctan, then cos⁡\cos and sin⁡\sin from tan⁡\tan, and recovers every property of the circular functions from this one integral.

Proofs

Proof The sector area as an integral
Strategy

Split the sector into a triangle and a region under the arc, so that its area is an explicit function of the abscissa μ\mu of PP. Differentiate with respect to μ\mu (the fundamental theorem handles the region under the arc), then convert to a derivative with respect to mm by the chain rule. Finally integrate back, using ϕ(0)=0\phi(0) = 0.

Locate PP

P=(μ,mμ)P = (\mu, m\mu) lies on x2+y2=1x^2 + y^2 = 1, so μ2(1+m2)=1\mu^2(1 + m^2) = 1:

μ=11+m2,1−μ2=m1+m2=mμ.\mu = \frac{1}{\sqrt{1+m^2}}, \qquad \sqrt{1-\mu^2} = \frac{m}{\sqrt{1+m^2}} = m\mu .

Split the sector

Let N=(μ,0)N = (\mu, 0) be the foot of the perpendicular from PP. The sector AOPAOP is the triangle ONPONP, of area 12μ⋅mμ\tfrac12\mu \cdot m\mu, together with the region between NANA and the arc PAPA, which is the area under y=1−x2y = \sqrt{1-x^2} from x=μx = \mu to x=1x = 1:

ϕ=12μ1−μ2+∫μ11−x2 dx.\phi = \tfrac12 \mu\sqrt{1-\mu^2} + \int_\mu^1 \sqrt{1-x^2}\,dx .

Differentiate with respect to μ\mu

The derivative of ∫μ1g\int_\mu^1 g with respect to its lower limit is −g(μ)-g(\mu) (§162). So

dϕdμ=121−μ2−μ221−μ2−1−μ2=−121−μ2.\frac{d\phi}{d\mu} = \tfrac12\sqrt{1-\mu^2} - \frac{\mu^2}{2\sqrt{1-\mu^2}} - \sqrt{1-\mu^2} = -\frac{1}{2\sqrt{1-\mu^2}} .

Change to mm

From μ=(1+m2)−1/2\mu = (1+m^2)^{-1/2} we get dμ/dm=−m(1+m2)−3/2d\mu/dm = -m(1+m^2)^{-3/2}. By the chain rule, and using 1−μ2=m/1+m2\sqrt{1-\mu^2} = m/\sqrt{1+m^2},

dϕdm=121−μ2⋅m(1+m2)3/2=12(1+m2).\frac{d\phi}{dm} = \frac{1}{2\sqrt{1-\mu^2}}\cdot\frac{m}{(1+m^2)^{3/2}} = \frac{1}{2(1+m^2)} .

(For m=0m = 0 the same value follows by continuity, or by a one-sided difference quotient.)

Integrate back

ϕ\phi and 12∫0mdt/(1+t2)\tfrac12\int_0^m dt/(1+t^2) have the same derivative, so they differ by a constant (§126). Both vanish at m=0m = 0, where the sector is a segment of zero area. So they are equal.

Worked examples and exercises

These are from Hardy’s Examples LXIII, “calculation of the definite from the indefinite integral”: find an antiderivative FF, then the integral is F(b)−F(a)F(b) - F(a).

Exercise Which value of arctan⁡\arctan? ●○○ Hardy: Examples LXIII, 3

Show that ∫abdx1+x2=arctan⁡b−arctan⁡a\int_a^b \frac{dx}{1+x^2} = \arctan b - \arctan a, and in particular ∫01dx1+x2=14π\int_0^1 \frac{dx}{1+x^2} = \tfrac14\pi. Explain why there is no ambiguity about which value of arctan⁡\arctan is meant.

Hint
With the definition in this lesson, arctan⁡\arctan is a single-valued function, and the additivity of the integral does the rest.
Hint
For arctan⁡1\arctan 1: the ray y=xy = x bisects the right angle, so its sector is half the quarter disc.

Solution

By the definition, arctan⁡b−arctan⁡a=∫0b−∫0a=∫abdx1+x2\arctan b - \arctan a = \int_0^b - \int_0^a = \int_a^b \frac{dx}{1+x^2}. For ∫01\int_0^1: the ray y=xy = x makes the sector exactly half of the quarter disc, by symmetry in the line y=xy = x. So the angle is half of the right angle, 12⋅12π=14π\tfrac12\cdot\tfrac12\pi = \tfrac14\pi.

In the old view, arctan⁡x\arctan x is “an angle whose tangent is xx”, which is ambiguous up to multiples of π\pi. Hardy’s remark settles it: the integral is 00 at x=0x = 0 and increases continuously with xx, so the value meant is the one between −12π-\tfrac12\pi and 12π\tfrac12\pi, today called the principal value. In the same way ∫0xdt/1−t2=arcsin⁡x\int_0^x dt/\sqrt{1-t^2} = \arcsin x with arcsin⁡x\arcsin x between −12π-\tfrac12\pi and 12π\tfrac12\pi, for −1<x<1-1 < x < 1.

Exercise The quarter disc ●○○ Hardy: Examples LXIII, 5

Show that ∫011−x2 dx=14π\int_0^1 \sqrt{1-x^2}\,dx = \tfrac14\pi and that ∫0aa2−x2 dx=14πa2\int_0^a \sqrt{a^2 - x^2}\,dx = \tfrac14\pi a^2 when a>0a > 0.

Hint
Differentiate 12{x1−x2+arcsin⁡x}\tfrac12\{x\sqrt{1-x^2} + \arcsin x\}.
Hint
For the second, the substitution x=aux = a u reduces it to the first; or compare the areas of a quarter disc of radius aa and radius 11.

Solution

Let G(x)=12{x1−x2+arcsin⁡x}G(x) = \tfrac12\{x\sqrt{1-x^2} + \arcsin x\}. Then

G′(x)=12{1−x2−x21−x2+11−x2}=12⋅(1−x2)−x2+11−x2=1−x2G'(x) = \frac12\left\{\sqrt{1-x^2} - \frac{x^2}{\sqrt{1-x^2}} + \frac{1}{\sqrt{1-x^2}}\right\} = \frac12\cdot\frac{(1-x^2) - x^2 + 1}{\sqrt{1-x^2}} = \sqrt{1-x^2}

for −1<x<1-1 < x < 1. GG is continuous on [0,1][0, 1], so ∫011−x2 dx=G(1)−G(0)=12arcsin⁡1=14π\int_0^1\sqrt{1-x^2}\,dx = G(1) - G(0) = \tfrac12\arcsin 1 = \tfrac14\pi. (This agrees with the definition: the quarter disc is the sector of the right angle, and the angle is twice its area, 12π\tfrac12\pi.)

For the second integral put x=aux = au, dx=a dudx = a\,du: ∫0aa2−x2 dx=a2∫011−u2 du=14πa2\int_0^a\sqrt{a^2-x^2}\,dx = a^2\int_0^1\sqrt{1-u^2}\,du = \tfrac14\pi a^2.

Exercise ●●○ Hardy: Examples LXIII, 4

Show that, if −π<α<π-\pi < \alpha < \pi and α≠0\alpha \ne 0,

∫01dx1+2xcos⁡α+x2=α2sin⁡α,\int_0^1 \frac{dx}{1 + 2x\cos\alpha + x^2} = \frac{\alpha}{2\sin\alpha},

and that the value for α=0\alpha = 0 is 12\tfrac12, the limit of the right-hand side as α→0\alpha \to 0.

Hint
Complete the square: 1+2xcos⁡α+x2=(x+cos⁡α)2+sin⁡2α1 + 2x\cos\alpha + x^2 = (x + \cos\alpha)^2 + \sin^2\alpha.
Hint
For 0<θ<π0 < \theta < \pi, arctan⁡(cot⁡θ)=12π−θ\arctan(\cot\theta) = \tfrac12\pi - \theta, because cot⁡θ=tan⁡(12π−θ)\cot\theta = \tan(\tfrac12\pi - \theta) and 12π−θ\tfrac12\pi - \theta lies in (−12π,12π)(-\tfrac12\pi, \tfrac12\pi).

Solution

Take first 0<α<π0 < \alpha < \pi, so sin⁡α>0\sin\alpha > 0. An antiderivative is 1sin⁡αarctan⁡x+cos⁡αsin⁡α\dfrac{1}{\sin\alpha}\arctan\dfrac{x + \cos\alpha}{\sin\alpha}. Hence the integral is

1sin⁡α{arctan⁡1+cos⁡αsin⁡α−arctan⁡cos⁡αsin⁡α}.\frac{1}{\sin\alpha}\left\{\arctan\frac{1+\cos\alpha}{\sin\alpha} - \arctan\frac{\cos\alpha}{\sin\alpha}\right\}.

Now 1+cos⁡αsin⁡α=2cos⁡212α2sin⁡12αcos⁡12α=cot⁡12α\dfrac{1 + \cos\alpha}{\sin\alpha} = \dfrac{2\cos^2\frac12\alpha}{2\sin\frac12\alpha\cos\frac12\alpha} = \cot\tfrac12\alpha, and by the second hint the bracket is (12π−12α)−(12π−α)=12α(\tfrac12\pi - \tfrac12\alpha) - (\tfrac12\pi - \alpha) = \tfrac12\alpha. So the integral is α/(2sin⁡α)\alpha/(2\sin\alpha).

If −π<α<0-\pi < \alpha < 0, the integrand is unchanged when α\alpha is replaced by −α-\alpha, and so is α/(2sin⁡α)\alpha/(2\sin\alpha); the formula still holds. If α=0\alpha = 0 the integral is ∫01(1+x)−2 dx=1−12=12\int_0^1 (1+x)^{-2}\,dx = 1 - \tfrac12 = \tfrac12, which is lim⁡α→0α/(2sin⁡α)\lim_{\alpha\to 0}\alpha/(2\sin\alpha). (Check: α=1\alpha = 1 gives 0.594200.59420 both ways.)

Exercise An integral that changes formula ●●○ Hardy: Examples LXIII, 6

Show that ∫−11dx1−2αx+α2\displaystyle\int_{-1}^{1}\frac{dx}{\sqrt{1 - 2\alpha x + \alpha^2}} equals 22 if ∣α∣<1|\alpha| < 1 and 2/∣α∣2/|\alpha| if ∣α∣>1|\alpha| > 1.

Hint
For α≠0\alpha \ne 0, an antiderivative is −1α1−2αx+α2-\dfrac{1}{\alpha}\sqrt{1 - 2\alpha x + \alpha^2}.
Hint
At x=±1x = \pm 1 the square root is (1∓α)2=∣1∓α∣\sqrt{(1 \mp \alpha)^2} = |1 \mp \alpha|, not 1∓α1 \mp \alpha.

Solution

For α=0\alpha = 0 the integral is ∫−11dx=2\int_{-1}^1 dx = 2. For α≠0\alpha \ne 0, using the hints, it equals

−1α(∣1−α∣−∣1+α∣).-\frac{1}{\alpha}\Big(|1 - \alpha| - |1 + \alpha|\Big).

If ∣α∣<1|\alpha| < 1 both 1±α1 \pm \alpha are positive and this is −1α(−2α)=2-\frac1\alpha(-2\alpha) = 2. If α>1\alpha > 1 it is −1α{(α−1)−(α+1)}=2/α-\frac1\alpha\{(\alpha - 1) - (\alpha + 1)\} = 2/\alpha. If α<−1\alpha < -1 it is −1α{(1−α)−(−1−α)}=−2/α=2/∣α∣-\frac1\alpha\{(1-\alpha) - (-1-\alpha)\} = -2/\alpha = 2/|\alpha|. (Hardy writes 2/α2/\alpha, having α>1\alpha > 1 in mind.) The moral is in the second hint: u2=∣u∣\sqrt{u^2} = |u|, and forgetting this gives a wrong answer outside ∣α∣<1|\alpha| < 1. The value is a continuous function of α\alpha (both formulae give 22 at α=±1\alpha = \pm1), but it is given by different formulae on the two sides.

Exercise Fourier’s integrals ●○○ Hardy: Examples LXIII, 9

Let mm and nn be positive integers. Show that ∫02πcos⁡mx sin⁡nx dx=0\int_0^{2\pi}\cos mx\,\sin nx\,dx = 0, and that ∫02πcos⁡mxcos⁡nx dx\int_0^{2\pi}\cos mx\cos nx\,dx and ∫02πsin⁡mxsin⁡nx dx\int_0^{2\pi}\sin mx\sin nx\,dx are 00 unless m=nm = n, when each is π\pi.

Hint
Turn each product into a sum: 2cos⁡Acos⁡B=cos⁡(A−B)+cos⁡(A+B)2\cos A\cos B = \cos(A-B) + \cos(A+B), 2sin⁡Asin⁡B=cos⁡(A−B)−cos⁡(A+B)2\sin A\sin B = \cos(A-B) - \cos(A+B), 2cos⁡Asin⁡B=sin⁡(A+B)−sin⁡(A−B)2\cos A\sin B = \sin(A+B) - \sin(A-B).
Hint
For an integer k≠0k \ne 0, ∫02πcos⁡kx dx=0\int_0^{2\pi}\cos kx\,dx = 0 and ∫02πsin⁡kx dx=0\int_0^{2\pi}\sin kx\,dx = 0 (Examples LXIII, 2).

Solution

By Examples LXIII, 2, for every integer k≠0k \ne 0, ∫02πcos⁡kx dx=(sin⁡2kπ−0)/k=0\int_0^{2\pi}\cos kx\,dx = (\sin 2k\pi - 0)/k = 0 and ∫02πsin⁡kx dx=(1−cos⁡2kπ)/k=0\int_0^{2\pi}\sin kx\,dx = (1 - \cos 2k\pi)/k = 0; also ∫02πsin⁡0x dx=0\int_0^{2\pi}\sin 0x\,dx = 0.

cos⁡mxsin⁡nx=12{sin⁡(n+m)x+sin⁡(n−m)x}\cos mx\sin nx = \tfrac12\{\sin(n+m)x + \sin(n-m)x\}, and both terms integrate to 00. Next cos⁡mxcos⁡nx=12{cos⁡(m−n)x+cos⁡(m+n)x}\cos mx\cos nx = \tfrac12\{\cos(m-n)x + \cos(m+n)x\}. The second term integrates to 00 because m+n≠0m + n \ne 0; the first integrates to 00 unless m=nm = n, when it is 12cos⁡0=12\tfrac12\cos 0 = \tfrac12 and gives 12⋅2π=π\tfrac12\cdot 2\pi = \pi. The sine–sine case is the same with a minus sign before the cos⁡(m+n)x\cos(m+n)x term. These “orthogonality relations” are what make Fourier series work: they pick out one coefficient at a time (Examples LXV, 5).

Check yourself

Check yourself Choose one

Why does Hardy define the measure of an angle by an area rather than by the length of an arc?

Why

Arc length can be made rigorous, and once it is, it gives the same number as twice the sector area; so the two definitions agree. The point is order of construction: §161 has just made area precise, while length would need a separate and harder theory. Nothing here depends on knowing π\pi in advance; on the contrary, π\pi comes out of the construction.

Check yourself Enter a number

What is the measure of the angle between the positive xx-axis and the ray y=xy = x? Give a decimal.

Why

It is arctan⁡1=∫01dt/(1+t2)=14π≈0.7854\arctan 1 = \int_0^1 dt/(1+t^2) = \tfrac14\pi \approx 0.7854: the sector is half the quarter disc, whose area is 14π\tfrac14\pi, so the sector has area 18π\tfrac18\pi and the angle is twice that.

Check yourself True or false?

Since the interval [0,m][0, m] grows without bound as m→∞m \to \infty, so does ∫0mdt/(1+t2)\int_0^m dt/(1+t^2).

Why

False. The integrand falls off like 1/t21/t^2, and ∫1mdt/t2=1−1/m<1\int_1^m dt/t^2 = 1 - 1/m < 1, so the integral stays below 22. It increases to the limit 12π\tfrac12\pi: geometrically, the sector cut off by y=mxy = mx never exceeds the quarter disc.

Check yourself Choose one

What is ∫−13dx1+x2\int_{-1}^{\sqrt3}\dfrac{dx}{1+x^2}?

Why

The integral is arctan⁡3−arctan⁡(−1)\arctan\sqrt3 - \arctan(-1) with the principal values 13π\tfrac13\pi and −14π-\tfrac14\pi. The integrand is positive, so the answer must be positive, which rules out the first option (it uses 34π\tfrac34\pi, another angle with tangent −1-1). The third forgets the sign of arctan⁡(−1)\arctan(-1); the fourth uses the value 43π\tfrac43\pi for arctan⁡3\arctan\sqrt3, which the integral never produces.

Hardy’s language

The whole difficulty lies in the question, what is the x which occurs in cos x and sin x?

— G. H. Hardy, §163

Summary

Summary
  • The measure of an angle is twice the area of the sector it cuts from the unit circle; this needs only the area of §161, not the length of a curve.
  • For the ray y=mxy = mx, the sector splits into a triangle and the region under 1−x2\sqrt{1-x^2}; differentiating gives ϕ′(m)=1/{2(1+m2)}\phi'(m) = 1/\{2(1+m^2)\}.
  • Hence arctan⁡m=∫0mdt/(1+t2)\arctan m = \int_0^m dt/(1+t^2), a single-valued, increasing, bounded function whose limit at infinity is 12π\tfrac12\pi.
  • Definite integrals are computed as F(b)−F(a)F(b) - F(a) from an antiderivative; with many-valued inverse functions, the integral itself decides which value is meant.