Angry Citizen
- 607
- 0
Homework Statement
[tex]y^{'}+3y=t+e^{-2t}[/tex]
Homework Equations
[tex](μy)'=μy'+yμ'[/tex]
The Attempt at a Solution
First I found the integrating factor: [tex]\frac{dμ}{dt}=3μ[/tex] which becomes [tex]μ=e^{3t}[/tex]
I multiplied through by [tex]e^{3t}[/tex], yielding [tex]y'e^{3t}+3e^{3t}y=te^{3t}+e^{t}[/tex]
I combined the LHS into [tex](ye^{3t})'[/tex], then integrated both sides. The LHS became [tex]ye^{3t}[/tex] and the RHS required integration by parts, with [tex]u=t[/tex] [tex]du=1[/tex] [tex]dv=e^{3t}[/tex] [tex]v=\frac{e^{3t}}{3}[/tex]
The part requiring integration by parts wound up as: [tex]\frac{te^{3t}}{3}+\frac{e^{3t}}{9}[/tex]
The entire RHS becomes: [tex]\frac{te^{3t}}{3}+\frac{e^{3t}}{9}+e^{t}+c[/tex]
The equation is now: [tex]ye^{3t}=\frac{te^{3t}}{3}+\frac{e^{3t}}{9}+e^{t}+c[/tex]
Dividing through by [tex]e^{3t}[/tex] SHOULD yield [tex]y=\frac{t}{3}+\frac{1}{9}+e^{-2t}+ce^{-3t}[/tex]
However, the solution's manual doesn't have the [tex]e^{-2t}[/tex] term, and I'm afraid I may have made a mistake. Can anyone help? This is my first differential equation, and I'm determined to get it right :)
)