In
mechanics
Mechanics (from Ancient Greek: μηχανική, ''mēkhanikḗ'', "of machines") is the area of mathematics and physics concerned with the relationships between force, matter, and motion among physical objects. Forces applied to objects ...
and
physics
Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which rel ...
, simple harmonic motion (sometimes abbreviated ) is a special type of
periodic motion of a body resulting from a dynamic equilibrium between an inertial force, proportional to the acceleration of the body away from the static equilibrium position and a
restoring force on the moving object that is directly
proportional
Proportionality, proportion or proportional may refer to:
Mathematics
* Proportionality (mathematics), the property of two variables being in a multiplicative relation to a constant
* Ratio, of one quantity to another, especially of a part compare ...
to the magnitude of the object's displacement and acts towards the object's equilibrium position. It results in an
oscillation
Oscillation is the repetitive or Periodic function, periodic variation, typically in time, of some measure about a central value (often a point of Mechanical equilibrium, equilibrium) or between two or more different states. Familiar examples o ...
, described by a sinusoid which continues indefinitely, if uninhibited by
friction
Friction is the force resisting the relative motion of solid surfaces, fluid layers, and material elements sliding (motion), sliding against each other. There are several types of friction:
*Dry friction is a force that opposes the relative la ...
or any other
dissipation
In thermodynamics, dissipation is the result of an irreversible process that takes place in homogeneous thermodynamic systems. In a dissipative process, energy (internal, bulk flow kinetic, or system potential) transforms from an initial form ...
of
energy
In physics, energy (from Ancient Greek: ἐνέργεια, ''enérgeia'', “activity”) is the quantitative property that is transferred to a body or to a physical system, recognizable in the performance of work and in the form of hea ...
.
Simple harmonic motion can serve as a
mathematical model
A mathematical model is a description of a system using mathematical concepts and language. The process of developing a mathematical model is termed mathematical modeling. Mathematical models are used in the natural sciences (such as physics, ...
for a variety of motions, but is typified by the oscillation of a
mass
Mass is an intrinsic property of a body. It was traditionally believed to be related to the quantity of matter in a physical body, until the discovery of the atom and particle physics. It was found that different atoms and different element ...
on a
spring when it is subject to the linear
elastic restoring force given by
Hooke's law
In physics, Hooke's law is an empirical law which states that the force () needed to extend or compress a spring by some distance () scales linearly with respect to that distance—that is, where is a constant factor characteristic of ...
. The motion is
sinusoidal
A sine wave, sinusoidal wave, or just sinusoid is a mathematical curve defined in terms of the '' sine'' trigonometric function, of which it is the graph. It is a type of continuous wave and also a smooth periodic function. It occurs often in ...
in time and demonstrates a single
resonant frequency. Other phenomena can be modeled by simple harmonic motion, including the motion of a
simple pendulum, although for it to be an accurate model, the
net force Net Force may refer to:
* Net force, the overall force acting on an object
* ''NetForce'' (film), a 1999 American television film
* Tom Clancy's Net Force, a novel series
* Tom Clancy's Net Force Explorers, a young adult novel series
{{disam ...
on the object at the end of the pendulum must be proportional to the displacement (and even so, it is only a good approximation when the angle of the swing is small; see
small-angle approximation
The small-angle approximations can be used to approximate the values of the main trigonometric functions, provided that the angle in question is small and is measured in radians:
:
\begin
\sin \theta &\approx \theta \\
\cos \theta &\approx 1 - \ ...
). Simple harmonic motion can also be used to model
molecular vibration
A molecular vibration is a periodic motion of the atoms of a molecule relative to each other, such that the center of mass of the molecule remains unchanged. The typical vibrational frequencies range from less than 1013 Hz to approximately 1014 ...
.
Simple harmonic motion provides a basis for the characterization of more complicated periodic motion through the techniques of
Fourier analysis.
Introduction
The motion of a
particle
In the physical sciences, a particle (or corpuscule in older texts) is a small localized object which can be described by several physical or chemical properties, such as volume, density, or mass.
They vary greatly in size or quantity, fro ...
moving along a straight line with an
acceleration
In mechanics, acceleration is the rate of change of the velocity of an object with respect to time. Accelerations are vector quantities (in that they have magnitude and direction). The orientation of an object's acceleration is given by ...
whose direction is always towards a
fixed point on the line and whose magnitude is proportional to the distance from the fixed point is called simple harmonic motion.

In the diagram, a
simple harmonic oscillator, consisting of a weight attached to one end of a spring, is shown. 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
In physics, a force is an influence that can change the motion of an object. A force can cause an object with mass to change its velocity (e.g. moving from a state of rest), i.e., to accelerate. Force can also be described intuitively as a ...
acting on the mass. However, if the mass is displaced from the equilibrium position, the spring
exerts a restoring
elastic force that obeys
Hooke's law
In physics, Hooke's law is an empirical law which states that the force () needed to extend or compress a spring by some distance () scales linearly with respect to that distance—that is, where is a constant factor characteristic of ...
.
Mathematically, the restoring force is given by
where is the restoring elastic force exerted by the spring (in
SI units:
N), is the
spring constant (
N·m
−1), and is the
displacement from the equilibrium position (m).
For any simple mechanical harmonic oscillator:
*When the system is displaced from its equilibrium position, a restoring force that obeys 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 , the mass has
momentum
In Newtonian mechanics, momentum (more specifically linear momentum or translational momentum) is the product of the mass and velocity of an object. It is a vector quantity, possessing a magnitude and a direction. If is an object's mass ...
because of the acceleration that the restoring force has imparted. Therefore, the mass continues past the equilibrium position, compressing the spring. A net restoring force then slows it down until its
velocity
Velocity is the directional speed of an object in motion as an indication of its rate of change in position as observed from a particular frame of reference and as measured by a particular standard of time (e.g. northbound). Velocity i ...
reaches zero, whereupon it is accelerated back to the equilibrium position again.
As long as the system has no
energy
In physics, energy (from Ancient Greek: ἐνέργεια, ''enérgeia'', “activity”) is the quantitative property that is transferred to a body or to a physical system, recognizable in the performance of work and in the form of hea ...
loss, the mass continues to oscillate. Thus simple harmonic motion is a type of
periodic motion. If energy is lost in the system, then the mass exhibits
damped oscillation.
Note if the real space and
phase space
In dynamical system theory, a phase space is a space in which all possible states of a system are represented, with each possible state corresponding to one unique point in the phase space. For mechanical systems, the phase space usual ...
plot are not co-linear, the phase space motion becomes elliptical. The area enclosed depends on the amplitude and the maximum momentum.
Dynamics
In
Newtonian mechanics
Newton's laws of motion are three basic Scientific law, laws of classical mechanics that describe the relationship between the motion of an object and the forces acting on it. These laws can be paraphrased as follows:
# A body remains at re ...
, for one-dimensional simple harmonic motion, the equation of motion, which is a second-order linear
ordinary differential equation
In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contras ...
with constant coefficients, can be obtained by means of
Newton's 2nd law and
Hooke's law
In physics, Hooke's law is an empirical law which states that the force () needed to extend or compress a spring by some distance () scales linearly with respect to that distance—that is, where is a constant factor characteristic of ...
for a
mass
Mass is an intrinsic property of a body. It was traditionally believed to be related to the quantity of matter in a physical body, until the discovery of the atom and particle physics. It was found that different atoms and different element ...
on a
spring.
where is the
inertial mass
Mass is an intrinsic property of a body. It was traditionally believed to be related to the quantity of matter in a physical body, until the discovery of the atom and particle physics. It was found that different atoms and different element ...
of the oscillating body, is its
displacement from the
equilibrium (or mean) position, and is a constant (the
spring constant for a mass on a spring).
Therefore,
Solving the
differential equation
In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, a ...
above produces a solution that is a
sinusoidal function
A sine wave, sinusoidal wave, or just sinusoid is a mathematical curve defined in terms of the ''sine'' trigonometric function, of which it is the graph. It is a type of continuous wave and also a smooth periodic function. It occurs often in mat ...
:
where
The meaning of the constants
and
can be easily found: setting
on the equation above we see that
, so that
is the initial position of the particle,
; taking the derivative of that equation and evaluating at zero we get that
, so that
is the initial speed of the particle divided by the angular frequency,
. Thus we can write:
This equation can also be written in the form:
where
*
*
*
or equivalently
*
*
In the solution, and are two constants determined by the initial conditions (specifically, the initial position at time is , while the initial velocity is ), and the origin is set to be the equilibrium position. Each of these constants carries a physical meaning of the motion: is the
amplitude
The amplitude of a periodic variable is a measure of its change in a single period (such as time or spatial period). The amplitude of a non-periodic signal is its magnitude compared with a reference value. There are various definitions of a ...
(maximum displacement from the equilibrium position), is the
angular frequency
In physics, angular frequency "''ω''" (also referred to by the terms angular speed, circular frequency, orbital frequency, radian frequency, and pulsatance) is a scalar measure of rotation rate. It refers to the angular displacement per unit ti ...
, and is the initial
phase.
Using the techniques of
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizati ...
, the
velocity
Velocity is the directional speed of an object in motion as an indication of its rate of change in position as observed from a particular frame of reference and as measured by a particular standard of time (e.g. northbound). Velocity i ...
and
acceleration
In mechanics, acceleration is the rate of change of the velocity of an object with respect to time. Accelerations are vector quantities (in that they have magnitude and direction). The orientation of an object's acceleration is given by ...
as a function of time can be found:
*Speed:
*Maximum speed: (at equilibrium point)
*Maximum acceleration: (at extreme points)
By definition, if a mass is under SHM its acceleration is directly proportional to displacement.
where
Since ,
and, since where is the time period,
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
Substituting with , the
kinetic energy
In physics, the kinetic energy of an object is the energy that it possesses due to its motion.
It is defined as the work needed to accelerate a body of a given mass from rest to its stated velocity. Having gained this energy during its a ...
of the system at time is
and the
potential energy
In physics, potential energy is the energy held by an object because of its position relative to other objects, stresses within itself, its electric charge, or other factors.
Common types of potential energy include the gravitational potentia ...
is
In the absence of friction and other energy loss, the total
mechanical energy
In physical sciences, mechanical energy is the sum of potential energy and kinetic energy. The principle of conservation of mechanical energy states that if an isolated system is subject only to conservative forces, then the mechanical energy is ...
has a constant value
Examples
The following physical systems are some examples of
simple harmonic oscillator.
Mass on a spring
A mass attached to a spring of spring constant exhibits simple harmonic motion in
closed space
In mathematics, a closed manifold is a manifold without boundary that is compact.
In comparison, an open manifold is a manifold without boundary that has only ''non-compact'' components.
Examples
The only connected one-dimensional example is ...
. The equation for describing the period
shows the period of oscillation is independent of the amplitude, though in practice the amplitude should be small. The above equation is also valid in the case when an additional constant force is being applied on the mass, i.e. the additional constant force cannot change the period of oscillation.
Uniform circular motion
Simple harmonic motion can be considered the one-dimensional
projection of
uniform circular motion. If an object moves with angular speed around a circle of radius centered at the
origin
Origin(s) or The Origin may refer to:
Arts, entertainment, and media
Comics and manga
* ''Origin'' (comics), a Wolverine comic book mini-series published by Marvel Comics in 2002
* ''The Origin'' (Buffy comic), a 1999 ''Buffy the Vampire Sl ...
of the -plane, then its motion along each coordinate is simple harmonic motion with amplitude and angular frequency .
Oscillatory Motion
It is the motion of a body when it moves to and fro about a definite point. This type of motion is also called
Oscillatory motion
Oscillation is the repetitive or periodic variation, typically in time, of some measure about a central value (often a point of equilibrium) or between two or more different states. Familiar examples of oscillation include a swinging pendulum ...
or vibratory motion. The time period is able to be calculated by
where l is the distance from rotation to centre of mass of object undergoing SHM and g being gravitational field constant. This is analogous to the mass-spring system.
Mass of a simple pendulum

In the
small-angle approximation
The small-angle approximations can be used to approximate the values of the main trigonometric functions, provided that the angle in question is small and is measured in radians:
:
\begin
\sin \theta &\approx \theta \\
\cos \theta &\approx 1 - \ ...
, 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
is given by
This shows that the period of oscillation is independent of the amplitude and mass of the pendulum but not of the acceleration due to gravity,
, therefore a pendulum of the same length on the Moon would swing more slowly due to the Moon's lower gravitational field strength. Because the value of
varies slightly over the surface of the earth, the time period will vary slightly from place to place and will also vary with height above sea level.
This approximation is accurate only for small angles because of the expression for
angular acceleration being proportional to the sine of the displacement angle:
where is the
moment of inertia
The moment of inertia, otherwise known as the mass moment of inertia, angular mass, second moment of mass, or most accurately, rotational inertia, of a rigid body is a quantity that determines the torque needed for a desired angular accele ...
. When is small, and therefore the expression becomes
which makes angular acceleration directly proportional and opposite to , satisfying the definition of simple harmonic motion (that net force is directly proportional to the displacement from the mean position and is directed towards the mean position).
Scotch yoke
A Scotch yoke mechanism can be used to convert between rotational motion and linear reciprocating motion. The linear motion can take various forms depending on the shape of the slot, but the basic yoke with a constant rotation speed produces a linear motion that is simple harmonic in form.
See also
Notes
References
*
*
*
*
External links
Simple Harmonic Motionfrom
HyperPhysics
''HyperPhysics'' is an educational website about physics topics.
The information architecture of the website is based on HyperCard, the platform on which the material was originally developed, and a thesaurus organization, with thousands of contr ...
Java simulation of spring-mass oscillatorGeogebra applet for spring-mass, with 3 attached PDFs on SHM, driven/damped oscillators, spring-mass with friction
{{DEFAULTSORT:Simple Harmonic Motion
Classical mechanics
Pendulums