Professional Documents
Culture Documents
by Andrew Binder
February 17, 2012 The integrating factor method for solving partial dierential equations may be used to solve linear, rst order dierential equations of the form: dy + a(x) y = b(x), dx where a(x) and b(x) are continuous functions. We will say that an equation written in the above way is written in the standard form. The method for solving linear, rst order dierential equations using the integrating factor method may be broken down into the following steps. 1. Write the dierential equation in the standard form: 2. Determine the integrating factor. Integrating Factor = e
a(x)dx dy dx
+ a(x) y = b(x).
dy + a(x) y = b(x)e dx
a(x)dx
4. Using the product and chain rule of dierentiation, write the left hand side of the equation in the following way: e So, d e dx
a(x)dx a(x)dx
dy d + a(x) y = e dx dx y = b(x)e
a(x)dx
a(x)dx
y dx=
b(x)e
a(x)dx
d x.
y dx=e
a(x)dx
y + C1,
where C1 is an arbitrary constant. You must solve the other integral. Call its solution B (x) + C2, where C2 is a constant due to the integration. So, e
a(x)dx
y = B (x) + C3.
I grouped the constants together and called the result C3. 6. Divide by the integrating factor to get the solution: y = B (x)e
a(x)dx
+ C3e
a(x)dx
For the fourth step, you must remember the product and chain rule of dierentiation as well as the Second Fundamental Theorem of Calculus. The Second Fundamental Theorem of Calculus states that for a continuous function f (x), d dx f (x)d x = f (x).
= e
a(x)dx d y
d dx
a(x)dx
To make this check a little less abstract, I will show that this in the rst example. d 4x e y dx = e4x
dy + 4e4x y dx dy = e4x + 4y . dx
Now, we will use the integrating factor method to solve the rst example. Find the solution of y = 4y. 1. Write the equation in standard form. y + 4y = 0 2. Find the integrating factor. e 3. Multiply by the integrating factor. e4x( y + 4 y ) = 0 4. Rewrite the left hand side of the equation. d 4x (e y ) = 0 dx 5. Integrate. e4xy = C 6. Divide by the integrating factor to get the solution. y = C e 4x Let us do another example. Find the solution of y 2 y = x. 1. Write the equation in standard form. y 2y = x 2. Find the integrating factor. e 3. Multiply by the integrating factor. e 2x( y 2 y) = x e 2x 4. Rewrite the left hand side of the equation. d 2x (e y ) = x e 2x dx 5. Integrate. This will require integration by parts. 1 1 e 2xy = x e 2x e 2x + C3 4 2 6. Divide by the integrating factor to get the solution. 1 1 y = x + C3e2x. 2 4
2dx 4dx
= e4x
= e 2x
Let us do a third example. Find the solution to 1. Write the equation in standard form.
1 dy x dx
2 y y = x2cosx x 2. Find the integrating factor. e 3. Multiply by the integrating factor. 2 x 2( y y ) = cosx x 4. Rewrite the left hand side of the equation. d 2 (x y ) = cosx dx 5. Integrate. x 2 y = sinx + C1 6. Divide by the integrating factor to get the solution. y = x2sinx + C1x2.
x dx
2
= e 2ln |x | = x 2