Mathematics · Book 3 · Bachelor Year 1

University Mathematics — Year 1

University Mathematics — Year 1 · Bachelor Year 1

4Standard Functions

Analysis is only as useful as the stock of functions one masters. To the collection inherited from secondary school — powers, exponential, logarithm, trigonometric functions — this chapter adds their inverse functions (arcsin\arcsin, arccos\arccos, arctan\arctan) and the hyperbolic family. Derivatives are used freely at High School level; the theory behind inverse functions is completed in Chapters 13 and 14.

4.1 Exponential, logarithm, powers

Proposition 4.1 (Recap and characterization)

exp ⁣:R(0,+)\exp \colon \R \to \intoo{0}{+\infty} and ln ⁣:(0,+)R\ln \colon \intoo{0}{+\infty} \to \R are reciprocal bijections, strictly increasing, with

exp(x+y)=expxexpy,ln(xy)=lnx+lny,exp=exp,ln(x)=1x.\exp(x + y) = \exp x \exp y, \qquad \ln(xy) = \ln x + \ln y, \qquad \exp' = \exp, \qquad \ln'(x) = \frac 1x .

Moreover exp\exp is the only differentiable function f ⁣:RRf \colon \R \to \R with f=ff' = f and f(0)=1f(0) = 1.

Proof. The recap is High School material. For uniqueness, let f=ff' = f, f(0)=1f(0) = 1, and set g(x)=f(x)exg(x) = f(x)\,\eu^{-x}. Then g=fexfex=0g' = f'\eu^{-x} - f\eu^{-x} = 0, so gg is constant equal to g(0)=1g(0) = 1: f=expf = \exp.

Definition 4.2 (General powers)

For x>0x > 0 and αR\alpha \in \R:   xα=eαlnx\;x^\alpha = \eu^{\alpha \ln x}. For a>0a > 0, a1a \neq 1, the logarithm to base aa is logax=lnxlna\log_a x = \frac{\ln x}{\ln a}, the inverse of xaxx \mapsto a^x.

Example 4.3 (Solving exponential equations)

Solve 2x=5x12^x = 5^{\,x-1} in R\R. Both sides are positive, so take logarithms — a reversible step:

xln2=(x1)ln5    x(ln2ln5)=ln5    x=ln5ln5ln2=ln5ln521.756.x\ln2 = (x - 1)\ln5 \iff x(\ln2 - \ln5) = -\ln5 \iff x = \frac{\ln5}{\ln5 - \ln2} = \frac{\ln 5}{\ln\frac52} \approx 1.756 .

Next, solve x2=3x^{\sqrt2} = 3 for x>0x > 0: raise to the power 12\frac1{\sqrt2} (i.e. apply the reciprocal bijection): x=31/2=e(ln3)/22.175x = 3^{1/\sqrt2} = \eu^{(\ln 3)/\sqrt2} \approx 2.175. The insight: every equation mixing powers unwinds through ln\ln and exp\exp, because the definition xα=eαlnxx^\alpha = \eu^{\alpha\ln x} reduces all power manipulations to arithmetic of exponents — but only on the domain x>0x > 0 where that definition lives.

Example 4.4 (Doubling times)

A quantity grows by 3%3\% per step: after nn steps it is multiplied by (1.03)n(1.03)^n. When does it double? Solve (1.03)n2(1.03)^n \geq 2:

nln(1.03)ln2    nln2ln1.03=0.69310.0295623.4,n\ln(1.03) \geq \ln2 \iff n \geq \frac{\ln 2}{\ln 1.03} = \frac{0.6931}{0.02956} \approx 23.4 ,

so the first doubling occurs at step 2424. (The financiers’ “rule of 7272”, which estimates the doubling time as 7272 divided by the rate in percent, is this computation with the approximation ln(1+x)x\ln(1 + x) \approx x, quantified in Chapter 16.) Exponential processes are best reasoned about through their logarithms: on that scale, growth is linear and questions become divisions.

Example 4.5 (How long is 220262^{2026}?)

The number of decimal digits of an integer N1N \geq 1 is log10N+1\floor{\log_{10} N} + 1 (indeed NN has dd digits exactly when 10d1N<10d10^{d-1} \leq N < 10^d, i.e. d1log10N<dd - 1 \leq \log_{10}N < d). For N=22026N = 2^{2026}:

log1022026=2026log102=2026×0.301030=609.887,\log_{10} 2^{2026} = 2026\,\log_{10}2 = 2026 \times 0.301030 = 609.887 ,

so 220262^{2026} has 610610 digits. The fractional part carries a bonus: 100.8877.710^{0.887} \approx 7.7, so the number begins with 77. One multiplication answered a question about a number no one will ever write out — logarithms compress multiplicative size into additive size, which is their whole historical point (Example 7.12 makes that sentence precise).

Proposition 4.6 (Power rules and growth comparison)

For x,y>0x, y > 0 and α,βR\alpha, \beta \in \R:

xα+β=xαxβ,(xα)β=xαβ,(xy)α=xαyα,(xα)=αxα1.x^{\alpha+\beta} = x^\alpha x^\beta, \quad (x^\alpha)^\beta = x^{\alpha\beta}, \quad (xy)^\alpha = x^\alpha y^\alpha, \quad (x^\alpha)' = \alpha\, x^{\alpha - 1}.

Growth scale as x+x \to +\infty, for every α>0\alpha > 0 and β>0\beta > 0:

(lnx)βxα0,xαeβx0.\frac{(\ln x)^\beta}{x^\alpha} \longrightarrow 0, \qquad \frac{x^\alpha}{\eu^{\beta x}} \longrightarrow 0 .

Proof. The identities transcribe those of exp\exp and ln\ln through the definition. In detail for the second (the least obvious): xα>0x^\alpha > 0 and ln(xα)=αlnx\ln(x^\alpha) = \alpha\ln x (apply ln\ln to the definition), so

(xα)β=eβln(xα)=eβαlnx=xαβ;(x^\alpha)^\beta = \eu^{\beta\ln(x^\alpha)} = \eu^{\beta\alpha\ln x} = x^{\alpha\beta} ;

the first and third are the same two-line unwindings via exp(u+v)=expuexpv\exp(u + v) = \exp u\exp v and ln(xy)=lnx+lny\ln(xy) = \ln x + \ln y. The derivative is the chain rule: (eαlnx)=αxeαlnx(\eu^{\alpha\ln x})' = \frac{\alpha}{x} \eu^{\alpha\ln x}.

Comparisons: from lntt0\frac{\ln t}{t} \to 0 (proved in the High School volume), substitute t=xα/βt = x^{\alpha/\beta}: lnxxα/β0\frac{\ln x}{x^{\alpha/\beta}} \to 0, then raise to the power β\beta. For the second, substitute x=lnux = \ln u in the first.

Example 4.7 (Two limits every reader should own)

What are limx0+xx\lim_{x \to 0^+} x^x and limx+x1/x\lim_{x \to +\infty} x^{1/x}? Both powers are defined through the exponential, so settle the exponent first:

xx=exlnx,xlnx=ln(1/x)1/x0(x0+),so xxe0=1;x^x = \eu^{x\ln x}, \qquad x\ln x = -\frac{\ln(1/x)}{1/x} \longrightarrow 0 \quad (x \to 0^+), \qquad\text{so } x^x \longrightarrow \eu^0 = 1 ;

and x1/x=e(lnx)/xe0=1x^{1/x} = \eu^{(\ln x)/x} \to \eu^0 = 1 as x+x \to +\infty, directly by the growth comparison. The insight: an indeterminate power (of shape 000^0 or 0\infty^0) is always handled by rewriting uv=evlnuu^v = \eu^{v\ln u} and analyzing the product vlnuv \ln u — never by guessing from base and exponent separately. The function xlnxxx \mapsto \frac{\ln x}{x} that decided both limits is studied exhaustively in the weekend problem of this chapter.

The growth scale of : near the right edge, x has barely passed 1.6 while x has left the frame. Every ratio (log over power, power over exponential) tends to 0 — the picture only hints at what the substitutions in the proof make exact.
The growth scale of Proposition 4.6: near the right edge, lnx\ln x has barely passed 1.61.6 while ex\eu^x has left the frame. Every ratio (log over power, power over exponential) tends to 00 — the picture only hints at what the substitutions in the proof make exact.

Remark 4.8 (Common pitfalls with powers and logarithms)

  1. Domains. xαx^\alpha for irrational α\alpha needs x>0x > 0; (8)1/3(-8)^{1/3} is best avoided in favor of “the real cube root of 8-8”, because the rule (xα)β=xαβ(x^\alpha)^\beta = x^{\alpha\beta} silently fails on negatives: ((8)2)1/6=22\bigl((-8)^2\bigr)^{1/6} = 2 \neq -2.
  2. x2=x\sqrt{x^2} = \abs x, not xx: forgetting the absolute value is the classic source of lost negative solutions.
  3. ln(xy)=lnx+lny\ln(xy) = \ln x + \ln y requires x,y>0x, y > 0. For negative arguments, ln(xy)\ln(xy) can be defined while the right-hand side is not.
  4. Which function grows? In xαx^\alpha the base varies; in axa^x the exponent does. Their growths are wildly different (Proposition 4.6), and hybrid expressions like xlnxx^{\ln x} or x1/xx^{1/x} must be rewritten as e()\eu^{(\cdot)} before any reasoning — as in Example 4.7.

