Wave Mechanics: Partial Derivatives for Waves
A wave is a field that depends on more than one independent variable. In one spatial dimension we
write
where x specifies position and t specifies time. Earlier articles used this notation geometrically and
physically: a spatial snapshot is obtained by holding time fixed, while a time history is obtained by
holding position fixed. WM12 also introduced the free-end condition
but deliberately postponed a systematic treatment of the derivative notation.
WM13 develops that calculus. The central idea is simple:
This is the mathematical language needed to describe local wave slope, local velocity, curvature,
acceleration, and eventually the wave equation itself. Standard multivariable-calculus treatments
emphasize that partial derivatives are ordinary rates of change taken one variable at a time, while
standard wave texts interpret the resulting derivatives physically as slope, velocity, curvature, and
acceleration [1, 2, 3, 4].
1 From one-variable derivatives to a field
For an ordinary function
there is only one independent variable. The derivative
asks how y changes when x changes.
For a wave field
there are two independent variables. We can ask two different local questions:
- How does u change from one nearby position to another at the same time?
- How does u change from one nearby time to another at the same position?
These questions lead to different derivatives.
Figure. The same field u(x,t) can be sliced in two ways. Holding t fixed produces a spatial
profile whose local slope is ∂u∕∂x. Holding x fixed produces a time history whose local
slope is ∂u∕∂t.
2 The spatial partial derivative
At an event (x0,t0), hold the time fixed at t = t0 and compare the field at two nearby
positions:
As Δx approaches zero, this difference quotient approaches the spatial partial derivative:
The time t0 does not change during this limiting process.
Geometrically,
If u is transverse displacement measured in meters and x is measured in meters, then
The slope is dimensionless in that particular application. For other wave variables, the units
depend on the units of the field itself.
3 The temporal partial derivative
Now hold position fixed at x = x0 and compare the field at two nearby times:
Taking the limit gives
The position x0 does not change during this limiting process.
For a transverse string displacement,
If u is measured in meters,
This is not the same as the propagation speed of the wave. The wave may move through the
medium with speed c while individual material points move up and down with velocity
∂u∕∂t.
Figure. The spatial and temporal difference quotients approach the same event from two
different directions in the (x,t) domain. A partial derivative varies one independent
variable at a time.
4 Notation
Several notations are common:
and
The compact subscript notation is especially useful when expressions become long. For
example,
In this series, both notations will be used. The fraction-like notation often makes the physical
variable being held fixed easier to see, while the compact notation keeps wave equations
readable.
5 Second partial derivatives
The first spatial derivative gives slope. Differentiate again with respect to position:
This measures how rapidly the slope changes with position. In one-dimensional wave problems it is
a measure of local curvature. OpenStax uses this interpretation directly when developing the linear
wave equation [2].
For a string displacement,
Likewise, differentiate the temporal derivative again:
For transverse displacement,
with units
This pair,
is the essential mathematical structure behind the one-dimensional wave equation.
6 Example: derivatives of a sinusoidal traveling wave
Consider the right-moving wave
Define the phase
Then
When differentiating with respect to x, time is held fixed. The chain rule gives
| ux | =   | (27)
|
| = −A sin 𝜃 | (28)
|
| = −Ak sin 𝜃. | (29) |
Differentiate once more:
| uxx | = −Ak cos 𝜃 | (30)
|
| = −Ak2 cos 𝜃. | (31) |
Since
we obtain
Now differentiate with respect to time while holding x fixed:
| ut | =   | (34)
|
| = −A sin 𝜃 | (35)
|
| = Aω sin 𝜃. | (36) |
A second time derivative gives
| utt | = Aω cos 𝜃 | (37)
|
| = −Aω2 cos 𝜃. | (38) |
Thus
The two second-derivative identities are therefore
Figure. For a sinusoidal spatial profile, the first spatial derivative is shifted by a quarter
cycle, while the second spatial derivative is the negative of the original shape multiplied by
k2.
7 A first glimpse of the wave equation
For the sinusoidal traveling wave,
and
Eliminate u between them:
WM08 established
Therefore
This is the one-dimensional linear wave equation.
At this point, however, we have only shown that a sinusoidal traveling wave has this
derivative relationship. We have not yet derived the wave equation from the mechanics of a
physical medium. That distinction matters. The later string-dynamics article will use
Newton’s second law and Tension to show why a stretched string obeys this equation and
why
The present article supplies the calculus needed for that derivation.
8 The result is not restricted to sinusoids
Return to the general right-moving disturbance from WM06:
Let
Then
The chain rule gives
| ux | = F′(ξ) | (50)
|
| = F′(ξ), | (51) |
while
| ut | = F′(ξ) | (52)
|
| = −cF′(ξ). | (53) |
Thus
for any sufficiently smooth right-moving disturbance of the form F(x − ct).
Differentiate again:
and
Therefore
The same second-order relationship also holds for a left-moving disturbance G(x + ct). This
explains why the wave equation naturally accommodates both propagation directions. OpenStax
makes the same connection between translating wave functions and the linear wave equation
[2].
Figure. For a right-moving translating profile F(x − ct), the local temporal change and
local spatial slope are related by ut = −cux. Differentiating again gives utt = c2u
xx.
9 Partial derivative versus total derivative
The notation
means that x is held fixed while time changes. This is appropriate for a sensor mounted at one
location or for a particular material element on an ideal string labeled by its equilibrium
coordinate x.
But suppose instead that we follow a moving observation point x = x(t). Then the measured
quantity is
Its ordinary time derivative requires the multivariable chain rule:
The first term is the local time change at fixed position. The second appears because the observer
is moving through a spatially varying field.
This distinction becomes important in fluid mechanics, Electromagnetism, continuum mechanics,
and transport theory. For the present Wave Mechanics series, the key lesson is simply that ∂∕∂t
means fixed spatial coordinate, whereas d∕dt may describe a path through the (x,t)
domain.
10 Mixed partial derivatives
A field can also be differentiated once with respect to each independent variable:
or
For sufficiently smooth functions, these are equal:
This result is often called equality of mixed partial derivatives or Clairaut’s theorem. Mixed
derivatives are not needed for the basic one-dimensional wave equation, but they appear frequently
in more advanced field theories and coordinate transformations. Standard multivariable-calculus
treatments cover these derivative rules in detail [1].
11 Worked example 1: spatial and temporal derivatives
Consider
with x in meters and t in seconds.
The spatial derivative is
The units are dimensionless because displacement has units of meters and x has units of
meters.
The temporal derivative is
At a given event, ux tells us the local slope of the string while ut tells us the local transverse
velocity of that material point.
12 Worked example 2: second derivatives
For the same wave,
and
Therefore
The propagation speed is
so
Thus
13 Worked example 3: a non-sinusoidal pulse
Let
This has the translating form
with
Without carrying out the full algebra, the chain-rule result immediately gives
and
This is an important conceptual point: the derivative relationship is a property of translating
waveforms, not only of sine and cosine functions.
14 Common mistakes
- Mistake: differentiating both x and t at once. A partial derivative changes one
independent variable while holding the others fixed.
- Mistake: interpreting ut as the propagation speed of the wave. For a string, ut is the
transverse velocity of a material point; the propagation speed is c.
- Mistake: treating ux as a time derivative because the wave is moving. ux is the slope
of a spatial snapshot at fixed time.
- Mistake: forgetting the chain rule when differentiating cos(kx − ωt + ϕ).
- Mistake: missing the minus sign in uxx = −k2u or u
tt = −ω2u.
- Mistake: assuming the appearance of utt = c2u
xx here is already a complete physical
derivation of the string wave equation. WM13 verifies the differential relationship for
translating waves; the later mechanics derivation explains why a real stretched string
obeys it.
15 What WM13 adds to the wave-mechanics language
WM13 turns the graphical ideas of snapshot and time history into calculus.
At fixed time,
and
At fixed position,
and, for string displacement,
For a translating wave F(x − ct),
and
These tools prepare the way for the physical derivation of the one-dimensional string wave
equation from force balance and Newton’s second law.
16 References
References
[1] Massachusetts Institute of Technology, 18.02SC Multivariable Calculus, Unit 2,
“Partial Derivatives,” MIT OpenCourseWare.
[2] William Moebs, Samuel J. Ling, and Jeff Sanny, University Physics, Volume 1,
OpenStax, 2016, Section 16.2, “Mathematics of Waves,” especially the treatment of
partial derivatives, slope, acceleration, curvature, and the linear wave equation.
[3] A. P. French, Vibrations and Waves, M.I.T. Introductory Physics Series, W. W.
Norton & Company, 1971.
[4] Frank S. Crawford, Jr., Waves, Berkeley Physics Course, Volume 3, McGraw-Hill,
1968.
[5] Massachusetts Institute of Technology, 8.03SC Physics III: Vibrations and Waves
- The Physics of Waves, Fall 2016, MIT OpenCourseWare, sections introducing the
one-dimensional wave equation and traveling-wave solutions.