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
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 settingto obtain
Then the non-homogeneous recurrence can be rewritten in homogeneous form as
which can be solved as above.
I would use the technique of symbolic differencing to obtain a homogeneous linear recurrence:
Subtracting the former from the latter, we obtain:
The characteristic roots arehence the closed form is:
We may use initial conditions to determine the parameters:
Solving this system, we find:
and so we have:
![]()
You were right. It is non-homogeneous.
In your case you have
If you compare that to
you'll see that you have:
As a result, your solution takes the form:
If you fill in your boundary conditions, you get 2 equations with 2 unknowns (C and D), which can be solved with substitution.