C9 · Lesson 4 · Systems and their properties
Memory, causality, stability, linearity and time invariance
A system is anything that turns one signal into another: an amplifier, a filter, a room's echo, a line of code that averages the last ten samples. Before computing anything about a system, it pays to ask a few yes-or-no questions about it. Does it remember the past? Can it react to the future? Does a small input always give a small output? Does doubling the input double the output? Does it behave the same today as tomorrow? The last two, linearity and time invariance, are the ones that matter most, because a system that has both is completely described by a single signal, as the next lessons show.
- The dashed pulse is the input x(t), centered at t = d. Two systems act on it: and .
- Slide the pulse with d. The output of keeps the same shape and just moves along with the input: that system is time invariant.
- The output of changes as the pulse moves: small near t = 0, bigger further out, upside down for negative t. The same input at a different time gives a different output: that system is time varying.
Predict
Is the system linear?
No. A linear system must give zero output for zero input (scale any input by 0), and this one gives 1. It's incrementally linear: a linear system plus a constant. Changes in the output are proportional to changes in the input, but superposition fails: the response to is not the sum of the responses.
Name it
The properties
| Property | Meaning | Fails for |
|---|---|---|
| memoryless | y at time t depends only on x at time t | |
| causal | y at time t depends only on x at times ≤ t | |
| stable (BIBO) | every bounded input gives a bounded output | the accumulator |
| invertible | different inputs give different outputs | |
| linear | , | |
| time invariant | , |
Testing them
- Linearity: find the outputs and for two inputs, then the output for , and see whether it equals . A quick screen: zero in must give zero out.
- Time invariance: compare two things: the output for the shifted input , and the original output shifted, . A system whose formula has t (or n) in it outside the input, or that scales time, usually fails.
- Stability: look for one bounded input with an unbounded output. The accumulator fed a step grows without limit: .
A system that is both linear and time invariant is LTI. Most of this course is about LTI systems: circuits of R, L, C and op amps, and digital filters, are all LTI.
Worked example
Classify .
Show the solution
- Linear. Scaling or adding inputs scales or adds the output.
- Time varying. Shifting the input by gives , but shifting the output gives and the two differ.
- Not causal. y(1) = x(2) needs the future.
- Memory and stability. It has memory, and it's stable (it only rearranges values).
- Invertible. Undo the compression:
Answer linear, time varying, not causal, with memory, stable and invertible.
Worked example
Classify .
Show the solution
- Linear and time invariant. It uses only shifts of x, with fixed coefficients.
- Causal, with memory. It uses the present and one past sample.
- Stable.
- Invertible. The accumulator undoes it, if x started at zero:
Answer linear, time invariant, causal, with memory, stable and invertible.
Worked example
Classify , the mixer at the heart of every radio.
Show the solution
- Linear. Scaling or adding inputs does the same to the output.
- Time varying. A delayed input meets a different part of the cosine.
- Causal and memoryless. y(t) uses only x(t).
- Stable.
- Not invertible. Wherever the cosine is 0 the input is lost.
- Why it matters. A linear but time-varying system is exactly what's needed to move a signal to a new frequency, which no LTI system can do.
Answer linear, time varying, causal, memoryless and stable, but not invertible.
Check
A system is .
(a)
What is the output when x = 5 + 7?
(b)
By how much does the sum of the outputs for x = 5 and x = 7 differ from that?
Check
The accumulator is fed the unit step u[n]. What is y[20]?
Check
The system is fed . What is the output's only nonzero sample?
Check
An LTI system has impulse response . If always, what is the largest can be?
Check
Which system is causal?
Check
Which system is linear and time invariant?
Check
Which system is not invertible?
Check
A system computes . Test it with the inputs x = 2 and x = 2 × 2.
(a)
What is y for x = 2?
(b)
What is y for x = 2 × 2? (Doubling the input doesn't double the output, so the system isn't linear.)
Check
with b = 0.8 and K = 2, and the input stays within ±1.
(a)
What is the largest the output can be?
(b)
What would the bound be if the sum ran forever?
Explain why
Why is time varying, even though its formula has no t outside the input?
Time invariance asks whether delaying the input just delays the output by the same amount. Delay the input by and the system produces . Delaying the original output by instead gives . The two differ by , because the system squeezes time: a delay at the input becomes only half as long at the output. So a shift doesn't pass through unchanged, and the system is time varying.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.