Derive equation for Energy of the Harmonic Oscillator

In summary, the energy of a point particle under conservative force is the work done on the particle by the force.
  • #1
SandyMan32
6
0
I'm trying to figure out how to derive the equations for Energy from the differential equation corresponding to the (simple and damped) harmonic oscillator. Please note that I don't want to start with the expressions for kinetic and potential energy, I want to derive them. The references that I have referred to seem to have left out a step critical for my understanding.

For the simple oscillator my source starts with the differential equation
[tex] \dfrac{d^2}{dt^2}x(t) +\omega_0^2 x(t) =0 [/tex]
multiplying by [tex] \dot{x} = \dfrac{d}{dt}x(t) [/tex] gives
[tex] \dfrac{d}{dt} \left[ \dfrac{1}{2}( \dot{x}^2+ \omega_0^2 x^2) \right]=0 [/tex]
Integrating, gives the constant of motion
[tex] \dfrac{E}{m}=\dfrac{1}{2}(\dot{x}^2+ \omega_0^2 x^2) [/tex]

Similarly, for the damped oscillator my source starts with the differential equation
[tex] \ddot{x} + \gamma \dot{x} +\omega_0^2 x=0 [/tex]
multiplies by [tex]\dot{x}[/tex] giving
[tex] \dot{x}\ddot{x} + \gamma \dot{x} ^2 +\omega_0^2 \dot{x}x=0 [/tex]
then arrives at the answer
[tex] \dfrac{d}{dt}E = -m\gamma\dot{x}^2[/tex]

Unfortunately, in both of the previous examples I do not understand how to arrive at the last line given. Any help would be much appreciated.
 
Physics news on Phys.org
  • #2
SandyMan32 said:
Unfortunately, in both of the previous examples I do not understand how to arrive at the last line given.
Exactly what is causing you this trouble? Do you know how to integrate a total derivative? Do you understand that the primitive function of ##df/dx## is equal to ##f + C##, where ##C## is a constant?
 
  • #3
Just take
$$E=\frac{m}{2} \dot{x}^2+\frac{m \omega_0^2}{2} x^2$$
and take its time derivative, leading to
$$\dot{E}=m \dot{x} (\ddot{x}+\omega_0^2 x).$$
Now use the equation of motion of the damped oscillator you get
$$\dot{E}=-m \gamma \dot{x}^2.$$
This is just the dissipation of energy, given as the power due to the frictional force ##\propto \gamma \dot{x}##.
 
  • #4
Orodruin said:
Exactly what is causing you this trouble? Do you know how to integrate a total derivative? Do you understand that the primitive function of ##df/dx## is equal to ##f + C##, where ##C## is a constant?

A think I'm getting hung up on integrating the total derivative. Although I have a technical background, its not in physics and I've either never heard of integrating the total derivative, or have forgotten about it. A quick search on total derivative shows an expression for the total derivative equal to the sum of several partial derivatives, but I'm still unsure how to property integrate.
 
  • #5
vanhees71 said:
Just take
$$E=\frac{m}{2} \dot{x}^2+\frac{m \omega_0^2}{2} x^2$$
and take its time derivative, leading to
$$\dot{E}=m \dot{x} (\ddot{x}+\omega_0^2 x).$$
Now use the equation of motion of the damped oscillator you get
$$\dot{E}=-m \gamma \dot{x}^2.$$
This is just the dissipation of energy, given as the power due to the frictional force ##\propto \gamma \dot{x}##.
SandyMan32 said:
Please note that I don't want to start with the expressions for kinetic and potential energy, I want to derive them.
 
  • #6
SandyMan32 said:
A think I'm getting hung up on integrating the total derivative. Although I have a technical background, its not in physics and I've either never heard of integrating the total derivative, or have forgotten about it. A quick search on total derivative shows an expression for the total derivative equal to the sum of several partial derivatives, but I'm still unsure how to property integrate.

So did you understand the following?
Orodruin said:
Do you understand that the primitive function of ##df/dx## is equal to ##f + C##, where ##C## is a constant?
It is essentially just a matter of changing the variable x for t and calling the integration constant E.
 
  • #7
Orodruin said:
It is essentially just a matter of changing the variable x for t and calling the integration constant E.

I understand that an arbitrary constant is present due to the integration, but it appears from my example, that the constant of integration is set to [tex]\dfrac{E}{m}[/tex] not E. where did this come from? Am I missing something obvious?
 
  • #8
Calling the constant E/m is also perfectly fine.
 
  • #9
I think
SandyMan32 said:
Please note that I don't want to start with the expressions for kinetic and potential energy, I want to derive them.
causes a problem here.

You find find a constant of the motion, Orodruin wants to call it E/m, I want to call it the Splonge. The real physics arises in relating the Splonge to other areas in which energy and momentum are understood.
 
  • #10
Well, it's the very general energy-work theorem, valid for point particles under the influence all kinds of forces, not only conservative ones. You just start from Newton's 2nd law,
$$m \ddot{\vec{x}}=\vec{F}(t,\vec{x},\dot{\vec{x}},\ldots).$$
Multiply this with ##\dot{\vec{x}}## and integrate. Then you get the work-energy theorem
$$\frac{m}{2}[\dot{\vec{x}}^2(t_2)-\dot{\vec{x}}^2(t_1)]=T_2-T_1=\int_{\text{traj}} \mathrm{d} \vec{x} \cdot \vec{F},$$
where "traj" stands for trajectory, i.e., the path of the particle due to a solution of the equation of motion we started from.

