Sub topic 1
Describing oscillations: period, frequency, amplitude
An oscillation is motion that repeats. A mass bobbing on a spring, a pendulum swinging, a guitar string vibrating and a quartz crystal in a watch all do it. Before deriving why springs and pendulums behave as they do, you need a precise vocabulary. This chapter defines the quantities used for the rest of the tutorial and shows how to convert between them.
Prerequisites
This chapter assumes you are comfortable with:
- Newton's second law, F = ma.
- Basic trigonometry, including measuring angles in radians.
- Kinetic and potential energy.
- Derivatives of sine and cosine.
Only radians and the cosine function are used heavily here. The derivatives and energy appear in later chapters.
What counts as an oscillation
An oscillation is a motion in which a system moves back and forth past a central position and repeats the same pattern over and over. That central position is the equilibrium position. It is the place where the net force on the object is zero, so the object would stay there if you placed it at rest.
We describe where the object is by its displacement x. This is its signed distance from equilibrium along the line of motion. Choose a direction as positive, for example right or up. Then x > 0 on that side of equilibrium and x < 0 on the other. Displacement is measured from equilibrium, not from the start of the motion or from the floor.
Amplitude
The amplitude A is the maximum magnitude of the displacement. It is always positive, and it is measured from equilibrium to an extreme, not from one extreme to the other.
- A mass swinging between x = +3 cm and x = −3 cm has A = 3 cm.
- The distance between the two extremes is the peak-to-peak value, 2A = 6 cm.
- In one full cycle the object travels a total path length of 4A. It goes out A, back A, over to the other side A, and back A.
Amplitude is measured in the units of the displacement. For a pendulum it is often an angle, in which case it is an angular amplitude θ₀ in radians or degrees.
Amplitude is set by how the motion was started, for example how far you pulled the mass before letting go. It is not a property of the spring or the pendulum itself. This matters later, because in true simple harmonic motion the timing does not depend on A.
Period and frequency
The period T is the time for one complete cycle. A cycle is a full return to the same position moving in the same direction. Going from the right extreme to the left extreme is only half a cycle. The unit of period is the second.
The frequency f is the number of cycles per second. Its unit is the hertz (Hz), where 1 Hz = 1 cycle/s. Period and frequency are reciprocals:
f = 1/T and T = 1/f
A system with T = 0.25 s has f = 4 Hz. A system with f = 50 Hz has T = 0.02 s.
Angular frequency
Many formulas in this tutorial use a third quantity, the angular frequency ω ("omega"). It measures how fast the motion advances in radians per second, where one full cycle corresponds to 2π radians:
ω = 2πf = 2π/T
Its unit is rad/s. Radians are dimensionless, so dimensionally ω is just 1/s. Writing "rad/s" tells the reader you mean angular frequency and not hertz.
Angular frequency makes the equations simpler. The position of an oscillator is described by cos(ωt), and the cosine's argument must be an angle in radians. One period T is the time for ωt to grow by 2π.
| Quantity | Symbol | Unit | Meaning |
|---|---|---|---|
| Amplitude | A | m (or rad) | Largest displacement from equilibrium |
| Period | T | s | Time per cycle |
| Frequency | f | Hz | Cycles per second |
| Angular frequency | ω | rad/s | Radians of phase per second |
A preview of the motion
For simple harmonic motion, which later chapters derive, the displacement over time takes the form
x(t) = A cos(ωt)
when the object starts at its maximum displacement at t = 0. This formula already shows all three quantities.
- A scales the curve vertically.
- ω sets how fast the cosine advances.
- x repeats whenever ωt increases by 2π, which happens after T = 2π/ω.
Later chapters add a phase constant for other starting conditions. For now, we assume the motion starts at x = A.
Worked example
A mass oscillates with amplitude 3.0 cm and takes 0.50 s per cycle. Find f, ω, the position at t = 0.10 s, and the total distance travelled in one period.
- Frequency: f = 1/T = 1/0.50 = 2.0 Hz.
- Angular frequency: ω = 2πf = 4π ≈ 12.57 rad/s.
- Position: x(0.10) = 0.030 cos(12.57 × 0.10) = 0.030 cos(1.257) ≈ 0.030 × 0.309 ≈ 0.0093 m, or about 0.93 cm. The mass has already passed more than half of its way toward equilibrium.
- Distance per period: 4A = 12 cm.
The code below checks these numbers and tabulates x at key moments of the cycle.
import math
A = 0.030 # amplitude, m
T = 0.50 # period, s
f = 1 / T
omega = 2 * math.pi / T
print(f"f = {f:.1f} Hz, omega = {omega:.2f} rad/s")
for t in (0.0, 0.10, T / 4, T / 2, 3 * T / 4, T):
x = A * math.cos(omega * t)
print(f"t = {t:.3f} s, x = {x:+.4f} m")The output shows x = +0.0300 m at t = 0, about +0.0093 m at 0.10 s, zero at T/4, −0.0300 m at T/2, zero at 3T/4, and +0.0300 m again at T. The object crosses equilibrium twice per cycle and reaches each extreme once.
Getting T and f from measurements
In a laboratory, timing one swing gives a poor result because of reaction time, often 0.1 to 0.2 s. A better method is to time many cycles and divide. If the timing error is about 0.2 s, then timing 20 cycles spreads it over 20 periods. The error in T drops by a factor of 20.
import math
n_cycles = 20
elapsed = 14.2 # stopwatch reading for 20 cycles, s
T = elapsed / n_cycles
f = 1 / T
omega = 2 * math.pi * f
print(f"T = {T:.3f} s, f = {f:.3f} Hz, omega = {omega:.3f} rad/s")This prints T = 0.710 s, f = 1.408 Hz and ω = 8.850 rad/s. Start and stop the count when the object passes equilibrium. It moves fastest there, so the timing mark is sharper than at an extreme, where it lingers.
Common errors
- Calculator in degree mode. Evaluating cos(ωt) needs radian mode, because ωt is in radians. A calculator in degree mode returns a wrong value without any warning. In Python,
math.cosalways expects radians. - Confusing amplitude with peak-to-peak. If a problem says the mass moves 8 cm from end to end, then A = 4 cm.
- Counting half cycles. Counting each pass of the same point as a full cycle doubles the frequency. Count a cycle only when the motion returns to the same position and direction.
- Treating rpm or beats per minute as Hz. Divide by 60 to get hertz. For example, 120 oscillations per minute is 2 Hz.
- Assuming a large amplitude means a longer period. In simple harmonic motion, T does not depend on A. This is an exact property of SHM, and a later chapter shows that a real pendulum departs from it at large angles.
Why these three quantities are enough
Amplitude says how large the motion is. Period, frequency and angular frequency say how fast it repeats. A cosine with these two pieces of information describes the position at every time, once you also say where the cycle starts. The rest of the tutorial answers two questions. What fixes ω for a spring and for a pendulum? How do velocity, acceleration and energy follow from x(t)?
Exercise
A speaker cone vibrates at 440 Hz with an amplitude of 0.50 mm. Find its period, its angular frequency, and the total distance the cone travels in one cycle.
Show answer
T = 1/440 ≈ 2.27 × 10⁻³ s (about 2.27 ms). ω = 2π × 440 ≈ 2765 rad/s. The distance in one cycle is 4A = 4 × 0.50 mm = 2.0 mm.
Exercise
A student times 15 complete oscillations of a mass and reads 9.6 s on the stopwatch. Find the period and the angular frequency. Then find the position of the mass 0.10 s after it is released from rest at x = A = 5.0 cm, using x = A cos(ωt).
Show answer
T = 9.6/15 = 0.64 s. ω = 2π/0.64 ≈ 9.82 rad/s. At t = 0.10 s, ωt ≈ 0.982 rad, so x = 0.050 × cos(0.982) ≈ 0.050 × 0.556 ≈ 0.028 m, or about 2.8 cm. Use radian mode.