Chapter X · The general theory of the logarithmic, exponential and circular functions

Logarithms and the inverse circular functions

§241 30 min

arc tan, arc sin and arc cos are logarithms in disguise; the formula arc tan x = (1/2i) Log{(1 + ix)/(1 − ix)} is completely true.

Why this matters

In Chapter VI the integral of 1/(x2+a)1/(x^2 + a) came out in two quite different forms: an inverse tangent when a>0a > 0, a logarithm when a<0a < 0. Two formulae for one integral, depending on the sign of a constant, suggest that the inverse tangent and the logarithm are really the same function. Now that the logarithm of a complex number is defined, §241 proves exactly that, and gives the companion formulae for arcsin⁡\arcsin and arccos⁡\arccos.

The idea

Since cos⁡\cos and sin⁡\sin are built from exp⁡(iζ)\exp(i\zeta), and exp⁡\exp is inverted by Log⁡\operatorname{Log}, the inverse circular functions should be logarithms. For the tangent, take a real angle yy and look at the complex number 1+itan⁡y1 + i\tan y: its amplitude is yy. Its conjugate 1−itan⁡y1 - i\tan y has amplitude −y-y. So their quotient

w=1+ix1−ix,x=tan⁡y,w = \frac{1 + ix}{1 - ix}, \qquad x = \tan y,

has modulus 11 and amplitude 2y2y: it is exp⁡(2iy)\exp(2iy). Taking logarithms and dividing by 2i2i recovers yy, up to the usual ambiguity of a multiple of π\pi, which is precisely the ambiguity of arctan⁡x\arctan x.

Explore arc tan x as a logarithm

Try this. Move xx from −8-8 to 88. Watch 1+ix1 + ix (ochre, solid), 1−ix1 - ix (ochre, dashed) and their quotient ww (blue), and the values of 12iLog⁡w\tfrac{1}{2i}\operatorname{Log} w on the right.

arctan⁡x=12iLog⁡1+ix1−ix\arctan x = \frac{1}{2i}\operatorname{Log}\frac{1 + ix}{1 - ix}
the points 1 + ix, 1 − ix and their quotient w
ReIm
the values of (1/2i) Log w on the real line
  • 1 + ix (solid) and 1 − ix (dashed)
  • w = (1 + ix)/(1 − ix), always on the unit circle
  • angle 2y, and the principal arc tan x
  • −½π and ½π
w=iw = i, ∣w∣=1|w| = 1, amplitude 2y=1.5712y = 1.571. So the values of 12iLog⁡w\tfrac{1}{2i}\operatorname{Log} w are 0.7854+kπ0.7854 + k\pi: exactly the values of arctan⁡x\arctan x, the principal one (between −12π-\tfrac12\pi and 12π\tfrac12\pi) given by the principal logarithm.
What to notice

ww always stays on the unit circle, at twice the angle of 1+ix1 + ix. As x→±∞x \to \pm\infty, ww approaches −1-1 from above or below, and the principal value of 12iLog⁡w\tfrac{1}{2i}\operatorname{Log} w approaches ±12π\pm\tfrac12\pi: the principal logarithm reproduces the principal value of arctan⁡x\arctan x, between −12π-\tfrac12\pi and 12π\tfrac12\pi. The other values differ by multiples of π\pi, exactly like the other values of arctan⁡x\arctan x.

Precise statements

As in Chapter VI, arctan⁡x\arctan x (Hardy: arc tan⁡x\operatorname{arc\,tan} x) denotes any angle whose tangent is xx, so it is many-valued; its principal value lies in (−12π,12π)(-\tfrac12\pi, \tfrac12\pi). Likewise for arcsin⁡\arcsin and arccos⁡\arccos.

Theorem The inverse tangent as a logarithm Hardy: §241 (4)

For real xx,

arctan⁡x=12iLog⁡1+ix1−ix\arctan x = \frac{1}{2i}\operatorname{Log}\frac{1 + ix}{1 - ix}

is completely true: every value of either side is a value of the other. Taking principal values on both sides gives a true equation.

Theorem Inverse sine and cosine Hardy: §241 (5)

For real xx with −1≤x≤1-1 \le x \le 1,

