I have an exercise in which I need to find the impulse response for this given system:
$$y(n)=\frac{1}{2}y(n−1)+x(n−1)+x(n)$$
As per my knowledge, I need to find the homogenous solution. My homogenous solution gives me $$y(n)=\frac{1}{2^n} u(n)$$ But the actual answer shows $$y(n)=\frac{1}{2^n} u(n) + \frac{1}{2^{n-1}}u(n-1)$$ I don’t get where the second part came from.
How to solve this?
Thanks!