7 Inhomogeneous term in the complementary function

Occasionally you will come across a differential equation a d 2 y d x 2 + b d y d x + c y = f ( x ) for which the inhomogeneous term, f ( x ) , forms part of the complementary function. One such example is the equation

d 2 y d x 2 d y d x 6 y = e 3 x

It is straightforward to check that the complementary function is y cf = A e 3 x + B e 2 x . Note that the first of these terms has the same form as the inhomogeneous term, e 3 x , on the right-hand side of the differential equation.

You should verify for yourself that trying a particular integral of the form y p ( x ) = α e 3 x will not work in a case like this. Can you see why?

Instead, try a particular integral of the form y p ( x ) = α x e 3 x . Verify that

d y p d x = α e 3 x ( 3 x + 1 ) and d 2 y p d x 2 = α e 3 x ( 9 x + 6 ) .

Substitute these expressions into the differential equation to find α = 1 5 .

Finally, the particular integral is y p ( x ) = 1 5 x e 3 x and so the general solution to the differential equation is:

y = A e 3 x + B e 2 x + 1 5 x e 3 x

This shows a generally effective method - where the inhomogeneous term f ( x ) appears in the complementary function use as a trial particular integral x times what would otherwise be used.

Key Point 10

When solving

a d 2 y d x 2 + b d y d x + c y = f ( x )
if the inhomogeneous term f ( x ) appears in the complementary function use as a trial particular integral x times what would otherwise be used.
Exercises
  1. Find the general solution of the following equations:
    1. d 2 x d t 2 2 d x d t 3 x = 6  
    2. d 2 y d x 2 + 5 d y d x + 4 y = 8
    3. d 2 y d t 2 + 5 d y d t + 6 y = 2 t
    4. d 2 x d t 2 + 11 d x d t + 30 x = 8 t
    5. d 2 y d x 2 + 2 d y d x + 3 y = 2 sin 2 x
    6. d 2 y d t 2 + d y d t + y = 4 cos 3 t
    7. d 2 y d x 2 + 9 y = 4 e 8 x    
    8. d 2 x d t 2 16 x = 9 e 6 t
  2. Find a particular integral for the equation d 2 x d t 2 3 d x d t + 2 x = 5 e 3 t
  3. Find a particular integral for the equation d 2 x d t 2 x = 4 e 2 t
  4. Obtain the general solution of y y 2 y = 6
  5. Obtain the general solution of the equation d 2 y d x 2 + 3 d y d x + 2 y = 10 cos 2 x

    Find the particular solution satisfying y ( 0 ) = 1 , d y d x ( 0 ) = 0

  6. Find a particular integral for the equation d 2 y d x 2 + d y d x + y = 1 + x
  7. Find the general solution of
    1. d 2 x d t 2 6 d x d t + 5 x = 3
    2. d 2 x d t 2 2 d x d t + x = e t
    1. x = A e t + B e 3 t 2
    2.   y = A e x + B e 4 x + 2
    3. y = A e 2 t + B e 3 t + 1 3 t 5 18

          

    4. x = A e 6 t + B e 5 t + 0.267 t 0.0978

          

    5. y = e x [ A sin 2 x + B cos 2 x ] 8 17 cos 2 x 2 17 sin 2 x

          

    6. y = e 0.5 t ( A cos 0.866 t + B sin 0.866 t ) 0.438 cos 3 t + 0.164 sin 3 t

          

    7. y = A cos 3 x + B sin 3 x + 0.0548 e 8 x
    8.   x = A e 4 t + B e 4 t + 9 20 e 6 t
  1. x p = 2.5 e 3 t
  2. x p = 4 3 e 2 t
  3. y = A e 2 x + B e x 3
  4. y = A e 2 x + B e x + 3 2 sin 2 x 1 2 cos 2 x ; y = 3 2 e 2 x + 3 2 sin 2 x 1 2 cos 2 x
  5. y p = x
    1. x = A e t + B e 5 t + 3 5
    2.   x = A e t + B t e t + 1 2 t 2 e t