Potential energy harmonic oscillator

In summary, you lose the - sign in the first line of your derivation, which causes a negative potential energy. You correct the problem by rewriting the equation to show force vector opposes the direction of the position vector.
  • #1
HWGXX7
46
0
Hello,

I have this problem with deriving the formule from de definition of potential energy

Picture show a mass-spring system in rest position:
Untitled1.png


In general potential energy can be written as dot product: [tex]\frac{dE_{P}}{d\overrightarrow{y}}=-\overrightarrow{F}[/tex].

Potential energy wil rise if, y rises. Because the direction of F is always inverse of y, this is correct.

But when the mass wil move upward trough it's equilibrium the potential energy will also rises, while y will decline. The derivative is negative, so the formule potential energy doesn't count anaymore.


How to fix this problem?

Also if you can look to my derivation of potential energy:
Untitled2.png


ty&grtz
 
Physics news on Phys.org
  • #2
I don't see a problem. When y goes negative F will be positive, so -F is negative. That's consistent with the derivative being negative, as required.
 
  • #3
When y goes negative F will be positive, so -F is negative. That's consistent with the derivative being negative, as required.
Yes, I must have missed this :redface:

But in my derivation I get a negative result...How fix this?

ty&grtz
 
  • #4
You're puzzled that you get a negative potential energy?

You wrote correctly that
dEp/dy=−F
But in the very first line of your derivation you lost the - sign, making it
Ep = ∫m.a.dy
where F = m.a
 
  • #5
There is difference between: [tex]-dF.dy=dE_{p}[/tex]and [tex]-d\overrightarrow{F}.d\overrightarrow{y}=dE_{p}[/tex]

Second thing is a dot product, force vector opposes the direction of the position vector. So I get: [tex]-d\overrightarrow{F}.d\overrightarrow{y}=-dF.dy.cos(\theta)[/tex]

The angle bewteen those is [tex]\pi[/tex], so I get: [tex]-d\overrightarrow{F}.d\overrightarrow{y}=dF.dy[/tex]

Therefore: [tex]E_{p}=\int m.a.dy[/tex]
and the potential energy will be negative. My question: how do I have to interprete this minus sign? Is this because of the sign convection in my dot product, are do I (may I) have to interprete the potential energy as an absolute value...

ty
 
  • #6
HWGXX7 said:
force vector opposes the direction of the position vector. So I get: [tex]-d\overrightarrow{F}.d\overrightarrow{y}=-dF.dy.cos(\theta)[/tex]

ty

Even in scalars, it helps to be consistent about the positive and negative directions.
By saying that the angle between the F and dy vectors is pi, you are effectively choosing to measure F and y in opposite directions. As a consequence, you have a and y in opposite directions, so you end up with the wrong sign on Ep.
Better to say the angle between the vectors is zero, and an upward F (in the diagram) will have a negative value.
 
  • #7
The mass is moving downwards to the position where its potential energy is maximum. Potential energy will rise becasue of:
[tex]\frac{d\overrightarrow{E_{p}}}{d\overrightarrow{y}}=-d\overrightarrow{F}[/tex]

energie.png


The dot product [tex]d\overrightarrow{F}.d\overrightarrow{y}[/tex] is negative because force vector ans position vector opposes...

Can I use this interpretation to derive the potential energy as function of position y(t)?
If not: what do I have to change in the assumptions and why ?

ty&grtz
 
  • #8
I have no problem with your vector equation (except that lately you've taken to writing dF where you mean F). I will use italics for vectors - it's easier.
So -F.dy will be positive, as required.

The mistake you made was in converting to scalar form. Strictly it becomes
dE = -|F||dy|cos(θ) (1)
but this is awkward because as the object oscillates θ will flip between π and 0.
To get around that, choose as convention that scalars F and y are measured in specific directions. They don't have to be the same direction, but if they're not you're likely to get confused, so let's take downwards as positive for both.
When θ = π, F and dy have opposite sign, so F.dy = -|F|.|dy| = |F|.|dy|.cos(θ).
When θ = 0, F and dy have the same sign, so F.dy = +|F|.|dy| = |F|.|dy|.cos(θ).
So either way, F.dy = |F|.|dy|.cos(θ).
Substituting in (1) we get
dE = -F.dy

(I think the lesson here is not to start in vectors for a problem which can easily be managed with scalars!)
 
  • #9
Oké, think I got it. Thank you for the help!

grtz
 

Related to Potential energy harmonic oscillator

1. What is a potential energy harmonic oscillator?

A potential energy harmonic oscillator is a type of system in which a particle is subject to a restoring force that is proportional to its displacement from a fixed point. This results in a sinusoidal motion of the particle around the equilibrium point.

2. How is the potential energy of a harmonic oscillator calculated?

The potential energy of a harmonic oscillator can be calculated using the equation U(x) = 1/2kx², where k is the spring constant and x is the displacement of the particle from the equilibrium point.

3. What factors affect the potential energy of a harmonic oscillator?

The potential energy of a harmonic oscillator is affected by the spring constant, the amplitude of the oscillation, and the mass of the particle. It is also dependent on the initial conditions of the system, such as the initial displacement and velocity of the particle.

4. What is the relationship between potential energy and kinetic energy in a harmonic oscillator?

In a harmonic oscillator, the potential energy is at its maximum when the displacement from the equilibrium point is at its maximum, and the kinetic energy is at its maximum when the displacement is at its minimum. As the particle oscillates back and forth, the energy is constantly being exchanged between potential and kinetic energy.

5. How does the potential energy of a harmonic oscillator change with time?

The potential energy of a harmonic oscillator is constant over time if there is no external force acting on the system. However, if there is an external force, the potential energy may change over time depending on the nature of the force and its effect on the oscillation of the particle.

Similar threads

  • Introductory Physics Homework Help
Replies
13
Views
647
Replies
6
Views
1K
Replies
4
Views
1K
Replies
20
Views
2K
  • Introductory Physics Homework Help
Replies
15
Views
284
Replies
20
Views
7K
  • Introductory Physics Homework Help
Replies
2
Views
1K
Replies
1
Views
737
Replies
5
Views
900
Back
Top