4.2 Inverse trigonometric functions

Definition 4.9 (arcsin\arcsin, arccos\arccos, arctan\arctan)

The restrictions

sin ⁣:[π2,π2][1,1],cos ⁣:[0,π][1,1],tan ⁣:(π2,π2)R\sin \colon \intcc{-\tfrac\pi2}{\tfrac\pi2} \to \intcc{-1}{1}, \qquad \cos \colon \intcc{0}{\pi} \to \intcc{-1}{1}, \qquad \tan \colon \intoo{-\tfrac\pi2}{\tfrac\pi2} \to \R

are strictly monotonic bijections. Their inverse maps are written arcsin\arcsin, arccos\arccos and arctan\arctan. Thus, for instance, y=arcsinxy = \arcsin x (x[1,1]x \in \intcc{-1}{1}) is the angle in [π2,π2]\intcc{-\frac\pi2}{\frac\pi2} whose sine is xx.

From left to right: , , . Each inherits its graph from the restricted direct function by reflection in the line y = x.
From left to right: arcsin\arcsin, arccos\arccos, arctan\arctan. Each inherits its graph from the restricted direct function by reflection in the line y=xy = x.

Proposition 4.10 (Derivatives)

On the interior of their domains:

arcsinx=11x2,arccosx=11x2,arctanx=11+x2.\arcsin' x = \frac{1}{\sqrt{1 - x^2}}, \qquad \arccos' x = \frac{-1}{\sqrt{1 - x^2}}, \qquad \arctan' x = \frac{1}{1 + x^2}.

