Euler’s identity is one of my favorite equations.
It contains five constants, each exactly once: the additive identity , the multiplicative identity , the circle constant , the base of the natural exponential , and the imaginary unit . They are joined by one addition and one exponentiation, with no other symbols.
The identity is the case of Euler’s formula
For a real exponent, is a positive real number. For a purely imaginary exponent, has modulus and argument , so it is the point on the unit circle at angle . At that point is , which is the identity. This post derives Euler’s formula three ways, geometrically, as a limit, and from the power series, then reads off what each constant contributes.
Multiplying by i is a quarter turn
Put a complex number at the point in the plane. Addition is then ordinary vector addition. Multiplication has a geometric description too.
Write each number in terms of its modulus (its distance from the origin) and its argument (its angle from the positive real axis), so . Multiplying two such numbers and using the angle-addition formulas for sine and cosine gives
So multiplying two complex numbers multiplies their lengths and adds their angles.
Now take the special case of multiplying by . Its modulus is and its argument is a quarter turn, . So multiplying any point by leaves its length unchanged and rotates it a quarter turn counterclockwise. Check it on the powers of : starting from at , one multiplication gives at , the next gives at , then at , then , home again after four quarter turns. The imaginary unit is the rotation of the plane, written as a number.
The complex exponential traces the unit circle
Define and follow the point as increases.
The exponential is the function that is its own derivative. With the constant sitting in the exponent, the chain rule gives
Read that as a statement about motion: the velocity is the position multiplied by , that is, the position turned a quarter turn. Two things follow.
- The velocity is always perpendicular to the position. A point whose velocity stays perpendicular to its own radius never moves closer to or farther from the origin; only its angle changes. It travels on a circle.
- The speed equals the radius. Since , we have . Starting from , the radius is and stays , and the speed is .
So travels around the unit circle at unit speed. After parameter it has covered arc length , which on the unit circle is an angle of radians (angle measured so that a full turn is ). Its coordinates are therefore , which is Euler’s formula read straight off the motion:
Drag below and watch move around the circle, its projections on the two axes tracing cosine and sine. The red velocity arrow stays exactly a quarter turn ahead of the radius. At the point sits at :
The compound-interest limit
A second derivation comes from continuous compounding.
Money at annual rate , compounded times, multiplies by over the year, and as the compounding gets finer this tends to . Each of the steps multiplies by , a number just larger than , so the balance grows.
Now make the rate imaginary, , so each step multiplies by . That factor has modulus , barely more than , and argument . Each step barely stretches, but it does turn, by about . Over steps the turning accumulates to while the modulus tends to , since . In the limit,
a point on the unit circle at angle .
The widget draws the partial products as a chain of segments. Because each factor stretches a little, the chain bulges just outside the circle and spirals; as grows the stretch per step shrinks and the corners settle onto the red arc, the open blue endpoint closing in on the true in red. Slide up and watch the polygon flatten onto the circle:
The readout total turn is , the angle actually accumulated by the steps; it climbs to as grows, while the modulus falls back to .
The series check
For a derivation with no picture at all, expand. The exponential series converges for every complex , and absolutely, so we may substitute and regroup the terms:
The powers of run through with period four. The even powers give and land on the real axis; the odd powers give and land on the imaginary axis. Splitting the sum along that parity,
The two halves are exactly the Taylor series of cosine and sine. Same conclusion as the geometry, now as an algebraic identity. (Absolute convergence is what licenses the regrouping.)
The half-turn from 1 to −1
Set . The point has walked halfway around the unit circle, from to :
Now each constant contributes something specific, and none can be changed:
- is the base of the exponentiation.
- sends the exponent to the imaginary axis, where lies on the unit circle at angle .
- is the length of a half-turn in radians, so is precisely half a circle.
- is where the walk begins, and the quantity added back at the end.
- is where you land: start at , rotate to , add .
Change any one of them and the statement is false. The identity is a genuine relation among these five constants, not a coincidence of notation.
Applications
Euler’s formula is why complex numbers are the standard tool for periodic and rotational problems.
- Fourier analysis. A periodic signal is a sum of terms , each a vector of length spinning at frequency . Adding spinning vectors reconstructs any waveform, and pulling the coefficients back out is what a Fourier transform does. The plane waves in the uncertainty-principle post are the same objects carrying a particle’s momentum.
- Rotations in the plane. Multiplying a point by rotates it by , so one complex multiplication replaces a rotation matrix. Graphics, robotics, and navigation use this, and its three-dimensional cousin is the quaternion.
- AC circuits. An engineer writes an alternating voltage as and tracks the complex amplitude , called a phasor. The phase shifts of a capacitor and an inductor are just multiplications by and (their impedances are and ), which replaces the calculus of sinusoids with algebra on complex numbers.
- Quantum mechanics. A state of definite energy evolves by the pure phase : it rotates in the complex plane without changing magnitude, so total probability is conserved, and it is the relative phase between states that produces interference.
Three corollaries
- The roots of unity. The solutions of are for : equally spaced points on the unit circle, the vertices of a regular -gon with one corner at . Multiplying two of them adds their angles, so they form a group under multiplication.
- de Moivre’s formula. Raising Euler’s formula to the -th power gives . Expanding the left side with the binomial theorem and matching real and imaginary parts hands you and as polynomials in and , the multiple-angle identities at no extra cost.
- to the is real. Since , we get . An imaginary number raised to an imaginary power lands on the real line.
A little history
Euler’s formula predates Euler’s compact statement of it. Roger Cotes published the equivalent logarithmic relation in 1714, though he did not exponentiate it. Abraham de Moivre had the -th power identity that carries his name, in equivalent form, by the 1720s. Leonhard Euler stated in his 1748 Introductio in analysin infinitorum and put the exponential at the center of the subject. The compact is a later way of writing the case. When David Wells polled readers of The Mathematical Intelligencer in 1990 for the most beautiful theorem in mathematics, Euler’s identity finished first.
Common misconceptions
- is not multiplied by itself times. Doing something an imaginary number of times has no meaning. For complex , the symbol is defined by the power series , and equivalently by the limit and the differential equation used above; all three agree. Repeated multiplication is only the special case of a positive-integer exponent.
- The complex logarithm is multivalued, and so are complex powers. Because returns to the same point every , the equation has infinitely many solutions differing by . So , and any power , come with a choice of branch; the principal value takes the angle in . This is the fine print behind : the other branches give the further real values , and is only the principal one.
References
- Leonhard Euler. Introductio in analysin infinitorum. Lausanne, 1748. States and builds analysis around the exponential.
- Roger Cotes. Logometria. Philosophical Transactions of the Royal Society, 29(338):5-45, 1714. The logarithmic form of the formula, before Euler.
- David Wells. Are these the most beautiful? The Mathematical Intelligencer, 12(3):37-41, 1990. The reader poll in which Euler’s identity finished first.
- Paul J. Nahin. Dr. Euler’s Fabulous Formula. Princeton University Press, 2006. A book-length tour of the formula and its uses.
- Tristan Needham. Visual Complex Analysis. Oxford University Press, 1997. Chapter 1 develops the rotational, geometric reading of complex multiplication and .