Second order ODE initial value problem

mkay123321
Messages
16
Reaction score
0
So the question is y" - y' - 6y = e^-x + 12x, y(0)=1,y'(0)=-2

First I found the general solution which came out to be, Ae^3x + Be^-2x

I then Substituted y=ae^-x + bx + c
y'=-ae^-x + b
y"=ae^-x
Then I just compared the coefficients to get a=-1/4, B=-2 and C=-1/6

So I am getting y = Ae^3x + Be^-2x -(e^-x)/4 - 2x - 1/6
Im not sure if this is right, I have done the rest but I get some funny answers for A and B so I was wondering if someone could verify if this answer is right. Thanks
 
Physics news on Phys.org
Your C value isn't correct; try plugging everything back into the equation and see if you get a different C.
 
Bohrok said:
Your C value isn't correct; try plugging everything back into the equation and see if you get a different C.

I just tried it again. Got the same answer.
 
Could you show what you did?
 
Bohrok said:
Could you show what you did?

I did ae^-x - (-ae^-x+b) - 6(ae^-x+bx+c) = e^-x + 12x
Then I got e^-x(-4a-1) - b(1+6c) = x(12+6b)

After that I did -4a = 1 so a = -1/4
6c=-1 so c = -1/6
6b=-12 so b = -2

Could you tell me where I am going wrong?
 
mkay123321 said:
I did ae^-x - (-ae^-x+b) - 6(ae^-x+bx+c) = e^-x + 12x
Then I got e^-x(-4a-1) - b(1+6c) = x(12+6b)

the red one. It is -(b+6c)

ehild
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top