# .

In mechanics and physics, simple harmonic motion is a type of periodic motion where the restoring force is directly proportional to the displacement. It can serve as a mathematical model of a variety of motions, such as the oscillation of a spring. In addition, other phenomena can be approximated by simple harmonic motion, including the motion of a simple pendulum as well as molecular vibration. Simple harmonic motion is typified by the motion of a mass on a spring when it is subject to the linear elastic restoring force given by Hooke's Law. The motion is sinusoidal in time and demonstrates a single resonant frequency.

Simple harmonic motion provides a basis for the characterization of more complicated motions through the techniques of Fourier analysis.

Introduction
Simple harmonic motion shown both in real space and phase space. The orbit is periodic. (Here the velocity and position axes have been reversed from the standard convention in order to align the two diagrams)

A simple harmonic oscillator is attached to the spring, and the other end of the spring is connected to a rigid support such as a wall. If the system is left at rest at the equilibrium position then there is no net force acting on the mass. However, if the mass is displaced from the equilibrium position, a restoring elastic force which obeys Hooke's law is exerted by the spring.

Mathematically, the restoring force F is given by

$$\mathbf{F}=-k\mathbf{x},$$

where F is the restoring elastic force exerted by the spring (in SI units: N), k is the spring constant (N·m−1), and x is the displacement from the equilibrium position (in m).

For any simple harmonic oscillator:

When the system is displaced from its equilibrium position, a restoring force which resembles Hooke's law tends to restore the system to equilibrium.

Once the mass is displaced from its equilibrium position, it experiences a net restoring force. As a result, it accelerates and starts going back to the equilibrium position. When the mass moves closer to the equilibrium position, the restoring force decreases. At the equilibrium position, the net restoring force vanishes. However, at x = 0, the mass has momentum because of the impulse that the restoring force has imparted. Therefore, the mass continues past the equilibrium position, compressing the spring. A net restoring force then tends to slow it down, until its velocity vanishes, whereby it will attempt to reach equilibrium position again.

As long as the system has no energy loss, the mass will continue to oscillate. Thus, simple harmonic motion is a type of periodic motion.
Dynamics of simple harmonic motion

For one-dimensional simple harmonic motion, the equation of motion, which is a second-order linear ordinary differential equation with constant coefficients, could be obtained by means of Newton's second law and Hooke's law.

$$F_{net} = m\frac{\mathrm{d}^2 x}{\mathrm{d}t^2} = -kx,$$

where m is the inertial mass of the oscillating body, x is its displacement from the equilibrium (or mean) position, and k is the spring constant.

Therefore,

$$\frac{\mathrm{d}^2 x}{\mathrm{d}t^2} = -\left(\frac{k}{m}\right)x,$$

Solving the differential equation above, a solution which is a sinusoidal function is obtained.

$$x(t) = c_1\cos\left(\omega t\right) + c_2\sin\left(\omega t\right) = A\cos\left(\omega t - \varphi\right),$$

where

$$\omega = \sqrt{\frac{k}{m}},$$
$$A = \sqrt{{c_1}^2 + {c_2}^2},$$
$$\tan \varphi = \left(\frac{c_2}{c_1}\right),$$

In the solution, c1 and c2 are two constants determined by the initial conditions, and the origin is set to be the equilibrium position.[A] Each of these constants carries a physical meaning of the motion: A is the amplitude (maximum displacement from the equilibrium position), ω = 2πf is the angular frequency, and φ is the phase.[B]

F (black), velocity (green), and acceleration (red) of a harmonic oscillator Using the techniques of differential calculus, the velocity and acceleration as a function of time can be found:

$$v(t) = \frac{\mathrm{d} x}{\mathrm{d} t} = - A\omega \sin(\omega t-\varphi),$$
$$a(t) = \frac{\mathrm{d}^2 x}{\mathrm{d}t^2} = - A \omega^2 \cos( \omega t-\varphi).$$

