Question Number 104428 by bemath last updated on 21/Jul/20

$${given}\:{a}_{{n}+\mathrm{1}} ={a}_{{n}−\mathrm{1}} +\mathrm{2}{a}_{{n}} \\ $$$${if}\:{a}_{\mathrm{3}} =\:\mathrm{0}\:\&\:{a}_{\mathrm{5}} \:=\:−\mathrm{1} \\ $$$${find}\:{a}_{{n}} \\ $$
Answered by Dwaipayan Shikari last updated on 21/Jul/20

$$\mathrm{Put}\:\mathrm{n}=\mathrm{4} \\ $$$$\mathrm{a}_{\mathrm{5}} =\mathrm{a}_{\mathrm{3}} +\mathrm{2a}_{\mathrm{4}} \\ $$$$−\mathrm{1}=\mathrm{2a}_{\mathrm{4}} \\ $$$$\mathrm{a}_{\mathrm{4}} =−\frac{\mathrm{1}}{\mathrm{2}} \\ $$
Commented by bemath last updated on 21/Jul/20

$${a}_{{n}} \:? \\ $$
Commented by bemath last updated on 21/Jul/20

$${any}\:{one}\:{help}\:{me}? \\ $$
Answered by mathmax by abdo last updated on 22/Jul/20

$$\mathrm{a}_{\mathrm{n}+\mathrm{1}} =\mathrm{a}_{\mathrm{n}−\mathrm{1}} \:+\mathrm{2a}_{\mathrm{n}} \:\Rightarrow\mathrm{a}_{\mathrm{n}+\mathrm{2}} \:=\mathrm{a}_{\mathrm{n}\:} \:+\mathrm{2a}_{\mathrm{n}+\mathrm{1}} \:\Rightarrow\mathrm{a}_{\mathrm{n}+\mathrm{2}} −\mathrm{2a}_{\mathrm{n}+\mathrm{1}} −\mathrm{a}_{\mathrm{n}} =\mathrm{0} \\ $$$$\mathrm{caracteristic}\:\mathrm{equation}\:\mathrm{r}^{\mathrm{2}} −\mathrm{2r}−\mathrm{1}\:=\mathrm{0}\:\Rightarrow\mathrm{r}^{\mathrm{2}} −\mathrm{2r}+\mathrm{1}−\mathrm{2}=\mathrm{0}\:\Rightarrow \\ $$$$\left(\mathrm{r}−\mathrm{1}\right)^{\mathrm{2}} −\left(\sqrt{\mathrm{2}}\right)^{\mathrm{2}} \:=\mathrm{0}\:\Rightarrow\left(\mathrm{r}−\mathrm{1}−\sqrt{\mathrm{2}}\right)\left(\mathrm{r}−\mathrm{1}+\sqrt{\mathrm{2}}\right)=\mathrm{0}\:\Rightarrow\mathrm{r}\:=\mathrm{1}+\sqrt{\mathrm{2}}\mathrm{or}\:\mathrm{r}\:=\mathrm{1}−\sqrt{\mathrm{2}} \\ $$$$\mathrm{a}_{\mathrm{n}} =\alpha\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{n}} \:+\beta\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{n}} \\ $$$$\mathrm{a}_{\mathrm{3}} =\alpha\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} +\beta\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \:=\mathrm{0}\:\mathrm{and}\:\mathrm{a}_{\mathrm{5}} =\alpha\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{5}} \:+\beta\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{5}} =−\mathrm{1}\:\Rightarrow \\ $$$$\mathrm{we}\:\mathrm{get}\:\mathrm{the}\:\mathrm{system}\:\:\:\begin{cases}{\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \:\alpha\:+\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \beta\:=\mathrm{0}}\\{\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{5}} \:\alpha\:+\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{5}} \:\beta=−\mathrm{1}}\end{cases} \\ $$$$\Delta_{\mathrm{s}} =\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{5}} \:−\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{5}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \\ $$$$=\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{2}} \:−\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{2}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \\ $$$$=−\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{2}} \:\:+\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{2}} \:=\mathrm{3}+\mathrm{2}\sqrt{\mathrm{2}}−\left(\mathrm{3}−\mathrm{2}\sqrt{\mathrm{2}}\right)\:=\mathrm{4}\sqrt{\mathrm{2}}\neq\mathrm{0}\:\Rightarrow \\ $$$$\alpha\:=\frac{\Delta_{\alpha} }{\Delta\mathrm{s}}\:=\frac{\begin{vmatrix}{\mathrm{o}\:\:\:\:\:\:\:\:\:\:\:\:\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} }\\{−\mathrm{1}\:\:\:\:\:\:\:\:\:\:\:\:\:\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{5}} }\end{vmatrix}}{\mathrm{4}\sqrt{\mathrm{2}}}\:=\frac{\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} }{\mathrm{4}\sqrt{\mathrm{2}}} \\ $$$$\beta\:=\frac{\Delta_{\beta} }{\Delta_{\mathrm{s}} }\:\:=\frac{\begin{vmatrix}{\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} \:\:\:\:\:\:\:\:\:\:\mathrm{0}}\\{\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{5}} \:\:\:\:\:\:\:\:\:\:−\mathrm{1}}\end{vmatrix}}{\mathrm{4}\sqrt{\mathrm{2}}}\:=−\frac{\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} }{\mathrm{4}\sqrt{\mathrm{2}}} \\ $$$$\Rightarrow\:\mathrm{a}_{\mathrm{n}} =\frac{\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{3}} }{\mathrm{4}\sqrt{\mathrm{2}}}\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{n}} \:−\frac{\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{\mathrm{3}} }{\mathrm{4}\sqrt{\mathrm{2}}}\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{\mathrm{n}} \\ $$
Commented by bemath last updated on 22/Jul/20

