Problem with general solution to a complex roots diffy Q

batmankiller
Messages
21
Reaction score
0

Homework Statement




Question: I'm confused about how to app
Find the real-valued general solution of the differential equation

y''+1y'+1y=0
where primes indicate differentiation with respect to x. (Use the parameters a, b, etc., for undetermined constants in your solution.)

The Attempt at a Solution


My attempt:
Use characteristic equation:
r^2+r+1=0
I used the quadratic formula and got r=(-1 +-sqrt(-3))/2
So we get a=-.5 b-sqrt(3)/2

Following e^(ax)(c1cos(bx)+c2sin(bx):

we get e^(-.5x)(a*cos(\sqrt{3}*x/2)+bsin(\sqrt{3}*x/2))

Anyone see any flaw i nlogic of algebra or math? I can't seem to get a correct answer
 
Physics news on Phys.org
Your work is correct for the equation given. Is there supposed to be a non-homogeneous term on the right side?
 
Nope, it's given as a homogeneous equation (set equal to 0). Unless you're saying there's something I'm missing?
The full equation is y=e^(-.5x)(a*cos(*x/2)+bsin(*x/2))
 
batmankiller said:
Nope, it's given as a homogeneous equation (set equal to 0). Unless you're saying there's something I'm missing?
The full equation is y=e^(-.5x)(a*cos(*x/2)+bsin(*x/2))

What led you to believe it was wrong? (Don't forget the sqrt(3)'s).
 
Eh it's online homework and it says "answer is incorrect" -.-"
I entered:
e^(-.5x)(a*cos(sqrt(3)*x/2)+bsin(sqrt(3)*x/2)) and my previewed answer was in the correct format too
 
Ok so apparently it accepted e^(-x/2) but not e^(-.5x). Thank you so much for your help!
 
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