an=3an−1+n2−3,n≥,a0=1
The homogeneous part of this recurrence relation is;
The characteristics equation for this is;
Thus, the solution for the homogeneous part is;
The complementary solution is:
The non homogeneous part of the relation is "n^2-3"
In this case, the particular solution is of the form:
Substituting into the original relation, we have that:
We now have that;
"-2p_2=1 \\implies p_2=-\\frac{1}{2}\\\\\n6p_2-2p_1=0 \\implies p_1=3p_2 \\implies p_1=-\\frac{3}{2}\\\\\n-3p_2+3p_1-2p_0=-3 \\implies -2p_0=0 \\implies p_0=0"
Thus the particular solution is
Hence, the general solution which is "a_n^{(c)}+a_n^{(p)}" is:
Substitute "a_0=1" to get the value of "\\alpha" . We have that;
Hence the general solution of the recurrence relation is:
Comments
Leave a comment