I General solution of harmonic oscillations

AI Thread Summary
The discussion explains the general solution for a harmonic oscillator described by the equation of motion m d²x = F, where F = -mω²x. The solution can be expressed as a combination of two linearly independent functions, specifically x(t) = A exp(iωt) + B exp(-iωt). This leads to the equivalent representation using sine and cosine functions, x(t) = C cos(ωt) + D sin(ωt), due to their linear independence. Initial conditions, such as position and velocity at t=0, can be applied to determine a unique solution. The exchange between exponential and trigonometric forms is clarified through Euler's formula, reinforcing the concept of linear combinations in solving differential equations.
skyesthelimit
Messages
5
Reaction score
0
For a harmonic oscillator with a restoring force with F= -mω2x, I get that the solution for the x-component happens at x=exp(±iωt). But why is it that you can generalise the solution to x= Ccosωt+Dsin(ωt)? Where does the sine term come from because when I use Euler's formula, the only real part seems to be the cosine term?
 
Last edited:
Physics news on Phys.org
Well, you need two linearly independent solutions of the equation of motion
$$m \ddot{x}=F \; \Rightarrow \; \ddot{x}=-\omega^2 x$$
(BTW you forgot the ##x## in your force formula).

You can use any two linearly independent solutions. Obviously your two functions will do. The general solution of the equation of motion is given by all possible linear combinations, i.e.,
$$x(t)=A \exp(\mathrm{i} \omega t) + B \exp(-\mathrm{i} \omega t).$$
Obviously also ##\cos(\omega t)## and ##\sin(\omega t)## solve the equations, and since they are linearly independent the complete solution is also given as superpositions of them, i.e., also
$$x(t)=A' \cos(\omega t) + B' \sin(\omega t)$$
give the complete set of solutions.

You can make the solution unique by assuming the appropriate initial conditions, which is of course the natural thing for a typical mechanics problem: You need to give the position and velocity of the particle at some initial time, say ##t=0##, i.e., you give the values ##x(0)=x_0## and ##\dot{x}(0)=v_0##. Now you can use both superpositions to evaluate the now unique solution ##x(t)## for these initial conditions. You'll see that of course you get the same result.

Another way to see this is to express the one set of linearly independent functions in terms of the other. For that just remember how cos and sin are expressed in terms of exponential functions or use Euler's formula to derive them.
 
oh right! thanks I just edited the equation! this was super helpful - i didn't quite think about it in terms of linearly independent solutions!
 
Consider an extremely long and perfectly calibrated scale. A car with a mass of 1000 kg is placed on it, and the scale registers this weight accurately. Now, suppose the car begins to move, reaching very high speeds. Neglecting air resistance and rolling friction, if the car attains, for example, a velocity of 500 km/h, will the scale still indicate a weight corresponding to 1000 kg, or will the measured value decrease as a result of the motion? In a second scenario, imagine a person with a...
Scalar and vector potentials in Coulomb gauge Assume Coulomb gauge so that $$\nabla \cdot \mathbf{A}=0.\tag{1}$$ The scalar potential ##\phi## is described by Poisson's equation $$\nabla^2 \phi = -\frac{\rho}{\varepsilon_0}\tag{2}$$ which has the instantaneous general solution given by $$\phi(\mathbf{r},t)=\frac{1}{4\pi\varepsilon_0}\int \frac{\rho(\mathbf{r}',t)}{|\mathbf{r}-\mathbf{r}'|}d^3r'.\tag{3}$$ In Coulomb gauge the vector potential ##\mathbf{A}## is given by...
Dear all, in an encounter of an infamous claim by Gerlich and Tscheuschner that the Greenhouse effect is inconsistent with the 2nd law of thermodynamics I came to a simple thought experiment which I wanted to share with you to check my understanding and brush up my knowledge. The thought experiment I tried to calculate through is as follows. I have a sphere (1) with radius ##r##, acting like a black body at a temperature of exactly ##T_1 = 500 K##. With Stefan-Boltzmann you can calculate...
Back
Top