Proof. Anticipating the inverse-function rule proved in Chapter 14: if ff is a differentiable bijection and f0f' \neq 0, then (f1)(x)=1f(f1(x))(f^{-1})'(x) = \frac{1}{f'(f^{-1}(x))}. For arcsin\arcsin: with y=arcsinxy = \arcsin x,

arcsinx=1cosy=11sin2y=11x2,\arcsin' x = \frac{1}{\cos y} = \frac{1}{\sqrt{1 - \sin^2 y}} = \frac{1}{\sqrt{1 - x^2}},

where cosy=+1sin2y\cos y = +\sqrt{1 - \sin^2 y} because y(π2,π2)y \in \intoo{-\frac\pi2}{\frac\pi2} forces cosy>0\cos y > 0. Similarly arccosx=1siny\arccos' x = \frac{1}{-\sin y} with siny>0\sin y > 0 on (0,π)\intoo{0}{\pi}, and arctanx=11+tan2y=11+x2\arctan' x = \frac{1}{1 + \tan^2 y} = \frac{1}{1 + x^2} using tan=1+tan2\tan' = 1 + \tan^2.

Example 4.11 (Recognizing a hidden constant)

Study g(x)=arctan1x1+xg(x) = \arctan\dfrac{1 - x}{1 + x} on (1,+)\intoo{-1} {+\infty}. Chain rule and a short computation:

g(x)=11+(1x1+x)2(1+x)(1x)(1+x)2=2(1+x)2+(1x)2=11+x2,g'(x) = \frac{1}{1 + \bigl(\frac{1-x}{1+x}\bigr)^2}\cdot \frac{-(1+x) - (1-x)}{(1+x)^2} = \frac{-2}{(1+x)^2 + (1-x)^2} = \frac{-1}{1 + x^2} ,

since (1+x)2+(1x)2=2+2x2(1+x)^2 + (1-x)^2 = 2 + 2x^2. So g=arctang' = -\arctan': the function g+arctang + \arctan has zero derivative on the interval (1,+)\intoo{-1}{+\infty}, hence is constant there; its value at x=0x = 0 is arctan1+arctan0=π4\arctan 1 + \arctan 0 = \frac\pi4. Conclusion:

arctan1x1+x=π4arctanx(x>1).\arctan\frac{1 - x}{1 + x} = \frac\pi4 - \arctan x \qquad (x > -1) .

On (,1)\intoo{-\infty}{-1} the same derivative computation holds but the constant is different (3π4-\frac{3\pi}4: evaluate the limit as xx \to -\infty). The insight: “zero derivative implies constant” is an interval-by-interval statement — exactly the subtlety exploited in Exercise 4.6 and Exercise 4.10.

Proposition 4.12 (Standard identities)

  1. For x[1,1]x \in \intcc{-1}{1}: arcsinx+arccosx=π2\arcsin x + \arccos x = \dfrac{\pi}{2}.
  2. For x>0x > 0: arctanx+arctan1x=π2\arctan x + \arctan\dfrac 1x = \dfrac{\pi}{2} (and π2-\frac\pi2 for x<0x < 0).
  3. sin(arccosx)=cos(arcsinx)=1x2\sin(\arccos x) = \cos(\arcsin x) = \sqrt{1 - x^2};   tan(arcsinx)=x1x2\;\tan(\arcsin x) = \dfrac{x}{\sqrt{1 - x^2}} for x<1\abs x < 1.

Proof. (1) The derivative of xarcsinx+arccosxx \mapsto \arcsin x + \arccos x is zero on (1,1)\intoo{-1}{1} (Proposition 4.10), so the function is constant there, equal to its value π2\frac\pi2 at 00; the endpoint values ±1\pm 1 are checked directly (π2+0\frac\pi2 + 0 and π2+π-\frac\pi2 + \pi).

(2) Same method on (0,+)\intoo{0}{+\infty}: the derivative is 11+x2+1/x21+1/x2=11+x21x2+1=0\frac{1}{1+x^2} + \frac{-1/x^2}{1 + 1/x^2} = \frac{1}{1+x^2} - \frac{1}{x^2 + 1} = 0, and at x=1x = 1 the sum is 2arctan1=π22\arctan 1 = \frac\pi2. For x<0x < 0, use oddness of arctan\arctan.

(3) With y=arccosx[0,π]y = \arccos x \in \intcc{0}{\pi}: siny0\sin y \geq 0, so siny=1cos2y=1x2\sin y = \sqrt{1 - \cos^2 y} = \sqrt{1 - x^2}; likewise for cos(arcsinx)\cos(\arcsin x), and the tangent formula is the quotient.

Remark 4.13

arcsin(sinθ)=θ\arcsin(\sin\theta) = \theta holds only for θ[π2,π2]\theta \in \intcc{-\frac\pi2}{\frac\pi2}: for instance arcsin(sinπ)=0π\arcsin(\sin\pi) = 0 \neq \pi. The composition in the other direction, sin(arcsinx)=x\sin(\arcsin x) = x, is valid on all of [1,1]\intcc{-1}{1}.

Example 4.14 (Wrapping back to the principal interval)

Compute

arctan(tan3π4)andarctan(tan17π5).\arctan\Bigl(\tan\frac{3\pi}4\Bigr) \qquad\text{and}\qquad \arctan\Bigl(\tan\frac{17\pi}5\Bigr).

The recipe: replace the angle by the unique angle of (π2,π2)\intoo{-\frac\pi2}{\frac\pi2} with the same tangent, i.e. subtract the right multiple of π\pi (the period of tan\tan). First: 3π4π=π4\frac{3\pi}4 - \pi = -\frac\pi4, so the answer is π4-\frac\pi4. Second: 17π53π=2π5(π2,π2)\frac{17\pi} 5 - 3\pi = \frac{2\pi}5 \in \intoo{-\frac\pi2}{\frac\pi2}, so the answer is 2π5\frac{2\pi}5. The computation is a Euclidean division of the angle by π\pi in disguise — and the analogous recipes for arcsin\arcsin (reflect into [π2,π2]\intcc{-\frac\pi2}{\frac\pi2}, period 2π2\pi) and arccos\arccos (reflect into [0,π]\intcc0\pi) drive Exercise 4.1 and the piecewise answer of Exercise 4.10.

Example 4.15 (Adding arctangents safely)

Let us prove

arctan12+arctan15+arctan18=π4.\arctan\frac12 + \arctan\frac15 + \arctan\frac18 = \frac\pi4 .

Two ingredients: the tangent addition formula, and — the step beginners forget — a localization of the sum. First, tan(u+v)=tanu+tanv1tanutanv\tan(u + v) = \frac{\tan u + \tan v}{1 - \tan u\tan v} with u=arctan12u = \arctan\frac12, v=arctan15v = \arctan\frac15 gives

tan(u+v)=12+151110=7/109/10=79,thentan(u+v+arctan18)=79+181772=65/7265/72=1.\tan(u + v) = \frac{\frac12 + \frac15}{1 - \frac1{10}} = \frac{7/10}{9/10} = \frac79, \qquad\text{then}\qquad \tan\Bigl(u + v + \arctan\frac18\Bigr) = \frac{\frac79 + \frac18}{1 - \frac7{72}} = \frac{65/72}{65/72} = 1 .

Second, each of the three angles lies in (0,π4)\intoo0{\frac\pi4} (their arguments are less than 11), so the sum lies in (0,3π4)\intoo0{\frac{3\pi}4}; the only angle there with tangent 11 is π4\frac\pi4. Without the localization the conclusion would be “π4\frac\pi4 up to a multiple of π\pi” — half a proof. The same two-step discipline runs Exercise 4.8 and Exercise 4.12.

Example 4.16 (An arctangent equation)

Solve arctanx+arctan2x=π4\arctan x + \arctan 2x = \dfrac\pi4. First localize: the left side has the sign of xx (both terms do), so any solution has x>0x > 0, and then the sum lies in (0,π)\intoo0\pi. Take tangents (injective on no interval of length π\pi, but combined with the localization this will suffice): the addition formula gives

tan(arctanx+arctan2x)=3x12x2=1    2x2+3x1=0    x=3±174.\tan\bigl(\arctan x + \arctan 2x\bigr) = \frac{3x}{1 - 2x^2} = 1 \iff 2x^2 + 3x - 1 = 0 \iff x = \frac{-3 \pm \sqrt{17}}4 .

The negative root is discarded by the localization; for the positive candidate x0=17340.28x_0 = \frac{\sqrt{17} - 3}4 \approx 0.28, the sum lies in (0,π)\intoo0\pi with tangent 11, and the only such angle is π4\frac\pi4 (in (π2,π)\intoo{\frac\pi2}\pi the tangent is negative): x0x_0 is the unique solution. Note the shape of the argument: taking tangents may create solutions, never lose them, so one solves the polynomial equation then filters by localization — the same forward-check discipline as squaring an equation.

4.3 Hyperbolic functions

Definition 4.17 (cosh\cosh, sinh\sinh, tanh\tanh)

For xRx \in \R:

coshx=ex+ex2,sinhx=exex2,tanhx=sinhxcoshx\cosh x = \frac{\eu^x + \eu^{-x}}{2}, \qquad \sinh x = \frac{\eu^x - \eu^{-x}}{2}, \qquad \tanh x = \frac{\sinh x}{\cosh x}

(hyperbolic cosine, sine, tangent). cosh\cosh is even, sinh\sinh and tanh\tanh are odd.

Proposition 4.18 (Basic properties)

For all x,yRx, y \in \R:

  1. cosh2xsinh2x=1\cosh^2 x - \sinh^2 x = 1;
  2. cosh=sinh\cosh' = \sinh,   sinh=cosh\;\sinh' = \cosh,   tanh=1tanh2=1cosh2\;\tanh' = 1 - \tanh^2 = \dfrac{1}{\cosh^2};
  3. cosh(x+y)=coshxcoshy+sinhxsinhy\cosh(x+y) = \cosh x\cosh y + \sinh x \sinh y and sinh(x+y)=sinhxcoshy+coshxsinhy\sinh(x+y) = \sinh x \cosh y + \cosh x \sinh y;
  4. sinh\sinh is a strictly increasing bijection of R\R onto R\R; cosh\cosh restricted to R+\R_+ is a strictly increasing bijection onto [1,+)\intco{1}{+\infty}; tanh\tanh is a strictly increasing bijection of R\R onto (1,1)\intoo{-1}{1}.

Proof. (1) (ex+ex2)2(exex2)2=(e2x+2+e2x)(e2x2+e2x)4=1\bigl(\frac{\eu^x + \eu^{-x}}{2}\bigr)^2 - \bigl(\frac{\eu^x - \eu^{-x}}{2}\bigr)^2 = \frac{(\eu^{2x} + 2 + \eu^{-2x}) - (\eu^{2x} - 2 + \eu^{-2x})}{4} = 1.

(2) Differentiate the defining formulas; for tanh\tanh, the quotient rule gives cosh2sinh2cosh2\frac{\cosh^2 - \sinh^2}{\cosh^2}, which is both 1tanh21 - \tanh^2 and 1cosh2\frac{1}{\cosh^2} by (1).

(3) Expand the right-hand sides using the definitions. In detail for the first formula:

coshxcoshy+sinhxsinhy=(ex+ex)(ey+ey)+(exex)(eyey)4;\cosh x\cosh y + \sinh x\sinh y = \frac{(\eu^x + \eu^{-x})(\eu^y + \eu^{-y}) + (\eu^x - \eu^{-x})(\eu^y - \eu^{-y})}{4} ;

of the eight products, the four “mixed” ones (exy\eu^{x-y}, eyx\eu^{y-x}) cancel in pairs, while ex+y\eu^{x+y} and e(x+y)\eu^{-(x+y)} each appear twice: the total is 2ex+y+2e(x+y)4=cosh(x+y)\frac{2\eu^{x+y} + 2\eu^{-(x+y)}}{4} = \cosh(x+y). The sine formula is identical with the mixed terms surviving instead.

(4) sinh=cosh1>0\sinh' = \cosh \geq 1 > 0, so sinh\sinh is strictly increasing, with limits ±\pm\infty (dominant term ±ex2\pm\frac{\eu^{\abs x}}{2}); the bijection statement then follows from the intermediate value theorem (used at High School level; systematic treatment in Chapter 13). On R+\R_+, cosh=sinh0\cosh' = \sinh \geq 0 vanishing only at 00: strictly increasing from cosh0=1\cosh 0 = 1 to ++\infty. And tanh>0\tanh' > 0 with limits ±1\pm 1 at ±\pm\infty: in detail,

tanhx=exexex+ex=1e2x1+e2xx+1,\tanh x = \frac{\eu^x - \eu^{-x}}{\eu^x + \eu^{-x}} = \frac{1 - \eu^{-2x}}{1 + \eu^{-2x}} \xrightarrow[x \to +\infty]{} 1 ,

after dividing numerator and denominator by ex\eu^x, and oddness gives the limit 1-1 at -\infty; the strictly increasing function tanh\tanh therefore maps R\R onto (1,1)\intoo{-1}1.

Left:  and , asymptotically glued to x/2 (dashed). Right: , increasing from -1 to 1.
Left: cosh\cosh and sinh\sinh, asymptotically glued to ex2\frac{\eu^x}{2} (dashed). Right: tanh\tanh, increasing from 1-1 to 11.

Remark 4.19 (Why “hyperbolic”?)

The point (cosht,sinht)(\cosh t, \sinh t) runs along the branch x>0x > 0 of the hyperbola x2y2=1x^2 - y^2 = 1 (by Proposition 4.18 (1)), exactly as (cost,sint)(\cos t, \sin t) runs along the circle x2+y2=1x^2 + y^2 = 1. Every circular identity has a hyperbolic sibling, with sign changes governed by sinh2sin2\sinh^2 \leftrightarrow -\sin^2.

Example 4.20 (The addition formula for tanh\tanh)

Dividing the two addition formulas of Proposition 4.18 (3) by coshxcoshy\cosh x\cosh y:

tanh(x+y)=sinhxcoshy+coshxsinhycoshxcoshy+sinhxsinhy=tanhx+tanhy1+tanhxtanhy,\tanh(x + y) = \frac{\sinh x\cosh y + \cosh x\sinh y} {\cosh x\cosh y + \sinh x\sinh y} = \frac{\tanh x + \tanh y}{1 + \tanh x\,\tanh y} ,

the hyperbolic sibling of the tangent addition formula — with a ++ where trigonometry has a -. A dividend: since tanh<1\abs{\tanh} < 1, the right-hand side is a “velocity addition” rule that never leaves (1,1)\intoo{-1}1: if u,v(1,1)u, v \in \intoo{-1}1 then u+v1+uv(1,1)\frac{u + v}{1 + uv} \in \intoo{-1}1 as well (write u=tanhau = \tanh a, v=tanhbv = \tanh b, possible by bijectivity, and read the formula backwards). Checking that algebraically, without hyperbolic functions, is a slightly painful exercise; parametrizing by tanh\tanh makes it one line — the same strategy that circular functions provide for the unit circle.

Proposition 4.21 (Inverse hyperbolic functions)

The inverses granted by Proposition 4.18 (4) have closed forms:

arsinhx=ln(x+x2+1) (xR),arcoshx=ln(x+x21) (x1),\operatorname{arsinh} x = \ln\bigl(x + \sqrt{x^2 + 1}\bigr) \ (x \in \R), \qquad \operatorname{arcosh} x = \ln\bigl(x + \sqrt{x^2 - 1}\bigr) \ (x \geq 1),
artanhx=12ln1+x1x (x<1),\operatorname{artanh} x = \frac 12 \ln\frac{1 + x}{1 - x} \ (\abs x < 1),

with derivatives 1x2+1\frac{1}{\sqrt{x^2+1}}, 1x21\frac{1}{\sqrt{x^2-1}} (x>1x > 1) and 11x2\frac{1}{1 - x^2} respectively.

Proof. For arsinh\operatorname{arsinh}: solve x=sinhy=eyey2x = \sinh y = \frac{\eu^y - \eu^{-y}}{2}. Setting u=ey>0u = \eu^y > 0: u22xu1=0u^2 - 2xu - 1 = 0, so u=x+x2+1u = x + \sqrt{x^2 + 1} (the root xx2+1x - \sqrt{x^2+1} is negative), and y=ln(x+x2+1)y = \ln(x + \sqrt{x^2+1}). The other two are identical computations (u22xu+1=0u^2 - 2xu + 1 = 0 for arcosh\operatorname{arcosh}, keeping the root 1\geq 1; a two-line rearrangement for artanh\operatorname{artanh}). Derivatives: differentiate the logarithmic expressions, e.g.

(ln(x+x2+1))=1+xx2+1x+x2+1=1x2+1.\bigl(\ln(x + \sqrt{x^2+1})\bigr)' = \frac{1 + \frac{x}{\sqrt{x^2+1}}}{x + \sqrt{x^2+1}} = \frac{1}{\sqrt{x^2 + 1}} . \qedhere

Example 4.22 (Closed forms at work)

The solution of cosht=2\cosh t = 2 with t0t \geq 0 is, by the closed form, t=arcosh2=ln(2+3)1.317t = \operatorname{arcosh} 2 = \ln(2 + \sqrt3) \approx 1.317; the other solution is t-t, by evenness — and indeed ln(23)=ln12+3=ln(2+3)\ln(2 - \sqrt3) = \ln\frac1{2 + \sqrt3} = -\ln(2 + \sqrt3): the two roots u=etu = \eu^t of the quadratic u24u+1=0u^2 - 4u + 1 = 0 are reciprocals, as their product 11 (Vieta) demands. This tiny computation displays the general pattern: hyperbolic equations convert to quadratics in et\eu^t, and the symmetry ttt \mapsto -t appears as the symmetry u1/uu \mapsto 1/u of the quadratic — worth remembering when solving Exercise 4.7.

Method 4.23 (Choosing the right primitive form)

The three derivative patterns to memorize for integration (Chapter 15):

 ⁣dx1+x2=arctanx+C, ⁣dx1x2=arcsinx+C, ⁣dxx2+1=arsinhx+C,\int \frac{\dd x}{1 + x^2} = \arctan x + C, \qquad \int \frac{\dd x}{\sqrt{1 - x^2}} = \arcsin x + C, \qquad \int \frac{\dd x}{\sqrt{x^2 + 1}} = \operatorname{arsinh} x + C,

and for a general quadratic, reduce to these by completing the square and rescaling.

Remark 4.24 (Where this chapter is used)

This chapter is the working vocabulary of all the analysis to come. The growth scale of Proposition 4.6 decides convergence questions throughout Chapters 11 and 17; the derivative formulas of Proposition 4.10 and Proposition 4.21 are the primitives most often needed in Chapter 15, via Method 4.23; hyperbolic functions parametrize the solutions of the equation y=yy'' = y in Chapter 5 exactly as circular functions parametrize those of y=yy'' = -y. The characterization of exp\exp by f=ff' = f, f(0)=1f(0) = 1 (Proposition 4.1) is the one-dimensional seed of the theory of linear differential equations, and the catenary curve y=coshxy = \cosh x returns among the plane curves of Chapter 24.

Remark 4.25 (Interlude: the inverse-function program)

This chapter ran one program four times: restrict a function until it becomes a strictly monotonic bijection, name the inverse, transport every formula through it. What was used at each step — that a continuous strictly monotonic function on an interval is a bijection onto an interval, and that its inverse is continuous, then differentiable away from critical points — was borrowed on High School credit. The debt is repaid inside this volume: Chapter 13 proves the bijection statement (the monotone inverse theorem, resting on the intermediate value theorem), and Chapter 14 proves the derivative rule (f1)=1/(ff1)(f^{-1})' = 1/(f' \circ f^{-1}) that silently produced every formula of Proposition 4.10 and Proposition 4.21. Reading those chapters with arcsin\arcsin and arsinh\operatorname{arsinh} in mind — as the worked examples the theory was built to justify — is the intended way around the apparent circularity.

