Physlib.ClassicalMechanics.HarmonicOscillator.Solution
23 declarations
Equality of Initial Conditions from Initial Position and Velocity
#extFor any two sets of initial conditions and for a classical harmonic oscillator, if their initial positions are equal () and their initial velocities are equal (), then the initial conditions themselves are equal ().
Equality of Initial Conditions at Arbitrary Time from Time, Position, and Velocity
#extFor any two sets of initial conditions at an arbitrary time, and , if their reference times are equal (), their positions at those times are equal (), and their velocities at those times are equal (), then the initial conditions themselves are equal ().
Harmonic oscillator initial conditions at from state at
#toInitialConditionsFor a harmonic oscillator with angular frequency and a state specified at time by position and velocity , this function calculates the equivalent initial conditions at time . The resulting initial position and initial velocity are defined as: This conversion effectively runs the trajectory backward from to to determine the starting state.
Zero initial conditions for the harmonic oscillator
#instZeroThe zero initial condition for a harmonic oscillator is defined as the state where both the initial position and the initial velocity are equal to . This defines the zero element (additive identity) for the `InitialConditions` structure.
Initial position for zero initial conditions
#x₀_zeroFor the zero initial conditions of a classical harmonic oscillator, the initial position is equal to . This confirms that the zero initial condition state corresponds to a particle starting at the origin.
Initial Velocity for Zero Initial Conditions
#v₀_zeroFor the zero initial conditions of a classical harmonic oscillator, the initial velocity is equal to . This indicates that the zero initial condition corresponds to a state with zero starting velocity.
Trajectory of the harmonic oscillator
#trajectoryGiven a set of initial conditions with initial position and initial velocity , the trajectory of the classical harmonic oscillator is the function that maps each time to its position in 1D Euclidean space, defined by: where is the angular frequency of the oscillator system.
Trajectory Equation
#trajectory_eqFor a classical harmonic oscillator system with angular frequency and initial conditions consisting of an initial position and an initial velocity , the trajectory is given by:
The trajectory is identically zero for zero initial conditions
#trajectory_zeroFor a classical harmonic oscillator system with zero initial conditions (where the initial position and the initial velocity are both zero), the resulting trajectory is identically zero for all times .
The trajectory is smooth
#trajectory_contDiffFor a classical harmonic oscillator system and a given set of initial conditions , the resulting trajectory is -times continuously differentiable () for any . That is, the trajectory is infinitely differentiable.
The Velocity of the Harmonic Oscillator Trajectory is
#trajectory_velocityFor a classical harmonic oscillator with angular frequency and initial conditions specifying an initial position and an initial velocity , let be the trajectory of the oscillator. The velocity at time , defined as the time derivative , is given by:
The Acceleration of the Harmonic Oscillator Trajectory is
#trajectory_accelerationFor a classical harmonic oscillator with angular frequency and initial conditions specifying an initial position and an initial velocity , let be the trajectory of the oscillator. The acceleration at time , defined as the second time derivative , is given by:
The Position of a Harmonic Oscillator Trajectory at is
#trajectory_position_at_zeroFor a classical harmonic oscillator system with a given set of initial conditions , let denote the trajectory of the oscillator. If is the initial position specified in , then the position at time is .
The Velocity of a Harmonic Oscillator Trajectory at is
#trajectory_velocity_at_zeroFor a classical harmonic oscillator system with initial conditions specifying an initial position and an initial velocity , let be the trajectory of the oscillator. The velocity at time , defined as the time derivative evaluated at , is equal to the initial velocity . That is,
The Harmonic Oscillator Trajectory Satisfies the Equation of Motion
#trajectory_equationOfMotionFor a classical harmonic oscillator system and a given set of initial conditions specifying an initial position and an initial velocity , let be the trajectory of the oscillator. The trajectory satisfies the equation of motion of the harmonic oscillator system .
Uniqueness of the Harmonic Oscillator Trajectory
#trajectories_uniqueFor a classical harmonic oscillator system and a given set of initial conditions specifying an initial position and an initial velocity at time , let be an infinitely differentiable () function. If satisfies the oscillator's equation of motion and the initial conditions and , then is equal to the predefined trajectory of the system, given by: where is the angular frequency of the oscillator.
The total energy of a harmonic oscillator trajectory is
#trajectory_energyFor a classical harmonic oscillator system with mass and spring constant , let be the trajectory defined by the initial conditions , where is the initial position and is the initial velocity at time . The total energy of the trajectory is constant for all time and is equal to the initial energy:
for trajectory from converted initial conditions
#toInitialConditions_trajectory_at_t₀For a harmonic oscillator and a set of conditions specifying a position and a velocity at an arbitrary time , the trajectory defined by the equivalent initial conditions at (obtained via the conversion function `toInitialConditions`) passes through the specified position at time , such that .
for trajectory from converted initial conditions
#toInitialConditions_velocity_at_t₀For a harmonic oscillator and a set of conditions specifying a position and a velocity at an arbitrary time , let be the trajectory defined by the equivalent initial conditions at (obtained via the conversion function `toInitialConditions`). The velocity of this trajectory at time , defined as the time derivative evaluated at , is equal to the specified velocity:
Energy at equals for the Harmonic Oscillator
#toInitialConditions_energy_at_t₀Consider a classical harmonic oscillator with mass and spring constant . Let be a set of initial conditions specifying a position and a velocity at an arbitrary time . Let be the trajectory of the oscillator corresponding to these conditions. Then the total energy of the trajectory at time is given by: where denotes the norm in the oscillator's configuration space.
at times of zero velocity for the harmonic oscillator
#tan_time_eq_of_trajectory_velocity_eq_zeroConsider a classical harmonic oscillator with angular frequency and initial conditions given by position and velocity at time . For any time , if the velocity of the trajectory is zero (i.e., ) and the initial conditions are non-trivial ( or ), then the time satisfies the relation where and are treated as the scalar values of the position and velocity in 1D space.
The velocity of the harmonic oscillator is zero at
#trajectory_velocity_eq_zero_at_arctanFor a classical harmonic oscillator with angular frequency and initial conditions specifying an initial position and initial velocity at time , if the component of the initial position is non-zero, then the velocity is zero at time where and are the scalar components of the initial position and velocity vectors in 1D Euclidean space.
The velocity of a harmonic oscillator is zero if and only if
#trajectory_velocity_eq_zero_iffFor a classical harmonic oscillator system with angular frequency and initial conditions given by position and velocity at time , let be the trajectory of the oscillator. The velocity of the trajectory at time , denoted by , is zero if and only if the norm of the position at that time satisfies: where represents the square of the maximum displacement (amplitude) of the oscillation.
