Solve dy/dx + 2y = xe^x using integrating factor

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
tunabeast
Messages
26
Reaction score
0

Homework Statement


[tex]\ \frac{dy}{dx} + 2y = xe^x[/tex]



Homework Equations





The Attempt at a Solution


I'v only ever solved differential equations where values can be separated easily, i understand i may have to use something called the integrating factor but this does not seem to fit the formula layout of

img1.gif
 
Physics news on Phys.org
The equation you presented:

[tex]\frac{dy}{dx}+p(x)\cdot y=q(x)[/tex]

is a linear differential equation of the first order. This is the next type you learn after the ones you can separate immediately. It has a general solution. What is your knowledge on the ways for solving these? You should have some idea about this, can you show an attempt of solving it?
 
tunabeast said:
[tex]\ \frac{dy}{dx} + 2y = xe^x[/tex]
... does not seem to fit the formula layout of

img1.gif
Why not? What doesn't match?
 
Remember that p(x) and q(x) can be 'constant functions'.