$ty'- y=t^2-1$
I tried
$ty'' - y'=2t$
$ty''' - y''=2$
$y''=2$
$y' = 2t$
then substitute values but I'm not getting anywhere, I think I'm doing it all wrong. Please help. Cheers!
$ty'- y=t^2-1$
I tried
$ty'' - y'=2t$
$ty''' - y''=2$
$y''=2$
$y' = 2t$
then substitute values but I'm not getting anywhere, I think I'm doing it all wrong. Please help. Cheers!
We have $$ty'-y = t^2-1$$ $$ \Rightarrow y'-\frac {1}{t}y = t - \frac {1}{t} $$
Notice that this is a linear differential equation whose procedure as to how to solve is given here. Hope it helps.
The general solution to the associated homogeneous equation, $ty'- y= 0$, is $y(t)= Ct$ where $C$ is any constant. Using "variation of parameters" we look for a solution to the entire equation of the form $y(t)= u(t)t$, replacing the constant $C$ by the function $u(t)$ (thus "varying" the "parameter", $C$). Then $y'= t u'(t)+ u(t)$ so that the equation becomes $$t^2u'(t)+ tu(t)- tu(t)= t^2u'(t)= t^2- 1.$$ Dividing both sides by $t^2$, $u'(t)= \frac{t^2- t}{t^2}= 1- \frac{1}{t^2}$. Integrating, $u(t)= t- \frac{1}{t}+ C$ so that $$y(t)= tu(t)= Ct+ t^2- 1.$$
Check: if $y(t)= Ct+ t^2- 1$ then $y'= C+ 2t$ so that $ty'(t)- y= Ct+ 2t^2- Ct- (t^2- 1)= t^2+ 1$.