Since it is important to me I would like to award a user who would kindly explain me what are my mistakes and what is the correct way to solve the whole problem with 500 points.
I'd really like your help with understanding how to solve this Cauchy problem: $(t^2+1)(y''-2y+1)=e^t$ with the initial conditions: $y(0)=y'(0)=1$.
I see a lot of methods and I am completely confused about what are the steps for solving this equation. First I wrote $$(y''-2y+1)=\frac{e^t}{(t^2+1)}.$$
I read that I need to solve first the homogeneous equation $(y''-2y+1)=0$. Do I use Abel to reduce the order of the equation? I know that I need particular solution, so $y=0.5$ would do.
Now as far as I understand I need to use Wronskian determinant $$\begin{vmatrix} 0.5 &y \\ 0 &y' \end{vmatrix}=c\cdot e^{\int^t_0-(2)/1 ds}=c\cdot e^{-2t}=0.5y'$$
so $y'=2ce^{-2t}$, here I can use the data given me in the beginning so $c=0.5$ and $y'=e^{-2t}$ and $y=-0.5e^{-2t}+d$ and from the initial data again $d=1.5$ and $y=-0.5e^{-2t}+1.5$.
so now $y_h=-0.5e^{-2t}+1.5$ now I need to find $y_p=-0.5e^{-2t}u_1(t)+1.5u_2(t)$.
Then, I wrote the floowing :$$\begin{bmatrix} -0.5e^{-2t} &1.5 \\ e^{-2t}& 0 \end{bmatrix}\begin{pmatrix} u_1'\\ u_2' \end{pmatrix}=\begin{pmatrix} 0\\ \frac{e^t}{(t^2+1)} \end{pmatrix}.$$ By using this system, I found $u_1$ and $u_2$ and the final solution is $y_=y_h+y_p$.
Please tell me- am I right? Is this basically the way to do that? Was I allowed to divide the original solution with $(t^2+1)$ or should I had to solve $(t^2+1)(y''-2y+1)$ as a homogeneous equation?
Thank you!!