Physlib

Physlib.ClassicalMechanics.HarmonicOscillator.Solution

23 declarations

theorem

Equality of Initial Conditions from Initial Position and Velocity

#ext

For any two sets of initial conditions IC1IC_1 and IC2IC_2 for a classical harmonic oscillator, if their initial positions are equal (IC1.x0=IC2.x0IC_1.x_0 = IC_2.x_0) and their initial velocities are equal (IC1.v0=IC2.v0IC_1.v_0 = IC_2.v_0), then the initial conditions themselves are equal (IC1=IC2IC_1 = IC_2).

theorem

Equality of Initial Conditions at Arbitrary Time from Time, Position, and Velocity

#ext

For any two sets of initial conditions at an arbitrary time, IC1IC_1 and IC2IC_2, if their reference times are equal (IC1.t0=IC2.t0IC_1.t_0 = IC_2.t_0), their positions at those times are equal (IC1.xt0=IC2.xt0IC_1.x_{t_0} = IC_2.x_{t_0}), and their velocities at those times are equal (IC1.vt0=IC2.vt0IC_1.v_{t_0} = IC_2.v_{t_0}), then the initial conditions themselves are equal (IC1=IC2IC_1 = IC_2).

definition

Harmonic oscillator initial conditions at t=0t=0 from state at t0t_0

#toInitialConditions

For a harmonic oscillator SS with angular frequency ω\omega and a state specified at time t0t_0 by position xt0x_{t_0} and velocity vt0v_{t_0}, this function calculates the equivalent initial conditions at time t=0t=0. The resulting initial position x0x_0 and initial velocity v0v_0 are defined as: x0=cos(ωt0)xt0sin(ωt0)ωvt0x_0 = \cos(\omega t_0) x_{t_0} - \frac{\sin(\omega t_0)}{\omega} v_{t_0} v0=ωsin(ωt0)xt0+cos(ωt0)vt0v_0 = \omega \sin(\omega t_0) x_{t_0} + \cos(\omega t_0) v_{t_0} This conversion effectively runs the trajectory backward from t0t_0 to 00 to determine the starting state.

instance

Zero initial conditions for the harmonic oscillator

#instZero

The zero initial condition for a harmonic oscillator is defined as the state where both the initial position x0x_0 and the initial velocity v0v_0 are equal to 00. This defines the zero element (additive identity) for the `InitialConditions` structure.

theorem

Initial position x0=0x_0 = 0 for zero initial conditions

#x₀_zero

For the zero initial conditions of a classical harmonic oscillator, the initial position x0x_0 is equal to 00. This confirms that the zero initial condition state corresponds to a particle starting at the origin.

theorem

Initial Velocity v0=0v_0 = 0 for Zero Initial Conditions

#v₀_zero

For the zero initial conditions of a classical harmonic oscillator, the initial velocity v0v_0 is equal to 00. This indicates that the zero initial condition corresponds to a state with zero starting velocity.

definition

Trajectory x(t)x(t) of the harmonic oscillator

#trajectory

Given a set of initial conditions ICIC with initial position x0x_0 and initial velocity v0v_0, the trajectory of the classical harmonic oscillator is the function that maps each time tt to its position in 1D Euclidean space, defined by: x(t)=cos(ωt)x0+sin(ωt)ωv0x(t) = \cos(\omega t) x_0 + \frac{\sin(\omega t)}{\omega} v_0 where ω\omega is the angular frequency of the oscillator system.

theorem

Trajectory Equation x(t)=cos(ωt)x0+sin(ωt)ωv0x(t) = \cos(\omega t) x_0 + \frac{\sin(\omega t)}{\omega} v_0

#trajectory_eq

For a classical harmonic oscillator system SS with angular frequency ω\omega and initial conditions ICIC consisting of an initial position x0x_0 and an initial velocity v0v_0, the trajectory x(t)x(t) is given by: x(t)=cos(ωt)x0+sin(ωt)ωv0x(t) = \cos(\omega t) x_0 + \frac{\sin(\omega t)}{\omega} v_0

theorem

The trajectory x(t)x(t) is identically zero for zero initial conditions

#trajectory_zero

For a classical harmonic oscillator system with zero initial conditions (where the initial position x0x_0 and the initial velocity v0v_0 are both zero), the resulting trajectory x(t)x(t) is identically zero for all times tt.

theorem

The trajectory x(t)x(t) is CC^\infty smooth

#trajectory_contDiff

For a classical harmonic oscillator system SS and a given set of initial conditions ICIC, the resulting trajectory x(t)x(t) is nn-times continuously differentiable (CnC^n) for any nN{}n \in \mathbb{N} \cup \{\infty\}. That is, the trajectory is infinitely differentiable.

