Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

For the differential equation $y'' + 5y' + 6y = 2\cos(x)$, a complementary solution is $y_c = c_1e^{-3x} + c_2e^{-2x}$ and a particular solution is $y_p = \frac{1}{5}(\cos(x) + \sin(x))$. Write a general solution to the problem, and then find a solution satisfying the initial conditions $y(0) = 0$, $y'(0) = 1$.

I'm having trouble starting. I thought that maybe taking the derivative of the particular solution would help:

$y_p' = \frac{1}{5}(\cos(x)-\sin(x))$

$y_p'' = \frac{1}{5}(-\cos(x)-\sin(x))$

But I'm not sure how I can use this to arrive at a general solution. Any help?

Thanks in advance :)

share|improve this question
    
Type "\cos" and "\sin" –  Stefan Smith Oct 3 '12 at 22:23
    
Thanks. (more characters) –  Stefan Smith Oct 3 '12 at 23:49

1 Answer 1

up vote 2 down vote accepted

Write your general solution as $ y_g(x) = y_c(x) + y_p(x) $, then use the initial conditions to find $c_1,c_2$. Note that, you have two constants to determine, so you need two equations in $c_1,c_2$. That means, you will use $y_g(x)$ and $y'_g(x)$. Once you find $c_1$ and $c_2$ plug them back in $y_g(x)$. The final answer is

$$ y(x) = -\frac{2}{5}\,{{\rm e}^{-3\,x}}+\frac{1}{5}\,{{\rm e}^{-2\,x}}+\frac{1}{5}\,\cos \left(x \right) + \frac{1}{5} \,\sin \left( x \right)$$

share|improve this answer
    
And of course you can always check your answer by seeing that it satisfies the initial conditions. –  Gerry Myerson Oct 4 '12 at 7:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.