Signals and Systems: cram pack

Formula sheets, the key method steps for every topic and 8 practice problems, with full solutions at the back.

New problemsBack to the course

In the print window, choose “Save as PDF” to keep a copy on your device.

1Formulas and methods

Convolution & LTI systems

Discrete convolution
y[n] = Σ x[k]·h[n − k]
Continuous convolution
y(t) = ∫ x(τ)·h(t − τ) dτ
Length and sum
Ly = Lx + Lh − 1, Σy = Σx·Σh
Start, end and area
t1 + t3 … t2 + t4, ∫y = ∫x·∫h
Step into e^(−at)u(t)
y(t) = (A/a)(1 − e−at)
First-order system
y′ + a·y = b·x → h(t) = b·e−atu(t)
First-order recursion
y[n] = a·y[n − 1] + b·x[n] → h[n] = b·aⁿ
Sinusoid through h(t)
|H(jω)|, ∠H(jω); H(jω) = b/(a + jω)
Fourier series amplitudes
square ±A: 4A/(kπ), odd k; triangle ±A: 8A/(π²k²), odd k; pulse train: A·D and (2A/(kπ))|sin kπD|

Method

  1. Sketch both signals and note where each one is nonzero.
  2. Flip h and slide it: for each output time, find the range where both signals overlap.
  3. Multiply and add (discrete) or multiply and integrate (continuous) over that overlap only.
  4. Check the result: the output starts at the sum of the start times, ends at the sum of the end times, and its area or sum is the product of the input areas or sums.

2Practice problems

1.Convolution & LTI systemsMedium
x(t)t5h(t)t11

A system has the impulse response h(t) = e−1tu(t). The input is a step x(t) = 5·u(t). Find the output y(3) at t = 3 s.

h(t) = e−1tu(t)x(t) = 5·u(t)t = 3 s
y(3) =
2.Convolution & LTI systemsHard
x(t)t (ms)0.5121

A square wave switches between 1 and 0 with period T = 1 ms (half a period at each level). Find the amplitude c5 of its Fourier component at 5000 Hz.

0 … 1T = 1 msf = 5000 Hz
c5 =
3.Laplace transformsMedium
ReIm2

Find f(t) for F(s) = 9/(s² + 2s + 10) by completing the square, and evaluate f(1).

F(s) = 9/(s² + 2s + 10)t = 1 s
f(1) =
4.Laplace transformsHard
t (s)y(t)t = 0.3y(0.3) = ?

Solve y″ + 9y′ + 18y = 0 with y(0) = −4 and y′(0) = 7 using the Laplace transform, and find y(0.3).

y″ + 9y′ + 18y = 0y(0) = −4y′(0) = 7t = 0.3 s
y(0.3) =
5.Step responseMedium
t (s)y(t)2

A system has the transfer function G(s) = 24/(s² + 3s + 12) and receives a unit step input. Find the natural frequency ωn in rad/s.

G(s) = 24/(s² + 3s + 12)
ωn = rad/s
6.Step responseHard
t (s)y(t)14.3 %

A second-order system without zeros must have a step response with 4.3 % overshoot. Find the damping ratio ζ.

%OS = 4.3 %
ζ =
7.Bode plots & marginsMedium
|H| (dB)0.11101001000−80−60−40−20020ω (rad/s)ω = 20

Find the exact magnitude |G(jω)| of G(s) = 665/((s + 5)(s + 19)) at ω = 20 rad/s, in dB.

G(s) = 665/((s + 5)(s + 19))ω = 20 rad/s
|G(jω)| = dB
8.Bode plots & marginsHard
|H| (dB)0.10.1111010100100−80−60−40−2002040ω (rad/s)φ (°)ω (rad/s)−270−180−900ω180​

A unity-feedback loop has the open-loop transfer function L(s) = K/(s(s + 2)(s + 3)). Find the gain K that gives a gain margin of 8 dB.

L(s) = K/(s(s + 2)(s + 3))GM = 8 dB
K =

3Solutions

1.Convolution & LTI systems

Answer: y(3) = 4.751

