Solve the nonhomogeneous recurrence relation
$$h_{n}=3h_{n-1}-2$$
$$n\geq 1$$
$$h_{0}=1$$
I have been told to approach this type of problem using two steps. First, solve the corresponding homogeneous relation and then find one particular solution.
1) corresponding homogeneous relation
$$h_{n}=3h_{n-1}$$
x-2=0
x=2
$$h_{n}=c2^{n}$$
2)find a particular case This is where I'm struggling- How do I find this particular case- I'm assuming I need to use my initial value in this step.
Here is an approach. We have
The later eq. follows from the first by shifting the index. Subtracting the two equations gives the homogeneous recurrence relation
Now, I think you can solve the later equation. In case you want to go the other way by finding a particular solution, see here.