4.4 Exercises

Exercise 4.1

Compute without calculator: arcsin32\arcsin\frac{\sqrt 3}{2};   arccos(12)\;\arccos\bigl(-\frac 12\bigr);   arctan(1)\;\arctan(-1);   arcsin(sin5π6)\;\arcsin\bigl(\sin\frac{5\pi}{6}\bigr);   arccos(cos7π4)\;\arccos\bigl(\cos\frac{7\pi}{4}\bigr).

Solution

Solution of Exercise 4.1.

arcsin32=π3\arcsin\frac{\sqrt 3}{2} = \frac\pi3;   arccos(12)=2π3\;\arccos\bigl(-\frac12\bigr) = \frac{2\pi}{3};   arctan(1)=π4\;\arctan(-1) = -\frac\pi4.

arcsin(sin5π6)\arcsin\bigl(\sin\frac{5\pi}{6}\bigr): sin5π6=12\sin\frac{5\pi}{6} = \frac12, and the angle of [π2,π2]\intcc{-\frac\pi2}{\frac\pi2} with sine 12\frac12 is π6\frac\pi6 (not 5π6\frac{5\pi}{6}).

arccos(cos7π4)\arccos\bigl(\cos\frac{7\pi}{4}\bigr): cos7π4=22\cos\frac{7\pi}{4} = \frac{\sqrt 2}{2}, and the angle of [0,π]\intcc{0}{\pi} with that cosine is π4\frac\pi4.

Exercise 4.2

Give the domain of definition of f(x)=arcsin(2x1)f(x) = \arcsin(2x - 1) and compute ff' where defined. Same questions for g(x)=arctanxg(x) = \arctan\sqrt{x}.

Solution

Solution of Exercise 4.2.

f(x)=arcsin(2x1)f(x) = \arcsin(2x - 1) requires 12x11-1 \leq 2x - 1 \leq 1, i.e. x[0,1]x \in \intcc{0}{1}. On (0,1)\intoo{0}{1}, the chain rule and Proposition 4.10 give

f(x)=21(2x1)2=24x4x2=1x(1x).f'(x) = \frac{2}{\sqrt{1 - (2x-1)^2}} = \frac{2}{\sqrt{4x - 4x^2}} = \frac{1}{\sqrt{x(1 - x)}} .

g(x)=arctanxg(x) = \arctan\sqrt x is defined for x0x \geq 0, and for x>0x > 0:

g(x)=11+x12x=12x(1+x).g'(x) = \frac{1}{1 + x} \cdot \frac{1}{2\sqrt x} = \frac{1}{2\sqrt x\,(1 + x)} .

Exercise 4.3

Prove that for all xRx \in \R: coshx+sinhx=ex\cosh x + \sinh x = \eu^x and (coshx+sinhx)n=coshnx+sinhnx(\cosh x + \sinh x)^n = \cosh nx + \sinh nx for every nZn \in \Z (a hyperbolic de Moivre formula).

Solution

Solution of Exercise 4.3.

coshx+sinhx=ex+ex2+exex2=ex\cosh x + \sinh x = \frac{\eu^x + \eu^{-x}}{2} + \frac{\eu^x - \eu^{-x}}{2} = \eu^x. Hence for nZn \in \Z:

(coshx+sinhx)n=(ex)n=enx=coshnx+sinhnx.(\cosh x + \sinh x)^n = (\eu^x)^n = \eu^{nx} = \cosh nx + \sinh nx .

Exercise 4.4

Simplify cos(2arcsinx)\cos(2\arcsin x) and sin(2arctanx)\sin(2\arctan x) into algebraic expressions of xx.

Solution

Solution of Exercise 4.4.

With y=arcsinxy = \arcsin x: cos2y=12sin2y=12x2\cos 2y = 1 - 2\sin^2 y = 1 - 2x^2, so cos(2arcsinx)=12x2\cos(2\arcsin x) = 1 - 2x^2.

With y=arctanxy = \arctan x: sin2y=2sinycosy=2tanycos2y=2tany1+tan2y\sin 2y = 2 \sin y \cos y = 2 \tan y \cos^2 y = \frac{2\tan y}{1 + \tan^2 y}, so sin(2arctanx)=2x1+x2\sin(2\arctan x) = \dfrac{2x}{1 + x^2}.

Exercise 4.5

Order, for large xx, the functions x100x^{100},   ex\;\eu^{\sqrt x},   (lnx)1000\;(\ln x)^{1000},   ex/100\;\eu^{x/100},   xlnx\;x^{\ln x}, from slowest to fastest growth, with justifications based on Proposition 4.6.

Solution

Solution of Exercise 4.5.

From slowest to fastest:

(lnx)1000    x100    xlnx    ex    ex/100.(\ln x)^{1000} \;\ll\; x^{100} \;\ll\; x^{\ln x} \;\ll\; \eu^{\sqrt x} \;\ll\; \eu^{x/100} .

Justifications: (lnx)1000/x1000(\ln x)^{1000}/x^{100} \to 0 by Proposition 4.6 (logs lose to powers). x100=e100lnxx^{100} = \eu^{100\ln x} and xlnx=e(lnx)2x^{\ln x} = \eu^{(\ln x)^2}: since (lnx)2100lnx+(\ln x)^2 - 100\ln x \to +\infty, the second wins. xlnx=e(lnx)2exx^{\ln x} = \eu^{(\ln x)^2} \ll \eu^{\sqrt x} because (lnx)2/x0(\ln x)^2/\sqrt x \to 0 (logs lose to the power x1/4x^{1/4}, squared). Finally xx/100\sqrt x - x/100 \to -\infty, so exex/100\eu^{\sqrt x} \ll \eu^{x/100}.

Exercise 4.6 ★★

Study the function f(x)=arctan2x1x2f(x) = \arctan\dfrac{2x}{1 - x^2} on its domain: compute ff', compare with (2arctanx)(2\arctan x)', and express f(x)f(x) in terms of arctanx\arctan x on each of the three intervals of the domain.

Solution

Solution of Exercise 4.6.

Domain: x±1x \neq \pm 1, three intervals. On each,

f(x)=(2x1x2)1+4x2(1x2)2=2(1x2)+4x2(1x2)2(1x2)2+4x2(1x2)2=2(1+x2)(1+x2)2=21+x2=(2arctanx).f'(x) = \frac{\bigl(\frac{2x}{1-x^2}\bigr)'}{1 + \frac{4x^2}{(1-x^2)^2}} = \frac{\frac{2(1-x^2) + 4x^2}{(1-x^2)^2}} {\frac{(1-x^2)^2 + 4x^2}{(1-x^2)^2}} = \frac{2(1 + x^2)}{(1 + x^2)^2} = \frac{2}{1 + x^2} = (2\arctan x)' .

