Sketch both signals and note where each one is nonzero.
Flip h and slide it: for each output time, find the range where both signals overlap.
Multiply and add (discrete) or multiply and integrate (continuous) over that overlap only.
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
The pulse x(t) = 3 for 0 ≤ t < 1 s (zero elsewhere) is applied to a system with the impulse response h(t) = 5 for 0 ≤ t < 2 s (zero elsewhere). Find the output y(1) at t = 1 s.
x(t) = 3, 0 ≤ t < 1 sh(t) = 5, 0 ≤ t < 2 st = 1 s
y(1) =
2.Convolution & LTI systemsHard
A system obeys y[n] = 0.5·y[n − 1] + 4·x[n] and starts at rest. The input is the unit step x[n] = u[n]. Find y[2].
y[n] = 0.5y[n − 1] + 4x[n]x[n] = u[n]
y[2] =
3.Laplace transformsMedium
Find f(t) for F(s) = (4s + 19)/(s² + 10s + 25) and evaluate f(0.25).
F(s) = (4s + 19)/(s² + 10s + 25)t = 0.25 s
f(0.25) =
4.Laplace transformsHard
A system obeys y″ + 7y′ + 6y = 6·u(t), with y(0) = 1 and y′(0) = 0. At t = 0 a step input u(t) = 5 is applied. Use the Laplace transform to find y(1.2).
A system has the transfer function G(s) = 90/(s² + 5s + 90) and receives a unit step input. The poles are s = σ ± jωd. Find the real part σ.
G(s) = 90/(s² + 5s + 90)
σ =
6.Step responseHard
A mass m = 1 kg hangs on a spring k = 800 N/m with a viscous damper c = 23 N·s/m (m·x″ + c·x′ + k·x = F). At rest in equilibrium, a constant force F = 50 N is suddenly applied. Find the time tp at which the displacement is largest.
m = 1 kgk = 800 N/mc = 23 N·s/mF = 50 N
tp = s
7.Bode plots & marginsMedium
The RC low-pass filter shown has R = 22 kΩ, C = 10 nF. A sinusoidal input of 2.2 kHz is applied. Find the gain |H| = |vout/vin| in dB.
R = 22 kΩC = 10 nFf = 2.2 kHz
|H| = dB
8.Bode plots & marginsHard
A unity-feedback loop has the open-loop transfer function L(s) = 154/(s(s + 4)(s + 7)). Find the gain margin GM in dB.
L(s) = 154/(s(s + 4)(s + 7))
GM = dB
3Solutions
1.Convolution & LTI systems
Answer: y(1) = 15
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).
Overlap of the flipped pulse
h(t − τ) is the pulse of h flipped and shifted so that it ends at τ = t.
τ ∈ [0, 1] → length 1 s
Integral
y(1) = 3·5·1 = 15
Answer
y(1) = 15
y(t) is a trapezoid: it rises from 0, stays at 15 and falls back to 0 at t = 3 s.
2.Convolution & LTI systems
Answer: y[2] = 7
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
y[0] = 4
y[1] = 6
y[2] = 7
Result
y[2] = 4·(1 − (0.5)3)/(1 − 0.5) = 7
Answer
y[2] = 7
3.Laplace transforms
Answer: f(0.25) = 1.074
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).
Factor the denominator
s² + 10s + 25 = (s + 5)²
Partial fractions
4s + 19 = 4(s + 5) + −1
F(s) = 4/(s + 5) − 1/(s + 5)²
Inverse transform
f(t) = 4·e−5t − t·e−5t
f(0.25) = (4 − 1·0.25)·e−5·0.25 = 1.074
Answer
f(0.25) = 1.074
4.Laplace transforms
Answer: y(1.2) = 3.555
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² + 7s + 6)·Y(s) = 1s + 7 + 30/s
Y(s) = (s² + 7s + 30)/(s(s + 1)(s + 6))
Partial fractions
A = 30/(1·6) = 5
B = 24/((−1)·5) = −4.8
C = 24/((−6)·(−5)) = 0.8
Result
y(t) = 5 − 4.8·e−t + 0.8·e−6t
y(1.2) = 3.555
Answer
y(1.2) = 3.555
Check: y(0) = A + B + C = 1.
5.Step response
Answer: σ = −2.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 + ωₙ².
ωₙ² = 90 → ωₙ = 9.487 rad/s
2ζωₙ = 5 → ζ = 5/(2·9.487) = 0.2635
Result
σ = −ζωₙ = −5/2 = −2.5
Answer
σ = −2.5
6.Step response
Answer: tp = 0.1216 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).
Natural frequency and damping ratio
ωₙ = √(k/m) = √(800/1) = 28.28 rad/s
ζ = c/(2√(km)) = 23/(2·√(800·1)) = 0.4066
Result
ωd = 25.84 rad/s
tp = π/ωd = 0.1216 s
Answer
tp = 0.1216 s
7.Bode plots & margins
Answer: |H| = −10.11 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.
Corner frequency
ωc = 1/(RC) = 1/(22000·1 × 10⁻⁸) = 4545 rad/s
fc = 723.4 Hz → f/fc = 2200/723.4 = 3.041
Gain
|H| = 1/√(1 + 3.041²) = 0.3124
20·log₁₀(0.3124) = −10.11 dB
Answer
|H| = −10.11 dB
8.Bode plots & margins
Answer: GM = 6.021 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.