Physlib.ClassicalMechanics.HarmonicOscillator.Basic
49 declarations
The spring constant of a classical harmonic oscillator is non-zero, that is, .
The mass of a classical harmonic oscillator is non-zero, that is, .
Angular frequency
#ωFor a classical harmonic oscillator with mass and spring constant , the angular frequency is defined as the square root of the ratio of the spring constant to the mass:
The angular frequency of a classical harmonic oscillator is strictly positive, that is, .
For a classical harmonic oscillator with mass and spring constant , the square of the angular frequency is equal to the ratio of the spring constant to the mass:
For a classical harmonic oscillator, the angular frequency is not equal to zero, i.e., .
For a classical harmonic oscillator with mass , spring constant , and angular frequency , the inverse of the square of the angular frequency is equal to the ratio of the mass to the spring constant:
Kinetic energy
#kineticEnergyFor a classical harmonic oscillator with mass , the kinetic energy of a trajectory in a 1-dimensional Euclidean space is a function of time defined by: where denotes the time derivative of the position and is the real inner product. This is equivalent to the expression .
Potential energy
#potentialEnergyThe potential energy of a classical harmonic oscillator with spring constant at position is defined as , where denotes the real inner product on the 1-dimensional Euclidean space.
Total energy
#energyFor a classical harmonic oscillator and a trajectory in a 1-dimensional Euclidean space, the total energy at time is defined as the sum of the kinetic energy and the potential energy : \[ E(t) = T(t) + V(x(t)) \] where is the kinetic energy of the trajectory and is the potential energy at position .
Kinetic energy
#kineticEnergy_eqFor a classical harmonic oscillator with mass and a trajectory in a 1-dimensional Euclidean space, the kinetic energy at time is given by where denotes the time derivative of the position and represents the standard real inner product.
The potential energy is equal to
#potentialEnergy_eqFor a classical harmonic oscillator with spring constant , the potential energy at a position is given by , where denotes the standard real inner product on the 1-dimensional Euclidean space.
Total energy
#energy_eqFor a classical harmonic oscillator and a trajectory in a 1-dimensional Euclidean space, the total energy at any time is the sum of the kinetic energy of the trajectory and the potential energy at position : \[ E(t) = T(t) + V(x(t)) \]
Kinetic Energy is Differentiable for Smooth Trajectories
#kineticEnergy_differentiableFor a classical harmonic oscillator with mass , if a trajectory in 1-dimensional Euclidean space is a smooth () function of time, then the kinetic energy is differentiable with respect to .
Potential Energy is Differentiable for Smooth Trajectories
#potentialEnergy_differentiableConsider a classical harmonic oscillator with spring constant . Let be a smooth () trajectory. Then the potential energy as a function of time, , is differentiable with respect to .
Total Energy is Differentiable for Smooth Trajectories
#energy_differentiableConsider a classical harmonic oscillator . Let be a trajectory in 1-dimensional Euclidean space that is a smooth () function of time. Then the total energy , defined as the sum of the kinetic energy and the potential energy, is differentiable with respect to time .
for Harmonic Oscillator
#kineticEnergy_derivConsider a classical harmonic oscillator with mass . Let be a smooth () trajectory in 1-dimensional Euclidean space. Then the time derivative of the kinetic energy is given by: where is the velocity (the first time derivative of ), is the acceleration (the second time derivative of ), and denotes the real inner product.
Time Derivative of Potential Energy for a Harmonic Oscillator
#potentialEnergy_derivLet be a classical harmonic oscillator with spring constant . For a smooth () trajectory in 1-dimensional Euclidean space, the time derivative of the potential energy is given by: \[ \frac{d}{dt} V(x(t)) = \langle \dot{x}(t), k x(t) \rangle \] where denotes the time derivative of the position (velocity) at time , and represents the standard inner product on the 1-dimensional Euclidean space.
Time Derivative of Total Energy for the Harmonic Oscillator
#energy_derivConsider a classical harmonic oscillator with mass and spring constant . For any smooth () trajectory in 1-dimensional Euclidean space, the time derivative of the total energy is given by: where and denote the first and second time derivatives of the position (velocity and acceleration respectively), and represents the standard real inner product.
Lagrangian of the harmonic oscillator
#lagrangianFor a classical harmonic oscillator with mass and spring constant , the Lagrangian is a real-valued function of time , position , and velocity . It is defined as the difference between the kinetic energy and the potential energy: \[ L(t, x, v) = \frac{1}{2} m \langle v, v \rangle - \frac{1}{2} k \langle x, x \rangle \] where denotes the standard inner product on the 1-dimensional Euclidean space.
Lagrangian of the harmonic oscillator
#lagrangian_eqFor a classical harmonic oscillator with mass and spring constant , the Lagrangian is the function of time , position , and velocity defined by: \[ L(t, x, v) = \frac{1}{2} m \langle v, v \rangle - \frac{1}{2} k \langle x, x \rangle \] where and denotes the standard real inner product.
The Lagrangian of the Harmonic Oscillator is
#lagrangian_eq_kineticEnergy_sub_potentialEnergyFor a classical harmonic oscillator with mass and spring constant , let be a trajectory in 1-dimensional Euclidean space and be its time derivative. At any time , the Lagrangian evaluated at position and velocity is equal to the kinetic energy of the trajectory minus the potential energy of the position:
The Lagrangian of the harmonic oscillator is
#contDiff_lagrangianFor any , the Lagrangian of the classical harmonic oscillator is -times continuously differentiable () with respect to its arguments: time , position , and velocity . This implies that the Lagrangian is a smooth () function of .
The inverse Riesz representation of is
#toDual_symm_innerSLIn the 1-dimensional real Euclidean space equipped with the standard inner product , let be the Riesz representation isomorphism (the `toDual` map) which identifies a vector with the continuous linear functional . For any vector , let be the continuous linear functional defined by . Then the inverse of the Riesz isomorphism applied to returns the original vector :
The gradient of is
#gradient_inner_selfFor any vector in the 1-dimensional real Euclidean space (represented as `EuclideanSpace ℝ (Fin 1)`), the gradient of the function (the squared norm) evaluated at is equal to .
in 1D Euclidean Space
#gradient_const_mul_inner_selfLet be a real constant and be a vector in the 1-dimensional real Euclidean space . The gradient of the function evaluated at is equal to , where denotes the standard inner product on .
for the Harmonic Oscillator
#gradient_lagrangian_position_eqFor a classical harmonic oscillator with spring constant , let be the Lagrangian defined as the difference between kinetic and potential energy. For any time , position , and velocity , the gradient of the Lagrangian with respect to the position is equal to : \[ \nabla_x L(t, x, v) = -k x \] where denotes the 1-dimensional real Euclidean space.
for the Harmonic Oscillator
#gradient_lagrangian_velocity_eqFor a classical harmonic oscillator with mass and spring constant , the gradient of the Lagrangian with respect to the velocity is equal to . Here, denotes time, denotes the position in 1-dimensional Euclidean space , and is the standard inner product.
Variational gradient of the action for a harmonic oscillator
#gradLagrangianGiven a trajectory , this definition computes the variational gradient of the action functional , where is the Lagrangian of the harmonic oscillator. This result is a function of time representing the Euler-Lagrange operator evaluated along the trajectory: \[ t \mapsto \frac{\partial L}{\partial x} - \frac{d}{dt} \left( \frac{\partial L}{\partial \dot{x}} \right) \] where the derivatives of the Lagrangian are evaluated at position and velocity .
Variational Gradient of Action equals Euler-Lagrange Operator for Harmonic Oscillators
#gradLagrangian_eq_eulerLagrangeOpFor a classical harmonic oscillator and a smooth () trajectory , the variational gradient of the action functional is equal to the Euler-Lagrange operator applied to the Lagrangian of the harmonic oscillator. That is, \[ \frac{\delta S}{\delta x}(t) = \frac{\partial L}{\partial x}(t, x(t), \dot{x}(t)) - \frac{d}{dt} \left( \frac{\partial L}{\partial \dot{x}}(t, x(t), \dot{x}(t)) \right) \] where is the Lagrangian , and denotes the time derivative of the trajectory.
Equation of motion for a harmonic oscillator
#EquationOfMotionFor a trajectory of a classical harmonic oscillator, the property `EquationOfMotion` is satisfied if the variational gradient of the action (the Euler-Lagrange operator) is zero for all . This corresponds to the Euler-Lagrange equation: \[ \frac{\delta S}{\delta x} = \frac{\partial L}{\partial x} - \frac{d}{dt} \left( \frac{\partial L}{\partial \dot{x}} \right) = 0 \] where is the Lagrangian of the harmonic oscillator, and the derivatives are evaluated along the trajectory .
Equation of Motion for a Harmonic Oscillator
#equationOfMotion_iff_gradLagrangian_zeroFor a classical harmonic oscillator and a trajectory , the property that satisfies the equation of motion is equivalent to the condition that the variational gradient of the action is identically zero for all . Here, the variational gradient (the Euler-Lagrange operator) is defined as: \[ \frac{\delta S}{\delta x} = \frac{\partial L}{\partial x} - \frac{d}{dt} \left( \frac{\partial L}{\partial \dot{x}} \right) \] where is the Lagrangian of the harmonic oscillator.
Force of a harmonic oscillator
#forceFor a classical harmonic oscillator , the force at a position is defined as the negative gradient of the potential energy , denoted as .
Force of a Harmonic Oscillator equals
#force_eq_linearFor a classical harmonic oscillator with spring constant , the force at a position in the 1-dimensional Euclidean space is given by .
for the Harmonic Oscillator
#gradLagrangian_eq_forceFor a classical harmonic oscillator with mass , and a smooth () trajectory , the variational gradient of the action (also known as the Euler-Lagrange operator) at any time is equal to the force minus the product of the mass and the second time derivative of the trajectory : \[ \frac{\delta S}{\delta x}(t) = F(x(t)) - m \ddot{x}(t) \] where is the restoring force of the oscillator and denotes the acceleration .
Equation of Motion Newton's Second Law for the Harmonic Oscillator
#equationOfMotion_iff_newtons_2nd_lawFor a classical harmonic oscillator with mass , let be a smooth () trajectory. The trajectory satisfies the equation of motion (defined by the vanishing of the variational gradient of the action, or the Euler-Lagrange equation) if and only if it satisfies Newton's second law for all times : \[ m \ddot{x}(t) = F(x(t)) \] where is the second time derivative of the position and is the force acting on the oscillator at position .
Equation of Motion Implies for the Harmonic Oscillator
#energy_conservation_of_equationOfMotionFor a classical harmonic oscillator , let be a smooth () trajectory. If satisfies the equation of motion for the system, then the time derivative of the total energy is zero for all :
Equation of Motion Implies for the Harmonic Oscillator
#energy_conservation_of_equationOfMotion'For a classical harmonic oscillator , let be a smooth () trajectory. If satisfies the equation of motion for the system, then for any time , the total energy is equal to the initial energy at time : \[ E(t) = E(0) \] where is the sum of the kinetic and potential energies of the oscillator at time .
Linear equivalence between velocity and canonical momentum
#toCanonicalMomentumGiven a classical harmonic oscillator with mass , at a specific time and position , this definition establishes a linear isomorphism between the velocity space and the canonical momentum space (both modeled as ). The mapping is defined by the gradient of the Lagrangian with respect to velocity, , which for this system is . The inverse mapping is .
Canonical Momentum for the Harmonic Oscillator
#toCanonicalMomentum_eqFor a classical harmonic oscillator with mass and spring constant , the canonical momentum at time and position corresponding to a velocity is given by the product of the mass and the velocity: \[ p = mv \] where .
Hamiltonian of the harmonic oscillator
#hamiltonianFor a classical harmonic oscillator with mass and spring constant , the Hamiltonian is a real-valued function of time , momentum , and position . It is defined via the Legendre transformation of the Lagrangian as: \[ H(t, p, x) = \langle p, v \rangle - L(t, x, v) \] where denotes the standard inner product on the 1-dimensional Euclidean space, and the velocity is expressed as a function of momentum using the inverse of the canonical momentum mapping .
For a classical harmonic oscillator with mass and spring constant , the Hamiltonian as a function of time , momentum , and position is given by: \[ H(t, p, x) = \frac{1}{2m} \langle p, p \rangle + \frac{1}{2} k \langle x, x \rangle \] where and denotes the standard real inner product.
The Hamiltonian of the Harmonic Oscillator is
#hamiltonian_contDiffFor a classical harmonic oscillator , the Hamiltonian function , considered as a function of time , momentum , and position , is -times continuously differentiable over for any .
for the Harmonic Oscillator
#gradient_hamiltonian_position_eqFor a classical harmonic oscillator with spring constant , the gradient of the Hamiltonian with respect to the position is equal to , where is the time and is the momentum. Here, and are vectors in the 1-dimensional real Euclidean space .
for the Harmonic Oscillator
#gradient_hamiltonian_momentum_eqFor a classical harmonic oscillator with mass , the gradient of the Hamiltonian with respect to the momentum at a given time and position is equal to the momentum divided by the mass: \[ \nabla_p H(t, p, x) = \frac{1}{m} p \] where is the canonical momentum.
Hamiltonian Equals Total Energy for the Harmonic Oscillator
#hamiltonian_eq_energyFor a classical harmonic oscillator with mass and spring constant , and for any trajectory in a 1-dimensional Euclidean space , the Hamiltonian evaluated at time , position , and the canonical momentum is equal to the total energy of the system at that time. That is, \[ H(t, p(t), x(t)) = E(t) \] where is the canonical momentum corresponding to the velocity and is the sum of the kinetic and potential energies.
Hamilton equation operator for the harmonic oscillator
#hamiltonEqOpFor a classical harmonic oscillator with Hamiltonian , the Hamilton equation operator maps a momentum trajectory and a position trajectory to a function of time defined by the pair: \[ \left( \dot{q}(t) - \nabla_p H(t, p(t), q(t)), \ -\dot{p}(t) - \nabla_q H(t, p(t), q(t)) \right) \] In this expression, and denote the time derivatives of the position and momentum trajectories, while and denote the gradients of the oscillator's Hamiltonian with respect to momentum and position, respectively. The vanishing of this operator for a given pair signifies that the trajectories satisfy the classical Hamilton's equations.
Equation of Motion Hamilton's Equations for the Harmonic Oscillator
#equationOfMotion_iff_hamiltonEqOp_eq_zeroFor a classical harmonic oscillator , let be a smooth () trajectory. Let be the canonical momentum trajectory corresponding to the velocity at position , defined by . The trajectory satisfies the equation of motion (the Euler-Lagrange equation) if and only if the pair satisfies Hamilton's canonical equations, which is equivalent to the vanishing of the Hamilton equation operator: \[ \text{hamiltonEqOp}(S, p, x) = 0 \]
Equivalence of Formulations of the Equations of Motion for the Harmonic Oscillator
#equationOfMotion_tfaeFor a classical harmonic oscillator with mass , let be a smooth () trajectory. The following statements are equivalent: 1. The trajectory satisfies the equation of motion (the Euler-Lagrange equation). 2. The trajectory satisfies Newton's second law for all : , where is the second time derivative of the position and is the force of the oscillator. 3. The phase-space trajectory satisfies Hamilton's equations (i.e., the Hamilton equation operator vanishes), where is the canonical momentum. 4. The variational gradient of the action functional is zero at , where is the Lagrangian of the harmonic oscillator. 5. The variational gradient of the phase-space action functional is zero at the trajectory , where is the Hamiltonian and is the standard inner product.
