Every value of Log ζ is log|ζ| + i(φ + 2kπ), with k the number of times the path winds round the origin; the principal value, and which equations are “completely true”.
The previous lesson left a question open: how does Logζ=∫Cdz/z depend on the path C? §231 answers it completely. The real part never depends on the path; the imaginary part is an amplitude of ζ, and which amplitude you get is decided by how many times the path winds round the origin. This one fact explains every many-valued function in the rest of the chapter, and it is the first appearance of the winding number, one of the central ideas of complex analysis.
The idea
Follow a point z along the path, and write it in polar coordinates z=r(cosθ+isinθ). As z moves, its distance r from the origin changes, and its angle θ turns. Because the path avoids 0, we can let θ change continuously, never jumping by 2π: if the point goes once round the origin, θ increases by 2π and does not reset. The key computation (below) shows that
zdz=rdr+idθ,
so the integral is simply “total change of logr” plus i times “total change of θ”. The first is log∣ζ∣−log1=log∣ζ∣, whatever the path. The second is the total angle turned, which ends at some amplitude of ζ, but which one depends on the turns made on the way.
ExploreLog ζ along a path, and all its values
Try this.On the right, the blue curve is logr+iθ for the moving point, with θ followed continuously; it ends at the value of the integral. Use “trace along the path” to watch it being drawn. Then drag the way-points so the path passes round the other side of the origin, and use the stepper to add whole turns before the path sets off.
Logζ=∫Czdz=[logr]+i[θ]
z-plane: a path C from 1 to ζ
xy
w-plane: w = log r + iθ along the path
log rθ
path C (drag the blue way-points) and its log-image
end-point ζ (drag it)
straight line from 1 to ζ
principal value (k = 0), strip −π < θ ≤ π
other values of Log ζ
ζ=−1.2+1.1i, so ρ=1.63 and the principal amplitude is ϕ=2.4. The integral along this path is 0.4873+2.4i=logρ+i(ϕ+2kπ) with k = 0 (the principal value). The path followed by the dashed line back to 1 winds 0 times round 0.
What to notice
The end of the blue curve always lands on one of the hollow dots logρ+i(ϕ+2kπ), stacked 2π apart on a vertical line: the real part never changes. Each counter-clockwise turn round 0 moves it up one dot, each clockwise turn down one. The value inside the green strip −π<θ≤π is the principal value.
Notice also what the readout says about the dashed straight line from 1 to ζ: k is the number of times the path, followed by that straight line back to 1, winds round the origin. If the region between the path and the straight line does not contain the origin, k=0, as Hardy’s Fig. 53 shows; his Fig. 54 is a path with k=2.
Precise statements
Throughout, ζ=ρ(cosϕ+isinϕ) with ρ=∣ζ∣>0 and −π<ϕ≤π, so that ϕ is the principal amplitude of ζ.
TheoremThe general value of Log ζHardy: §231
Every value of Logζ is of the form
Logζ=logρ+i(ϕ+2kπ),
where k is an integer, and every integer k occurs. The value of k is fixed by the path: when ζ is not real and negative, it is the number of times the closed curve formed by the path and the straight line from ζ back to 1 winds round the origin (counter-clockwise counted positive). Equivalently, Logζ=log∣ζ∣+iamζ, any amplitude being taken.
DefinitionPrincipal valueHardy: §231
When ζ is not real and negative, the straight path from 1 to ζ gives k=0, and the value
logζ=logρ+iϕ,−π<ϕ<π,
is called the principal value of Logζ. It is the value whose imaginary part lies between −π and π, and for ζ>0 it is the real logarithm. When ζ is real and negative (Examples XCIV, 1), the straight path passes through 0; the values are log(−ζ)+(2k+1)πi, and Hardy takes log(−ζ)+πi, given by a path above the real axis, as the principal value. So in all cases the principal value has −π<Imlogζ≤π.
The principal value is a single-valued function, but it pays for that by being discontinuous across the negative real axis: just above the axis its imaginary part is near π, just below near −π. The shared complex-map widget shows this jump.
ExploreThe principal value jumps across the negative real axis
Try this.Drag the purple circle so that it surrounds the origin, and look at its image under the principal logarithm on the right.
w=logz(principal value)
z-plane
xy
w-plane, w = f(z)
uv
circles |z| = r and their images
rays arg z = θ and their images
circle (drag centre and rim) and its image
w = 0
Grid
Circle: centre 0.9+0.3i, radius 0.6 (z = 0 is outside it). Its image winds 1 time round w=0 (counter-clockwise counts +). The principal value jumps by 2π i across the negative real axis.
What to notice
While the circle does not meet the negative real axis its image is a closed curve. Once it surrounds 0, its image breaks into a curve running from height −π to height π and stops: following the principal value all the way round would require a jump of 2πi where the circle crosses the negative real axis. (A circle that crosses the negative axis without surrounding 0 has an image in two pieces, near heights π and −π.) The general Log has no such jump; it simply moves on to the next value. The winding number in the read-out means something only while the image is a closed curve.
Because Log is many-valued, an equation between logarithms needs a careful meaning.
An equation between many-valued expressions is completely true (a complete equation) if every value of either side is one of the values of the other side.
TheoremThe functional equation of the logarithmHardy: Examples XCIV, 3
For all non-zero z1, z2,
Logz1z2=Logz1+Logz2
is completely true. But logz1z2=logz1+logz2 (principal values) is not always true; it holds exactly when −π<amz1+amz2≤π, the amplitudes being principal.
Proofs
ProofThe general value of Log ζ
Strategy
Along the path write z=r(cosθ+isinθ) with r and θ depending continuously (indeed differentiably) on t. Compute z′/z in polar form, integrate, and then identify the change in θ.
Choose a continuous angle
Since the path never meets 0, r(t)=∣z(t)∣>0, and the angle can be followed continuously from its initial value. Near any point of the path, an amplitude of z is a smooth function of (x,y) (for instance arctan(y/x) plus a constant where x=0, or arccot(x/y) plus a constant where y=0), so θ(t) is differentiable. Start with θ(t0)=0, an amplitude of 1 (Hardy allows any 2kπ; it changes nothing).
Compute z′/z in polar form
Differentiating x=rcosθ, y=rsinθ gives
z′=x′+iy′=(cosθ+isinθ)(r′+irθ′). Dividing by z=r(cosθ+isinθ): zz′=rr′+iθ′.
Integrate
∫Czdz=∫t0t1rr′dt+i∫t0t1θ′dt=[logr]+i[θ], where [⋅] means value at t1 minus value at t0.
The real part
[logr]=logρ−log1=logρ, for every path.
The imaginary part
θ(t1) is an amplitude of ζ, so θ(t1)=ϕ+2kπ for some integer k, and [θ]=ϕ+2kπ. For the straight path to ζ (not real negative) the angle turns steadily from 0 to ϕ, so k=0. A different path changes [θ] by the angle turned round the closed curve “path, then straight line back”, that is, by 2π times its winding number.
Every k occurs
Going k times round the unit circle first (counter-clockwise if k>0, clockwise if k<0) and then straight to ζ adds 2kπ to [θ]. So every logρ+i(ϕ+2kπ) is a value, and by the previous step there are no others.
∎
ProofThe functional equation of the logarithm
Strategy
Write both sides with the formula just proved and compare sets of values. For the principal values, watch whether the sum of the amplitudes stays in (−π,π].
Values of the left side
Let zj=rj(cosθj+isinθj) with principal amplitudes θj. Then z1z2 has modulus r1r2 and amplitudes θ1+θ2+2nπ, so the values of Logz1z2 are logr1r2+i(θ1+θ2+2nπ), n any integer.
Values of the right side
A value of Logz1+Logz2 is logr1+i(θ1+2kπ)+logr2+i(θ2+2lπ)=logr1r2+i(θ1+θ2+2(k+l)π).
Compare
Every right-side value is a left-side value (take n=k+l), and every left-side value is a right-side value (take k=n, l=0). So the equation is completely true.
Principal values
logz1+logz2 has imaginary part θ1+θ2, which lies in (−2π,2π]. It is the principal value of Logz1z2 exactly when it lies in (−π,π]; otherwise it is off by ±2πi.
∎
Hardy’s own example: z1=z2=cos32π+isin32π. Then logz1=logz2=32πi, so logz1+logz2=34πi; but z1z2=cos34π+isin34π has principal amplitude −32π, so logz1z2=−32πi.
Worked examples and exercises
ExerciseSome logarithms●○○Hardy: Examples XCIV, 1 and 11
Find all values of Log(−1), Logi and Log(1+i), and say which is the principal value in each case. For which z is (i) logz, (ii) some value of Logz, real?
Hint
Use Logz=log∣z∣+i(ϕ+2kπ) with ϕ the principal amplitude.
Solution
Log(−1)=(2k+1)πi; principal value πi (Hardy’s choice for negative reals).
Logi=(2k+21)πi; principal value 21πi.
Log(1+i)=21log2+(2k+41)πi; principal value 21log2+41πi.
(i) logz is real exactly when its imaginary part ϕ is 0, that is, when z is real and positive. (ii) Some value log∣z∣+i(ϕ+2kπ) is real exactly when ϕ+2kπ=0 for some k, i.e. again when z>0; then only the value with k=0 is real. (Similarly, some value is purely imaginary exactly when ∣z∣=1.)
ExerciseLogzm and mLogz●●○Hardy: Examples XCIV, 4
Let m be an integer with ∣m∣≥2. Show that every value of mLogz is a value of Logzm, but not conversely.
Hint
Compare m(ϕ+2kπ) with mϕ+2nπ.
Solution
With z=ρ(cosϕ+isinϕ): zm has modulus ρm and amplitude mϕ, so the values of Logzm are mlogρ+i(mϕ+2nπ), n any integer. The values of mLogz are mlogρ+i(mϕ+2mkπ): these are the cases n=mk, i.e. only those n that are multiples of m. So, for example, Log12 includes 2πi but 2Log1=4kπi does not.
ExerciseLog(1/z)●○○Hardy: Examples XCIV, 5
Show that Log(1/z)=−Logz is completely true, and that log(1/z)=−logz except when z is real and negative.
Hint
1/z has modulus 1/ρ and amplitude −ϕ.
Solution
Values of the left: −logρ+i(−ϕ+2nπ). Values of the right: −logρ−i(ϕ+2kπ)=−logρ+i(−ϕ−2kπ). Taking n=−k matches them in both directions, so the equation is completely true. For principal values: if −π<ϕ<π then −ϕ is also in (−π,π), so log(1/z)=−logρ−iϕ=−logz. If z<0 then ϕ=π and 1/z<0 too, so log(1/z)=−logρ+πi while −logz=−logρ−πi: they differ by 2πi.
ExerciseThe graph of I(Logx)●○○Hardy: Examples XCIV, 8
For real x=0, draw the set of all points (x,y) with y a value of the imaginary part of Logx.
Hint
Treat x>0 and x<0 separately.
Solution
For x>0 the amplitudes are 2kπ, and for x<0 they are (2k+1)π. So the graph consists of the right halves of the horizontal lines y=2kπ and the left halves of the lines y=(2k+1)π: an infinite staircase of half-lines, with every jump at x=0 equal to π.
ExerciseA switch made of logarithms●●○Hardy: Examples XCIV, 9
Let p and q be real and f(x)=p+πq−pI(logx) for real x=0, where I denotes the imaginary part and log the principal value. Show that f(x)=p for x>0 and f(x)=q for x<0.
Hint
What is the principal amplitude of a negative number, in Hardy’s convention?
Solution
For x>0, logx is real, so I(logx)=0 and f(x)=p. For x<0, logx=log(−x)+πi, so I(logx)=π and f(x)=p+(q−p)=q. (Hardy writes this as πf(x)=pπ+(q−p)I(logx).) The point is that the principal logarithm, though built from smooth pieces, can encode a jump.
Check yourself
Check yourselfChoose one
What is the principal value log(−i)?
Why
∣−i∣=1 and the principal amplitude of −i is −21π, which lies in (−π,π]. 23πi is also a value of Log(−i) (take k=1), but not the principal one. The last option describes the general value, not the principal value.
Check yourselfEnter a number
A path from 1 to ζ=2 gives the value log2−4πi of Log2. What is k in logρ+i(ϕ+2kπ)?
Why
Here ρ=2 and ϕ=0, so 2kπ=−4π and k=−2: the path, closed up by the segment from 2 back to 1, winds twice clockwise round the origin.
Check yourselfTrue or false?
For all non-zero z1,z2, logz1z2=logz1+logz2, all logarithms principal.
Why
False. Hardy’s example z1=z2=cos32π+isin32π gives 34πi on the right and −32πi on the left. The equation with Log is completely true; with principal values it holds only when the principal amplitudes add up to something in (−π,π].
Check yourselfChoose one
How does the real part of ∫Cdz/z depend on the path C from 1 to ζ?
Why
The real part is [logr], the change in log∣z∣ between the ends, which is log∣ζ∣−log1. Turns round the origin change the angle, and hence only the imaginary part, by 2π each.
Hardy’s language
Summary
Summary
Along any path, dz/z=dr/r+idθ, so ∫Cdz/z=[logr]+i[θ].
The values of Logζ are exactly log∣ζ∣+i(ϕ+2kπ), k∈Z; k counts the turns round the origin.
The principal value logζ has imaginary part in (−π,π]; it is the real log on the positive axis and jumps by 2πi across the negative axis.
Logz1z2=Logz1+Logz2 is completely true; with principal values it can fail by ±2πi.