F, velocity and acceleration of a SHM as phasors Acceleration can also be expressed as a function of displacement:

$$a(x) = -\omega^2 x.\!$$

Then since ω = 2πf,

$$f = \frac{1}{2\pi}\sqrt{\frac{k}{m}},$$

and since T = 1/f where T is the time period,

$$T = 2\pi \sqrt{\frac{m}{k}}.$$

These equations demonstrate that the simple harmonic motion is isochronous (the period and frequency are independent of the amplitude and the initial phase of the motion).
Energy of simple harmonic motion

The kinetic energy K of the system at time t is

$$K(t) = \frac{1}{2} mv^2(t) = \frac{1}{2}m\omega^2A^2\sin^2(\omega t - \varphi) = \frac{1}{2}kA^2 \sin^2(\omega t - \varphi),$$

and the potential energy is

$$U(t) = \frac{1}{2} k x^2(t) = \frac{1}{2} k A^2 \cos^2(\omega t - \varphi).$$

The total mechanical energy of the system therefore has the constant value

$$E = K + U = \frac{1}{2} k A^2.$$

Examples
An undamped spring–mass system undergoes simple harmonic motion.

The following physical systems are some examples of simple harmonic oscillator.
Mass on a spring

A mass m attached to a spring of spring constant k exhibits simple harmonic motion in space. The equation

$$T= 2 \pi{\sqrt{\frac{m}{k}}}$$

shows that the period of oscillation is independent of both the amplitude and gravitational acceleration
Uniform circular motion

Simple harmonic motion can in some cases be considered to be the one-dimensional projection of uniform circular motion. If an object moves with angular velocity ω around a circle of radius r centered at the origin of the x-y plane, then its motion along each coordinate is simple harmonic motion with amplitude r and angular frequency ω.
Mass on a simple pendulum
The motion of an undamped Pendulum approximates to simple harmonic motion if the amplitude is very small relative to the length of the rod.

In the small-angle approximation, the motion of a simple pendulum is approximated by simple harmonic motion. The period of a mass attached to a pendulum of length ℓ with gravitational acceleration g is given by

$$T = 2 \pi \sqrt{\frac{\ell}{g}}$$

This shows that the period of oscillation is independent of the amplitude and mass of the pendulum but not the acceleration due to gravity (g), therefore a pendulum of the same length on the Moon would swing more slowly due to the Moon's lower gravitational acceleration.

This approximation is accurate only in small angles because of the expression for angular acceleration α being proportional to the sine of position:

$$m g \ell \sin(\theta)=I \alpha,$$

where I is the moment of inertia. When θ is small, sin θ ≈ θ and therefore the expression becomes

$$-m g \ell \theta=I \alpha$$

which makes angular acceleration directly proportional to θ, satisfying the definition of simple harmonic motion.

Isochronous
Uniform circular motion
Complex harmonic motion
Damping
Harmonic oscillator
Pendulum (mathematics)
Circle group

Notes

^ The choice of using a cosine in this equation is arbitrary. Other valid formulations are:

$$x(t) = A\sin\left(\omega t +\varphi'\right),$$

where

$$\tan \varphi' = \left(\frac{c_1}{c_2}\right),$$

since cosθ = sin(θ + π/2).
^ The maximum displacement (that is, the amplitude), xmax, occurs when cos(ωt + φ) = 1, and thus when xmax = A.

References

Walker, Jearl (2011). Principles of physics (9th ed.). Hoboken, N.J. : Wiley. ISBN 0-470-56158-0.
Thornton, Stephen T.; Marion, Jerry B. (2003). Classical Dynamics of Particles and Systems (5th ed.). Brooks Cole. ISBN 0-534-40896-6.
John R Taylor (2005). Classical Mechanics. University Science Books. ISBN 1-891389-22-X.
Grant R. Fowles, George L. Cassiday (2005). Analytical mechanics (7th ed.). Thomson Brooks/Cole. ISBN 0-534-49492-7.