$${thank}\:{you}\:{sir} \\ $$
Answered by john santu last updated on 21/Jul/20

Commented by bemath last updated on 21/Jul/20

$${wow}… \\ $$
Commented by bemath last updated on 21/Jul/20

$${how}\:{to}\:{get}\:{A}\:{and}\:{B}\:{sir}? \\ $$
Answered by mr W last updated on 21/Jul/20

$${a}_{\mathrm{5}} =\mathrm{2}{a}_{\mathrm{4}} +{a}_{\mathrm{3}} \\ $$$$−\mathrm{1}=\mathrm{2}{a}_{\mathrm{4}} +\mathrm{0}\:\Rightarrow{a}_{\mathrm{4}} =−\frac{\mathrm{1}}{\mathrm{2}} \\ $$$${a}_{\mathrm{4}} =\mathrm{2}{a}_{\mathrm{3}} +{a}_{\mathrm{2}} \\ $$$$−\frac{\mathrm{1}}{\mathrm{2}}=\mathrm{2}×\mathrm{0}+{a}_{\mathrm{2}} \:\Rightarrow{a}_{\mathrm{2}} =−\frac{\mathrm{1}}{\mathrm{2}} \\ $$$${a}_{\mathrm{3}} =\mathrm{2}{a}_{\mathrm{2}} +{a}_{\mathrm{1}} \\ $$$$\mathrm{0}=\mathrm{2}\left(−\frac{\mathrm{1}}{\mathrm{2}}\right)+{a}_{\mathrm{1}} \:\Rightarrow{a}_{\mathrm{1}} =\mathrm{1} \\ $$$${a}_{\mathrm{2}} =\mathrm{2}{a}_{\mathrm{1}} +{a}_{\mathrm{0}} \\ $$$$−\frac{\mathrm{1}}{\mathrm{2}}=\mathrm{2}×\mathrm{1}+{a}_{\mathrm{0}} \:\Rightarrow{a}_{\mathrm{0}} =−\frac{\mathrm{5}}{\mathrm{2}} \\ $$$$ \\ $$$${a}_{{n}+\mathrm{1}} −\mathrm{2}{a}_{{n}} −{a}_{{n}−\mathrm{1}} =\mathrm{0} \\ $$$${let}\:{a}_{{n}} ={C}\lambda^{{n}} \\ $$$${C}\lambda^{{n}+\mathrm{1}} −\mathrm{2}{C}\lambda^{{n}} −{C}\lambda^{{n}−\mathrm{1}} =\mathrm{0} \\ $$$${C}\lambda^{{n}−\mathrm{1}} \left(\lambda^{\mathrm{2}} −\mathrm{2}\lambda−\mathrm{1}\right)=\mathrm{0} \\ $$$$\Rightarrow\lambda^{\mathrm{2}} −\mathrm{2}\lambda−\mathrm{1}=\mathrm{0} \\ $$$$\Rightarrow\lambda_{\mathrm{1}} =\mathrm{1}+\sqrt{\mathrm{2}} \\ $$$$\Rightarrow\lambda_{\mathrm{2}} =\mathrm{1}−\sqrt{\mathrm{2}} \\ $$$$\Rightarrow{a}_{{n}} ={C}_{\mathrm{1}} \left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{{n}} +{C}_{\mathrm{2}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{{n}} \\ $$$$ \\ $$$${a}_{\mathrm{0}} ={C}_{\mathrm{1}} +{C}_{\mathrm{2}} =−\frac{\mathrm{5}}{\mathrm{2}} \\ $$$${a}_{\mathrm{1}} ={C}_{\mathrm{1}} \left(\mathrm{1}+\sqrt{\mathrm{2}}\right)+{C}_{\mathrm{2}} \left(\mathrm{1}−\sqrt{\mathrm{2}}\right)=\mathrm{1} \\ $$$$\Rightarrow{C}_{\mathrm{1}} =\frac{\mathrm{7}\sqrt{\mathrm{2}}−\mathrm{10}}{\mathrm{8}} \\ $$$$\Rightarrow{C}_{\mathrm{2}} =−\frac{\mathrm{7}\sqrt{\mathrm{2}}+\mathrm{10}}{\mathrm{8}} \\ $$$$ \\ $$$$\Rightarrow{a}_{{n}} =\frac{\left(\mathrm{7}\sqrt{\mathrm{2}}−\mathrm{10}\right)\left(\mathrm{1}+\sqrt{\mathrm{2}}\right)^{{n}} −\left(\mathrm{7}\sqrt{\mathrm{2}}+\mathrm{10}\right)\left(\mathrm{1}−\sqrt{\mathrm{2}}\right)^{{n}} }{\mathrm{8}} \\ $$
Commented by bemath last updated on 22/Jul/20

$${thank}\:{you}\:{sir} \\ $$