Complex inputs
's step was to let be a . This chapter says why he did it, what means when is complex, and why the sum still converges when the of is greater than 1.
Why Riemann wanted complex
In 1859 Riemann wrote one short paper on number theory, "On the Number of Primes Less Than a Given Magnitude". had an approximation for the number of up to (chapter 1). Riemann wanted an exact formula.
The link between and the primes at the end of chapter 2 can be written as an :
This gives a function of in terms of the prime-counting function . Riemann wanted the reverse: in terms of . The integral is a transform of the same kind as the and Laplace transforms, and the formula that inverts such a transform is an integral over complex values of . So to solve for the primes, has to be understood as a function of a complex variable. Riemann was the leading expert of his time on such functions, and he carried the inversion through.
Complex numbers in three facts
- A complex number is a point in the , or the vector from the origin to that point. is its real part and its imaginary part.
- Its is the length of the vector. only when both parts are 0.
- 's formula: . This is the point on the unit circle at angle . Multiplying a number by rotates its vector by the angle without changing its length.
What means
Write , with the real part and the imaginary part. Since ,
This is a vector of length , at the angle .
The real part sets the length, exactly as for real . The imaginary part does not change the length at all. It only turns the vector, and it turns the vector for a large further than the vector for a small .
Adding the vectors
For complex the definition is the same sum, . Complex numbers are added by placing the vectors head to tail. The sum of the first terms is where the chain of vectors ends.
The total length of the chain is , which is the real sum of chapter 2 and is finite when . A chain of finite total length must close in on a single point. So:
For every complex with real part , the sum converges, and its value is a complex number. Euler's product also holds there, so for .
Things to try
- In Lab 3.1, set and raise slowly from 0. The vector completes one full turn when , at .
- Keep fixed and step through 2, 3, 4, 5. Each vector is a little shorter and turned a little further.
- In Lab 3.2, set . All the vectors point to the right and the chain is the real sum of chapter 2.
- Lower toward 1.05 with . The spiral takes many more vectors to tighten, and the end of the chain stays visibly away from the white dot.
Exercises
- Compute for .
Solution
The length is and the angle is , a half turn. So .
- Show that , whatever is.
Solution
, and for every real .
- The chain for has what total length?
Solution
The lengths are , so the total is . The chain ends at , which is at most that far from the origin, since a chain cannot end further away than its own length.
Check your understanding
In , what does changing do to the term ?
- It changes the length of the vector
- Nothing
- It rotates the vector without changing its length, and rotates vectors with larger faster
The angle is and the length is . All the difference between real and complex is in how the vectors are turned relative to each other.
Why does the sum converge for every once ?
- The chain of vectors has finite total length , and turning the vectors cannot make it longer
- Because the vectors cancel each other
- Because is small
Convergence here does not depend on cancellation. When the total length is infinite, and whether the chain settles then depends entirely on the turning.
Why did Riemann need complex at all, when the primes and the sum are real?
- Because primes are complex numbers
- is an integral transform of the prime-counting function, and the formula that inverts such a transform integrates over complex
- To make the sum converge faster
The same happens with the Fourier transform: a real signal is recovered from its transform by integrating over frequencies with complex exponentials.