A linear restoring force creates simple harmonic motion
Simple harmonic motion is the special oscillation produced when acceleration is proportional to displacement from equilibrium and points in the opposite direction:
For an ideal mass-spring system, Hooke's law gives . Combining it with produces
The general position is
Differentiation gives and . Position and acceleration are opposite in sign; velocity is one quarter-cycle out of phase with position.
Fresh example with a different phase
A mass on an spring passes through equilibrium at moving in the positive direction. Its amplitude is . Then
Because and , a convenient form is
The period is .
Energy moves between two forms
In an ideal oscillator, the total mechanical energy is constant:
Spring potential energy is greatest at the turning points, where speed is zero. Kinetic energy is greatest at equilibrium, where the speed magnitude is .
Damping, driving, spring mass, friction, and a nonlinear restoring force change this ideal model.
Related question
Apply this knowledge
Use the concept guide to understand the reasoning, then return to the complete question and worked answer.
What Is Simple Harmonic Motion? Derive x(t), v(t), and a(t)Sources
These references support the core concepts and interpretation boundaries explained above.