C9 · Lesson 3 · Steps, impulses and complex exponentials
The building blocks every signal is made from
Three signals do most of the work in this course. The unit step is a switch turning on. The impulse is a kick so short that only its area matters: a hammer tap, a lightning strike, a single nonzero sample. And the complex exponential, or , is a sinusoid that can grow or decay, the natural response of every circuit you've analyzed. Any signal can be built from shifted impulses, and almost any from complex exponentials. Those two facts are what convolution and Fourier analysis rest on.
- The dots are the real part of , with : . The dashed curves are the envelope .
- With r = 1 the samples oscillate forever. Below 1 they die away; above 1 they grow. That's the discrete-time version of a pole's real part.
- sets how fast the samples swing. At they alternate in sign every sample.
Predict
What is ?
−1. The impulse is zero everywhere except at t = π, so the integral picks out the cosine's value there: . That's the sifting property.
Name it
Steps and impulses
The unit step u(t) is 0 for t < 0 and 1 for t > 0. The unit impulse δ(t) is the limit of a pulse of area 1 made ever narrower and taller. It's defined by what it does inside an integral:
so . The step is the running integral of the impulse, , and scaling the time variable scales the area: .
In discrete time there's nothing to take a limit of: is 1 at n = 0 and 0 elsewhere, and u[n] is 1 for n ≥ 0. Every sequence is a sum of shifted, scaled impulses,
which is the starting point for convolution.
Complex exponentials
with is : a sinusoid at ω inside an envelope that decays for σ < 0. Its real part is the damped sinusoid of every second-order circuit.
The discrete version is with : . The envelope decays when r < 1, so in discrete time the unit circle plays the part the jω axis plays in continuous time.
Worked example
Evaluate and , both over all t.
Show the solution
- Sift the first. The impulse picks out the value at t = 3:
- Rescale the second impulse.
- Sift the second.
Answer the first integral is 11, and the second is .
Worked example
Describe .
Show the solution
- Rotation. It turns by π/6 each sample, so one full turn every 12 samples.
- Decay per turn. Its size shrinks by 0.9 each sample, so after one turn it's down to
- Halving time. It halves every
Answer it's a decaying spiral that turns once every 12 samples, shrinks to 0.28 of its size each turn, and halves every 6.6 samples.
Worked example
Write the pulse that is 2 from t = 1 to t = 3 (and 0 elsewhere) with steps, and find its derivative.
Show the solution
- Write it with steps. Switch on at 1, switch off at 3:
- Differentiate. Each step becomes an impulse of area 2, up at the start and down at the end:
- Check. Integrating the derivative from −∞ rebuilds the pulse, as it should.
Answer , and its derivative is , an impulse of area 2 at each edge.
Check
What is ?
Check
What is ?
Check
. What is ?
Check
. What is at n = 5?
Check
A signal is with (per second).
(a)
What is the envelope's time constant?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
At what frequency does it oscillate?
Check
How many nonzero samples does have?
Check
What is the derivative of the unit step u(t)?
Check
Evaluate over all t, with a = 3 and b = 2.
(a)
Where does the impulse sit?
(b)
What is the integral?
Check
with r = 0.9 and k = 4.
(a)
How many samples does one full turn take?
(b)
After how many samples has its size halved?
Explain why
Why does an impulse "sift out" the value of a function, and why does δ(2t) have area 1/2?
The impulse is the limit of a pulse of area 1 squeezed to zero width around one point. Multiplying a smooth function by that pulse and integrating gives the function's value at that point times the pulse's area, because over the vanishing width the function is effectively constant. So only the value at the impulse survives. δ(2t) is the same pulse with its time axis squeezed by 2: as narrow as before in its own variable but half as wide in t, with the same height, so its area in t is 1/2.
Practice
Keep practicing
11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.