Second Order Linear Homogeneous DE

QuarkCharmer
Messages
1,049
Reaction score
3

Homework Statement


3\frac{d^{2}y}{dx^{2}} + 2\frac{dy}{dx} + y = 0

Homework Equations



The Attempt at a Solution


3y'' + 2y' +y = 0

I know the solution is going to be in the form of y=Ce^{mx}+De^{nx}+...
(Unless there is a multiplicity, in which case I understand that too)

So I'll just skip to the Aux Equation:
3m^{2} + 2m + 1 = 0
m = \frac{-1+\sqrt{2}i}{3} or \frac{-1-\sqrt{2}i}{3}

Thus, a general form of the solution is:
y(x) = C_{1}e^{\frac{-1}{3}}e^{\frac{\sqrt{2}ix}{3}} + C_{2}e^{\frac{-1}{3}}e^{\frac{-\sqrt{2}ix}{3}}

So now I just rename the constants..

Ae^{\frac{\sqrt{2}ix}{3}} + Be^{\frac{-\sqrt{2}ix}{3}}

and since...

e^{ix} = cos(x) + isin(x)

A(cos(\frac{\sqrt{2}x}{3})+isin(\frac{\sqrt{2}x}{3})) + B(cos(\frac{-\sqrt{2}x}{3})+isin(\frac{-\sqrt{2}x}{3}))

Since cosine is even and sine is odd...

Acos(\frac{\sqrt{2}x}{3}) + iAsin(\frac{\sqrt{2}x}{3}) + Bcos(\frac{\sqrt{2}x}{3}) -iBsin(\frac{\sqrt{2}x}{3})

Usually here is where the imaginary stuff cancels out, but it's just not happening this time and I think I am making a mistake somewhere but I can't see it. What do I do??
 
Physics news on Phys.org
QuarkCharmer said:

Homework Statement


3\frac{d^{2}y}{dx^{2}} + 2\frac{dy}{dx} + y = 0

Homework Equations



The Attempt at a Solution


3y'' + 2y' +y = 0

I know the solution is going to be in the form of y=Ce^{mx}+De^{nx}+...
(Unless there is a multiplicity, in which case I understand that too)

So I'll just skip to the Aux Equation:
3m^{2} + 2m + 1 = 0
m = \frac{-1+\sqrt{2}i}{3} or \frac{-1-\sqrt{2}i}{3}

Thus, a general form of the solution is:
y(x) = C_{1}e^{\frac{-1}{3}}e^{\frac{\sqrt{2}ix}{3}} + C_{2}e^{\frac{-1}{3}}e^{\frac{-\sqrt{2}ix}{3}}

Samll mistake, but you also want e^{-\frac{1}{3}x} instead of e^{-\frac{1}{3}}. Indeed, your general solution requires you to multiply entire m with x. This will not save you from the trouble below however.

So now I just rename the constants..

Ae^{\frac{\sqrt{2}ix}{3}} + Be^{\frac{-\sqrt{2}ix}{3}}

and since...

e^{ix} = cos(x) + isin(x)

A(cos(\frac{\sqrt{2}x}{3})+isin(\frac{\sqrt{2}x}{3})) + B(cos(\frac{-\sqrt{2}x}{3})+isin(\frac{-\sqrt{2}x}{3}))

Since cosine is even and sine is odd...

Acos(\frac{\sqrt{2}x}{3}) + iAsin(\frac{\sqrt{2}x}{3}) + Bcos(\frac{\sqrt{2}x}{3}) -iBsin(\frac{\sqrt{2}x}{3})

Usually here is where the imaginary stuff cancels out, but it's just not happening this time and I think I am making a mistake somewhere but I can't see it. What do I do??

Now you found all complex solutions, which is good. But you want all real solutions. Do you see choices of A and B that will get you real solutions?? (you can choose A and B complex if you want to).

The hardest part is proving that you got all real solutions.
 
Thanks Micromass. I see what I did wrong. I'll try to re-derive it. I just don't want to blindly use the formula to solve this type of DE without understanding where it's coming from.
 
For diff. equations of this type, if the roots of the characteristic equation are a \pm bi, a pair of solutions is y1 = eatsin(bt) and y2 = eatcos(bt).
 
I figured it out.

What I was doing wrong was this:

Once the equation turned into the form with (or without) the exponential and then the sum of sines and cosines, I needed to group the two functions with the complex variable in front and factor them out into the constant. So it's essentially possible that the constant contains a complex variable.

I don't know what happened in the above work, I lost some things in translation to Latex and now looking over it, it doesn't make much sense! I fully understand how an equation of that form with an aux equation containing both complex and real part solutions works now, and simplifies into exp(x)(sin+cos) (for second order at least).

Today we went over how the discriminant determines which parts of the solution you get, the three cases (d>0, d<0, d=0) and what that means exactly. Now it all makes sense.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top