Foundations to Frontier
Tests
A. Mathematical Foundations › A10 Signal Processing

Signals and Systems: Linear Time-Invariant Systems

A system turns an input signal into an output signal: a sensor, a filter, an actuator, a communication channel. When it is linear and time-invariant (LTI), one function, the impulse response, describes it completely. Outputs are convolutions, sinusoids pass through unchanged in frequency, and stability reduces to a simple sum. You will test systems for linearity and time-invariance, compute impulse and step responses of difference equations, check BIBO stability, and identify a real actuator model from noisy input–output data with least squares.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Machines that change signals

Speak into a microphone, and the recorded sound is your voice changed a little by the microphone. Push a robot’s motor command, and the motor’s speed follows, a bit sluggishly. Each of these is a system: a signal goes in, another comes out. Many useful systems have two friendly properties. Doubling the input doubles the output (linear), and the system behaves the same today as tomorrow (time-invariant). For such systems, one simple experiment, a single sharp kick, tells you everything.

Is it linear? Is it time-invariant?
system:
input:
input x[n] (dashed) · output y[n]
superposition error 5.6e-16 → linear ✓
shift error 0.0e+0 → time-invariant ✓
An LTI system is completely described by its impulse response h[n]; every output is the convolution y = x * h, and sinusoids come out as sinusoids of the same frequency (scaled and shifted). Squaring breaks superposition; a gain that grows with n breaks time-invariance; even a constant offset fails linearity because T(0) ≠ 0.
Why engineers care

Sensor dynamics, digital filters, motor drives, structural vibration and radio channels are modelled as LTI systems. Knowing the impulse response lets you predict the response to any input, design filters and controllers, and identify hardware from test data.

📝 Quick check (Level 0)
0/3 answered
  1. 1. Linear means…
  2. 2. Time-invariant means…
  3. 3. For an LTI system, one sharp kick (impulse) reveals…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

Definitions (discrete time)

  • Linear: T{ax1+bx2}=aT{x1}+bT{x2}T\{ax_1 + bx_2\} = aT\{x_1\} + bT\{x_2\}.
  • Time-invariant: if x[n]↦y[n]x[n]\mapsto y[n] then x[n−k]↦y[n−k]x[n - k]\mapsto y[n - k].
  • Causal: y[n]y[n] depends only on x[m]x[m] with m≤nm\le n.
  • BIBO stable: bounded inputs give bounded outputs.

Impulse response and convolution

With h=T{δ}h = T\{\delta\}, every input is a sum of shifted impulses, x=∑kx[k]δ[n−k]x = \sum_kx[k]\delta[n - k]. Linearity and time-invariance then give

y[n]=∑kx[k]h[n−k]=(x∗h)[n]y[n] = \sum_kx[k]h[n - k] = (x * h)[n]

Difference equations

y[n]=ay[n−1]+bx[n]y[n] = ay[n - 1] + bx[n] has impulse response h[n]=banh[n] = ba^n for n≥0n\ge0. It’s a first-order low-pass filter (or a discretized RC circuit or motor) when 0<a<10 < a < 1.

📝 Quick check (Level 1)
0/3 answered
  1. 1. y[n] = x[n]² is…
  2. 2. Impulse response of y[n] = 0.5y[n−1] + x[n] at n = 3:
  3. 3. A causal system's output depends on…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.

Stability

An LTI system is BIBO stable iff ∑n∣h[n]∣<∞\sum_n\lvert h[n]\rvert < \infty. For h=banh = ba^n that needs ∣a∣<1\lvert a\rvert < 1. In general, the poles of the transfer function must lie inside the unit circle.

Eigenfunctions and frequency response

Input x[n]=ejωnx[n] = e^{j\omega n} gives y[n]=H(ejω)ejωny[n] = H(e^{j\omega})e^{j\omega n}, with

H(ejω)=∑nh[n]e−jωnH(e^{j\omega}) = \sum_nh[n]e^{-j\omega n}

Sinusoids come out as sinusoids of the same frequency, scaled by ∣H∣\lvert H\rvert and shifted by ∠H\angle H. For the first-order system, H=b/(1−ae−jω)H = b/(1 - ae^{-j\omega}).

Step response

s[n]=∑k≤nh[k]s[n] = \sum_{k\le n}h[k]. Its final value is the DC gain H(1)=∑hH(1) = \sum h, which is b/(1−a)b/(1 - a) for the first-order system.

