---
title: Complex exponential signals
heading: Growing, decaying and spinning
eyebrow: A3 · Lesson 9 · Complex exponential signals
xp: 40
---

::: hook
Strike a bell and it rings with a tone that fades. Tap an RLC circuit and its voltage does the same: an oscillation inside a shrinking envelope. One formula covers every case, from a steady sine wave to a pure decay to a growing oscillation that means a circuit has gone unstable: $e^{st}$, where $s$ is a complex number. Its real part sets the growth or decay, its imaginary part the spinning.

::: play
- The curve is the real part of $e^{st}$ with $s = \sigma + j\omega$: $e^{\sigma t}\cos\omega t$. The dashed lines are the envelope $\pm e^{\sigma t}$.
- Set $\sigma$ to 0. What's left?
- Make $\sigma$ negative, then positive. Then set $\omega$ to 0. What does each part of $s$ control?
:::
:::

```sim plot
view: graph
x: t = 0..10 s
y: v = -3..3
slider: sigma = -1..0.3 step 0.05 = -0.3
slider: w = 0..8 step 0.25 = 4
plot: exp(sigma*t)*cos(w*t) | label: Re eˢᵗ | samples: 1200
plot: exp(sigma*t) | dashed | color: ch2 | label: envelope
plot: -exp(sigma*t) | dashed | color: ch2
readout: frequency = w/(2*pi) Hz | digits: 3
readout: time constant of the envelope = -1/sigma s | digits: 3
```

::: predict
## A circuit's response is the real part of $e^{st}$ with $s = -2 + j10$ (per second). What does it look like?

- [ ] A steady oscillation at 10 rad/s
- [x] An oscillation at 10 rad/s that dies away with a time constant of 0.5 s
- [ ] A decay with time constant 0.1 s and no oscillation
- [ ] An oscillation that grows

::: reveal
It oscillates at 10 rad/s (about 1.6 Hz) inside an envelope $e^{-2t}$, which falls to 37% every $1/2$ s. The real part of $s$, −2, is the decay rate; the imaginary part, 10, is the angular frequency. A negative real part means it dies away; a positive one would mean it grows.
:::
:::

::: nameit
## $e^{st}$ splits into two factors

With $s = \sigma + j\omega$, the exponent splits because exponents add:

$$e^{st} = e^{\sigma t}\,e^{j\omega t}$$

- $e^{j\omega t}$ has length 1 and spins at $\omega$ radians per second: it's a pure oscillation.
- $e^{\sigma t}$ is real: it stretches or shrinks the spinning arrow.

On the complex plane, $e^{st}$ traces a spiral: inward if $\sigma < 0$, outward if $\sigma > 0$, a circle if $\sigma = 0$. Its real part, the signal you'd see on a scope, is

$$\operatorname{Re}\,e^{st} = e^{\sigma t}\cos\omega t$$

| $s$ | Signal |
|---|---|
| $\sigma < 0,\ \omega = 0$ | a pure decay, time constant $1/\vert\sigma\vert$ |
| $\sigma = 0,\ \omega \ne 0$ | a steady sinusoid |
| $\sigma < 0,\ \omega \ne 0$ | a decaying oscillation (ringing) |
| $\sigma > 0$ | growth: an unstable system |

**Reading a ringing response.** For $e^{-\alpha t}\cos\omega_d t$:
- the frequency is $f = \omega_d / 2\pi$;
- the envelope's time constant is $1/\alpha$, and the time to fall to 1% is $\ln 100 / \alpha = 4.6/\alpha$;
- the number of cycles that fit in one time constant, $\frac{\omega_d / 2\pi}{\alpha}$, says how long it rings: a bell rings for many cycles, a well-damped circuit for less than one.

**Where $s$ comes from.** The roots of a circuit's characteristic equation are values of $s$. The equation $s^2 + 2s + 5 = 0$ from lesson 1 has roots $-1 \pm 2j$, so that circuit's natural response is $e^{-t}\cos 2t$ (plus a phase and a size set by how it was started). The conjugate root gives the same real signal, which is why roots come in pairs. A10 and C2 build on this; the map of all possible $s$ is the s-plane.
:::

::: example
## A circuit has the characteristic roots $s = -50 \pm j\,628$ per second. Describe its natural response.

::: solution
1. **Frequency.**
   $$\begin{aligned} f &= \frac{628}{2\pi} \\ &= 100\ \text{Hz} \end{aligned}$$
2. **Envelope.** The envelope is $e^{-50t}$, with a time constant of
   $$\begin{aligned} \tau &= \frac{1}{50}\ \text{s} \\ &= 20\ \text{ms} \end{aligned}$$
3. **Time to 1%.** It's down to 1% after
   $$4.6 \times 20\ \text{ms} = 92\ \text{ms}$$
   about 9 cycles of the 100 Hz ringing.

**Answer:** it rings at 100 Hz and is mostly gone after a tenth of a second.
:::
:::

