Complex numbers
In modes, the spring’s natural rates turned out to be complex. We don’t typically think of being able to visualize complex numbers, but the spring is certainly very real. So, where does the imaginary value come from? A real exponential can only describe growth or decay growth or decay, but the spring also oscillates. We want to describe both together.
Imagine a turning arrow. Its tip’s horizontal position moves back and forth like the spring. The arrow’s length sets the size of the swing, and its angle tells us where we are in the cycle. If we shorten the arrow as it turns, we represent a decaying oscillation.
The horizontal position alone cannot tell us which way the tip is moving; we need the second coordinate too. Complex numbers keep both coordinates together and let multiplication rotate or scale the arrow. Let us see how that works. Call the tip’s horizontal coordinate and vertical coordinate .
The imaginary unit
A complex number packages the pair into one symbol:
The symbol is chosen to behave like a quarter-turn. Formally, it is the square root of ; practically, it lets us combine a two-dimensional value into a single number. Two quarter-turns reverse an arrow, and multiplication by also reverses an arrow; the rule makes those statements identical. Indeed, multiplying by gives
The point has become , exactly a counterclockwise rotation.
Drag around below and follows, always a quarter-turn ahead and always the same length. Press multiply by twice and points the opposite way - that is . Press it four times and it is back where it started.
The coordinate is called the real part and is called the imaginary part. Electrical and control engineers use rather than because often denotes electric current. Nothing physical is imaginary here: is compact notation for the real pair , together with an algebraic system to rotate it.
The length of the corresponding arrow is
Multiplying by a positive real number stretches this arrow without changing its direction. Thus the same notation naturally handles the two operations visible in an oscillator’s motion: rotation changes angle, while real scaling changes distance from the origin.
The unit circle
Multiplication by gives one instantaneous quarter-turn. An oscillator, however, passes continuously through every angle between those quarter-turns. Let’s build up towards fully describing this motion.
Start at the point on the positive real axis and rotate counterclockwise through an angle . Because the point remains on the unit circle, its horizontal coordinate is and its vertical coordinate is . The corresponding complex number is therefore
The symbol is only a temporary name for the rotating point. At this stage, this is simply a geometric statement that packages two coordinates on the two-dimensional circle into one symbol as a function of angle .
Drag the point around the circle below. Its shadow on the real axis is and its shadow on the imaginary axis is .
Euler’s formula
Now I ask the reader to partake in a brief leap of faith. For a real number , one exact definition of the exponential is the infinite power series
The exclamation mark denotes a factorial: for example, . The dots mean that the pattern continues with successively higher powers. Taking more terms gives increasingly accurate partial sums; in the limit, the series defines the exact value of .
Every operation on the right-hand side - addition, multiplication, and division by a real number - also makes sense for complex numbers. We therefore define the complex exponential using the same recipe:
This is a definition, not yet a claim about circles or sinusoids.
Now choose the particular complex input . The powers of repeat every four steps:
Consequently, the even powers of contribute real terms, while the odd powers contribute imaginary terms. This brings us to the result that connects the exponential to the rotating point.
Euler’s formula. For every real angle ,
Proof. Substitute into the definition:
Collecting the real terms and the imaginary terms separately gives
The two expressions in parentheses are precisely the power series for cosine and sine:
Therefore .
The coefficients in the sine and cosine series can be found from their successive derivatives at : those derivatives cycle through the same four patterns as the powers of . Euler’s formula is therefore what the ordinary exponential becomes when its input points in the imaginary direction.
We show a visual for the proof by drawing each term of the Taylor series as an arrow. Each term is the previous one multiplied by , so each arrow is turned a quarter-turn from the last and, once , shorter. The chain curls around and settles onto on the unit circle. Things to try:
- Start with one term: the sum is just . Add terms one at a time and watch the real terms (dark) and the imaginary terms (orange) alternate - exactly the split into the cosine and sine series in the proof.
- Raise towards . The early terms now grow before they shrink, so the chain swings far off the circle and needs more terms before it settles.
Comparing Euler’s formula with the geometric definition of now gives
The exponential notation is compact because its exponent stores the angle. At the four quarter-turns,
Uniform circular motion
We can now turn the angle-indexed point into a motion through time. Let the angle increase at one radian per second, so that , and write
A dot above a symbol will denote its derivative with respect to time. Differentiating gives
The exponential and the dynamic equation are thus two descriptions of the same motion.
To see the two real coordinates inside , write . Here and , so
At the point , the velocity is a counterclockwise rotation of the radius . The velocity is therefore tangent to the circle rather than pointing toward or away from the origin.
The geometry already suggests that the radius remains fixed, which we can prove. The squared distance from the origin satisfies
Its derivative is zero, so the distance is constant. If the point begins at , it remains on the unit circle and turns counterclockwise at one radian per second.
Euler’s formula treats its argument as an angle. For a motion with angular frequency and initial phase , that angle is . Substituting this angle into Euler’s formula and choosing a radius gives
The real part is the sinusoid we observe on a time plot; the imaginary part is its quarter-cycle-shifted companion. The radius is , the starting angle is , and the angle advances at radians per second.
Differentiating shows where the angular frequency enters the dynamics:
Compared with , the factor simply changes the turning rate. For , one complete turn takes
Complex frequency
So far, the radius remains fixed at . To let the envelope change, multiply by a real exponential:
If , the radius shrinks; if , it remains constant; and if , it grows. Taking the real part gives the waveform we actually observe:
Because multiplying exponentials adds their exponents, the same motion can be written more compactly. Define
Then
The complex rate packages two real rates: changes the radius, while changes the angle. The initial state determines and - how strongly the mode is excited and where it begins in its cycle. A command or disturbance can change that state; while an input continues to act, we must also account for the forced response. The mode itself determines and - how its envelope changes and how quickly it cycles.
Finally, expand the compact dynamic equation back into real and imaginary components:
This form is exactly what a control designer wants to know about a natural motion. If , the mode returns to the origin and is asymptotically stable. If , it moves away from the origin and is unstable. If , an ideal oscillation persists forever. The imaginary part tells us how rapidly it oscillates. Although is complex, the observed waveform remains real: it is the horizontal component .
In the figure below, the dark arrow is the radius and the orange arrow is the velocity . Things to try:
- Set . The velocity stays exactly perpendicular to the radius, so the point stays on the unit circle and the real part is a pure cosine.
- Drag negative. The velocity now leans inward, the point spirals towards the origin, and the real part decays inside its dashed envelope . Push above zero and the velocity leans outward instead.
- Change with fixed. The envelope does not move at all - only the number of turns inside it changes. Set and the point slides along the real axis without turning: a pure exponential.