C93 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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, est or zn, 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 zn, with z=rejω0: rncos⁡(ω0n). The dashed curves are the envelope ±rn.
  • 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.
  • ω0 sets how fast the samples swing. At ω0=π they alternate in sign every sample.

Predict

What is ∫−∞∞cos⁡(t)δ(t−π)dt?

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:

∫−∞∞x(t)δ(t−t0)dt=x(t0)

so x(t)δ(t−t0)=x(t0)δ(t−t0). The step is the running integral of the impulse, u′(t)=δ(t), and scaling the time variable scales the area: δ(at)=δ(t)/|a|.

In discrete time there's nothing to take a limit of: δ[n] 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,

x[n]=∑k=−∞∞x[k]δ[n−k]

which is the starting point for convolution.

Complex exponentials

est with s=σ+jω is eσt(cos⁡ωt+jsin⁡ωt): a sinusoid at ω inside an envelope eσt that decays for σ < 0. Its real part is the damped sinusoid of every second-order circuit.

The discrete version is zn with z=rejω0: rn(cos⁡ω0n+jsin⁡ω0n). The envelope rn decays when r < 1, so in discrete time the unit circle |z|=1 plays the part the jω axis plays in continuous time.

Worked example

Evaluate ∫(t2+2)δ(t−3)dt and ∫e−tδ(2t−4)dt, both over all t.

Show the solution
  1. Sift the first. The impulse picks out the value at t = 3: 32+2=11
  2. Rescale the second impulse. δ(2t−4)=δ(2(t−2))=12δ(t−2)
  3. Sift the second. 12e−2=0.0677

Answer the first integral is 11, and the second is 12e−2=0.0677.

Worked example

Describe x[n]=(0.9ejπ/6)n.

Show the solution
  1. Rotation. It turns by π/6 each sample, so one full turn every 12 samples.
  2. Decay per turn. Its size shrinks by 0.9 each sample, so after one turn it's down to 0.912=0.28
  3. Halving time. It halves every ln⁡0.5/ln⁡0.9=6.6samples

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
  1. Write it with steps. Switch on at 1, switch off at 3: x(t)=2u(t−1)−2u(t−3)
  2. Differentiate. Each step becomes an impulse of area 2, up at the start and down at the end: x′(t)=2δ(t−1)−2δ(t−3)
  3. Check. Integrating the derivative from −∞ rebuilds the pulse, as it should.

Answer x(t)=2u(t−1)−2u(t−3), and its derivative is 2δ(t−1)−2δ(t−3), an impulse of area 2 at each edge.

Check

What is ∫−∞∞(t2+1)δ(t−2)dt?

Check

What is ∫−∞∞10δ(4t−2)dt?

Check

x[n]=(0.8)nu[n]. What is ∑nx[n]δ[n−2]?

Check

z=0.9ejπ/4. What is |zn| at n = 5?

Check

A signal is Re⁡{est} with s=−50+j10 (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 u[n]−u[n−9] have?

Check

What is the derivative of the unit step u(t)?

Check

Evaluate ∫(t2+1)δ(at−b)dt over all t, with a = 3 and b = 2.

(a)

Where does the impulse sit?

(b)

What is the integral?

Check

x[n]=(rejπ/k)n 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?

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.