theorem

The Velocity of the Harmonic Oscillator Trajectory is ωsin(ωt)x0+cos(ωt)v0-\omega \sin(\omega t) x_0 + \cos(\omega t) v_0

#trajectory_velocity

For a classical harmonic oscillator with angular frequency ω\omega and initial conditions ICIC specifying an initial position x0x_0 and an initial velocity v0v_0, let x(t)x(t) be the trajectory of the oscillator. The velocity at time tt, defined as the time derivative ddtx(t)\frac{d}{dt}x(t), is given by: ddtx(t)=ωsin(ωt)x0+cos(ωt)v0\frac{d}{dt}x(t) = -\omega \sin(\omega t) x_0 + \cos(\omega t) v_0

theorem

The Acceleration of the Harmonic Oscillator Trajectory is ω2cos(ωt)x0ωsin(ωt)v0-\omega^2 \cos(\omega t) x_0 - \omega \sin(\omega t) v_0

#trajectory_acceleration

For a classical harmonic oscillator with angular frequency ω\omega and initial conditions ICIC specifying an initial position x0x_0 and an initial velocity v0v_0, let x(t)x(t) be the trajectory of the oscillator. The acceleration at time tt, defined as the second time derivative d2dt2x(t)\frac{d^2}{dt^2}x(t), is given by: d2dt2x(t)=ω2cos(ωt)x0ωsin(ωt)v0\frac{d^2}{dt^2}x(t) = -\omega^2 \cos(\omega t) x_0 - \omega \sin(\omega t) v_0

theorem

The Position of a Harmonic Oscillator Trajectory at t=0t=0 is x0x_0

#trajectory_position_at_zero

For a classical harmonic oscillator system SS with a given set of initial conditions ICIC, let x(t)x(t) denote the trajectory of the oscillator. If x0x_0 is the initial position specified in ICIC, then the position at time t=0t = 0 is x(0)=x0x(0) = x_0.

theorem

The Velocity of a Harmonic Oscillator Trajectory at t=0t=0 is v0v_0

#trajectory_velocity_at_zero

For a classical harmonic oscillator system SS with initial conditions ICIC specifying an initial position x0x_0 and an initial velocity v0v_0, let x(t)x(t) be the trajectory of the oscillator. The velocity at time t=0t = 0, defined as the time derivative ddtx(t)\frac{d}{dt}x(t) evaluated at t=0t=0, is equal to the initial velocity v0v_0. That is, ddtx(t)t=0=v0\frac{d}{dt}x(t) \Big|_{t=0} = v_0

theorem

The Harmonic Oscillator Trajectory Satisfies the Equation of Motion

#trajectory_equationOfMotion

For a classical harmonic oscillator system SS and a given set of initial conditions ICIC specifying an initial position x0x_0 and an initial velocity v0v_0, let x(t)x(t) be the trajectory of the oscillator. The trajectory x(t)x(t) satisfies the equation of motion of the harmonic oscillator system SS.

theorem

Uniqueness of the Harmonic Oscillator Trajectory

#trajectories_unique

For a classical harmonic oscillator system SS and a given set of initial conditions ICIC specifying an initial position x0x_0 and an initial velocity v0v_0 at time t=0t=0, let x:TimeRx: \text{Time} \to \mathbb{R} be an infinitely differentiable (CC^\infty) function. If xx satisfies the oscillator's equation of motion and the initial conditions x(0)=x0x(0) = x_0 and tx(0)=v0\partial_t x(0) = v_0, then xx is equal to the predefined trajectory of the system, given by: x(t)=cos(ωt)x0+sin(ωt)ωv0x(t) = \cos(\omega t) x_0 + \frac{\sin(\omega t)}{\omega} v_0 where ω\omega is the angular frequency of the oscillator.

theorem

The total energy of a harmonic oscillator trajectory is 12(mv02+kx02)\frac{1}{2} (m \|v_0\|^2 + k \|x_0\|^2)

#trajectory_energy

For a classical harmonic oscillator system SS with mass mm and spring constant kk, let x(t)x(t) be the trajectory defined by the initial conditions ICIC, where x0x_0 is the initial position and v0v_0 is the initial velocity at time t=0t=0. The total energy E(t)E(t) of the trajectory is constant for all time tt and is equal to the initial energy: E(t)=12(mv02+kx02)E(t) = \frac{1}{2} (m \|v_0\|^2 + k \|x_0\|^2)

theorem

x(t0)=xt0x(t_0) = x_{t_0} for trajectory from converted initial conditions

#toInitialConditions_trajectory_at_t₀