::: example
## A decaying oscillation's peaks are 10 V, then 6 V one period (5 ms) later. Find $\sigma$ and $\omega$.

::: solution
1. **Angular frequency.** One period is 5 ms, so
   $$\begin{aligned} \omega &= \frac{2\pi}{0.005} \\ &= 1257\ \text{rad/s} \end{aligned}$$
2. **Decay rate.** The envelope fell by $6/10$ in 5 ms:
   $$\begin{aligned} e^{\sigma \times 0.005} &= 0.6 \\ \sigma &= \frac{\ln(0.6)}{0.005} \\ &= -102\ \text{per second} \end{aligned}$$
3. **Put them together.**
   $$s = -102 + j1257$$
   The same method, measuring successive peaks, is how engineers find the damping of a real circuit or structure.

**Answer:** $\sigma = -102$ per second and $\omega = 1257$ rad/s, so $s = -102 + j1257$.
:::
:::

::: example
## A circuit's natural response has roots $s = -1000 \pm j\,6283$ per second. At what frequency does it ring, and how many cycles pass before it decays to 1%?

::: solution
1. **Frequency.**
   $$\begin{aligned} f &= \frac{6283}{2\pi} \\ &= 1000\ \text{Hz} \end{aligned}$$
   so each cycle takes 1 ms.
2. **Time to 1%.** The envelope is $e^{-1000t}$, which reaches 0.01 when
   $$\begin{aligned} t &= \frac{\ln(100)}{1000}\ \text{s} \\ &= 4.6\ \text{ms} \end{aligned}$$
3. **Count the cycles.** At 1 ms a cycle, that's about 4.6 cycles.
4. **What the ratio tells you.** The ratio $\omega/\sigma$ tells you how many radians of ringing fit in one time constant, a measure of how lightly damped the circuit is.

**Answer:** it rings at 1000 Hz, and about 4.6 cycles pass before it decays to 1%.
:::
:::

::: check
given: a = 1 | 2 | 5 | 20; w = 10 | 50 | 377
answer: w/(2*pi)
unit: Hz

## A response is $\operatorname{Re}\,e^{st}$ with $s = -\given{a} + j\given{w}$ per second. What is its frequency of oscillation?

::: right
Right. The imaginary part is the angular frequency: $\given{w}/2\pi$ = {answer}.
:::

::: misses
- [w] That's in radians per second. Divide by $2\pi$ for hertz.
- [a/(2*pi)] The real part sets the decay. The imaginary part sets the frequency.
- [any] Not yet. $f = \omega/2\pi$, with $\omega$ the imaginary part of $s$.
:::
:::

::: check
given: a = 2 | 5 | 20; w = 10 | 50 | 377
answer: 1/a
unit: s

## For $s = -\given{a} + j\given{w}$ per second, what is the time constant of the envelope?

::: right
Right. The envelope is $e^{-\given{a}t}$, with time constant $1/\given{a}$ = {answer}.
:::

::: misses
- [a] The time constant is the reciprocal of the decay rate.
- [1/w] That's tied to the oscillation. The envelope comes from the real part.
- [any] Not yet. The envelope is $e^{\sigma t}$; its time constant is $1/|\sigma|$.
:::
:::

::: check
given: a = 2 | 10 | 50 | 200
answer: ln(100)/a
unit: s

## The envelope of a ringing response is $e^{-\given{a}t}$, with $t$ in seconds. How long until it's down to 1%?

::: right
Right. $e^{-\given{a}t} = 0.01$ gives $t = \ln 100/\given{a}$ = {answer}.
:::

::: misses
- [5/a] Five time constants is the usual rule of thumb, which leaves 0.7%. For exactly 1%, use $\ln 100 = 4.6$.
- [1/a] One time constant only gets you to 37%.
- [100/a] Take the logarithm: $\ln 100$, not 100.
- [any] Not yet. Solve $e^{-\given{a}t} = 0.01$.
:::
:::

::: check
given: a = 1 | 5 | 20; w = 31.4 | 314 | 628
answer: w/(2*pi)/a
tolerance: 0.5%

## A response is $e^{-\given{a}t}\cos(\given{w}t)$. How many cycles of oscillation fit in one time constant of the envelope?

::: right
Right. $f \times \tau = \frac{\given{w}}{2\pi} \times \frac{1}{\given{a}}$ = {answer} cycles.
:::

::: misses
- [w/a] That counts radians, not cycles. Divide by $2\pi$.
- [any] Not yet. Frequency in hertz times the time constant.
:::
:::

::: check
kind: choice

## For which value of $s$ does $\operatorname{Re}\,e^{st}$ grow without limit?

- [ ] $s = -3 + j5$
- [ ] $s = -0.1$
- [x] $s = 0.2 + j8$
- [ ] $s = j4$

::: right
Right. A positive real part makes the envelope $e^{0.2t}$ grow. In a circuit that means instability, usually an oscillator starting up or an amplifier with too much feedback.
:::