Continuous convolution: y(t) = ∫ x(τ)·h(t − τ) dτ. Flip h, slide it to position t and integrate the product of the overlapping parts. For causal signals the integral runs from 0 to t. Useful results: the area of y is the area of x times the area of h; if x lasts from t₁ to t₂ and h from t₃ to t₄, y lasts from t₁ + t₃ to t₂ + t₄. For h(t) = e−atu(t) and a step of height A, y(t) = (A/a)(1 − e−at).

Convolution with a step

y(t) = 5·∫₀ᵗ e−1τ dτ = (5/1)·(1 − e−1t)

Evaluate

y(3) = 5·(1 − e−3) = 4.751

Answer

y(3) = 4.751
2.Convolution & LTI systems

Answer: c5 = 0.1273

Impulse response and Fourier series: the impulse response h(t) describes an LTI system completely: for y′ + a·y = b·x it is h(t) = b·e−atu(t), and for y[n] = a·y[n − 1] + b·x[n] it is h[n] = b·aⁿu[n]. A sinusoid cos ωt passes through with gain |H(jω)| and phase ∠H(jω), where H is the Fourier transform of h. A periodic signal is a sum of harmonics at k/T: a square wave of ±A has only odd harmonics with amplitudes 4A/(kπ), a triangle wave of peak A has 8A/(π²k²), and a pulse train of height A and duty cycle D has the mean A·D and the harmonics (2A/(kπ))·|sin(kπD)|.

Harmonic number

f₀ = 1/T = 1000 Hz → k = 5000/1000 = 5

Amplitude

c5 = 4·0.5/(5π) = 0.1273

Answer

c5 = 0.1273
3.Laplace transforms

Answer: f(1) = 0.1557

Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).

Complete the square

s² + 2s + 10 = (s + 1)² + 9 = (s + 1)² + 3²

Match the numerator

F(s) = (9/3)·3/((s + 1)² + 3²)

Inverse transform

f(t) = e−t·(3·sin 3t)
f(1) = e−1·(3·sin(3·1)) = 0.1557

Answer

f(1) = 0.1557
4.Laplace transforms

Answer: y(0.3) = −2.028

Laplace transform: F(s) = ∫₀∞ f(t)·e−st dt turns derivatives into multiplications by s: ℒ{f′} = sF(s) − f(0), ℒ{f″} = s²F(s) − s·f(0) − f′(0). Standard pairs: 1 ↔ 1/s, e−at ↔ 1/(s + a), t·e−at ↔ 1/(s + a)², sin ωt ↔ ω/(s² + ω²), cos ωt ↔ s/(s² + ω²), and a shift s → s + σ multiplies the time function by e−σt. To invert a rational F(s), split it into partial fractions: the residue of a simple pole p is A = [(s − p)·F(s)] at s = p. Final value theorem: f(∞) = lims→0 s·F(s), valid only when all poles of s·F(s) lie in the left half-plane. Initial value theorem: f(0⁺) = lims→∞ s·F(s).

Transform the equation

s²Y − (−4)s − 7 + 9(sY − (−4)) + 18Y = 0
Y(s) = (−4s − 29)/((s + 3)(s + 6))

Partial fractions

A = −17/3 = −5.667
B = −5/(−3) = 1.667

Result

y(t) = −5.667·e−3t + 1.667·e−6t
y(0.3) = −2.028

Answer

y(0.3) = −2.028

Check: y(0) = A + B = −4.

5.Step response

Answer: ωn = 3.464 rad/s

Step response: a first-order system G(s) = K/(τs + 1) answers a step of size U with y(t) = K·U·(1 − e−t/τ): it reaches 63.2 % of the final value K·U after one time constant τ and 98 % after 4τ. A second-order system G(s) = K·ωₙ²/(s² + 2ζωₙs + ωₙ²) has the poles s = −ζωₙ ± jωd with ωd = ωₙ√(1 − ζ²). For 0 < ζ < 1 the step response overshoots: percent overshoot %OS = 100·e−ζπ/√(1−ζ²), peak time tp = π/ωd, and the 2 % settling time ts ≈ 4/(ζωₙ). Compare the denominator with s² + 2ζωₙs + ωₙ² to read off ωₙ and ζ. For a mass–spring–damper ωₙ = √(k/m) and ζ = c/(2√(km)); for a series RLC circuit ωₙ = 1/√(LC) and ζ = (R/2)·√(C/L).

Compare with the standard form

