Sub topic 2
What makes a motion simple harmonic: F = −kx and a = −ω²x
This chapter assumes you can draw a free-body diagram and apply Newton's second law along one axis. It also assumes you know that angular frequency is 2π divided by the period, and that sin θ ≈ θ for small θ in radians. You don't need to solve any differential equation yet. The next chapter does that.
The defining condition
A motion is simple harmonic (SHM) when the net force on the body along its line of motion has two properties:
- It is directed toward a fixed equilibrium point. This makes it a restoring force.
- Its magnitude is proportional to the displacement from that point.
In one dimension, with x measured from equilibrium:
F = −kx
Here k is a positive constant, the force constant. Its unit is N/m. The minus sign says that force and displacement point in opposite directions. Newton's second law then gives F = ma, so:
a = −(k/m) x
Define ω² = k/m. This gives the second form of the definition:
a = −ω²x
This is the working test in most JEE problems. If you can write the acceleration as a positive constant times the displacement, with a minus sign, the motion is SHM, and that constant is ω². The time period follows directly as T = 2π/ω, with no further work.
Why the sign and the proportionality both matter
Each part of the definition rules out a different kind of motion.
- No minus sign. If the force pointed away from equilibrium, as in F = +kx, the body would move away from the point and never come back. The equilibrium would be unstable.
- Restoring but not proportional. Take F = −kx³. The body still oscillates about x = 0, but the period now depends on the amplitude. A larger swing gives a different period. This motion is periodic and oscillatory but not simple harmonic.
- Constant restoring force. A ball bouncing elastically on a floor is periodic. The force on it is a constant mg, not proportional to anything, so it is not SHM.
Note that ω does not depend on the amplitude. In SHM the period is the same for large and small oscillations. This property is called isochronism, and it follows directly from a = −ω²x, because k and m are fixed by the system.
Worked example: reading ω off the force law
A block of mass 0.5 kg is attached to a spring with k = 200 N/m on a frictionless horizontal table.
- Take x = 0 at the natural length. The spring force is F = −200x, which has the SHM form.
- ω² = k/m = 200/0.5 = 400, so ω = 20 rad/s.
- T = 2π/ω = 2π/20 ≈ 0.314 s.
- At x = 0.05 m, a = −ω²x = −400 × 0.05 = −20 m/s². The negative sign means the acceleration points back toward equilibrium.
A common slip is writing ω = k/m instead of √(k/m). Check the units. ω must come out in rad/s, which means s⁻¹, and k/m has units s⁻², so a square root is needed.
Testing a system: the general procedure
You will often meet a system that does not look like a spring. The method is always the same.
- Find the equilibrium position, where the net force is zero.
- Displace the body by a small amount x from that position.
- Write the net force (or net torque) at the displaced position.
- Simplify it into the form −(constant) × x.
- Compare with a = −ω²x to read off ω.
Example: a floating cylinder
A cylinder of mass m and cross-sectional area S floats upright in a liquid of density ρ. At equilibrium its weight equals the buoyant force. Push it down by y. The extra submerged volume is Sy, so the buoyant force rises by ρSgy, directed upward. The weight is unchanged, so:
F_net = −ρSg · y
This is proportional and opposite to the displacement, so the motion is SHM, with k = ρSg. Then ω = √(ρSg/m). The same procedure gives the answer even though no spring is present. The "spring constant" is an effective one, and it can come from buoyancy, gravity, or pressure.
Angular SHM
Rotation about a fixed axis has an exact parallel. A system performs angular SHM when the restoring torque is proportional and opposite to the angular displacement θ:
τ = −Cθ
Here C is the torsional constant. With τ = Iα, where I is the moment of inertia:
α = −(C/I) θ
Compare this with a = −ω²x. It has the same form with ω² = C/I. The mapping is x → θ, a → α, m → I and k → C. Torsional and physical pendulums use this form, and a later chapter covers them.
| Quantity | Linear SHM | Angular SHM |
|---|---|---|
| Displacement | x (m) | θ (rad) |
| Restoring law | F = −kx | τ = −Cθ |
| Inertia | m | I |
| Acceleration form | a = −ω²x | α = −ω²θ |
| ω² | k/m | C/I |
When SHM is only an approximation
Many real restoring forces are linear only for small displacements. The simple pendulum is the standard case. A bob of mass m on a string of length L, displaced through angle θ, has a tangential restoring force of magnitude mg sin θ. Along the arc, with arc length s = Lθ:
F = −mg sin(s/L)
This is not proportional to s. For small θ in radians, sin θ ≈ θ, so F ≈ −(mg/L) s, which is SHM with k_eff = mg/L. The pendulum chapter treats the limits of this approximation. For now the point is that the SHM test can succeed in a limited range of x even when it fails for large x.
The code below checks this numerically. For a true SHM force, the ratio F/x equals −k at every displacement. For the pendulum, the ratio drifts away from −mg/L as x grows.
import math
m, g, L = 0.2, 9.8, 1.0
def spring_force(x, k=50.0):
return -k * x
def pendulum_force(x):
# tangential restoring force; x is the arc length from the lowest point
return -m * g * math.sin(x / L)
print("x, F/x spring, F/x pendulum")
for x in (0.01, 0.05, 0.1, 0.3, 0.6):
print(x, spring_force(x) / x, pendulum_force(x) / x)
print("mg/L =", m * g / L)The spring column stays at −50 for every x. The pendulum column starts almost exactly at −mg/L = −1.96 for small x and shrinks in magnitude as x grows. A constant ratio is the numerical signature of SHM.
Common errors
- Treating "periodic" as "simple harmonic". Every SHM is periodic. Many periodic motions are not SHM. A planet in an elliptical orbit is periodic, and so is a bouncing ball.
- Using degrees. The small-angle approximation and torque relations need θ in radians.
- Confusing ω with the rotation rate of the body. In SHM, ω is a parameter of the oscillation. The body itself need not rotate at all.
- Checking the force at only one position. SHM needs the proportionality to hold across the whole range of motion, not at a single point.
- Forgetting the limits of validity. For the pendulum, say "for small angles" when you claim SHM.
Exercise
A particle of mass 0.2 kg moves along the x-axis under a net force F = −8x + 0.4, where F is in newtons and x is in metres. (a) Find the equilibrium position. (b) Show that the motion is SHM about that position and find ω and T. (c) What is the magnitude of the acceleration when the particle is 0.1 m to the right of equilibrium?
Show answer
(a) Equilibrium is where F = 0, so −8x + 0.4 = 0, which gives x₀ = 0.05 m. (b) Let u = x − x₀. Then F = −8(x − 0.05) = −8u, which is proportional and opposite to u, so the motion is SHM about x₀ with k = 8 N/m. ω = √(k/m) = √(8/0.2) = √40 ≈ 6.32 rad/s, and T = 2π/ω ≈ 0.993 s. (c) a = ω²u = 40 × 0.1 = 4 m/s², directed toward equilibrium, which is the negative direction.
Exercise
A uniform U-tube of cross-section S contains liquid of density ρ and total mass m. The liquid is pushed down by y in one arm, so the level in the other arm rises by y. Use the SHM test to find ω.
Show answer
The level difference between the two arms is 2y, so the unbalanced liquid column has height 2y and the net restoring force is −ρ(2yS)g = −2ρSg · y. This is proportional and opposite to y, so the motion is SHM with k_eff = 2ρSg. The whole mass m of liquid moves together, so ω = √(2ρSg/m).