arccos⁡x=−iLog⁡{x±i1−x2},arcsin⁡x=−iLog⁡{ix±1−x2},\arccos x = -i\operatorname{Log}\bigl\{x \pm i\sqrt{1 - x^2}\bigr\}, \qquad \arcsin x = -i\operatorname{Log}\bigl\{ix \pm \sqrt{1 - x^2}\bigr\},

both completely true, each sign giving half of the values.

There is also the formula that motivated the section: for real xx and α≠0\alpha \neq 0, every value of 12iLog⁡x−iαx+iα\frac{1}{2i}\operatorname{Log}\frac{x - i\alpha}{x + i\alpha} differs from a value of arctan⁡(x/α)\arctan(x/\alpha) by a constant. So the two Chapter VI integrals of 1/(x2+a)1/(x^2 + a) are one formula, read with a\sqrt a real or imaginary.

Proofs

Proof The inverse tangent as a logarithm
Strategy

Compute all values of the right-hand side by substituting x=tan⁡yx = \tan y, and compare with all values of arctan⁡x\arctan x, which are y+kπy + k\pi.

Write x=tan⁡yx = \tan y

Every real xx is tan⁡y\tan y for one yy in (−12π,12π)(-\tfrac12\pi, \tfrac12\pi); the values of arctan⁡x\arctan x are then y+kπy + k\pi, kk any integer.

Simplify the quotient

1+itan⁡y1−itan⁡y=cos⁡y+isin⁡ycos⁡y−isin⁡y=exp⁡(iy)exp⁡(−iy)=exp⁡(2iy)\dfrac{1 + i\tan y}{1 - i\tan y} = \dfrac{\cos y + i\sin y}{\cos y - i\sin y} = \dfrac{\exp(iy)}{\exp(-iy)} = \exp(2iy).

Take all logarithms

The values of Log⁡exp⁡(2iy)\operatorname{Log}\exp(2iy) are 2iy+2kπi2iy + 2k\pi i (the number exp⁡(2iy)\exp(2iy) has modulus 11 and amplitudes 2y+2kπ2y + 2k\pi). Dividing by 2i2i: the values of the right-hand side are y+kπy + k\pi.

Compare

These are exactly the values of arctan⁡x\arctan x, so the equation is completely true.

Principal values

Since ∣2y∣<π|2y| < \pi, the principal logarithm of exp⁡(2iy)\exp(2iy) is 2iy2iy, giving yy: the principal value of arctan⁡x\arctan x.

Proof Inverse cosine
Strategy

Solve cos⁡u=x\cos u = x for uu by turning it into a quadratic equation for y=exp⁡(iu)y = \exp(iu), then take logarithms.

The quadratic

cos⁡u=x\cos u = x means 12(y+1/y)=x\tfrac12(y + 1/y) = x with y=exp⁡(iu)y = \exp(iu), i.e. y2−2xy+1=0y^2 - 2xy + 1 = 0.

Solve it

y=x±x2−1=x±i1−x2y = x \pm \sqrt{x^2 - 1} = x \pm i\sqrt{1 - x^2}, real square root since ∣x∣≤1|x| \le 1. Both roots have modulus 11 and their product is 11.

Invert the exponential

exp⁡(iu)=y\exp(iu) = y means iuiu is a value of Log⁡y\operatorname{Log} y, i.e. u=−iLog⁡yu = -i\operatorname{Log} y. Every value of arccos⁡x\arccos x arises this way from one of the two roots, and conversely every such uu satisfies cos⁡u=x\cos u = x. So arccos⁡x=−iLog⁡{x±i1−x2}\arccos x = -i\operatorname{Log}\{x \pm i\sqrt{1 - x^2}\} completely.

The values are real

Since ∣y∣=1|y| = 1, log⁡∣y∣=0\log|y| = 0 and −iLog⁡y=am⁡y-i\operatorname{Log} y = \operatorname{am} y, a real angle. With x=cos⁡θx = \cos\theta, 0≤θ≤π0 \le \theta \le \pi, the roots are cos⁡θ±isin⁡θ\cos\theta \pm i\sin\theta and the values are ±θ+2kπ\pm\theta + 2k\pi: exactly the values of arccos⁡x\arccos x. The formula for arcsin⁡\arcsin is proved in the same way from sin⁡u=x\sin u = x, which gives y2−2ixy−1=0y^2 - 2ixy - 1 = 0, y=ix±1−x2y = ix \pm\sqrt{1 - x^2}.