So f(x)2arctanxf(x) - 2\arctan x is constant on each interval. Values: at x=0x = 0, f(0)=0f(0) = 0: the constant is 00 on (1,1)\intoo{-1}{1}. As x+x \to +\infty, 2x1x20\frac{2x}{1-x^2} \to 0^- so f0f \to 0, while 2arctanxπ2\arctan x \to \pi: the constant is π-\pi on (1,+)\intoo{1}{+\infty}. By oddness, it is +π+\pi on (,1)\intoo{-\infty}{-1}. Summary: f=2arctanxf = 2\arctan x on (1,1)\intoo{-1}{1}, f=2arctanxπf = 2\arctan x - \pi for x>1x > 1, f=2arctanx+πf = 2\arctan x + \pi for x<1x < -1. (This is the double-angle formula for the tangent, read through arctan\arctan.)

Exercise 4.7 ★★

Solve in R\R:   coshx=2\;\cosh x = 2; then 5coshx4sinhx=35\cosh x - 4 \sinh x = 3 (express the solutions with logarithms). Hint for the second: write everything with u=exu = \eu^x.

Solution

Solution of Exercise 4.7.

coshx=2\cosh x = 2: with u=ex>0u = \eu^x > 0, u+u1=4u + u^{-1} = 4, so u24u+1=0u^2 - 4u + 1 = 0, u=2±3u = 2 \pm \sqrt 3: x=ln(2+3)x = \ln(2 + \sqrt 3) or x=ln(23)=ln(2+3)x = \ln(2 - \sqrt 3) = -\ln(2 + \sqrt 3) (the two solutions are opposite, as cosh\cosh is even; both are valid). Equivalently x=±arcosh2x = \pm \operatorname{arcosh} 2.

5coshx4sinhx=35\cosh x - 4\sinh x = 3: substituting the exponential definitions, 5(u+u1)4(uu1)2=3\frac{5(u + u^{-1}) - 4(u - u^{-1})}{2} = 3, i.e. u+9u1=6u + 9u^{-1} = 6, i.e. u26u+9=(u3)2=0u^2 - 6u + 9 = (u - 3)^2 = 0: u=3u = 3, one solution x=ln3x = \ln 3.

Exercise 4.8 ★★

Prove the identity arctan12+arctan13=π4\arctan\frac{1}{2} + \arctan\frac{1}{3} = \frac{\pi}{4}, then Machin’s formula

4arctan15arctan1239=π4.4\arctan\frac 15 - \arctan\frac{1}{239} = \frac{\pi}{4}.

Hint: compute the tangent of both sides using the addition formula, and control in which interval each side lies.

Solution

Solution of Exercise 4.8.

Let α=arctan12+arctan13\alpha = \arctan\frac12 + \arctan\frac13. Addition formula:

tanα=12+1311213=5/65/6=1.\tan\alpha = \frac{\frac12 + \frac13}{1 - \frac12\cdot\frac13} = \frac{5/6}{5/6} = 1 .

Both arctangents lie in (0,π4)\intoo{0}{\frac\pi4} (their arguments are in (0,1)\intoo{0}{1}), so α(0,π2)\alpha \in \intoo{0}{\frac\pi2}; the only angle there with tangent 11 is π4\frac\pi4.

Machin: let β=arctan15\beta = \arctan\frac15. Double angle twice:

tan2β=2/511/25=512,tan4β=25/12125/144=120119.\tan 2\beta = \frac{2/5}{1 - 1/25} = \frac{5}{12}, \qquad \tan 4\beta = \frac{2 \cdot 5/12}{1 - 25/144} = \frac{120}{119}.

Then

tan(4βπ4)=12011911+120119=1/119239/119=1239.\tan\Bigl(4\beta - \frac\pi4\Bigr) = \frac{\frac{120}{119} - 1}{1 + \frac{120}{119}} = \frac{1/119}{239/119} = \frac{1}{239}.

Location: β<arctan1=π4\beta < \arctan 1 = \frac\pi4 and in fact tan4β=120119\tan 4\beta = \frac{120}{119} close to 11 with 4β(0,π2)4\beta \in \intoo{0}{\frac\pi2} (since β<π8\beta < \frac\pi8, as tanπ8=21>15\tan\frac\pi8 = \sqrt 2 - 1 > \frac15); so 4βπ4(π4,π4)4\beta - \frac\pi4 \in \intoo{-\frac\pi4}{\frac\pi4}, where arctan\arctan inverts tan\tan: 4βπ4=arctan12394\beta - \frac\pi4 = \arctan\frac{1}{239}, which is Machin’s formula.

Exercise 4.9 ★★

Prove that for all x0x \geq 0:   xx36sinxx\;x - \dfrac{x^3}{6} \leq \sin x \leq x (study the successive derivatives of the differences), and deduce limx0+xsinxx3=16\lim_{x \to 0^+} \frac{x - \sin x}{x^3} = \frac 16 is plausible — the limit itself is established in Chapter 16.

Solution

Solution of Exercise 4.9.

Let f(x)=xsinxf(x) = x - \sin x: f(0)=0f(0) = 0 and f(x)=1cosx0f'(x) = 1 - \cos x \geq 0, so f0f \geq 0 on R+\R_+: sinxx\sin x \leq x.

Let g(x)=sinxx+x36g(x) = \sin x - x + \frac{x^3}{6}: g(0)=0g(0) = 0, g(x)=cosx1+x22g'(x) = \cos x - 1 + \frac{x^2}{2}, g(0)=0g'(0) = 0, g(x)=sinx+x=f(x)0g''(x) = -\sin x + x = f(x) \geq 0 on R+\R_+. So gg' is increasing with g(0)=0g'(0) = 0, hence g0g' \geq 0, hence gg is increasing with g(0)=0g(0) = 0: g0g \geq 0, i.e. xx36sinxx - \frac{x^3}{6} \leq \sin x on R+\R_+.

Consequently 0xsinxx3160 \leq \frac{x - \sin x}{x^3} \leq \frac 16 for x>0x > 0: the ratio is trapped near 16\frac16’s scale, and Chapter 16 shows its limit is exactly 16\frac 16.

Exercise 4.10 ★★★

For x[1,1]x \in \intcc{-1}{1}, set h(x)=arcsin(2x1x2)2arcsinxh(x) = \arcsin\bigl(2x\sqrt{1 - x^2}\,\bigr) - 2\arcsin x. One might expect h=0h = 0 from the identity sin2y=2sinycosy\sin 2y = 2\sin y\cos y — but hh is not identically zero. Compute hh' on the open intervals where it exists, evaluate hh at well-chosen points, and give the full piecewise-constant description of hh on [1,1]\intcc{-1}{1}.

Solution

Solution of Exercise 4.10.

Write y=arcsinxy = \arcsin x, so 2x1x2=2sinycosy=sin2y2x\sqrt{1 - x^2} = 2\sin y\cos y = \sin 2y and h(x)=arcsin(sin2y)2yh(x) = \arcsin(\sin 2y) - 2y.

For x22\abs x \leq \frac{\sqrt 2}{2}: 2y[π2,π2]2y \in \intcc{-\frac\pi2}{\frac\pi2}, so arcsin(sin2y)=2y\arcsin(\sin 2y) = 2y and h=0h = 0.