In this generality it's of little use in practice, because you need the full solution of the EoM, and thus you know anything you want to know about the particles's motion anyway. The special case of conservative forces is thus much more interesting, because there the line integral on the right-hand side of the work-energy theorem becomes path-independent, i.e., it only depends on the initial and finite position of the particle, no matter along which path you integrate. In other words, if in a simply connected region you have
$$\vec{F}=-\vec{\nabla}V(\vec{x}),$$
you get the energy-conservation law from the work-energy theorem, i.e.,
$$E_2-E_1=0 \quad \text{with} \quad E=T+V, \quad E_1=E(t_1), \quad E_2=E(t_2).$$
 
  • #11
Further to my previous post.

SandyMan32 said:
For the simple oscillator my source starts with the differential equation
d2dt2x(t)+ω20x(t)=0​
\dfrac{d^2}{dt^2}x(t) +\omega_0^2 x(t) =0
This contains no physics! It's just a differential equation, which you manipulate and get a constant. It's relying on magic to equate this to E/m or whatever (does the "m" stand for magic?)

The physics comes when this equation is applied to a physical situation (mass on a spring, LC resonator etc), for which you have to say what x, t and (especially) omega are. (I always use x for the weight, in kg, of my cat Jellaby.)
 
  • #12
vanhees71 said:
Well, it's the very general energy-work theorem, valid for point particles under the influence all kinds of forces, not only conservative ones. You just start from Newton's 2nd law,
$$m \ddot{\vec{x}}=\vec{F}(t,\vec{x},\dot{\vec{x}},\ldots).$$
Multiply this with ##\dot{\vec{x}}## and integrate. Then you get the work-energy theorem
$$\frac{m}{2}[\dot{\vec{x}}^2(t_2)-\dot{\vec{x}}^2(t_1)]=T_2-T_1=\int_{\text{traj}} \mathrm{d} \vec{x} \cdot \vec{F},$$
where "traj" stands for trajectory, i.e., the path of the particle due to a solution of the equation of motion we started from.

In this generality it's of little use in practice, because you need the full solution of the EoM, and thus you know anything you want to know about the particles's motion anyway. The special case of conservative forces is thus much more interesting, because there the line integral on the right-hand side of the work-energy theorem becomes path-independent, i.e., it only depends on the initial and finite position of the particle, no matter along which path you integrate. In other words, if in a simply connected region you have
$$\vec{F}=-\vec{\nabla}V(\vec{x}),$$
you get the energy-conservation law from the work-energy theorem, i.e.,
$$E_2-E_1=0 \quad \text{with} \quad E=T+V, \quad E_1=E(t_1), \quad E_2=E(t_2).$$
thank you, the discussion on the work-energy theorem was helpful
 
  • #13
DaPi said:
Further to my previous post.This contains no physics! It's just a differential equation, which you manipulate and get a constant. It's relying on magic to equate this to E/m or whatever (does the "m" stand for magic?)

The physics comes when this equation is applied to a physical situation (mass on a spring, LC resonator etc), for which you have to say what x, t and (especially) omega are. (I always use x for the weight, in kg, of my cat Jellaby.)
I agree that from the DE alone we have no way to relate the analysis to the real-world. So, say for the sake of argument, we arrived at the DE through force relations of a point-mass
 
  • #14
SandyMan32 said:
I don't want to start with the expressions for kinetic and potential energy
is still causing a problem.

There is nothing preventing you deriving a constant of the motion, multiplying it by m and proudly declaring this to be "THE ENERGY" The trouble comes when you want to show that this is the same as Energy as understood by everyone else. For this you'll have to either acknowledge the standard expressions for energy or derive the whole of physics from your SHO!
 

Related to Derive equation for Energy of the Harmonic Oscillator

1. What is the equation for energy of a harmonic oscillator?

The equation for energy of a harmonic oscillator is E = (n+1/2)hω, where n is the quantum number and hω is the energy quantum.

2. How is the energy of a harmonic oscillator derived?

The energy of a harmonic oscillator is derived using the Schrödinger equation and the potential energy function for a harmonic oscillator.

3. What is the significance of the harmonic oscillator in physics?

The harmonic oscillator is a common model used in physics to describe various systems, such as atoms, molecules, and solid materials. It also plays a crucial role in studying quantum mechanics and energy quantization.

4. Can the energy of a harmonic oscillator be negative?

No, the energy of a harmonic oscillator cannot be negative as it is always a positive value. This is because the oscillator is constrained by a restoring force that prevents it from having negative energy.

5. How does the energy of a harmonic oscillator change with the quantum number?

As the quantum number increases, the energy of a harmonic oscillator also increases. This is because the quantum number determines the number of energy levels available to the oscillator, and higher energy levels have higher energy values.

Similar threads

  • Classical Physics
Replies
17
Views
1K
  • Classical Physics
Replies
5
Views
1K
Replies
3
Views
628
  • Classical Physics
Replies
4
Views
897
  • Classical Physics
Replies
3
Views
719
Replies
1
Views
750
  • Classical Physics
Replies
3
Views
638
  • Classical Physics
Replies
0
Views
313
Replies
17
Views
2K
Replies
19
Views
2K
Back
Top