Finding the Work of a Damped Harmonic Oscillator

Click For Summary
SUMMARY

The discussion focuses on calculating the work done by a damped harmonic oscillator transitioning from an initial position of x_{0} = 0 m to a maximum position of x_{max} = 1 m. The oscillator is characterized by a mass of m = 1 kg, a spring constant k, and a damping factor b. The governing differential equation is m x'' + b x' + k x = 0, with the solution for position given by x(t) = A e^{-\gamma t} sin(\omega_1 t). Participants emphasize the importance of correctly identifying the maximum position and the role of damping in calculating work, suggesting that the maximum occurs not simply when sin(\omega_1 t) = 1, but rather at local extrema determined by the derivative of the position function.

PREREQUISITES
  • Understanding of damped harmonic motion and its equations
  • Familiarity with differential equations, particularly second-order linear equations
  • Knowledge of potential and kinetic energy in mechanical systems
  • Basic calculus skills, specifically differentiation for finding extrema
NEXT STEPS
  • Study the derivation and implications of the damped harmonic oscillator equation m x'' + b x' + k x = 0
  • Learn how to apply calculus to find local maxima and minima in oscillatory functions
  • Explore the effects of varying the damping factor b on the behavior of the oscillator
  • Investigate energy conservation principles in damped systems, including work done against damping forces
USEFUL FOR

Physics students, mechanical engineers, and anyone interested in the dynamics of oscillatory systems and energy calculations in damped harmonic motion.

dimensionless
Messages
460
Reaction score
1
I'm trying to find the work done by a harmonic oscillator when it moves from x_{0} = 0 m to x_{max} = 1 m.
The oscillator has initial velocity v_{0}, a maximum height of x_{max} = 1 m, initial height of x_{0} = 0 m, a spring constant of k, a mass of m = 1 kg, and a damping factor of b.

It can be represented by the following differential equation:
m x'' + b x' + k x = 0

Solving for x(t) will result in this equation:
x = A e^{-\gamma t} sin(\omega_1 t)

where \gamma = b / (2 m ) = b / 2
and \omega_1 = ( \omega_0^2 + \gamma^2 )^{1/2}
and \omega_0 = ( k / m )^{1/2}

I think that the potential energy at x_{max} = 1 m will equal the initial kinetic energy minus the work required to move the mass to the peak. Work, in general is
W = \int F dx
I have a spring force F_{spring} = - k x, but I also have a damping force F_{damping} = - b \frac{dx}{dt}. I tried working out W = \int ( -kx - b\frac{dx}{dt} ) dx but it didn't seem to add up right.


Any ideas on how I can solve x_{max} = A e^{-\gamma t} = 1 m in terms of the initial velocity that will be required to get it there?
 
Last edited:
Physics news on Phys.org
dimensionless said:
I think that the potential energy at x_{max} = 1 m will equal the initial kinetic energy minus the work required to move the mass to the peak.

Correct. The easy way to do the question is to use that fact, not to integrate W = \int F dx

... I have a spring force F_{spring} = - k x, but I also have a damping force F_{damping} = - b \frac{dx}{dt}. I tried working out W = \int ( -kx - b\frac{dx}{dt} ) dx but it didn't seem to add up right.

The spring force doesn't do any work outside the system, because the point outside the system where the spring is attached doesn't move.

Any ideas on how I can solve x_{max} = A e^{-\gamma t} = 1 m in terms of the initial velocity that will be required to get it there?

The same way as you find the max and min of any function - find when the derivative of x = A e^{-\gamma t} sin(\omega_1 t)
is zero.

NB The way you asked the question seems to assume the maximum occurs when sin(\omega_1 t) = 1. That assumption is not correct.
 
Last edited:
AlephZero said:
Correct. The easy way to do the question is to use that fact, not to integrate W = \int F dx



The spring force doesn't do any work outside the system, because the point outside the system where the spring is attached doesn't move.
The same way as you find the max and min of any function - find when the derivative of x = A e^{-\gamma t} sin(\omega_1 t)
is zero.

Ah! I have an equation for position and another for velocity. That sounds like a much better approach.

NB The way you asked the question seems to assume the maximum occurs when sin(\omega_1 t) = 1. That assumption is not correct.

It is assumed :smile:...Are saying that the maximum might occur before that?
 
Last edited:
dimensionless said:
It is assumed :smile:...Are saying that the maximum might occur before that?
Re-read AlephZero's post above. I am assuming you have taken Calc.101 and know that finding the first derivative of a function and setting it to zero gives you the points of the local extrema (i.e min/max). Note, that you should differentiate the whole function as AlephZero suggests, i.e.;

\frac{d}{dt} \left[A e^{-\gamma t} sin(\omega_1 t)\right] :=0
 
Last edited:
If your equations for position and velocity are consistent, then the velocity equation IS the derivative of the position equation :smile:

Sure, sometimes people use the approximations that the maximum occurs at time pi/w_1, and w_1 = w_0, and when the damping is small they are pretty good approximations. But you didn't say the damping was small.

Plot exp(-bt)sin(t) for some different values of b (e.g. b = 0, 0.1, 0.5) to see how bad the approximation gets for high levels of damping.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
Replies
9
Views
2K
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K