Ordinary Differential Equations/Exact 2

From testwiki
Jump to navigation Jump to search

[[../First Order|First Order Differential Equations]]

This page details a method for finding the solutions to equations of the form

dydx+P(x)y=Q(x),

Using the Integrating Factor: I(x)=eP(x)dx

Example 1

Consider the following equation:

dydx+3y=xe3x+1

Now the P(x)=3 So the integrating factor is:

I(x)=eP(x)dx
I(x)=e3dx
I(x)=e3x

Multiply the original equation by I(x)

e3xdydx+e3x3y=e3x(xe3x+1)
e3xdydx+e3x3y=x+e3x

Then try: ddx(ye3x)=e3xdydx+e3x3y

Which is equal to the LHS giving us:

ddx(ye3x)=x+e3x

Then integrate with respect to x:

ddx(ye3x)dx=xdx+e3xdx

Giving:

ye3x=x22+e3x3+C
y=x22e3x+13+Ce3x (This is the general solution)

Template:BookCat