6 The integrating factor

The equation

x 2 d y d x + 3 x y = x 3

is not exact. However, if we multiply it by x we obtain the equation

x 3 d y d x + 3 x 2 y = x 4 .

This can be re-written as

d d x ( x 3 y ) = x 4

which is an exact equation with solution

x 3 y = x 4 d x

so x 3 y = 1 5 x 5 + C

and hence

y = 1 5 x 2 + C x 3 .

The function by which we multiplied the given differential equation in order to make it exact is called an integrating factor . In this example the integrating factor is simply x .

Task!

Which of the following differential equations can be made exact by multiplying by x 2 ?

  1. d y d x + 2 x y = 4
  2. x d y d x + 3 y = x 2
  3. 1 x d y d x 1 x 2 y = x

  4. 1 x d y d x + 1 x 2 y = 3.

    Where possible, write the exact equation in the form d d x ( f ( x ) y ) = g ( x ) .

  1. Yes. x 2 d y d x + 2 x y = 4 x 2 becomes d d x ( x 2 y ) = 4 x 2 .
  2. Yes. x 3 d y d x + 3 x 2 y = x 4 becomes d d x ( x 3 y ) = x 4 .
  3. No. This equation is already exact as it can be written in the form d d x 1 x y = x .
  4. Yes. x d y d x + y = 3 x 2 becomes d d x ( x y ) = 3 x 2 .