::: misses
- [4] A purely imaginary $s$ gives a steady sinusoid: it neither grows nor decays.
- [any] Look at the sign of the real part.
:::
:::

::: check
given: v1 = 10 | 8; r = 0.5 | 0.7 | 0.8; T = 2 | 5 | 10; let v2 = v1*r
answer: ln(r)/(T*1e-3)
tolerance: 0.5%

## A ringing waveform's peaks are {v1} V and then {v2} V one period of {T} ms later. What is $\sigma$, in 1/s?

::: right
Right. $e^{\sigma T} = \given{v2}/\given{v1}$, so $\sigma = \ln(\given{v2}/\given{v1})/T$ = {answer}.
:::

::: misses
- [ln(r)/T] Put the period in seconds.
- [-ln(r)/(T*1e-3)] It's decaying, so $\sigma$ is negative.
- [(r - 1)/(T*1e-3)] The envelope is exponential: use a logarithm.
- [any] Not yet. Solve $e^{\sigma T} = v_2/v_1$.
:::
:::

::: check
kind: parts
given: a = 50 | 200; w = 300 | 1000; t = 1 | 5

## A natural response is $e^{st}$ with $s = -\given{a} + j\given{w}$ per second. Evaluate it at $t$ = {t} ms.

::: part
answer: exp(-a*t*1e-3)
tolerance: 0.5%

### What is its magnitude?

::: misses
- [exp(-a*t)] Put $t$ in seconds.
- [any] $|e^{st}| = e^{-\sigma t}$: the imaginary part only turns it.
:::
:::

::: part
answer: exp(-a*t*1e-3)*cos(w*t*1e-3)
tolerance: 0.5%

### What is its real part?

::: misses
- [exp(-a*t*1e-3)*sin(w*t*1e-3)] That's the imaginary part.
- [any] $e^{-\sigma t}\cos\omega t$, with $\omega t$ in radians.
:::
:::

::: part
answer: exp(-a*t*1e-3)*sin(w*t*1e-3)
tolerance: 0.5%

### What is its imaginary part?

::: misses
- [any] $e^{-\sigma t}\sin\omega t$.
:::
:::
:::

::: check
kind: derivation
vars: a = 10..500, w = 100..5000, t = 0..0.01

## A natural response is $e^{st}$ with $s = -\sigma + j\omega$. Derive its envelope and how fast it decays per cycle.

::: step
answer: exp(-a*t)

### Write $|e^{st}|$, with $\sigma$ written as $a$.
:::

::: step
answer: exp(-a*t)*cos(w*t)

### Write its real part.
:::

::: step
answer: 2*pi*a/w

### One period later ($t$ grows by $2\pi/\omega$), the envelope is multiplied by $e^{-x}$. What is $x$?
:::

::: right
Right. Each cycle multiplies the envelope by $e^{-2\pi\sigma/\omega}$. Measure two peaks, take the log of their ratio, and you have $\sigma/\omega$.
:::
:::

::: explain
## Why does the real part of $s$ control growth and decay, while the imaginary part controls oscillation?

::: model
$e^{st} = e^{\sigma t}e^{j\omega t}$. The factor $e^{j\omega t}$ always has length 1, so it can only turn the arrow, and turning at $\omega$ radians per second is what makes the real part oscillate. The factor $e^{\sigma t}$ is a real number, so it can only stretch or shrink the arrow, which makes the oscillation's envelope grow if $\sigma$ is positive and decay if it's negative.
:::
:::

::: practice

::: check
given: a = 3 | 30 | 300; w = 100 | 1000 | 5000
answer: w/(2*pi)
unit: Hz

## What frequency does $e^{-\given{a}t}\cos(\given{w}t)$ oscillate at?

::: misses
- [w] Divide by $2\pi$.
- [any] $\omega/2\pi$.
:::
:::

::: check
given: a = 0.5 | 4 | 25
answer: 1/a
unit: s

## What is the envelope's time constant for $s = -\given{a} \pm j7$?

::: misses
- [a] Take the reciprocal.
- [any] $1/|\sigma|$.
:::
:::

::: check
given: a = 4 | 40 | 400
answer: ln(1000)/a
unit: s

## How long until $e^{-\given{a}t}$ is down to 0.1%?

::: misses
- [ln(100)/a] That's 1%. For 0.1% use $\ln 1000$.
- [any] Solve $e^{-at} = 0.001$.
:::
:::

::: check
given: p = 4 | 6 | 8; q = 20 | 25 | 41
answer: sqrt(q - p^2/4)/(2*pi)
unit: Hz

## A circuit's characteristic equation is $s^2 + \given{p}s + \given{q} = 0$ (per second). At what frequency does its natural response ring?

::: misses
- [sqrt(q - p^2/4)] That's in rad/s. Divide by $2\pi$.
- [sqrt(q)/(2*pi)] The damping lowers it: use $\sqrt{q - p^2/4}$.
- [any] The roots are $-p/2 \pm j\sqrt{q - p^2/4}$.
:::
:::
:::
