Wave Equation Solver
The 1D wave equation, d'Alembert's general solution and standing-wave modes, step by step
The Wave Equation and What Its Symbols Mean
The one-dimensional wave equation is the partial differential equation obeyed by any small disturbance travelling along a string, a pipe or a transmission line:
Symbols and SI units:
- — displacement of the medium, metres (m)
- — position along the medium, metres (m)
- — time, seconds (s)
- — propagation speed, metres per second (m/s); for a string with tension in N and linear density in kg/m
In words: the vertical acceleration of each point is proportional to the local curvature. A sharply curved piece of string is pulled back hard; a straight piece is not pulled at all.
When it applies: small-amplitude disturbances in a uniform, lossless, non-dispersive medium.
The assumption people forget: it is a linear equation derived for small slopes. Large-amplitude waves, damping and dispersion each add terms and break the clean solutions below.
General Solution and Standing Waves
D'Alembert's general solution on an infinite line is any right-moving shape plus any left-moving shape:
With initial displacement and initial velocity , this becomes
Separation of variables handles a finite string of length fixed at both ends. Writing gives the modes
whose frequencies are in hertz — the harmonic series of a musical string.
The assumption people forget: d'Alembert applies to an unbounded domain. Boundaries reflect waves, and the series form is the one to use.
Common Mistakes to Avoid
- Confusing this PDE with — that algebraic relation describes one sinusoidal wave; the PDE governs every possible waveform.
- Losing the — the constant multiplies the space derivative, and squaring it is what makes the units balance.
- Writing for the right-moving wave — the minus sign travels right, the plus sign travels left.
- Forgetting the factor in d'Alembert — the initial shape splits into two half-height pulses.
- Dropping the chain-rule factor — differentiating twice in brings out , and omitting it makes the verification fail.
- Solving a bounded problem with d'Alembert — use the sine series once the ends are fixed.
Examples
Frequently Asked Questions
It is the partial differential equation ∂²u/∂t² = c²∂²u/∂x², where u(x,t) is the displacement in metres and c is the propagation speed in m/s. It says each point's acceleration is proportional to the curvature of the medium there.
On an infinite line it is d'Alembert's form u(x,t) = F(x − ct) + G(x + ct): any right-moving shape plus any left-moving shape. The two arbitrary functions are pinned down by the initial displacement and initial velocity.
Separate variables as u = X(x)T(t). Fixed ends force X = sin(nπx/L), giving a sum of standing modes with frequencies f_n = nc/(2L). The coefficients come from the Fourier sine series of the initial conditions.
It is the speed at which disturbances propagate, in m/s, and it is fixed by the medium. For a stretched string c = √(T/μ) with tension in newtons and linear density in kg/m; for light in vacuum it is 2.998 × 10⁸ m/s.
Related Solvers
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving