Take the 2-minute tour ×
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

I know how the process works, first from difference equation make a homogeneous equation and then find natural response , then find a particular response (in the form of input) substitute it back in the equation and find constants. And we get a forced response. I have a doubt in finding constants.

This example is Drill problem 2.12 in "Signals and Systems" by Simon Haykin:

For the equation: $$y[n] - (0.25)*y[n-2] = 2*x[n]+x[n-1]$$

find a forced response for $x[n]=u[n].$

I have found the natural response and for particular response. Say, $y[n] = k*u[n]$

Now the equation is:

$$k*u[n] - 0.25*k*u[n-2] = 2*u[n] + u[n-1]$$

The answer according to the book is $k=4$, but that is true only for $n>=2$. Can somebody explain what happens if $2>n>0$; $k=4$ does not seem correct in this case, as $u[n-2]=0$ for $n<2$ and $u[n-1]=0$ for $n<1$.

Why can we just substitute all $u[n-c] = 1$, in the difference equation for finding value of constants in particular solution?

share|improve this question
thanks @penelope for making the question readable. –  user1729 Dec 20 '12 at 9:47
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.