Contents
Practice Question on Causal LTI systems defined by a linear, constant coefficient difference equation
Consider the LTI system defined by the difference equation
$ y[n]-\frac{1}{2}y[n-1]=x[n]\ $
a) What is the frequency response of this system?
b) What is the unit impulse response of this system?
c) What is the system's response to the input $ x[n] = \left( \frac{1}{5}\right)^n u[n] \ $?
c) What is the system's response to the input $ x[n] =\cos \left(\frac{\pi}{2} n \right) \ $?
You will receive feedback from your instructor and TA directly on this page. Other students are welcome to comment/discuss/point out mistakes/ask questions too!
Answer 1
a)
$ \mathfrak F (y[n]-\frac{1}{2}y[n-1]) = \mathfrak F (x[n]) $
$ \mathcal Y (\omega) - \frac{1}{2}\mathfrak F (y[n-1]) = \mathcal X (\omega) $
$ \mathcal Y (\omega) - \frac{1}{2}e^{-j\omega} \mathcal Y (\omega) = \mathcal X (\omega) $
$ \mathcal Y (\omega) = \frac{1}{1-\frac{1}{2}e^{-j\omega}}\mathcal X (\omega) $
$ \mathcal H (\omega) = \frac{1}{1-\frac{1}{2}e^{-j\omega}} $
b)
$ h[n]=\mathfrak F ^{-1} (\mathcal H (\omega))= \mathfrak F ^{-1} \Big( \frac{1}{1-\frac{1}{2}e^{-j\omega}} \Big) $
$ use \mathfrak F (a^n u[n]) = \frac{1}{1-ae^{-j\omega}} $
$ h[n] = \Big(\frac{1}{2}\Big)^n u[n] $
c)
use table formula from last part
$ \mathcal X (\omega)= \frac{1}{1-\frac{1}{5}e^{-j\omega}} $
$ \mathcal Y (\omega)= \Big(\frac{1}{1-\frac{1}{2}e^{-j\omega}}\Big)\Big(\frac{1}{1-\frac{1}{5}e^{-j\omega}}\Big) = \Big(\frac{\frac{5}{3}}{1-\frac{1}{2}e^{-j\omega}}\Big) + \Big(\frac{\frac{-2}{3}}{1-\frac{1}{5}e^{-j\omega}}\Big) $
$ y[n] = \frac{5}{3}\Big(\frac{1}{2}\Big)^n u[n] - \frac{2}{3}\Big(\frac{1}{5}\Big)^n u[n] $
Answer 2
Write it here.
Answer 3
Write it here.