Let us solve the recurrence relation an+2−10an+1+25an=5n, (n≥0). The characteristic equation k2−10k+25=0 of homogeneous relation is equivalent to (k−5)2=0, and hence it has the roots k1=k2=5. Therefore, the solution of the non-homogeneous recurrence relation is an=(C1+C2n)5n+pn, where the particular solution of non-homogeneous recurrence relation is pn=an25n.
It follows that
a(n+2)25n+2−10a(n+1)25n+1+25an25n=5n, which is equivalent to
25a(n2+4n+4)5n−50a(n2+2n+1)5n+25an25n=5n, and hence
25an2+100an+100a−50an2−100an−50a+25an2=1.
We conclude that 50a=1, and thus a=501.
Consequently, the solution of the recurrence relation an+2−10an+1+25an=5n is
an=(C1+C2n)5n+501n25n or an=(C1+C2n)5n+21n25n−2.
Comments