
Robert J. answered 06/30/13
Certified High School AP Calculus and Physics Teacher
This is a typical first-order linear differential equation: y' + Py = Q
Here is a standard way to solve it.
Multiply both sides of y' + Py = Q by e∫P,
e∫P y' + e∫P Py = e∫PQ
Apply product rule,
(e∫P y)' = e∫P Q
Solve for y,
y = (1/e∫P)(∫e∫P Q dx + c) <==Formula of the solution for any first-order linear differential equation
For your problem: ty'-y=t^2*e^(-t), t>0.
y' - y/t = t e^(-t)
p = -1/t
∫P = -lnt
e∫P = 1/t
So,
y = t[∫e^(-t) dt + c ]
= t[-e^(-t) + c] <==Answer