Digital Signal Processing Basics
Which of the following correctly describes the system y[n] = n·x[n]?
- AIt is linear and also time-invariant
- BIt is linear but not time-invariant
- CIt is not linear but it is time-invariant
Show answer and explanation
Answer: B. It is linear but not time-invariant
The output for the input a·x₁[n] + b·x₂[n] is n(a·x₁[n] + b·x₂[n]) = a·y₁[n] + b·y₂[n], so the system is linear. However, the output for the delayed input x[n − k] is n·x[n − k], while the delayed output is (n − k)·x[n − k], and the two differ. For example, the input δ[n − 1] gives δ[n − 1], but δ[n − 2] gives 2δ[n − 2], so the response is not simply the same shape delayed. A system whose multiplier changes with the time index n is linear but not time-invariant.
- A. It is linear, but the multiplier n changes with time, so it is not time-invariant.
- B. Correct. Superposition holds, but delaying the input does not simply delay the same output shape.
- C. A sum of inputs gives the sum of outputs (superposition holds), so it is linear. It is also not time-invariant.