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)t24h(t)t23

The signal x(t) is nonzero only between t = 2 s and t = 4 s, and h(t) only between t = 2 s and t = 3 s. Find the duration D of y(t) = x(t) ∗ h(t).

x: 2 … 4 sh: 2 … 3 s
D = s
2.Convolution & LTI systemsHard
δ[n]4+h[n]0.5·z⁻¹+

A system obeys y[n] = 0.5·y[n − 1] + 4·x[n] and starts at rest. Find its impulse response sample h[5].

y[n] = 0.5y[n − 1] + 4x[n]x[n] = δ[n]
h[5] =
3.Laplace transformsMedium
t (s)f(t)t = 0.6f(0.6) = ?

Find f(t) for F(s) = 30/(s(s + 2)(s + 5)) by partial fractions, and evaluate f(0.6).

F(s) = 30/(s(s + 2)(s + 5))t = 0.6 s
f(0.6) =
4.Laplace transformsHard
t (s)y(t)t = 0.3y(0.3) = ?

A system obeys y″ + 9y′ + 20y = 30·u(t). It starts at rest (y(0) = 0, y′(0) = 0) and the input is a step u(t) = 10 for t ≥ 0. Use the Laplace transform to find the output y(0.3).

y″ + 9y′ + 20y = 30·u(t)u(t) = 10y(0) = 0, y′(0) = 0t = 0.3 s
y(0.3) =
5.Step responseMedium
t (s)y(t)1

A system has the transfer function G(s) = 4/(s² + s + 4) and receives a unit step input. The poles are s = σ ± jωd. Find the real part σ.

G(s) = 4/(s² + s + 4)
σ =
6.Step responseHard
R(s)+Ks(s + 4)G(s)C(s)−

A unity negative feedback loop has G(s) = K/(s(s + 4)). Find the gain K that gives a step response with 2 % overshoot.

G(s) = K/(s(s + 4))%OS = 2 %
K =
7.Bode plots & marginsMedium
vin​C = 4.7 nFR = 3.3 kΩvout​

The RC high-pass filter shown has R = 3.3 kΩ, C = 4.7 nF. A sinusoidal input of 41 kHz is applied. Find the phase shift φ of vout relative to vin, in degrees.

R = 3.3 kΩC = 4.7 nFf = 41 kHz
φ = °
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 + 5)(s + 6)). Find the gain K that gives a gain margin of 12 dB.

L(s) = K/(s(s + 5)(s + 6))GM = 12 dB
K =

3Solutions

1.Convolution & LTI systems

Answer: D = 3 s

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).

Start and end

tstart = 2 + 2 = 4 s
tend = 4 + 3 = 7 s

Answer

D = 3 s

Answer

D = 3 s
2.Convolution & LTI systems

Answer: h[5] = 0.125

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)|.

Iterate

h[0] = 4
h[1] = 2
h[2] = 1
h[3] = 0.5
h[4] = 0.25
h[5] = 0.125

Result

h[5] = 4·(0.5)5 = 0.125

Answer

h[5] = 0.125
3.Laplace transforms

Answer: f(0.6) = 1.594

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).

Partial fractions

F(s) = A/s + B/(s + 2) + C/(s + 5)
A = 30/(2·5) = 3
B = 30/((−2)·3) = −5
C = 30/((−5)·(−3)) = 2

Inverse transform

f(t) = 3 − 5·e−2t + 2·e−5t

Evaluate

f(0.6) = 3 − 5·e−2·0.6 + 2·e−5·0.6 = 1.594

Answer

f(0.6) = 1.594
4.Laplace transforms

Answer: y(0.3) = 5.798

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

Y(s) = 300/(s(s + 4)(s + 5))

Partial fractions

A = 300/(4·5) = 15
B = 300/((−4)·1) = −75
C = 300/((−5)·(−1)) = 60

Output

y(t) = 15 − 75·e−4t + 60·e−5t
y(0.3) = 5.798

Answer

y(0.3) = 5.798
5.Step response

Answer: σ = −0.5

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 + ωₙ².

ωₙ² = 4 → ωₙ = 2 rad/s
2ζωₙ = 1 → ζ = 1/(2·2) = 0.25

Result

σ = −ζωₙ = −1/2 = −0.5

Answer

σ = −0.5
6.Step response

Answer: K = 6.58

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).

Closed-loop transfer function

T(s) = K/(s² + 4s + K)

Damping ratio from the overshoot

ζ = −ln(0.02)/√(π² + ln²(0.02)) = 0.7797

Gain

ωₙ = 4/(2ζ) = 2.565 rad/s
K = ωₙ² = 6.58

Answer

K = 6.58
7.Bode plots & margins

Answer: φ = 14.05 °

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.

Corner frequency

ωc = 1/(RC) = 1/(3300·4.7 × 10⁻⁹) = 64475 rad/s
fc = 10261 Hz → f/fc = 41000/10261 = 3.996

Phase

φ = 90° − atan(3.996) = 14.05°

Answer

φ = 14.05°
8.Bode plots & margins

Answer: K = 82.89

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

(ω/5)·(ω/6) = 1 → ω180 = √(5·6) = 5.477 rad/s

Magnitude at phase crossover

|L(jω180)| = K/(ω·√(ω² + 25)·√(ω² + 36)) = K/(5·6·(5 + 6)) = K/330

Required gain

330/K = 1012/20 = 3.981
K = 330/3.981 = 82.89

Answer

K = 82.89

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