Simple harmonic oscillator general solution

AI Thread Summary
The discussion centers on the general solution of the simple harmonic oscillator equation, specifically the necessity for constants C1 and C2 to be complex for the solution to be valid. It is argued that if C1 and C2 are real, the resulting function can only yield one arbitrary constant, which fails to satisfy the two initial conditions typically required. The participants emphasize that for the solution to represent a physical phenomenon accurately, C1 and C2 must be complex conjugates to ensure x(t) remains real. Additionally, there is curiosity about whether other hyper-complex numbers could also yield real solutions. The conversation highlights the importance of understanding the implications of constant selection in relation to the physical interpretation of the mathematical solution.
quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
In my mechanics textbook is given an exemple of how to find the general solution of the of the equation of motion for a force -kx (the simple harmonic oscillator problem).

He begin his analysis and finds that e^(iwt) and e^(-iwt) are both solutions. Hence C1*e^(iwt) and C2*e^(-iwt) are also solutions and therefor C1*e^(iwt) + C2*e^(-iwt) is also a solution and since it SEEMS to have 2 arbitrary constants in it, it could be the general solution. He then says that C1 and C2 MUST be complex in order for this to be the general solution.

I'm guessing he's implying that if C1 and C2 are both real, then we can show that C1*e^(iwt) + C2*e^(-iwt) turns out to have really just ONE arbitrary constant in it.

Now let's try to do that.

C1*e^(iwt) + C2*e^(-iwt)

= C1*[cos(wt) + isin(wt)] + C2*[cos(-wt) + isin(-wt)]

= C1*[cos(wt) + isin(wt)] + C2*[cos(wt) - isin(wt)] (because cos(-x) = cos(x) and sin(-x) = -sin(x))

= C1*cos(wt) + C1*isin(wt) + C2*cos(wt) - C2*isin(wt)

= [C1 + C2]cos(wt) + [C1 - C2]isin(wt)

= C3*cos(wt) + C4*isin(wt)


And this is two arbitrary constants.

Does anyone sees the flaw... or has another idea?
 
Physics news on Phys.org
quasar987 said:
...


C1*e^(iwt) + C2*e^(-iwt)

= ...

= [C1 + C2]cos(wt) + [C1 - C2]isin(wt)

= C3*cos(wt) + C4*isin(wt)


And this is two arbitrary constants.

Does anyone sees the flaw... or has another idea?

C1 and C2 should be complex numbers so as to make the solution real and to satisfy the initial conditions. If C1 and C2 are real, the solution can be real only if C4 =C1-C2=0 therefore only one arbitrary constant remains for two initial conditions.

ehild
 
I think I understand.

OK, so strictly mathematically speaking, the statement that C1 and C2 are elements of R do NOT make for a general solution of the d.e. is WRONG. Any C1, C2 elements of the sedenions and beyond make up for a solution.

But BECAUSE this equation represents a physical phenomenon, we are INTERESTED (the keyword missing in my textbook) only in those C1 and C2 that make x(t) REAL. And for that to be so, not only must C1 and C2 be complex, they must also be the complex conjugate of each other.

Is that what you are saying?
 
quasar987 said:
I think I understand.

OK, so strictly mathematically speaking, the statement that C1 and C2 are elements of R do NOT make for a general solution of the d.e. is WRONG. Any C1, C2 elements of the sedenions and beyond make up for a solution.

But BECAUSE this equation represents a physical phenomenon, we are INTERESTED (the keyword missing in my textbook) only in those C1 and C2 that make x(t) REAL. And for that to be so, not only must C1 and C2 be complex, they must also be the complex conjugate of each other.

Is that what you are saying?

You're overlooking the basic fact that the functions you have chosen for your fundamental solutions are themselves complex and by restricting the arbitrary constants to real values you have excluded almost all possible solutions of the differential equation, i.e. you have lost generality.
 
quasar987 said:
But BECAUSE this equation represents a physical phenomenon, we are INTERESTED (the keyword missing in my textbook) only in those C1 and C2 that make x(t) REAL. And for that to be so, not only must C1 and C2 be complex, they must also be the complex conjugate of each other.

Is that what you are saying?

Yes.

ehild
 
Out of curiosity, are there C1 and C2 elements of the quaternions or some higher hyper-complex set that can make it so x(t) turn out real? Or maybe C1 elements of the complex and C2 element of the quaternions or some other mix?
 
Last edited:
Thread 'Gauss' law seems to imply instantaneous electric field'
Imagine a charged sphere at the origin connected through an open switch to a vertical grounded wire. We wish to find an expression for the horizontal component of the electric field at a distance ##\mathbf{r}## from the sphere as it discharges. By using the Lorenz gauge condition: $$\nabla \cdot \mathbf{A} + \frac{1}{c^2}\frac{\partial \phi}{\partial t}=0\tag{1}$$ we find the following retarded solutions to the Maxwell equations If we assume that...
Maxwell’s equations imply the following wave equation for the electric field $$\nabla^2\mathbf{E}-\frac{1}{c^2}\frac{\partial^2\mathbf{E}}{\partial t^2} = \frac{1}{\varepsilon_0}\nabla\rho+\mu_0\frac{\partial\mathbf J}{\partial t}.\tag{1}$$ I wonder if eqn.##(1)## can be split into the following transverse part $$\nabla^2\mathbf{E}_T-\frac{1}{c^2}\frac{\partial^2\mathbf{E}_T}{\partial t^2} = \mu_0\frac{\partial\mathbf{J}_T}{\partial t}\tag{2}$$ and longitudinal part...
Back
Top