Many natural systems, such as a swinging pendulum or the vibrating strings of a guitar, show simple harmonic motion (SHM), a form of repeating or oscillatory motion. We may better understand how and why things move back and forth in such a regular manner when we understand the force law original SHM.

What is Simple Harmonic Motion (SHM)?
A unique type of motion known as simple harmonic motion occurs when an item oscillates around a fixed point known as the mean position.
Force Law for Simple Harmonic Motion (SHM)
• The object’s acceleration is directly proportionate to its displacement but acts in the opposite direction; the motion repeats itself after a predetermined amount of time.
This final element is vital and forms the basis of SHM’s force law.
Simple Harmonic Motion is the motion executed by a particle subjected to a force that is proportionate to the displacement of the particle but opposite in sign.

Force Law
The force law for SHM is based on Newton’s Second Law of Motion, which says: F = ma
The acceleration of the particle in SHM is proportional to the displacement from the mean position and is directed towards that position.
So, if we let:
x = displacement from the mean position,
a = acceleration,
m = mass of the object,
k = a constant related to the stiffness of the system (like the spring constant),
Then, in SHM: a = −ω2x
Here, ω (omega) is the angular frequency of the motion.
Substituting this into Newton’s second law:
F = ma = m(−ω2x) = −mω2x
This equation shows the force law of SHM:
F = −kx
Where k = mω2
Features of the Force Law
• Restoring Force: A restoring force is the force F = −kx. Its constant goal is to return the object to its mean, or equilibrium, position.
• Negative Sign: When the force acts in the opposite direction of the displacement, the sign is negative. The force pulls the object to the left if it moves to the right of the mean position, and vice versa.
• Proportionality: The force and displacement have a direct relationship. This is what makes SHM unique.
Examples of SHM
1.Spring-Mass System: The SHM force law has the same form as Hooke’s law, which states that a block coupled to a spring obeys F = −kx. Thus, a famous example of SHM is a spring-mass system.
2. Simple Pendulum (for small angles): This motion is actually circular, but it approximates SHM well since the restoring force is proportionate to the displacement for small angles.
Graphical Understanding
A straight line with a negative slope will appear on the force vs. displacement F vs. x graph. This demonstrates a linear relationship in which displacement increases cause the force to grow in the opposite direction.
Summary
The foundation for understanding oscillatory motion is the force law for SHM, F = −kx. It indicates that the force pulling an object back increases with the amount of push or pull it receives from its rest position.
The force’s “restoring” quality produces a consistent back-and-forth motion, which makes SHM so striking. We can estimate the motion of springs, pendulums, and several other systems that behave harmonically.

The force law for SHM is given by: F = −kx
Where:
F is the restoring force,
x is the displacement from the mean position,
k is a constant (spring constant or equivalent),
The negative sign indicates that the force acts in the opposite direction of displacement.