what is the base condition ?

$-2^{n+1}$ is the particular solution..

$-2^{n+1}$ is the particular solution..

0 votes

Consider the nonhomogeneous linear recurrence relation $a_n$=$3a_{n-1}$+$2^n$

in the book solution is given $a_n$=$-2^{n+1}$

but I’m getting $a_n$=$3^{n+1}-2^{n+1}$

in the book solution is given $a_n$=$-2^{n+1}$

but I’m getting $a_n$=$3^{n+1}-2^{n+1}$

1

base condition is $a_0$=1

im getting the same

homogeneous part i got $3^{n+1}$

and particular part $-2^{n+1}$

im getting the same

homogeneous part i got $3^{n+1}$

and particular part $-2^{n+1}$