Sub topic 2
What makes motion simple harmonic: the restoring force F = -kx
Prerequisites
This chapter assumes you know Newton's second law and how to draw a free-body diagram. It also assumes you can work with radians, and you know that acceleration is the rate of change of velocity. The previous chapter defined period, frequency and angular frequency. Here we ask what kind of force produces motion that repeats in a particular, very regular way.
From periodic motion to simple harmonic motion
Periodic motion repeats after a fixed time. Oscillatory motion is periodic motion that moves back and forth about a fixed point. A ball bouncing on a floor is periodic, but it is not smooth back-and-forth motion about a centre. A planet in orbit is periodic, but it does not oscillate along a line.
Simple harmonic motion (SHM) is a special kind of oscillation. The object moves along a line about an equilibrium position, and the force on it follows one exact rule. The motion is described by a single sine or cosine function of time. Many real oscillations, such as a mass on a spring, a pendulum swinging through a small angle, and atoms vibrating in a molecule, behave like SHM when the displacement is small.
NEET asks two kinds of questions here. Some ask you to decide whether a given motion is SHM. Others ask you to compute a quantity once you know it is SHM. This chapter covers the first kind. It also gives you the starting equation for the second kind.
The equilibrium position and the restoring force
The equilibrium position is the point where the net force on the object is zero. If you leave the object there at rest, it stays there. We measure the displacement x from this point, so x = 0 at equilibrium. Displacement has a sign. On a horizontal line, x > 0 means right of equilibrium and x < 0 means left.
A restoring force is a force that always points toward the equilibrium position. If the object is displaced to the right, the force points left. If it is displaced to the left, the force points right. The restoring force is what makes the object turn around and come back. Without it, the object would simply keep moving away.
The SHM condition: F = -kx
Motion is simple harmonic when the net force on the object satisfies
F = -kx
where:
- F is the net restoring force, in newtons.
- x is the displacement from equilibrium, in metres.
- k is a positive constant, in newtons per metre. It is called the force constant. For a spring it is the spring constant.
- The minus sign says the force is opposite to the displacement.
This statement contains two separate requirements, and each one can fail on its own.
- Linear: The magnitude of the force is proportional to the displacement. Doubling x doubles F.
- Restoring: The force is directed toward equilibrium, which is what the minus sign expresses.
Using F = ma, we can rewrite the condition in terms of acceleration:
a = -(k/m) x
The acceleration is proportional to the displacement and opposite in direction. Many textbooks write the definition this way: a = -ω²x, where ω² = k/m. This is the more general test, because it applies even when no spring is involved. Any motion where acceleration equals a negative constant times displacement is SHM. The constant is ω², and it fixes the angular frequency.
Why the equation gives oscillation
Think of what the equation says as the object moves.
- At the right extreme, x is large and positive, so the force is large and points left. The object is pulled back and starts moving left.
- As the object moves toward equilibrium, x shrinks, so the force shrinks. The force is zero at x = 0.
- At x = 0 the object is moving at its fastest. It does not stop, because it has momentum. It passes through and goes to negative x.
- On the left side, the force now points right and grows with |x|. The object slows, stops at the left extreme and turns around.
The restoring force always drags the object back, but the object overshoots because of its inertia. The result is repeated back-and-forth motion. The proportionality between force and displacement is what makes the period independent of how far the object swings, which is a special property of SHM that later chapters use.
The following diagram shows how force, acceleration and velocity relate at the key positions.
A worked example: a block on a spring
A block of mass m is attached to a horizontal spring on a frictionless surface. The other end of the spring is fixed to a wall. At the natural length of the spring, the block is in equilibrium. Pull the block a distance x to the right.
By Hooke's law, the spring pulls the block back with a force of magnitude kx directed left. Taking right as positive:
F = -kx
The vertical forces, weight and the normal force, cancel and do not affect the horizontal motion. So this system satisfies the SHM condition. The same is true when x is negative, because the spring is compressed and pushes the block right.
Now compute the acceleration. Take k = 200 N/m, m = 0.5 kg and x = 0.1 m.
a = -(k/m)x = -(200 / 0.5)(0.1) = -40 m/s²
The acceleration is 40 m/s², directed toward equilibrium. The following code checks the numbers and shows how the acceleration changes with displacement.
k = 200.0 # N/m
m = 0.5 # kg
for x in [0.1, 0.05, 0.0, -0.05, -0.1]:
F = -k * x
a = F / m
print(f"x = {x:6.2f} m F = {F:7.2f} N a = {a:7.2f} m/s^2")The output has force and acceleration that flip sign with x and are zero at x = 0.
A vertical spring: what changes and what does not
Suppose the block hangs from a vertical spring. Now gravity acts too. At equilibrium the spring is already stretched by a length e, where ke = mg. Let x be the displacement from this new equilibrium, positive downward.
When the block is at displacement x, the spring is stretched by e + x. The net downward force is
F = mg - k(e + x) = mg - ke - kx = -kx
since mg = ke. The gravity term cancels with the extra stretch, and the motion is SHM about the new equilibrium with the same k. This is a very common NEET point. Gravity shifts the equilibrium position but does not change the force constant or the form of the equation.
Testing whether a motion is SHM
When a question asks whether a motion is SHM, follow a routine.
- Find the equilibrium position, where the net force is zero.
- Displace the object by a small x from equilibrium and write the net force along the line of motion.
- Check whether the net force equals a negative constant times x.
- If yes, the object is in SHM. Read k from the coefficient of x. Then ω = √(k/m) and the period is T = 2π√(m/k).
The same approach works for non-spring systems. For example, an object dropped through a tunnel through the centre of a uniform Earth feels a force proportional to its distance from the centre, F = -(GMm/R³) r. That has the form -kx with k = GMm/R³, so it is SHM. A liquid in a U-tube, a cork bobbing in water, and a pendulum at small angles can be treated the same way. You will meet several of these later in the tutorial.
Examples that are not SHM
A useful skill is spotting what fails the test.
| Motion | Why it fails |
|---|---|
| Ball bouncing elastically on a floor | The force is gravity, constant in size, and it is not proportional to displacement. The motion is periodic but not SHM. |
| Uniform circular motion | The motion is periodic, but the force is centripetal and has constant magnitude. Its projection on a diameter is SHM, but the circular motion itself is not. |
| Force F = -kx³ | The force is restoring but not linear, so the motion is oscillatory but not SHM. |
| Force F = +kx | The force points away from equilibrium. The object accelerates outward and does not oscillate. |
| Pendulum with large angle | The restoring force is proportional to sin θ, not θ, so the motion is not exactly SHM. |
| Particle in a damped system | The amplitude shrinks with time, so the motion is not exactly SHM. |
A bouncing ball and a large-angle pendulum are periodic and oscillatory, but are not SHM. All SHM is periodic and oscillatory, but the reverse is false. NEET questions often test this statement directly.
Properties that follow from the definition
Once you know a motion is SHM, you can state several things without further calculation.
- Acceleration is zero at equilibrium and maximum at the extremes, where |x| = A.
- Speed is maximum at equilibrium and zero at the extremes.
- The acceleration always points toward equilibrium. It is not constant, so the equations of uniform acceleration (v = u + at and the like) do not apply to SHM.
- The period does not depend on amplitude. It depends only on m and k through T = 2π√(m/k). This property is called isochronism.
- The graph of acceleration against displacement is a straight line through the origin with negative slope. The slope is -ω².
These facts are built up in the next chapters. For now it is enough to see that they all come from the single condition F = -kx.
Checking the linear condition numerically
You can test whether a force law is SHM by fitting force against displacement. If the data fall on a straight line through the origin with negative slope, the motion is SHM and the slope is -k. The code below does this with a least-squares fit on made-up data and prints the fitted k.
# Fit F = -k x through the origin by least squares
xs = [-0.10, -0.05, 0.02, 0.06, 0.10] # m
Fs = [20.1, 9.9, -4.0, -12.1, -19.9] # N
k = -sum(x * F for x, F in zip(xs, Fs)) / sum(x * x for x in xs)
print(round(k, 1)) # about 200 N/mFor a fit through the origin, the slope is the sum of x·F divided by the sum of x². The force constant is the negative of that slope. A good fit means the data support the SHM model. A poor fit, for example when the data curve upward at large |x|, signals a non-linear restoring force.
Common mistakes
- Treating any back-and-forth motion as SHM. Check that the force is linear in x and restoring.
- Measuring x from the wrong point. Always measure from the equilibrium, including for vertical springs.
- Forgetting the minus sign. Without it, the force pushes the object away from equilibrium and there is no oscillation.
- Confusing k with ω. k has units of N/m and ω has units of rad/s. They are related by ω² = k/m.
- Using constant-acceleration formulas. They do not hold for SHM.
- Assuming the period depends on amplitude. In SHM it does not. For a real pendulum this holds only approximately, and only for small angles.
Summary of the key ideas
The definition of SHM is the force law F = -kx, equivalent to a = -ω²x with ω² = k/m. The minus sign makes the force restoring, and the linear dependence makes the period independent of amplitude. Any system that obeys this law is SHM, whether or not it contains a spring. The next chapter solves the equation of motion and gives the sine form x = A sin(ωt + φ).
Exercise
A 0.2 kg block hangs from a vertical spring with k = 50 N/m. It is pulled 4 cm below its equilibrium position and released. (a) Is the motion SHM? Give the reason. (b) What is the magnitude of the acceleration at the instant of release? (c) What is the direction of the acceleration at that instant? Take g = 10 m/s².
Show answer
(a) Yes. Measured from the equilibrium position, the net force is F = -kx, because the extra spring stretch cancels the weight. (b) a = (k/m)x = (50 / 0.2)(0.04) = 10 m/s². Gravity does not appear because x is measured from equilibrium. (c) The acceleration points upward, toward equilibrium, because the block is below it.
Exercise
A particle experiences a force F = -5x + 2x³ (in newtons, with x in metres). Is its motion SHM for large displacements? Is it approximately SHM for very small displacements? Give the approximate force constant in the second case.
Show answer
For large x, the x³ term is not negligible, so the force is not proportional to x and the motion is not SHM. For very small x, x³ is much smaller than x, so F ≈ -5x. The motion is approximately SHM with k ≈ 5 N/m.