Worked examples and exercises

Exercise Checking the formula at x = 1 ●○○ Hardy: §241

Use the formula to compute the principal value of arctan⁡1\arctan 1, and all its values.

Hint
(1+i)/(1−i)=i(1 + i)/(1 - i) = i.

Solution

1+i1−i=(1+i)22=i\dfrac{1 + i}{1 - i} = \dfrac{(1 + i)^2}{2} = i. The values of Log⁡i\operatorname{Log} i are (2k+12)πi(2k + \tfrac12)\pi i, so 12iLog⁡i=(k+14)π\tfrac{1}{2i}\operatorname{Log} i = (k + \tfrac14)\pi. Principal value 14π\tfrac14\pi; all values 14π+kπ\tfrac14\pi + k\pi. ✓

Exercise arc sin from a quadratic ●○○ Hardy: §241, Example

Derive arcsin⁡x=−iLog⁡{ix±1−x2}\arcsin x = -i\operatorname{Log}\{ix \pm \sqrt{1 - x^2}\} for −1≤x≤1-1 \le x \le 1, following the proof for arccos⁡\arccos.

Hint
sin⁡u=−12i(y−1/y)\sin u = -\tfrac12 i(y - 1/y) with y=exp⁡(iu)y = \exp(iu).

Solution

sin⁡u=x\sin u = x becomes −12i(y−y−1)=x-\tfrac12 i(y - y^{-1}) = x, i.e. y−y−1=2ixy - y^{-1} = 2ix, i.e. y2−2ixy−1=0y^2 - 2ixy - 1 = 0. So y=ix±−x2+1y = ix \pm \sqrt{-x^2 + 1}. Then u=−iLog⁡yu = -i\operatorname{Log} y. Both roots have modulus x2+(1−x2)=1\sqrt{x^2 + (1 - x^2)} = 1, so all values are real; with x=sin⁡θx = \sin\theta, ∣θ∣≤12π|\theta| \le \tfrac12\pi, the roots are ±cos⁡θ+isin⁡θ\pm\cos\theta + i\sin\theta, i.e. exp⁡(iθ)\exp(i\theta) and exp⁡{i(π−θ)}\exp\{i(\pi - \theta)\}, giving the values θ+2kπ\theta + 2k\pi and π−θ+2kπ\pi - \theta + 2k\pi of arcsin⁡x\arcsin x.

Exercise Solving sin ζ = 2 ●●○ Hardy: §241, cf. Examples XCVI, 8

The derivation of the arcsin⁡\arcsin formula works for any complex xx if 1−x2\sqrt{1 - x^2} means either square root. Use it to find all solutions of sin⁡ζ=2\sin\zeta = 2, and check one of them.

Hint
1−4=±i3\sqrt{1 - 4} = \pm i\sqrt3, and log⁡(2−3)=−log⁡(2+3)\log(2 - \sqrt3) = -\log(2 + \sqrt3).

Solution

y=2i±i3=i(2±3)y = 2i \pm i\sqrt3 = i(2 \pm \sqrt3). Then Log⁡y=log⁡(2±3)+i(2k+12)π\operatorname{Log} y = \log(2 \pm \sqrt3) + i(2k + \tfrac12)\pi, and ζ=−iLog⁡y=(2k+12)π−ilog⁡(2±3)\zeta = -i\operatorname{Log} y = (2k + \tfrac12)\pi - i\log(2 \pm \sqrt3). Since (2−3)(2+3)=1(2 - \sqrt3)(2 + \sqrt3) = 1, this is ζ=(2k+12)π±ilog⁡(2+3)\zeta = (2k + \tfrac12)\pi \pm i\log(2 + \sqrt3).

Check: sin⁡(12π+iη)=cos⁡(iη)=cosh⁡η\sin(\tfrac12\pi + i\eta) = \cos(i\eta) = \cosh\eta, and cosh⁡log⁡(2+3)=12{(2+3)+(2−3)}=2\cosh\log(2 + \sqrt3) = \tfrac12\{(2 + \sqrt3) + (2 - \sqrt3)\} = 2. ✓ There are no real solutions, but infinitely many complex ones.

Exercise Inverting the complex tangent ●●● Hardy: §241