🐍 Exercise 1: testing and characterizing systems
Write numerical tests for linearity and time-invariance and classify six example systems. Compute the impulse response of a first-order recursion, verify that convolution reproduces its output, check BIBO stability, and confirm that complex exponentials are eigenfunctions.
📝 Quick check (Level 2)
0/3 answered
  1. 1. BIBO stability of an LTI system requires…
  2. 2. DC gain of y[n] = 0.9y[n−1] + 0.1x[n]:
  3. 3. An LTI system's response to a sinusoid is…

Level 3: Advanced

★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.

Convolution from linearity and time-invariance

Write x=∑kx[k]δkx = \sum_kx[k]\delta_k. Time-invariance gives T{δk}=h[n−k]T\{\delta_k\} = h[n - k], and linearity then gives y=∑kx[k]h[n−k]y = \sum_kx[k]h[n - k]. ∎

BIBO stability criterion

Sufficiency: if ∣x∣≤M\lvert x\rvert\le M, then ∣y[n]∣≤M∑∣h∣\lvert y[n]\rvert\le M\sum\lvert h\rvert. Necessity: the bounded input x[k]=sign⁡h[n−k]x[k] = \operatorname{sign}h[n - k] makes y[n]=∑∣h∣y[n] = \sum\lvert h\rvert, which must be finite. ∎

Eigenfunction property

∑kh[k]ejω(n−k)=ejωn∑kh[k]e−jωk=H(ejω)ejωn\sum_kh[k]e^{j\omega(n - k)} = e^{j\omega n}\sum_kh[k]e^{-j\omega k} = H(e^{j\omega})e^{j\omega n}. ∎

Exercise 3.1: gain of y[n] = 0.9y[n−1] + 0.1x[n] at ω = π

∣H∣=0.1/∣1+0.9∣=0.0526\lvert H\rvert = 0.1/\lvert1 + 0.9\rvert = 0.0526: alternating signals are attenuated 19×. It’s a low-pass filter.

📝 Quick check (Level 3)
0/3 answered
  1. 1. The input that proves BIBO necessity is…
  2. 2. |H| at ω = π for b = 0.1, a = 0.9:
  3. 3. Convolution follows from…

Level 4: Expert

★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.

Identifying an actuator from test data

A servo is driven with a ±1 pseudo-random binary sequence (PRBS), whose flat spectrum excites every frequency, and its noisy response is logged. Two identifications follow:

  • FIR least squares: regress y on 40 delayed inputs to get the impulse response directly. The error is under 0.001.
  • ARX(1): regress y[k+1]y[k + 1] on (y[k],u[k])(y[k], u[k]) to recover the physical pole a≈0.85a\approx0.85 and gain b≈0.30b\approx0.30.

The identified frequency response matches the truth. This is the routine first step before designing controllers or filters for real hardware (Ljung, 1999).

🐍 Exercise 2 (research): system identification from PRBS data
Excite a first-order actuator with a PRBS and add sensor noise. Estimate a 40-tap FIR impulse response and ARX(1) parameters by least squares, and compare the identified frequency response with the truth.

LTI systems in AI, robotics and aerospace

  • Sensors: IMU, encoder and thermocouple dynamics modelled as LTI filters; anti-alias and smoothing filters.
  • System identification: flight-test identification of aircraft and spacecraft dynamics; robot actuator models.
  • Communications: channels as LTI systems; equalization inverts their impulse response.
  • Learning: convolutional layers are LTI along space or time, and linear state-space sequence models (S4) are LTI systems learned end to end.

References

  1. A. Oppenheim, A. Willsky, S. H. Nawab (1997). Signals and Systems, 2nd ed. Prentice Hall.
  2. A. Oppenheim, R. Schafer (2010). Discrete-Time Signal Processing, 3rd ed. Pearson.
  3. L. Ljung (1999). System Identification: Theory for the User, 2nd ed. Prentice Hall.
  4. K. Godfrey (1993). Perturbation Signals for System Identification. Prentice Hall.
  5. R. Jategaonkar (2015). Flight Vehicle System Identification, 2nd ed. AIAA.
  6. A. Gu, K. Goel, C. Ré (2022). “Efficiently modeling long sequences with structured state spaces.” ICLR.