For x(22,1]x \in \intoc{\frac{\sqrt 2}{2}}{1}: 2y(π2,π]2y \in \intoc{\frac\pi2}{\pi}, and the angle of [π2,π2]\intcc{-\frac\pi2}{\frac\pi2} with sine sin2y\sin 2y is π2y\pi - 2y: so h(x)=π4arcsinxh(x) = \pi - 4\arcsin x. (Check by derivative: there h(x)=2(12x2)12x21x221x2=41x2h'(x) = \frac{2(1 - 2x^2)}{\abs{1 - 2x^2}\sqrt{1 - x^2}} - \frac{2}{\sqrt{1-x^2}} = \frac{-4}{\sqrt{1 - x^2}}, the derivative of 4arcsinx-4\arcsin x; and at x=1x = 1, h(1)=arcsin02π2=π=π4π2h(1) = \arcsin 0 - 2\cdot\frac\pi2 = -\pi = \pi - 4\cdot\frac\pi2.)

For x[1,22)x \in \intco{-1}{-\frac{\sqrt 2}{2}}, by oddness of hh: h(x)=π4arcsinxh(x) = -\pi - 4\arcsin x.

Exercise 4.11 ★★★

(Gudermannian) Let g(x)=arctan(sinhx)g(x) = \arctan(\sinh x) for xRx \in \R. Prove that gg is an odd, strictly increasing bijection from R\R onto (π2,π2)\intoo{-\frac\pi2}{\frac\pi2}, that g(x)=1coshxg'(x) = \frac{1}{\cosh x}, and that tang(x)=sinhx\tan g(x) = \sinh x,   sing(x)=tanhx\;\sin g(x) = \tanh x,   cosg(x)=1coshx\;\cos g(x) = \frac{1}{\cosh x}: the function gg links circular and hyperbolic trigonometry without complex numbers.

Solution

Solution of Exercise 4.11.

g=arctansinhg = \arctan \circ \sinh is a composition of odd, strictly increasing functions, so it is odd and strictly increasing; as x+x \to +\infty, sinhx+\sinh x \to +\infty so g(x)π2g(x) \to \frac\pi2, and gg is a bijection onto (π2,π2)\intoo{-\frac\pi2}{\frac\pi2} (continuity plus the intermediate value theorem). Chain rule with Proposition 4.18 (1):

g(x)=coshx1+sinh2x=coshxcosh2x=1coshx.g'(x) = \frac{\cosh x}{1 + \sinh^2 x} = \frac{\cosh x}{\cosh^2 x} = \frac{1}{\cosh x} .

By construction tang(x)=sinhx\tan g(x) = \sinh x. Then, since g(x)(π2,π2)g(x) \in \intoo{-\frac\pi2}{\frac\pi2} has positive cosine,

cosg(x)=11+tan2g(x)=11+sinh2x=1coshx,sing(x)=tang(x)cosg(x)=sinhxcoshx=tanhx.\begin{align*} \cos g(x) &= \frac{1}{\sqrt{1 + \tan^2 g(x)}} = \frac{1}{\sqrt{1 + \sinh^2 x}} = \frac{1}{\cosh x},\\ \sin g(x) &= \tan g(x) \cos g(x) = \frac{\sinh x}{\cosh x} = \tanh x . \end{align*}

Exercise 4.12 ★★

Prove that

arctan1+arctan2+arctan3=π.\arctan 1 + \arctan 2 + \arctan 3 = \pi .

Hint: compute arctan2+arctan3\arctan 2 + \arctan 3 first, localizing the sum as in Example 4.15; beware that the addition formula’s denominator is negative here.

Solution

Solution of Exercise 4.12.

Set u=arctan2u = \arctan 2 and v=arctan3v = \arctan 3; both lie in (π4,π2)\intoo{\frac\pi4}{\frac\pi2} (their arguments exceed 11), so u+v(π2,π)u + v \in \intoo{\frac\pi2}{\pi}. The addition formula gives

tan(u+v)=2+316=1,\tan(u + v) = \frac{2 + 3}{1 - 6} = -1 ,

and the unique angle of (π2,π)\intoo{\frac\pi2}{\pi} with tangent 1-1 is 3π4\frac{3\pi}4: so arctan2+arctan3=3π4\arctan 2 + \arctan 3 = \frac{3\pi}4. (Blindly applying arctan\arctan to the tangent would give π4-\frac\pi4, off by π\pi — the localization is what saves the computation, and the negative denominator 161 - 6 is precisely the signal that the sum has left (π2,π2)\intoo{-\frac\pi2}{\frac\pi2}.) Adding arctan1=π4\arctan 1 = \frac\pi4:

arctan1+arctan2+arctan3=π4+3π4=π.\arctan 1 + \arctan 2 + \arctan 3 = \frac\pi4 + \frac{3\pi}4 = \pi .

4.5 Problem: The equation xy=yxx^y = y^x

Problem 4.1

Which pairs of positive numbers satisfy xy=yxx^y = y^x? Everyone knows one accidental-looking example, 24=42=162^4 = 4^2 = 16; this problem shows that nothing about it is accidental. The whole equation is governed by the variations of the single function

f(t)=lntt(t>0),f(t) = \frac{\ln t}{t} \qquad (t > 0),

whose study yields: the complete solution set (a diagonal plus one curved branch through (e,e)(\eu, \eu)), a rational parametrization of the branch, the fact that (2,4)(2, 4) is its only integer point and the classification of all its rational points — plus, as dividends, the comparison of eπ\eu^\pi with πe\pi^\eu and the monotone convergence of (1+1n)n\bigl(1 + \frac1n\bigr)^n to e\eu.

Part I — The function f(t)=lnt/tf(t) = \ln t / t.

  1. Justify that ff is differentiable on (0,+)\intoo0{+\infty}, compute ff', and draw up the variation table: ff increases strictly on (0,e]\intoc0\eu, decreases strictly on [e,+)\intco\eu{+\infty}, with maximum f(e)=1ef(\eu) = \frac1\eu.
  2. Determine the limits of ff at 0+0^+ and ++\infty (Proposition 4.6), the sign of ff (negative on (0,1)\intoo01, zero at 11, positive beyond), and sketch the graph.
  3. Check by direct computation that f(2)=f(4)f(2) = f(4). (Keep this equality in mind: the entire problem grows out of it.)
  4. Let cRc \in \R. Discuss, according to the value of cc, the number of solutions of f(t)=cf(t) = c: exactly one for c0c \leq 0; exactly two (one in (1,e)\intoo1\eu, one in (e,+)\intoo\eu{+\infty}) for 0<c<1e0 < c < \frac1\eu; exactly one for c=1ec = \frac1\eu; none for c>1ec > \frac1\eu.
  5. Deduce that ex>xe\eu^x > x^\eu for every x>0x > 0 with xex \neq \eu, and in particular settle which of eπ\eu^\pi and πe\pi^\eu is larger.

Part II — The equation and its curve. In this part x,y>0x, y > 0.

  1. Show that xy=yx    f(x)=f(y)x^y = y^x \iff f(x) = f(y).
  2. Deduce the structure of the solution set: all diagonal pairs (x,x)(x, x); and the nontrivial pairs (xyx \neq y), which satisfy: both coordinates are >1> 1, and one lies in (1,e)\intoo1\eu while the other lies in (e,+)\intoo\eu{+\infty}.
  3. Parametrize the nontrivial pairs: writing y=txy = tx with t>0t > 0, t1t \neq 1, show that xy=yxx^y = y^x forces

    x(t)=t1t1,y(t)=tx(t)=ttt1,x(t) = t^{\frac1{t-1}}, \qquad y(t) = t\,x(t) = t^{\frac{t}{t-1}},

    and that conversely every such pair is a solution.

  4. Verify that t=2t = 2 gives (2,4)(2, 4), and prove the symmetry x(1/t)=y(t)x(1/t) = y(t), y(1/t)=x(t)y(1/t) = x(t): inverting the parameter swaps the two coordinates.
  5. Determine the limits of x(t)x(t) and y(t)y(t) as t1t \to 1 (both tend to e\eu), as t+t \to +\infty (x1x \to 1, y+y \to +\infty) and as t0+t \to 0^+ (x+x \to +\infty, y1y \to 1). Describe the resulting branch: a curve asymptotic to the lines x=1x = 1 and y=1y = 1, crossing the diagonal at (e,e)(\eu, \eu).
  6. Show that tx(t)t \mapsto x(t) is strictly decreasing on (1,+)\intoo1{+\infty}. (Study h(t)=11tlnth(t) = 1 - \frac1t - \ln t, whose sign controls the derivative of lnx(t)=lntt1\ln x(t) = \frac{\ln t}{t - 1}.)
  7. Conclude that the nontrivial solutions define a strictly decreasing bijection φ ⁣:(1,e)(e,+)\varphi \colon \intoo1\eu \to \intoo\eu{+\infty} with xφ(x)=φ(x)xx^{\varphi(x)} = \varphi(x)^x, and that φ\varphi is an involution of the branch: φ(φ(x))=x\varphi(\varphi(x)) = x wherever both sides are defined.

Part III — Integer and rational points.

  1. Prove that (2,4)(2, 4) and (4,2)(4, 2) are the only nontrivial integer solutions of xy=yxx^y = y^x.
  2. For nNn \in \N^*, apply the parametrization with t=1+1nt = 1 + \frac1n and show that

    xn=(1+1n)n,yn=(1+1n)n+1x_n = \Bigl(1 + \frac1n\Bigr)^{n}, \qquad y_n = \Bigl(1 + \frac1n\Bigr)^{n+1}

    is a nontrivial rational solution for every nn, with (x1,y1)=(2,4)(x_1, y_1) = (2, 4).

  3. Conversely, let (x,y)(x, y) be a nontrivial rational solution with y>xy > x, and write t=y/x=1+rst = y/x = 1 + \frac rs in lowest terms (r,sNr, s \in \N^*). Using x=ts/rx = t^{s/r} and admitting the uniqueness of prime factorization (familiar from school; proved in Chapter 6), show that xx rational forces both ss and s+rs + r to be rr-th powers of integers.
  4. Show with the binomial theorem that arbr=ra^r - b^r = r has no integer solutions a>b1a > b \geq 1 when r2r \geq 2, and conclude: the rational solutions of xy=yxx^y = y^x are exactly the pairs (xn,yn)(x_n, y_n) of question 14 (and their swaps).
  5. Verify the case n=2n = 2 numerically: compute f(9/4)f(9/4) and f(27/8)f(27/8) to four decimal places and check they agree.

Part IV — Dividends.

  1. Use questions 7 and 11 to prove, with no further computation, that the sequence xn=(1+1n)nx_n = \bigl(1 + \frac1n\bigr)^n is strictly increasing with xn<ex_n < \eu, that yn=(1+1n)n+1y_n = \bigl(1 + \frac1n\bigr)^{n+1} is strictly decreasing with yn>ey_n > \eu, and that both converge to e\eu. (The parameter tn=1+1nt_n = 1 + \frac1n decreases to 11.)
  2. Establish the general comparison rule for 1<a<b1 < a < b: if ea\eu \leq a then ab>baa^b > b^a; if beb \leq \eu then ab<baa^b < b^a; and show by the two examples (2,3)(2, 3) and (2,5)(2, 5) that in the mixed case a<e<ba < \eu < b both outcomes really occur.
  3. Suppose the involution φ\varphi of question 12 is differentiable at e\eu (it is). Differentiate the identity φ(φ(x))=x\varphi(\varphi(x)) = x at x=ex = \eu and deduce φ(e)=1\varphi'(\eu) = -1: the branch crosses the diagonal at right angles to it.
  4. Find the unique solution pair with y=3xy = 3x, in closed form, and check it numerically to four decimals via ff.
  5. Among the numbers 2\sqrt2, 33\sqrt[3]3, 44\sqrt[4]4, 55\sqrt[5]5, determine the largest and identify the two that are equal. (Compare n1/n=ef(n)n^{1/n} = \eu^{f(n)}.)

Part V — Synthesis.

  1. Describe the complete solution set of xy=yxx^y = y^x in the quarter-plane x,y>0x, y > 0 — diagonal plus branch, their intersection (e,e)(\eu, \eu), the asymptotes, the integer point (2,4)(2, 4), the rational points accumulating at (e,e)(\eu, \eu) — in a form you could sketch from memory.
  2. Where exactly did the problem use: (i) the growth comparisons of Proposition 4.6; (ii) the intermediate value theorem (through the bijection statements); (iii) the admitted uniqueness of prime factorization? One sentence each.
  3. Moral, in a short paragraph: a single variation table solved an equation in two unknowns, classified its rational points, and proved the monotone convergence of (1+1n)n\bigl(1 + \frac1n\bigr)^n — comment on this economy, and name where each thread is industrialized later in the volume (Chapter 11 for the sequence, Chapter 14 for variation tables, Chapter 16 for the precision the table lacks).
Solution

Solution of Problem 4.1.

1. ff is a quotient of differentiable functions with nonvanishing denominator on (0,+)\intoo0{+\infty}, and

f(t)=1ttlntt2=1lntt2,f'(t) = \frac{\frac1t \cdot t - \ln t}{t^2} = \frac{1 - \ln t}{t^2} ,

positive for t<et < \eu, zero at t=et = \eu, negative for t>et > \eu: ff increases strictly on (0,e]\intoc0\eu, decreases strictly on [e,+)\intco\eu{+\infty}, with maximum f(e)=1ef(\eu) = \frac1\eu.

2. As t0+t \to 0^+: lnt\ln t \to -\infty and 1t+\frac1t \to +\infty, so f(t)f(t) \to -\infty. As t+t \to +\infty: f(t)0f(t) \to 0 by the growth comparison of Proposition 4.6 (β=α=1\beta = \alpha = 1). Sign: that of lnt\ln t, so f<0f < 0 on (0,1)\intoo01, f(1)=0f(1) = 0, f>0f > 0 on (1,+)\intoo1{+\infty}. The graph climbs from -\infty, crosses zero at 11, peaks at (e,1e)(\eu, \frac1\eu), then decays to 0+0^+.

3. f(4)=ln44=2ln24=ln22=f(2)f(4) = \frac{\ln 4}4 = \frac{2\ln 2}4 = \frac{\ln 2}2 = f(2).

4. By the variation table and the intermediate value theorem (used at High School level; formalized in Chapter 13). For c<0c < 0: solutions exist only where f<0f < 0, i.e. in (0,1)\intoo01 where ff is a strictly increasing bijection onto (,0)\intoo{-\infty}0: exactly one. For c=0c = 0: only t=1t = 1. For 0<c<1e0 < c < \frac1\eu: on (1,e)\intoo1\eu, ff increases from 00 to 1e\frac1\eu: one solution; on (e,+)\intoo\eu{+\infty}, ff decreases from 1e\frac1\eu to 00: one more; total two. For c=1ec = \frac1\eu: only the maximum point t=et = \eu. For c>1ec > \frac1\eu: none.

5. For xex \neq \eu, strict maximality gives f(x)<f(e)f(x) < f(\eu), i.e. lnxx<1e\frac{\ln x}x < \frac1\eu, i.e. elnx<x\eu\ln x < x, i.e. ln(xe)<ln(ex)\ln(x^\eu) < \ln(\eu^x): xe<exx^\eu < \eu^x. With x=πx = \pi: eπ>πe\eu^\pi > \pi^\eu (numerically 23.14>22.4623.14 > 22.46).

6. For x,y>0x, y > 0, both sides are positive, so

xy=yx    ylnx=xlny    lnxx=lnyy    f(x)=f(y),x^y = y^x \iff y\ln x = x\ln y \iff \frac{\ln x}x = \frac{\ln y}y \iff f(x) = f(y) ,

dividing by xy>0xy > 0.

7. Let f(x)=f(y)=cf(x) = f(y) = c with xyx \neq y. If c0c \leq 0 or c=1ec = \frac1\eu, question 4 says the equation f=cf = c has a single solution: impossible. So 0<c<1e0 < c < \frac1\eu, and again by question 4 the two solutions are one point of (1,e)\intoo1\eu and one of (e,+)\intoo\eu{+\infty}: both coordinates exceed 11 and they straddle e\eu.

8. Substituting y=txy = tx in ylnx=xlnyy\ln x = x\ln y:

txlnx=x(lnt+lnx)    (t1)lnx=lnt    lnx=lntt1,tx\ln x = x(\ln t + \ln x) \iff (t - 1)\ln x = \ln t \iff \ln x = \frac{\ln t}{t - 1} ,

so x=t1/(t1)x = t^{1/(t-1)} and y=tx=t1+1t1=tt/(t1)y = tx = t^{1 + \frac1{t-1}} = t^{t/(t-1)}. Conversely, for these values, lny=tlntt1=tlnx\ln y = \frac{t\ln t}{t-1} = t\ln x and y=txy = tx, so lnyy=tlnxtx=lnxx\frac{\ln y}y = \frac{t\ln x}{tx} = \frac{\ln x}x: a solution. Every nontrivial solution has some ratio t=y/x(0,+){1}t = y/x \in \intoo0{+\infty} \setminus \{1\}, so the parametrization is complete.

9. t=2t = 2: x=21/1=2x = 2^{1/1} = 2, y=22/1=4y = 2^{2/1} = 4. And

x(1/t)=(1/t)11t1=(t1)t1t=ttt1=y(t),x(1/t) = (1/t)^{\frac1{\frac1t - 1}} = (t^{-1})^{\frac{t}{1 - t}} = t^{\frac{t}{t - 1}} = y(t) ,

then y(1/t)=1tx(1/t)=y(t)t=x(t)y(1/t) = \frac1t\,x(1/t) = \frac{y(t)}t = x(t): the parameter change t1/tt \mapsto 1/t swaps the coordinates, as the symmetry of the equation demands.

10. As t1t \to 1: lntt11\frac{\ln t}{t-1} \to 1 (it is the difference quotient of ln\ln at 11), so xe1=ex \to \eu^1 = \eu and y=txey = tx \to \eu. As t+t \to +\infty: lnx=lntt10\ln x = \frac{\ln t}{t-1} \to 0 so x1x \to 1, while lny=tlntt1+\ln y = \frac{t\ln t}{t-1} \to +\infty so y+y \to +\infty. As t0+t \to 0^+: lnx=lntt11=+\ln x = \frac{\ln t}{t-1} \to \frac{-\infty}{-1} = +\infty so x+x \to +\infty, while lny=tlntt101=0\ln y = \frac{t\ln t}{t-1} \to \frac{0}{-1} = 0 so y1y \to 1 (using tlnt0t\ln t \to 0, Example 4.7). The branch therefore runs from the asymptote y=1y = 1 (far right), up through (e,e)(\eu, \eu) on the diagonal, and off along the asymptote x=1x = 1 (far top) — symmetric about the diagonal by question 9.

11. lnx(t)=g(t)=lntt1\ln x(t) = g(t) = \frac{\ln t}{t-1}, and

g(t)=t1tlnt(t1)2=h(t)(t1)2,h(t)=11tlnt.g'(t) = \frac{\frac{t-1}t - \ln t}{(t-1)^2} = \frac{h(t)}{(t-1)^2}, \qquad h(t) = 1 - \frac1t - \ln t .

h(1)=0h(1) = 0 and h(t)=1t21t=1tt2<0h'(t) = \frac1{t^2} - \frac1t = \frac{1 - t}{t^2} < 0 for t>1t > 1: h<0h < 0 on (1,+)\intoo1{+\infty}, so g<0g' < 0 and x=egx = \eu^g is strictly decreasing there (from e\eu to 11, by question 10).

12. By question 11, tx(t)t \mapsto x(t) is a strictly decreasing bijection from (1,+)\intoo1{+\infty} onto (1,e)\intoo1\eu; write t(x)t(x) for its inverse (also strictly decreasing) and set φ(x)=y(t(x))\varphi(x) = y(t(x)). Note h<0h < 0 also on (0,1)\intoo01 (there h>0h' > 0 and h(1)=0h(1) = 0), so x()x(\cdot) is decreasing on (0,1)\intoo01 as well; hence y(t)=x(1/t)y(t) = x(1/t) (question 9) is increasing in tt on (1,+)\intoo1{+\infty}, from e\eu to ++\infty. Composing: φ=yt()\varphi = y \circ t(\cdot) is strictly decreasing from (1,e)\intoo1\eu onto (e,+)\intoo\eu{+\infty}, and xφ(x)=φ(x)xx^{\varphi(x)} = \varphi(x)^x by question 8. Finally, for a common value c=f(x)(0,1e)c = f(x) \in \intoo0{\frac1\eu}, the pair {x,φ(x)}\{x, \varphi(x)\} is the two-element solution set of f=cf = c (question 4); extending φ\varphi to (e,+)\intoo\eu{+\infty} as the inverse map, φ(φ(x))\varphi(\varphi(x)) returns to the other (i.e. original) element: φφ=id\varphi \circ \varphi = \mathrm{id}.

13. If (x,y)(x, y) is a nontrivial integer solution with x<yx < y, question 7 puts x(1,e)x \in \intoo1\eu: the only integer there is x=2x = 2. Then f(y)=f(2)=ln22f(y) = f(2) = \frac{\ln2}2 with y>ey > \eu; by question 4 the equation f=ln22f = \frac{\ln2}2 has exactly one solution beyond e\eu, and question 3 exhibits it: y=4y = 4. Hence (2,4)(2, 4), and its swap, are the only ones.

14. t=1+1n=n+1nt = 1 + \frac1n = \frac{n+1}n gives 1t1=n\frac1{t - 1} = n and tt1=n+1\frac t{t-1} = n + 1, so

xn=(n+1n)n,yn=(n+1n)n+1,x_n = \Bigl(\frac{n+1}n\Bigr)^{n}, \qquad y_n = \Bigl(\frac{n+1}n\Bigr)^{n+1},

manifestly rational, distinct (yn=txnxny_n = t\,x_n \neq x_n), and n=1n = 1 gives x1=2x_1 = 2, y1=4y_1 = 4.

15. t=y/xt = y/x is rational and >1> 1; write t1=rst - 1 = \frac rs in lowest terms, so t=s+rst = \frac{s + r}s with gcd(s+r,s)=gcd(r,s)=1\gcd(s + r, s) = \gcd(r, s) = 1. Question 8 gives x=ts/rx = t^{s/r}, hence

xr=ts=(s+r)sss,x^r = t^s = \frac{(s+r)^s}{s^s} ,

a fraction in lowest terms (no prime divides both s+rs + r and ss). Writing x=pqx = \frac pq in lowest terms, xr=prqrx^r = \frac{p^r} {q^r} is also in lowest terms, and by uniqueness of the reduced representation: pr=(s+r)sp^r = (s+r)^s and qr=ssq^r = s^s. Compare the exponent of any prime \ell in qr=ssq^r = s^s: rv(q)=sv(s)r \cdot v_\ell(q) = s \cdot v_\ell(s), so rr divides sv(s)s\,v_\ell(s); since gcd(r,s)=1\gcd(r, s) = 1, rr divides v(s)v_\ell(s) for every prime \ell (unique factorization, admitted; proved in Chapter 6), so s=brs = b^r for an integer bb. The same argument on pr=(s+r)sp^r = (s+r)^s gives s+r=ars + r = a^r.

16. Suppose arbr=ra^r - b^r = r with integers a>b1a > b \geq 1 and r2r \geq 2. Then ab+1a \geq b + 1, so by the binomial theorem

arbr(b+1)rbr=k=0r1(rk)bk(r0)+(rr1)br11+r>r,a^r - b^r \geq (b+1)^r - b^r = \sum_{k=0}^{r-1}\binom rk b^k \geq \binom r0 + \binom r{r-1} b^{r-1} \geq 1 + r > r ,

a contradiction. From question 15, arbr=(s+r)s=ra^r - b^r = (s + r) - s = r forces r=1r = 1: t=1+1st = 1 + \frac1s, and the solution is (xs,ys)(x_s, y_s) of question 14. Together with the swapped pairs, the classification is complete.

17. f(94)=ln2.252.25=0.810932.25=0.3604f\bigl(\tfrac94\bigr) = \frac{\ln 2.25}{2.25} = \frac{0.81093}{2.25} = 0.3604 and f(278)=ln3.3753.375=1.216403.375=0.3604f\bigl(\tfrac{27}8\bigr) = \frac{\ln 3.375}{3.375} = \frac{1.21640}{3.375} = 0.3604 (four decimals): equal, as the construction promises — so (94)27/8=(278)9/4\bigl(\tfrac94\bigr)^{27/8} = \bigl(\tfrac{27}8\bigr)^{9/4}.

18. The parameters tn=1+1nt_n = 1 + \frac1n decrease strictly to 11. Since x()x(\cdot) is strictly decreasing on (1,+)\intoo1{+\infty} (question 11), xn=x(tn)x_n = x(t_n) is strictly increasing; since y()y(\cdot) is strictly increasing there (question 12), yn=y(tn)y_n = y(t_n) is strictly decreasing. By question 7, xn(1,e)x_n \in \intoo1\eu and yn(e,+)y_n \in \intoo\eu{+\infty}: so xn<e<ynx_n < \eu < y_n for every nn. Finally tn1t_n \to 1 and question 10 give xnex_n \to \eu and yney_n \to \eu. The classical monotone convergence of (1+1n)n\bigl(1 + \frac1n\bigr)^n falls out of the geometry of the branch, with no new inequality.

19. If ea<b\eu \leq a < b: ff strictly decreasing on [e,+)\intco\eu{+\infty} gives f(a)>f(b)f(a) > f(b), i.e. blna>alnbb\ln a > a\ln b, i.e. ab>baa^b > b^a. If 1<a<be1 < a < b \leq \eu: ff strictly increasing gives f(a)<f(b)f(a) < f(b), hence ab<baa^b < b^a. Mixed case: 2<e<32 < \eu < 3 and 23=8<9=322^3 = 8 < 9 = 3^2; but 2<e<52 < \eu < 5 and 25=32>25=522^5 = 32 > 25 = 5^2: both outcomes occur, decided by which side of the branch the point (a,b)(a, b) falls.

20. The branch meets the diagonal at e\eu and φ\varphi extends continuously there with φ(e)=e\varphi(\eu) = \eu. Differentiating φ(φ(x))=x\varphi(\varphi(x)) = x at x=ex = \eu by the chain rule: φ(φ(e))φ(e)=φ(e)2=1\varphi'(\varphi(\eu))\,\varphi'(\eu) = \varphi'(\eu)^2 = 1, so φ(e)=±1\varphi'(\eu) = \pm1; φ\varphi is decreasing, so φ(e)=1\varphi'(\eu) = -1. The branch crosses the diagonal with slope 1-1: perpendicularly.

21. y=3xy = 3x is the case t=3t = 3: x=31/2=3x = 3^{1/2} = \sqrt3 and y=33/2=33y = 3^{3/2} = 3\sqrt3. Check: f(3)=0.549311.73205=0.3171f(\sqrt3) = \frac{0.54931}{1.73205} = 0.3171 and f(33)=ln5.196155.19615=1.647925.19615=0.3171f(3\sqrt3) = \frac{\ln 5.19615}{5.19615} = \frac{1.64792}{5.19615} = 0.3171: equal to four decimals, so (3)33=(33)3(\sqrt3)^{3\sqrt3} = (3\sqrt3)^{\sqrt3}.

22. n1/n=ef(n)n^{1/n} = \eu^{f(n)}, and exp\exp is increasing, so the ordering is that of f(n)f(n): f(3)=ln330.3662f(3) = \frac{\ln3}3 \approx 0.3662 beats f(2)=f(4)=ln220.3466f(2) = f(4) = \frac{\ln2}2 \approx 0.3466 (question 3) and f(5)0.3219f(5) \approx 0.3219. The largest is 33\sqrt[3]3, and the equal pair is 2=44\sqrt2 = \sqrt[4]4 — the integer pair (2,4)(2, 4) in yet another disguise.

23. The solution set is the union of the diagonal {(x,x):x>0}\{(x, x) : x > 0\} and a single branch, symmetric about the diagonal, strictly decreasing from the asymptote x=1x = 1 (as y+y \to +\infty) to the asymptote y=1y = 1 (as x+x \to +\infty), crossing the diagonal exactly once, at (e,e)(\eu, \eu), with slope 1-1 there. On the branch sit the integer points (2,4)(2, 4) and (4,2)(4, 2) — the only ones — and the rational points (xn,yn)(x_n, y_n), which march monotonically along the branch toward (e,e)(\eu, \eu) without ever reaching it (e\eu is irrational; the branch’s rational points accumulate at an irrational corner).

24. (i) Growth comparisons gave the limits of ff at ++\infty (question 2) and tlnt0t\ln t \to 0 (question 10), shaping both the variation table and the asymptotes. (ii) The intermediate value theorem, through the bijection statements, converted the variation table into exact solution counts (question 4) and into the existence of the inverse map t(x)t(x) (question 12). (iii) Unique factorization powered the two lowest-terms identifications of question 15, the arithmetic heart of the rational-point classification.

25. One derivative computation — the sign of 1lnt1 - \ln t — generated everything: the solution count for each level cc, the shape and asymptotes of the branch, the extremal inequality exxe\eu^x \geq x^\eu, the classification of integer and rational solutions, and the monotone convergence of (1+1n)n\bigl(1 + \frac1n\bigr)^n. This is the economy of thinking with variation tables: a one-dimensional study resolves a two-variable equation because the equation factors through a single function. Chapter 11 will redo the convergence of (xn)(x_n) with the general theory of monotone sequences; Chapter 14 founds variation tables rigorously on the mean value theorem; and Chapter 16 supplies what the table cannot — the speed of the convergence xnex_n \to \eu (it is of order 1/n1/n).