simple harmonic motion
Simple harmonic motion is the smoothest and most important kind of back-and-forth motion in physics. The classic pictures are a block bobbing up and down on a spring, or a pendulum swinging gently side to side. It answers a special question: what motion happens when the push that tries to bring an object home grows in exact proportion to how far you have pulled it away?
The defining condition is that the restoring force is proportional to the displacement from equilibrium and points back toward it: F = -k x, where x is the displacement, k is a positive constant, and the minus sign means the force always aims at home. Feeding this into Newton's second law (net force equals mass times acceleration, F = m a) gives a = -(k/m) x. The solution is a sine or cosine wave in time: x(t) = A cos(omega t + phi), where A is the amplitude (the biggest displacement), omega = sqrt(k/m) is the angular frequency, and phi sets the starting point. Because the graph is a clean sinusoid, SHM is sometimes called sinusoidal motion.
A beautiful fact ties SHM to circles: if you shine a light on a point moving steadily around a circle, its shadow on a wall performs exactly simple harmonic motion. So SHM is the projection of uniform circular motion onto a straight line. One honest caveat: real oscillators are only approximately simple harmonic. A pendulum is SHM only for small swings, and every real system feels friction, which SHM ignores in its ideal form.
Pull a 0.5 kg block on a spring of stiffness k = 200 N/m a few centimetres to one side and release it. It oscillates with omega = sqrt(k/m) = sqrt(200/0.5) = 20 rad/s, tracing a perfect cosine curve in time (if we ignore friction).
The signature of SHM: a restoring force proportional to displacement, giving a sinusoidal position-time graph.
SHM is an idealization. A pendulum only approximates it for small angles, and any real oscillation loses energy to friction unless something keeps driving it.