JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Deriving the Wave Equation

Pluck a guitar string and the bump runs along it. Where does that motion come from? We balance the tension forces on a tiny piece of string with Newton's second law, watch the bookkeeping collapse into u_tt = c^2 u_xx, and meet the wave speed c hiding inside it.

A string you can already picture

You have already met the wave equation as a name on the roadmap — the hyperbolic prototype, u_tt = c^2 u_xx, the one that signals and vibrates without smoothing. This guide does the honest work of building it from a physical picture, so it stops being a slogan and becomes something you could have derived yourself. The picture is the simplest one imaginable: a vibrating string, stretched tight like a guitar or violin string, plucked and let go.

Let u(x, t) be the sideways displacement of the string: at horizontal position x along the string and at time t, the string has moved up by an amount u from its flat resting line. When the string is at rest, u = 0 everywhere. Pluck it and u becomes a shape that wiggles and changes as the clock runs. Our whole goal is to find the rule this u(x, t) must obey — a relation between how the string curves in space, u_xx, and how each point accelerates up and down in time, u_tt.

Newton's second law on a tiny piece

The derivation is a single idea applied to a sliver of string. Cut out the little segment between x and x + dx and ask what forces act on it. Because the string is flexible, the only forces are the tension pulling along the string at each end — at the right end the rest of the string pulls forward along the local slope, at the left end it pulls backward. The trick is that the two ends point in slightly different directions, because the string is curved, and that small mismatch is the entire source of the sideways push. This is the same conservation-of-momentum bookkeeping behind every equation built from balance laws — a relative of the conservation-law derivations you have already seen.

Here is the bookkeeping in words. The vertical (up-down) component of the tension at the right end is, for small slopes, the tension T multiplied by the slope u_x there; at the left end it is T times the slope just behind. The net upward force on the segment is the difference between these two — and a difference of u_x across a tiny gap dx is exactly what the derivative of u_x measures, namely T times u_xx times dx. Meanwhile the segment has mass (density times dx) and its vertical acceleration is u_tt. Newton's second law, force equals mass times acceleration, sets these equal.

net vertical force        =   mass        x  acceleration
( T u_x|right - T u_x|left )   ( rho dx )       u_tt

      T u_xx dx           =  ( rho dx )      u_tt

divide by rho dx :        u_tt = (T / rho) u_xx   =   c^2 u_xx ,
                                            c = sqrt( T / rho )
Tension times curvature, balanced against mass times acceleration; the segment length dx cancels and out drops the wave equation.

What the equation is telling you

Read u_tt = c^2 u_xx as a sentence and it is almost obvious. The left side, u_tt, is how fast a point of the string is accelerating up or down. The right side is proportional to u_xx, the curvature of the string. So the equation says: *the more sharply the string is bent at a point, the harder that point is yanked back.* Where the string bulges up into a hump (curving downward, u_xx negative) the acceleration is downward — gravity-like restoring; where it sags into a valley (u_xx positive) it is flung upward. Curvature is the restoring force, and that single feedback is what makes the string ring.

Notice what came out of the algebra almost for free: the constant c = sqrt(T / rho), the wave speed. Tighten the string (more T) and c goes up; load it down with mass (more rho) and c goes down. This is exactly why a guitar's thin tight strings sing high and fast while its thick loose ones rumble low — you are physically changing T and rho and therefore c. Crucially, c carries units of length over time: it is a genuine speed, the rate at which a disturbance will be shown, in the next guide, to travel along the string.

Why this is the hyperbolic prototype

The wave equation is not just a second-order PDE; it is the clean representative of the hyperbolic type. Recall the classification rung: a second-order equation A u_xx + 2B u_xt + C u_tt + ... gets sorted by the discriminant B^2 - A C. For u_tt - c^2 u_xx = 0 we have A = -c^2, C = 1, B = 0, so B^2 - A C = c^2, which is positive — and positive means hyperbolic. That sign is not a technicality; it is the algebraic fingerprint of two real characteristic directions, the lines along which signals run, which the next guide turns into d'Alembert's formula.

This is also where the deepest honest contrast with the heat equation lives. The heat equation has only one time derivative and is parabolic; the wave equation has two and is hyperbolic, and that one extra time derivative changes everything. Heat smooths data instantly and spreads at infinite speed; the wave equation does the opposite — it has a finite propagation speed exactly c, and it does not smooth. A sharp corner in the initial shape of the string stays a sharp corner as it travels. Do not carry over the intuition that 'derivatives smooth things out': that is a heat-equation habit, and waves break it.

Two time derivatives, two pieces of data

Counting time derivatives also tells you what you must hand the equation before it has a unique answer. The wave equation is second order in t — just like a Newtonian particle, which needs both an initial position and an initial velocity. So a vibrating string needs two pieces of data at t = 0: the initial displacement u(x, 0), the shape you pluck it into, and the initial velocity u_t(x, 0), how fast each point is moving at the moment of release. Pluck-and-release gives a nonzero shape but zero initial velocity; striking it with a hammer (as a piano does) gives roughly zero shape but a nonzero velocity kick.

Contrast this honestly with the heat equation again: being first order in time, heat needs only one initial condition, the starting temperature, and no initial 'velocity' at all. The number of time derivatives is the number of starting conditions — a rule worth carrying everywhere. And as always with a PDE, those two functions u(x, 0) and u_t(x, 0) are arbitrary functions, a whole continuum of freedom, which is what the d'Alembert formula in the very next guide will absorb into a tidy travelling-wave answer.