Problem with general solution to a complex roots diffy Q

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
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([tex]\sqrt{3}[/tex]*x/2)+bsin([tex]\sqrt{3}[/tex]*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
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!