For a harmonic oscillator SS and a set of conditions ICIC specifying a position xt0x_{t_0} and a velocity vt0v_{t_0} at an arbitrary time t0t_0, the trajectory x(t)x(t) defined by the equivalent initial conditions at t=0t=0 (obtained via the conversion function `toInitialConditions`) passes through the specified position at time t0t_0, such that x(t0)=xt0x(t_0) = x_{t_0}.

theorem

x˙(t0)=vt0\dot{x}(t_0) = v_{t_0} for trajectory from converted initial conditions

#toInitialConditions_velocity_at_t₀

For a harmonic oscillator SS and a set of conditions ICIC specifying a position xt0x_{t_0} and a velocity vt0v_{t_0} at an arbitrary time t0t_0, let x(t)x(t) be the trajectory defined by the equivalent initial conditions at t=0t=0 (obtained via the conversion function `toInitialConditions`). The velocity of this trajectory at time t0t_0, defined as the time derivative ddtx(t)\frac{d}{dt}x(t) evaluated at t=t0t = t_0, is equal to the specified velocity: ddtx(t)t=t0=vt0\left. \frac{d}{dt}x(t) \right|_{t=t_0} = v_{t_0}

theorem

Energy at t0t_0 equals 12mvt02+12kxt02\frac{1}{2} m \|v_{t_0}\|^2 + \frac{1}{2} k \|x_{t_0}\|^2 for the Harmonic Oscillator

#toInitialConditions_energy_at_t₀

Consider a classical harmonic oscillator SS with mass mm and spring constant kk. Let ICIC be a set of initial conditions specifying a position xt0x_{t_0} and a velocity vt0v_{t_0} at an arbitrary time t0t_0. Let x(t)x(t) be the trajectory of the oscillator corresponding to these conditions. Then the total energy EE of the trajectory at time t0t_0 is given by: E(t0)=12(mvt02+kxt02)E(t_0) = \frac{1}{2} (m \|v_{t_0}\|^2 + k \|x_{t_0}\|^2) where \|\cdot\| denotes the norm in the oscillator's configuration space.

theorem

tan(ωt)=v0ωx0\tan(\omega t) = \frac{v_0}{\omega x_0} at times of zero velocity for the harmonic oscillator

#tan_time_eq_of_trajectory_velocity_eq_zero

Consider a classical harmonic oscillator with angular frequency ω\omega and initial conditions given by position x0x_0 and velocity v0v_0 at time t=0t=0. For any time tt, if the velocity of the trajectory is zero (i.e., ddtx(t)=0\frac{d}{dt}x(t) = 0) and the initial conditions are non-trivial (x00x_0 \neq 0 or v00v_0 \neq 0), then the time tt satisfies the relation tan(ωt)=v0ωx0\tan(\omega t) = \frac{v_0}{\omega x_0} where x0x_0 and v0v_0 are treated as the scalar values of the position and velocity in 1D space.

theorem

The velocity of the harmonic oscillator is zero at t=1ωarctan(v0ωx0)t = \frac{1}{\omega} \arctan \left( \frac{v_0}{\omega x_0} \right)

#trajectory_velocity_eq_zero_at_arctan

For a classical harmonic oscillator with angular frequency ω\omega and initial conditions specifying an initial position x0x_0 and initial velocity v0v_0 at time t=0t=0, if the component of the initial position x0(0)x_0(0) is non-zero, then the velocity v(t)=ddtx(t)v(t) = \frac{d}{dt}x(t) is zero at time t=1ωarctan(v0(0)ωx0(0))t = \frac{1}{\omega} \arctan \left( \frac{v_0(0)}{\omega x_0(0)} \right) where x0(0)x_0(0) and v0(0)v_0(0) are the scalar components of the initial position and velocity vectors in 1D Euclidean space.

theorem

The velocity of a harmonic oscillator is zero if and only if x(t)=x02+(v0/ω)2\|x(t)\| = \sqrt{\|x_0\|^2 + (\|v_0\|/\omega)^2}

#trajectory_velocity_eq_zero_iff

For a classical harmonic oscillator system with angular frequency ω\omega and initial conditions given by position x0x_0 and velocity v0v_0 at time t=0t=0, let x(t)x(t) be the trajectory of the oscillator. The velocity of the trajectory at time tt, denoted by ddtx(t)\frac{d}{dt}x(t), is zero if and only if the norm of the position at that time satisfies: x(t)=x02+(v0ω)2\|x(t)\| = \sqrt{\|x_0\|^2 + \left(\frac{\|v_0\|}{\omega}\right)^2} where x02+(v0/ω)2\|x_0\|^2 + (\|v_0\|/\omega)^2 represents the square of the maximum displacement (amplitude) of the oscillation.