Four ways to found trigonometry rigorously, and Hardy's choice: define arctanx as ∫0xdt/(1+t2) and π as twice the whole area, then build tan, cos and sin from it, as exp was built from log.
Throughout the book Hardy has used sinx, cosx and tanx freely, taking school trigonometry on trust. But school trigonometry measures angles by arc length, and the length of a curved arc is a subtle notion (§163). §224 closes this gap. Hardy lists four ways of founding the circular functions on analysis alone, then carries out the one that copies the treatment of the logarithm: an integral defines the inverse function, and the function itself is obtained by inversion. The next lesson derives the addition formulae from these definitions alone.
The idea
The logarithm was the area under 1/t; the exponential was its inverse. Do the same with the curve 1/(1+t2). Its area from 0 to x,
y(x)=∫0x1+t2dt,
is what we have always called arctanx (§163, §221). The new step is to take it as the definition and to read everything else off it. Unlike the area under 1/t, this area stays bounded as x→∞: the curve falls off like 1/t2. Twice its total is a number we have met before.
ExploreAn area that never exceeds a fixed bound
Try this.Drag the upper limit x far to the right, then far to the left. Read off the area F(x) in the lower plot.
F(x)=∫ax1+t21dt, a=0
tf(t)
xF(x)
f(t)
counts +
counts −
F(x)
x (drag)
F(2)=∫021+t21dt=1.1071. Slope of F at x: F′(x)=f(x)=0.2.
What to notice
F(x) is odd, increasing and continuous, and it creeps up towards about 1.5708 without reaching it, however far you go. That limit is 21π, and Hardy now takes it as the definition of π. Because F is strictly increasing and continuous, every value between −21π and 21π is reached at exactly one x: there is an inverse function.
Precise statements
First, the four possible foundations Hardy surveys:
Geometric. Translate the textbook definitions into analysis. One genuine difficulty remains: to attach a number to an arc (its length) or to a sector (its area). Hardy chose areas in §163.
Power series. Define cosx=1−2!x2+4!x4−… and sinx=x−3!x3+…, prove the addition formulae by multiplying series (as for exp in §223), and define 21π as the unique zero of cos in (0,2). Natural for complex variables (Chapter X).
Infinite product. Define sinx=x(1−π2x2)(1−4π2x2)(1−9π2x2)⋯. Elegant, but it needs the theory of infinite products.
Inverse functions by integrals. Hardy’s choice, carried out below.
DefinitionThe inverse tangent, π, and the tangentHardy: §224 (1)–(3)
For every real x let
y=arctanx=∫0x1+t2dt,and define π by 21π=∫0∞1+t2dt.
The function x↦y is continuous and strictly increasing from (−∞,∞) onto (−21π,21π). Its inverse is written x=tany.
DefinitionCosine and sineHardy: §224 (4)–(6)
For −21π<y<21π, with x=tany and the positive square root,
cosy=1+x21,siny=1+x2x;
and cos21π=0, sin21π=1. For all other y, the three functions are defined step by step by
tan(y+π)=tany,cos(y+π)=−cosy,sin(y+π)=−siny.
The rules in the last line extend the definitions from (−21π,21π] to (21π,23π], then to (23π,25π], and so on, and backwards to (−23π,−21π] and beyond.
TheoremWhat the definitions giveHardy: §224
cos and sin are defined and continuous on the whole real line, and have period 2π. tany is defined except at the points (k+21)π, has period π, and tends to +∞ as y approaches such a point from below and to −∞ from above. Moreover cos2y+sin2y=1 everywhere, and tany=siny/cosy wherever cosy=0.
ExploreFrom one area to three functions
Try this.Choose sin, and move y slowly from 0 past 21π and on to 3π. Watch the shaded area in the top plot and the dot in the bottom plot. Then switch to cos and to tan.
t1/(1+t²)
ysin
area ∫0x1+t2dt=y0
defined directly, −21π<y≤21π
obtained from (6)
Function
y=2=y0+π with y0=−1.142 in (−21π,21π]. The area up to x=−2.185 is y0, so tany0=−2.185, cosy0=1/1+x2=0.4161, siny0=−0.9093. By (6) applied 1 time, siny=−siny0=0.9093.
What to notice
Only the blue piece, over (−21π,21π], comes from the integral. Every ochre piece is a copy of it shifted by a multiple of π, with the sign flipped for sin and cos (definition (6)). As y passes 21π the upper limit x runs off to +∞ and reappears from −∞; yet sin and cos join up continuously at the seams, while tan jumps from +∞ to −∞.
Proofs
ProofThe definitions make sense
Strategy
Show that the integral defines an odd, continuous, strictly increasing function with limits ±21π, so that the inverse tan exists. Then check that the extension by (6) produces continuous cos and sin, the only delicate points being the seams (k+21)π.
21π is a finite number
The integrand is positive, and ∫0∞1+t2dt≤∫01dt+∫1∞t2dt=2. A positive integrand with bounded integrals has a convergent infinite integral (§184), so π is well defined (and π≤4).
y(x) is odd, continuous and strictly increasing
It is an integral of a continuous positive function, so it is continuous, with derivative 1/(1+x2)>0. Since the integrand is even, y(−x)=−y(x). As x→±∞, y→±21π, and no value ±21π is attained.
The inverse exists
A continuous strictly increasing function has a continuous strictly increasing inverse (§110). So tany is defined, continuous and increasing on (−21π,21π), with tany→±∞ as y→±21π. Hence cos and sin, defined by (4), are continuous there.
Continuity at the seam y=21π
From the left: as y→21π−0, x→+∞, so cosy=1/1+x2→0 and siny=x/1+x2→1, matching (5). From the right: for y slightly above 21π, (6) gives cosy=−cos(y−π) with y−π→−21π+0, where x→−∞, so cos(y−π)→0; similarly siny=−sin(y−π)→−(−1)=1. Both one-sided limits equal the values at 21π.
All other seams, and periodicity
Rule (6) only shifts by π and changes sign, so continuity at every (k+21)π follows from continuity at 21π. Applying (6) twice gives cos(y+2π)=cosy, sin(y+2π)=siny. Finally cos2+sin2=1+x21+x2=1 and sin/cos=x=tan on the defining piece, and both identities survive (6), since (6) changes the signs of sin and cos together.
∎
Hardy notes that the roles could be reversed: start from arcsinx=∫0x1−t2dt on (−1,1), define sin by inversion and 21π=∫011−t2dt. Exercise 4 shows that this gives the same π. The tangent is slightly more convenient because its integral is over the whole line and has no singular endpoint.
Worked examples and exercises
ExerciseEven and odd●○○Hardy: §224
From the definitions, show that tan and sin are odd and cos is even on (−21π,21π), and that cos(−21π)=0 and sin(−21π)=−1, as evenness and oddness at the endpoint require.
Hint
arctan is odd, so its inverse is odd. Then look at (4). For the endpoint use (6) with y=−21π.
Solution
Since y(x) is odd, so is its inverse: if tany=x then tan(−y)=−x. In (4), replacing x by −x leaves 1/1+x2 unchanged and changes the sign of x/1+x2, so cos is even and sin is odd on the open interval. At the endpoint, (6) with y=−21π gives cos21π=−cos(−21π) and sin21π=−sin(−21π); with (5) this means cos(−21π)=0=cos21π and sin(−21π)=−1=−sin21π. Applying (6) repeatedly, the same symmetries hold on the whole line.
ExerciseDerivatives from the definitions●●○Hardy: §224
Show that dydtany=1+tan2y, dydsiny=cosy and dydcosy=−siny for −21π<y<21π, and explain why the last two then hold for all y.
Hint
dy/dx=1/(1+x2), so by the inverse-function rule dx/dy=1+x2. Then differentiate (4) with the chain rule.
Solution
Since dy/dx=1/(1+x2)>0, the inverse function has dx/dy=1+x2=1+tan2y. Next,
and dydcosy=−(1+x2)3/2x(1+x2)=−siny. Rule (6) shifts by π and changes the signs of both sin and cos, so the relations persist on every interval ((k−21)π,(k+21)π). At the seams, sin and cos are continuous and their derivatives have matching one-sided limits, so (by the mean value theorem) the derivatives exist there too and the formulas hold.
ExerciseThe series route: cos changes sign in (0,2)●●○Hardy: §224 (ii)
With cosx defined by 1−2!x2+4!x4−…, show that cos2<0. (Together with cos0=1 and continuity, this gives a zero in (0,2), the starting point of method (ii).)
Hint
Group the series after the first two terms as (4!24−6!26)+(8!28−10!210)+…, or use the alternating series test.
Solution
The terms 22n/(2n)! are 1,2,32,454,3152,…; from the second one on they decrease, since the ratio of consecutive terms is (2n+1)(2n+2)4<1 for n≥1. So cos2=1−2+32−454+… is an alternating series whose terms decrease from 2 on, and its sum lies between consecutive partial sums: cos2<1−2+32=−31<0. (In fact cos2≈−0.416.)
ExerciseThe sine route gives the same π●●●Hardy: §224 (end)
Show that the substitution t=u/1+u2 turns ∫0x1−t2dt into ∫0x/1−x21+u2du for 0≤x<1. Deduce that ∫011−t2dt=∫0∞1+u2du, so that both routes define the same π.
Hint
Compute dt/du and 1−t2 in terms of u.
Solution
The map u↦t=u/1+u2 is increasing from [0,∞) onto [0,1), with inverse u=t/1−t2. We have dudt=(1+u2)3/21 and 1−t2=1+u21, so 1−t21dudt=1+u2⋅(1+u2)3/21=1+u21. By the substitution rule the two integrals are equal. Letting x→1, the upper limit x/1−x2→∞, which gives the second statement. In the language of the definitions: arcsinx=arctan1−x2x, as (4) predicts.
Check yourself
Check yourselfEnter a number
Using only definitions (5) and (6), what is sin23π?
Why
23π=21π+π, so (6) gives sin23π=−sin21π, and (5) gives sin21π=1. Hence sin23π=−1.
Check yourselfTrue or false?
Method (iv) still depends on the notion of the length of an arc of a circle.
Why
False. Method (iv) uses only an integral of a rational function, an infinite integral to define π, inverse functions, and square roots. No length or area is mentioned. The connection with geometry (that the angle so defined is twice the sector area, or the arc length) is a theorem about the functions, not part of their definition.
Check yourselfChoose one
Why must π be defined in this approach, rather than simply used?
Why
Being irrational is no obstacle: so is e. The integral converges (it is at most 2). The point is logical: the familiar definition of π is geometric, and the whole aim is to found trigonometry without geometry. So π gets an analytic definition, and the familiar properties of π are then theorems.
Check yourselfChoose one
Why does continuity of cos at 21π need an argument at all?
Why
The definition is pieced together: formula (4) on the open interval, the value 0 at 21π by decree, and shifted copies beyond. A function defined piecewise can jump at the joins, so one must check that the limits from both sides equal the assigned value. They do, which is why (5) is the right choice. tan is not continuous there; it is not even defined.
Hardy’s language
There is a fourth method which is preferable here, since it follows the same lines as our treatment of the logarithmic function earlier in this chapter.
— G. H. Hardy, §224
Summary
Summary
Trigonometry can be founded without lengths: define arctanx=∫0xdt/(1+t2) and 21π=∫0∞dt/(1+t2).
tan is the inverse of arctan on (−21π,21π); cosy=1/1+tan2y, siny=tany/1+tan2y there.
The rules tan(y+π)=tany, cos(y+π)=−cosy, sin(y+π)=−siny extend them to all y; cos and sin stay continuous across the seams, tan jumps.
Other foundations (geometry, power series, infinite product, arcsin as an integral) give the same functions; Hardy’s choice mirrors log and exp.