I have an equation:
$$x(n+1)=5x(n)+4\\x(0)=0$$
For my task I need to provide simple equation for $x(n)$, so I go for this method:
I make some changes in equation: $$x(n+1)=5x(n)+5-1\\ x(n+1)=5(x(n)+1)-1$$
I use temp function $$y(n)=x(n)+1\\ x(n+1)=5y(n)-1\\ 5y(n)=x(n+1)+1$$
I calculate first few values for $y(n)$ for $n=0$: $$5y(0)=x(1)+1=1$$ {$x(1)=4$, from previous equation} for $n=1$: $$5y(1)=x(2)+1=5$$ for $n=2$: $$5y(2)=x(3)+1=25$$
So I see that $y(n)$ is geometrical cycle, so from theory of geometrical cycle:
- equation for $n+1$ element will be: $$y(n+1)=y(n)\cdot q - q=5,$$ because every next element is $5$ times bigger so: $$y(n+1)=y(n)\cdot5$$
- equation for n element will be y(n)=y(0)*q^(n-1) {y(0) was 5}, so y(n)=5^n
But this is something I guess on base of few values so I need to prove: $y(n)=5^n$
Induction - step 1 - for $n=1$ $$y(1)=5^1\\ L=5\\ R=5\\ L=R$$ It's correct
Induction - step 2 - for $n=k$ $$y(k)=5^k$$
Induction - step 3 - for $n=k+1$ $$y(k+1)=5^(k+1)$$
$$L=y(k+1)\text{ (from equation for } n+1\text{-th element }y(k+1)=y(k)\cdot 5\text{)}\\ L=5y(k)\\ R=5^(k+1)\\ \text{Both sides are divided by 5}\\ L=y(k)\\ R=5^k\\ L=R$$
And it looks fine for me but, last time I solve this it was wrong because "I tried to prove one thing using this same thing" which is wrong, and I am not sure if this one is correct, cna I use first step in "step 3"?
p.s. sorry for my english :)
EDIT I made some changes according to user160738 advices, please can you check is it correct now? Link to PDF