Originally Posted by

**zzizi** Hi

Can someone help me with this and provide a step by step response?

Suppose I have the following difference equation:

with

I have solved the characteristic eqn to be

But how do I go about solving the particular solution?

Many thanks in advance!

Hi zzizi!

Wiki explains it better than I can:

Recurrence relation - Wikipedia, the free encyclopedia

The equation in the above example was [[homogeneous differential equation|homogeneous]], in that there was no constant term. If one starts with the non-homogeneous recurrence

with constant term ''K'', this can be converted into homogeneous form as follows: The [[steady state]] is found by setting

to obtain

Then the non-homogeneous recurrence can be rewritten in homogeneous form as

which can be solved as above.