Show that tan⁡ζ\tan\zeta never takes the values ±i\pm i, and that for every other complex ww the solutions of tan⁡ζ=w\tan\zeta = w are the values of 12iLog⁡1+iw1−iw\frac{1}{2i}\operatorname{Log}\frac{1 + iw}{1 - iw}.

Hint
Write tan⁡ζ\tan\zeta in terms of t=exp⁡(2iζ)t = \exp(2i\zeta): tan⁡ζ=−i t−1t+1\tan\zeta = -i\,\dfrac{t - 1}{t + 1}.

Solution

From the definitions, tan⁡ζ=−i t−1t+1\tan\zeta = -i\,\dfrac{t - 1}{t + 1} with t=exp⁡(2iζ)t = \exp(2i\zeta) (and t≠−1t \ne -1, where cos⁡ζ=0\cos\zeta = 0). Solving w=−i(t−1)/(t+1)w = -i(t - 1)/(t + 1) for tt: iw(t+1)=t−1iw(t + 1) = t - 1, so t(1−iw)=1+iwt(1 - iw) = 1 + iw.

If w=iw = i then 1−iw=21 - iw = 2 and 1+iw=01 + iw = 0, so the equation reads 2t=02t = 0, impossible since t=exp⁡(2iζ)≠0t = \exp(2i\zeta) \ne 0. If w=−iw = -i then 1−iw=01 - iw = 0 and 1+iw=21 + iw = 2, so it reads 0=20 = 2, impossible. So ±i\pm i are never values of tan⁡\tan.

Otherwise t=(1+iw)/(1−iw)t = (1 + iw)/(1 - iw), which is neither 00 nor −1-1, and 2iζ2i\zeta must be a value of Log⁡t\operatorname{Log} t. Hence ζ=12iLog⁡1+iw1−iw\zeta = \frac{1}{2i}\operatorname{Log}\frac{1 + iw}{1 - iw}, and every such value is a solution. For real w=xw = x this is the theorem above.

Check yourself

Check yourself Choose one

For real xx, the values of 12iLog⁡1+ix1−ix\frac{1}{2i}\operatorname{Log}\frac{1 + ix}{1 - ix} are spaced

Why

The values of Log⁡\operatorname{Log} are 2πi2\pi i apart; dividing by 2i2i makes them π\pi apart, and real. That matches the period π\pi of the tangent, which is why the equation is completely true.

Check yourself True or false?

For −1≤x≤1-1 \le x \le 1, every value of −iLog⁡{x+i1−x2}-i\operatorname{Log}\{x + i\sqrt{1 - x^2}\} is real.

Why

True: x+i1−x2x + i\sqrt{1 - x^2} has modulus 11, so its logarithms are purely imaginary, i(θ+2kπ)i(\theta + 2k\pi), and multiplying by −i-i gives real numbers θ+2kπ\theta + 2k\pi.

Check yourself Enter a number

The solutions of sin⁡ζ=2\sin\zeta = 2 are (2k+12)π±iη(2k + \frac12)\pi \pm i\eta. Give η>0\eta > 0 to four decimals.

Why

η=log⁡(2+3)≈1.3170\eta = \log(2 + \sqrt3) \approx 1.3170, the positive solution of cosh⁡η=2\cosh\eta = 2 (the third exercise).

Hardy’s language

Summary

Summary
  • For real xx, arctan⁡x=12iLog⁡1+ix1−ix\arctan x = \frac{1}{2i}\operatorname{Log}\frac{1 + ix}{1 - ix}, completely true, and true for principal values.
  • arccos⁡x=−iLog⁡{x±i1−x2}\arccos x = -i\operatorname{Log}\{x \pm i\sqrt{1 - x^2}\} and arcsin⁡x=−iLog⁡{ix±1−x2}\arcsin x = -i\operatorname{Log}\{ix \pm\sqrt{1 - x^2}\}: solve a quadratic for exp⁡(iu)\exp(iu), then take logarithms.
  • The same method solves sin⁡ζ=2\sin\zeta = 2, tan⁡ζ=w\tan\zeta = w and the like for complex values; tan⁡\tan never takes the values ±i\pm i.
  • The two Chapter VI forms of ∫dx/(x2+a)\int dx/(x^2 + a) are one formula.