The denominator must match s² + 2ζωₙs + ωₙ².

ωₙ² = 12 → ωₙ = 3.464 rad/s
2ζωₙ = 3 → ζ = 3/(2·3.464) = 0.433

Result

ωₙ = 3.464 rad/s

Answer

ωn = 3.464 rad/s
6.Step response

Answer: ζ = 0.7077

Step response: a first-order system G(s) = K/(τs + 1) answers a step of size U with y(t) = K·U·(1 − e−t/τ): it reaches 63.2 % of the final value K·U after one time constant τ and 98 % after 4τ. A second-order system G(s) = K·ωₙ²/(s² + 2ζωₙs + ωₙ²) has the poles s = −ζωₙ ± jωd with ωd = ωₙ√(1 − ζ²). For 0 < ζ < 1 the step response overshoots: percent overshoot %OS = 100·e−ζπ/√(1−ζ²), peak time tp = π/ωd, and the 2 % settling time ts ≈ 4/(ζωₙ). Compare the denominator with s² + 2ζωₙs + ωₙ² to read off ωₙ and ζ. For a mass–spring–damper ωₙ = √(k/m) and ζ = c/(2√(km)); for a series RLC circuit ωₙ = 1/√(LC) and ζ = (R/2)·√(C/L).

Damping ratio

ζ = −ln(0.043)/√(π² + ln²(0.043)) = 3.147/√(9.87 + 9.901) = 0.7077

Answer

ζ = 0.7077
7.Bode plots & margins

Answer: |G(jω)| = 1.359 dB

Frequency response: substitute s = jω in the transfer function. The magnitude in decibels is 20·log₁₀|H(jω)| and the phase is the sum of the angles of the numerator factors minus those of the denominator factors. A first-order RC or RL filter has its corner (−3 dB) frequency at ωc = 1/(RC) or R/L, and fc = ωc/(2π); a low-pass filter gives |H| = 1/√(1 + (ω/ωc)²) and φ = −atan(ω/ωc). In the asymptotic (straight-line) Bode plot each pole bends the magnitude down by 20 dB/decade at its corner frequency, each zero bends it up by 20 dB/decade, and an integrator 1/s gives −20 dB/decade at all frequencies. Gain crossover ωc: |L(jω)| = 1 (0 dB); phase margin PM = 180° + ∠L(jωc). Phase crossover ω180: ∠L(jω) = −180°; gain margin GM = −20·log₁₀|L(jω180)| dB. The closed loop is stable when both margins are positive.

Multiply the magnitudes

|G(j20)| = 665/(√(20² + 5²)·√(20² + 19²)) = 665/(20.62·27.59) = 1.169

Result

20·log₁₀(1.169) = 1.359 dB

Answer

|G(jω)| = 1.359 dB
8.Bode plots & margins

Answer: K = 11.94

Frequency response: substitute s = jω in the transfer function. The magnitude in decibels is 20·log₁₀|H(jω)| and the phase is the sum of the angles of the numerator factors minus those of the denominator factors. A first-order RC or RL filter has its corner (−3 dB) frequency at ωc = 1/(RC) or R/L, and fc = ωc/(2π); a low-pass filter gives |H| = 1/√(1 + (ω/ωc)²) and φ = −atan(ω/ωc). In the asymptotic (straight-line) Bode plot each pole bends the magnitude down by 20 dB/decade at its corner frequency, each zero bends it up by 20 dB/decade, and an integrator 1/s gives −20 dB/decade at all frequencies. Gain crossover ωc: |L(jω)| = 1 (0 dB); phase margin PM = 180° + ∠L(jωc). Phase crossover ω180: ∠L(jω) = −180°; gain margin GM = −20·log₁₀|L(jω180)| dB. The closed loop is stable when both margins are positive.

Phase crossover

(ω/2)·(ω/3) = 1 → ω180 = √(2·3) = 2.449 rad/s

Magnitude at phase crossover

|L(jω180)| = K/(ω·√(ω² + 4)·√(ω² + 9)) = K/(2·3·(2 + 3)) = K/30

Required gain

30/K = 108/20 = 2.512
K = 30/2.512 = 11.94

Answer

K = 11.94

ExamProblems · examproblems.com/courses/signals-and-systems