Okay. Here is what ive done, and now Im stuck on a part.
(1+t^2)dy/dt + 2ty = -t sin(t), y(pi) = 0
dy/dt + (2ty/(1+t^2))*y = (-t sin(t))/(1+t^2)
Then I find the integrating factor, which I think is
= (1 +t^2)^y
Multiplying this through, you get:
[((1+t^2)^y) * y] ' = [-(((1+t^2)^y)*t*sin(t))/(1+t^2)]
Then I think I'm supposed to integrate both sides. I know the l.h.s. is just
but im having trouble integrating [-(((1+t^2)^y)*t*sin(t))/(1+t^2)]
Have I done something wrong here? Why does your answer look so neat compared to mine?
I know that once I have that I can apply the initial condition and workout the particular solution.