Complex numbers enter this book through the characteristic equation, whose roots need not be real. What makes them usable is Euler's formula , which connects the exponential to the trigonometric functions and converts complex solutions into real ones.
Quick Reference
| Item | Statement |
|---|---|
| Imaginary unit | , so , , |
| Euler's formula | |
| Pure imaginary case | |
| Shorthand | is sometimes written |
| Cosine from exponentials | |
| Sine from exponentials | |
| Conjugate | |
| Modulus | , and |
| Real polynomial roots | Complex roots occur in conjugate pairs |
Deriving Euler's Formula
To motivate the definition of , where and are real numbers and , we may proceed as follows. Using the exponential series with ,
\begin{aligned} e^{z} = e^{x+iy} &= e^{x}e^{iy} \\ &= e^{x}\left[1 + iy + \frac{(iy)^{2}}{2!} + \frac{(iy)^{3}}{3!} + \frac{(iy)^{4}}{4!} + \cdots\right] \\ &= e^{x}\left[\left(1 - \frac{y^{2}}{2!} + \frac{y^{4}}{4!} - \cdots\right) + i\left(y - \frac{y^{3}}{3!} + \frac{y^{5}}{5!} - \cdots\right)\right] \end{aligned}The last step used the powers of to separate real from imaginary terms: , , , and the pattern repeats with period four. The even powers are real and alternate in sign; the odd powers are imaginary and alternate in sign.
Now recognize the Taylor series
\begin{aligned} \sin x &= x - \frac{x^{3}}{3!} + \frac{x^{5}}{5!} - \cdots \\ \cos x &= 1 - \frac{x^{2}}{2!} + \frac{x^{4}}{4!} - \cdots \end{aligned}sitting inside the two groups. We obtain
e^{x+iy} = e^{x}\left(\cos y + i\sin y\right) \tag{i}
- This equation, known as Euler's formula, does not merely relate quantities already defined: it defines . Raising to a complex power has no prior meaning, and the series computation shows this is the only definition consistent with the usual exponential.
- For brevity, the expression in parentheses is sometimes written .
Setting gives the most famous form, , whose modulus is . So traverses the unit circle as increases, and taking gives .
Sine and Cosine as Complex Exponentials
It follows from
\begin{aligned} e^{ix} &= \cos x + i\sin x \\ e^{-ix} &= \cos x - i\sin x \end{aligned}where the second line replaces by and uses and , that adding and subtracting give
\begin{aligned} \cos x &= \frac{e^{ix} + e^{-ix}}{2} \\ \sin x &= \frac{e^{ix} - e^{-ix}}{2i} \end{aligned} \tag{ii}
Adding the two lines cancels the sines and gives ; subtracting cancels the cosines and gives .
Compare these with the hyperbolic definitions and . The trigonometric and hyperbolic functions are the same construction with and without the factor , which explains why their identities and their Laplace transforms differ only by signs.
Where This Is Used in the Book
- Section 4.2. Complex characteristic roots give the complex solutions , which Euler's formula converts into the real pair and .
- Section 4.5. Complex exponents in a Cauchy-Euler equation give , which becomes and after writing .
- Section 5.1. Complex eigenvalues produce complex solution vectors, whose real and imaginary parts are the two real solutions.
- Section 7.1. The transform of yields the transforms of and at once, by taking real and imaginary parts.
The pattern is the same in every case: do the computation with complex exponentials, which are easy to differentiate and integrate, then extract real and imaginary parts at the end.
Conjugates and Real Answers
The complex conjugate of is . Its modulus is , and .
Two facts about conjugates are used repeatedly.
If a polynomial has real coefficients and is a root, then is also a root.
This is why complex characteristic roots and complex eigenvalues always appear in pairs, and why the second member of a pair never requires separate computation.
A combination is real precisely when . Equivalently, and are respectively real and purely imaginary.
This is the fact behind the substitution , used in Section 4.2 to turn a complex general solution into a real one.
Worked Examples
Write in the form with and real.
Solution
By Euler's formula with the real part and the imaginary part ,
The real and imaginary parts, and , are exactly the two real solutions Section 4.2 attaches to the characteristic roots .
Simplify into the form with and real.
Solution
Multiply numerator and denominator by the conjugate of the denominator:
The key step is , which is real.
This computation is exactly what produces and in Section 7.1.
Show that for .
Solution
Write the power as an exponential using :
using . Applying Euler's formula with ,
This is the computation behind the complex case of the Cauchy-Euler equation in Section 4.5, and it explains why logarithms appear inside the trigonometric functions there.
Find the roots of and write in real form.
Solution
By the quadratic formula,
using .
Taking ,
The roots are conjugates, as they must be for a real quadratic, and the two real solutions and are its real and imaginary parts.
Exercises
Evaluate , , and .
Solution
The last identity shows that the complex exponential is periodic with period , a property the real exponential does not have.
Use the complex exponential forms to prove .
Solution
Squaring ,
using for the cross term. Now , so
Every trigonometric identity can be derived this way, by reducing it to algebra with exponentials.
Given that is an eigenvector for the eigenvalue of a real matrix, write down an eigenvector for , and expand into real and imaginary parts.
Solution
Since the matrix is real, conjugating gives the eigenvector for the eigenvalue .
Expanding,
using .
The real part is and the imaginary part is , the two real solutions found in Section 5.1.
Frequently Asked Questions
What is Euler's formula?
The identity , and in particular . It is what gives meaning to a complex exponent, and it is the bridge between exponential and trigonometric behavior.
Is Euler's formula proved or assumed?
Both, depending on the starting point. If for complex is defined by its power series, the formula is a theorem, proved by the rearrangement shown above. If it is not yet defined, the formula is taken as the definition, and the series computation is what shows the definition is the only reasonable one.
Why do complex roots always come in pairs?
Because the characteristic polynomial has real coefficients. Conjugating the equation leaves the coefficients unchanged and turns into , so as well. The same argument applies to the eigenvalues of a real matrix.
How do complex solutions become real ones?
Take real and imaginary parts. If solves a linear equation with real coefficients, then so do and , since they are the combinations and of the two conjugate solutions. This device recurs in Sections 4.2, 4.5, 5.1, and 7.1.
Why divide by in the formula for ?
Because subtracting from leaves , so recovering requires dividing by . The asymmetry with the cosine formula is real, and forgetting the is a common slip.
What is the relationship to the hyperbolic functions?
They are the same construction without the : against . Formally, and , which is why every trigonometric identity has a hyperbolic counterpart differing only in signs, and why their Laplace transforms differ only in the sign of .