General solution of first-order differential equation

tracedinair
Messages
47
Reaction score
0

Homework Statement



Find the general solution of the first-order differential equation,

y' + 3y = 2xe^(-3x)


Homework Equations



y' + P(x)y = Q(x)

Integrating factor = e^(∫P(x) dx)

The Attempt at a Solution



Since it's already in the form y' + P(x)y = Q(x),

the integrating factor is I(x) = e^(∫3 dx) = e^(3x)

Now multiplying both sides by the integrating factor,

e^(3x)*y' + 3ye^(3x) = 2xe^(-3x)e^(3x)

d/dx (e^(3x)y) = 2x

Finally, integrating both sides and solving for y,

e^(3x)y = x^2 + C

General solution: y = x^(2)e^(-3x) + Ce^(-3x)

Not to sure if this is right, this is the first time I've studied diff eqns..

Thanks for any help.
 
Physics news on Phys.org
Yes that should be correct.
 
tracedinair said:
General solution: y = x^(2)e^(-3x) + Ce^(-3x)

Not to sure if this is right, this is the first time I've studied diff eqns..
There is one sure-fire way to check that your expression for y is a solution to the DE: plug it in!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top