# Math Help - 2nd Order differential equation

1. ## 2nd Order differential equation

d2y/dx2 - 2dy/dx = 5(cos3x - sin 3x) - 7

I managed to find a Complementary function, but I'm not sure what particular integral i should use, i tried acos 3x + bsin 3x, but since i have another function (-7) i don't know what changes i should make. Anyone can help me with the particular integral please?

2. ## Re: 2nd Order differential equation

anyone please ? I would be very grateful

3. ## Re: 2nd Order differential equation

$a\cos3x + b\sin3x + cx.$

4. ## Re: 2nd Order differential equation

thanks, why is it +cx not c ?

5. ## Re: 2nd Order differential equation

Because a constant is part of the C. F.

6. ## Re: 2nd Order differential equation

Sorry, still didn't really understand, what do you mean the constant is part of the C.F ?

7. ## Re: 2nd Order differential equation

You should have found that the Complementary Function is $A + Be^{2x},$ where $A$ is a constant.
Including a constant as part of the Particular Integral is pointless, it will simply differentiate out.
When your normal choice of P.I. (or part thereof) is contained within the C.F., you have to multiply your normal choice by $x.$