Skip to content
Tutorials Center
My learning

Topics

Lesson 5 of 38 ยท Oscillations and Simple Harmonic Motion

Restoring Forces and Oscillations

Understand why objects oscillate: a restoring force pulls them back toward equilibrium. Explore Hooke's law, equilibrium and what makes motion repeat.

Pull a guitar string and let go: it vibrates. Push a swing: it goes back and forth. Stretch a spring and release it: it bounces. All of these are oscillations, and they share one cause. Something pulls or pushes the object back toward its resting position. This lesson explains that cause, the restoring force, and why it makes motion repeat.

Equilibrium

The equilibrium position is where an object sits when the net force on it is zero. A mass hanging motionless on a spring is at equilibrium: the spring's upward force balances its weight. A ball resting at the bottom of a bowl is at equilibrium too.

Move the object away from equilibrium and something changes: the forces no longer balance.

The restoring force

A restoring force is a force that always points toward equilibrium, opposing the displacement. If you move right, it pushes left. If you move left, it pushes right.

Examples:

  • A stretched spring pulls back; a compressed spring pushes out.
  • Gravity pulls a pendulum bob back toward the lowest point of its swing.
  • A bent ruler springs back straight.

Because the force points back toward the centre, an object released from rest speeds up as it heads to equilibrium, overshoots (it has speed when it gets there), then slows as the force now opposes its motion, stops, and is pushed back again. That cycle is an oscillation.

flowchart LR
    A["Displaced right<br/>force points left"] --> B["Accelerates to centre"]
    B --> C["Overshoots centre with speed"]
    C --> D["Displaced left<br/>force points right"]
    D --> A

The restoring force keeps turning the object around, so the motion repeats.

Hooke's law

For many springs, the restoring force is proportional to the displacement:

Text
F = โˆ’k x
  • x is the displacement from equilibrium (m).
  • k is the spring constant (N/m): a stiffer spring has a larger k.
  • The minus sign says the force is opposite to the displacement.

This is Hooke's law. It works while the spring is not stretched too far (below its elastic limit).

Worked example

A spring has k = 200 N/m. How large is the restoring force when it is stretched by 5.0 cm?

Convert first: x = 0.050 m. Then |F| = kx = 200 ร— 0.050 = 10 N, pointing back toward equilibrium.

Python Hooke's law: force against stretch

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The graph slopes downward: positive displacement gives negative (opposite) force. The slope equals โˆ’k.

Why a restoring force gives an oscillation

Two ingredients are needed:

  1. A restoring force that pulls the object back to equilibrium.
  2. Inertia (mass), which makes the object keep moving when it reaches equilibrium instead of stopping there.

Without a restoring force there is nothing to bring the object back. Without inertia it would just sit at the centre. Together they give the repeating overshoot.

Not every oscillation is simple

If the restoring force is exactly proportional to displacement, F = โˆ’kx, the motion is simple harmonic motion (SHM), the cleanest kind, with a sine-shaped graph. You will derive its equations in the next lesson. Real systems are often only approximately simple harmonic, usually for small displacements. A pendulum, for example, obeys SHM well only for small swings.

Simulating the idea

The program below uses the restoring force to move a mass step by step. This is a simulation, using a very small time step so the answer is close to the true motion. At each step it calculates the force, then the acceleration (a = F/m), then updates velocity and position.

Python A mass on a spring, step by step

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Even though the code never uses a sine function, a sine-like oscillation appears. The restoring force alone creates it.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the direction of a restoring force?

    A restoring force always points back toward the equilibrium position, opposing the displacement.
  2. 2. A spring with k = 400 N/m is compressed by 3.0 cm. What is the size of the restoring force?

    x = 0.030 m, so F = kx = 400 ร— 0.030 = 12 N.
  3. 3. Why does an oscillating object overshoot equilibrium?

    At the equilibrium point the force is zero but the object still has velocity, so inertia carries it through.
  4. 4. What does the minus sign in F = โˆ’kx mean?

    The minus sign shows that force and displacement have opposite directions.

Summary

  • Equilibrium is where the net force is zero.
  • A restoring force points back toward equilibrium; with inertia it causes repeated motion.
  • Hooke's law: F = โˆ’kx for springs within their elastic limit.
  • A restoring force proportional to displacement gives simple harmonic motion.

Next: Simple Harmonic Motion: The Equations