As part of an exercise, I'm trying to find the output of a cosine wave entering a low-pass filter by using a convolution integral.
The impulse response of the filter is $h(t) = \frac{1}{RC}\exp\left({-\frac{t}{RC}}\right)$
The solution should look as follows (if I'm not mistaken):
ouput = $\int_0^t\cos(wt)h(t-\tau) d\tau$
I was told that the output should be a solution of the form $A\cos(wt)$, but when I try doing this integral I get some fairly messy expressions... Could someone help me out with figuring out where I'm going wrong?
Thanks!
p.s. sorry for the lack of "math font", I'm fairly new to this site and can't quite figure it out....
\begin{align*} \int_0^t \cos(\omega t)h(t-\tau)\,d\tau&=\int_0^t \cos(\omega t){1\over RC}e^{-{t-\tau\over RC}}\\ &=\int_0^t \cos(\omega t){1\over RC}e^{-{t\over RC}}e^{\tau\over RC}\,d\tau\\ &=\cos(\omega t){1\over RC}e^{-{t\over RC}}\int_0^t e^{\tau\over RC}\,d\tau\\ &=\cos(\omega t){1\over RC}e^{-{t\over RC}} \left[RCe^{\tau\over RC}\right]_{\tau=0}^{\tau=t}\\ &=\cos(\omega t){1\over RC}e^{-{t\over RC}} RC\left[e^{t\over RC}-1\right]\\ &=\cos(\omega t)(1-e^{-{t\over RC}}) \end{align*} so you get something close to your expectations, except that instead of a constant amplitude you get the decaying exponential above.