Revision as of 17:02, 20 March 2011 by Ahmadi (Talk | contribs)

Homework 7 Solutions, ECE301 Spring 2011 Prof. Boutin

Students should feel free to make comments/corrections or ask questions directly on this page.

Question 1

$ \begin{align} \mathcal{X}(\omega)&= \sum_{n=-\infty}^{\infty} 5^{-|n+2|}e^{-j\omega n}\\ &= \sum_{n=-\infty}^{-3} 5^{(n+2)}e^{-j\omega n} + \sum_{n=-2}^{\infty}5^{-(n+2)}e^{-j\omega n} \\ &= 25 \sum_{n=-\infty}^{-3} \left(\frac{1}{5}e^{j\omega}\right)^{-n} + e^{2j\omega}\sum_{n=-2}^{\infty} (5e^{j\omega})^{-(n+2)} \\ &= 25 \sum_{n=3}^{\infty} \left(\frac{1}{5}e^{j\omega}\right)^{n} + e^{2j\omega}\sum_{n=0}^{\infty} (5e^{j\omega})^{-n}\\ &= 25\cdot \frac{\left(\frac{1}{5}e^{j\omega}\right)^{3}}{1-\frac{1}{5}e^{j\omega}} + \frac{e^{2j\omega}}{1-\frac{1}{5}e^{-j\omega}}\\ &=\frac{e^{3j\omega}}{5-e^{j\omega}} + \frac{5e^{2j\omega}}{5-e^{-j\omega}} \end{align} $

To verify our answer using the table, we first write:

$ x[n]=5^{(n+2)}u[-n-3]+5^{-(n+2)}u[n+2]=\frac{1}{5}\left(\frac{1}{5}\right)^{-(n+3)}u[-(n+3)]+\left(\frac{1}{5}\right)^{(n+2)}u[n+2] $.

Using the time reversal property (for the first term), the time shift property (for both terms), the appropriate pair from the table, and the linearity of the FT, we get:

$ \begin{align} \mathcal{X}(\omega)&=\frac{e^{3j\omega}}{5}\left(\frac{1}{1-\frac{1}{5}e^{j\omega}}\right)+\frac{e^{2j\omega}}{1-\frac{1}{5}e^{-j\omega}} \\ &=\frac{e^{3j\omega}}{5-e^{j\omega}}+\frac{5e^{2j\omega}}{5-e^{-j\omega}} \end{align} $.

Question 2

We choose the period from $ [-\pi,\pi] $ (which corresponds to the part of the signal for k=0) to compute the inverse DT Fourier transform of the given signal:

$ \begin{align} x[n]&=\frac{1}{2\pi}\int_{-\pi}^{\pi} \mathcal{X}(\omega)e^{j\omega n}d\omega \\ &=\frac{1}{2\pi}\int_{-\pi}^{\pi} \left[ \delta (\omega) +\pi\delta\left(\omega -\frac{\pi}{2}\right)+\pi\delta\left(\omega +\frac{\pi}{2}\right) \right] d\omega \\ &=\frac{1}{2\pi}\int_{-\pi}^{\pi} \delta (\omega) d\omega +\frac{1}{2}\int_{-\pi}^{\pi}\delta\left(\omega -\frac{\pi}{2}\right) d\omega+\frac{1}{2}\int_{-\pi}^{\pi}\delta\left(\omega +\frac{\pi}{2}\right) d\omega \\ &=\frac{1}{2\pi} + \frac{1}{2}e^{-j\frac{\pi}{2}n}+\frac{1}{2}e^{j\frac{\pi}{2}n} \\ &=\frac{1}{2\pi} + \cos\left(\frac{\pi}{2}n\right) \end{align} $

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett