Skip to main content

Memory and memoryless systems; causality

Short answer

A memoryless system's output depends only on current input, like y[n]=3x[n]; an LTI system is memoryless only if h[n]=K δ[n]. A causal LTI system must have h[n]=0 for n<0 (output independent of future inputs). All real-time systems are causal.

Define systems with memory and memory-less systems with examples. Explain the causality property of discrete time LTI systems.

Systems with memory and memoryless systems

A system is memoryless (static) if its output at any time nn depends only on the input at the same time nn. A system with memory (dynamic) has an output that depends on past and/or future input values (or past outputs), so it must store information.

MemorylessWith memory
y[n]=3x[n]y[n]=3x[n] (amplifier)y[n]=x[n]−x[n−1]y[n]=x[n]-x[n-1] (first difference)
y[n]=x2[n]y[n]=x^2[n]y[n]=∑k=−∞nx[k]y[n]=\sum_{k=-\infty}^{n}x[k] (accumulator)
y[n]=(2x[n]−x2[n])2y[n]=(2x[n]-x^2[n])^2y[n]=x[n+1]y[n]=x[n+1] (advance)
Resistor: v(t)=Ri(t)v(t)=Ri(t)Capacitor: v(t)=1C∫−∞ti(τ)dτv(t)=\frac{1}{C}\int_{-\infty}^{t}i(\tau)d\tau

For an LTI system, y[n]=∑kh[k]x[n−k]y[n]=\sum_k h[k]x[n-k]. This depends only on x[n]x[n] if h[k]=0h[k]=0 for all k≠0k\ne0. So a DT LTI system is memoryless only if

h[n]=Kδ[n]⇒y[n]=Kx[n]h[n]=K\delta[n] \quad\Rightarrow\quad y[n]=Kx[n]

Any other h[n]h[n] (e.g. h[n]=δ[n]−δ[n−1]h[n]=\delta[n]-\delta[n-1]) gives a system with memory.

Causality of discrete-time LTI systems

A system is causal if its output at time nn depends only on the present and past inputs (x[n],x[n−1],…x[n], x[n-1],\dots), not on future inputs. Causal systems are "non-anticipative"; all real-time physical systems are causal.

For an LTI system,

y[n]=∑k=−∞∞h[k] x[n−k]y[n]=\sum_{k=-\infty}^{\infty}h[k]\,x[n-k]

The terms with k<0k<0 use x[n−k]x[n-k] with n−k>nn-k>n, i.e. future inputs. For the output not to depend on them, those terms must vanish for every input:

h[n]=0for n<0\boxed{h[n]=0 \quad \text{for } n<0}

This is the necessary and sufficient condition. The convolution sum of a causal LTI system then becomes

y[n]=∑k=0∞h[k] x[n−k]=∑k=−∞nx[k] h[n−k]y[n]=\sum_{k=0}^{\infty}h[k]\,x[n-k]=\sum_{k=-\infty}^{n}x[k]\,h[n-k]

Also, for a causal LTI system, initial rest holds: if x[n]=0x[n]=0 for n<n0n<n_0, then y[n]=0y[n]=0 for n<n0n<n_0.

Examples

  • h[n]=(0.5)nu[n]h[n]=(0.5)^n u[n]: zero for n<0n<0, so causal.
  • h[n]=δ[n+1]+δ[n]h[n]=\delta[n+1]+\delta[n], i.e. y[n]=x[n+1]+x[n]y[n]=x[n+1]+x[n]: h[−1]=1≠0h[-1]=1\ne0, so non-causal.
  • Accumulator h[n]=u[n]h[n]=u[n]: causal, with memory.
  • Ideal low pass filter h[n]=sin⁡ωcnπnh[n]=\frac{\sin\omega_c n}{\pi n}: non-zero for n<0n<0, so non-causal (cannot work in real time).

Note: a memoryless system is always causal, but a causal system need not be memoryless.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →