Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
Wave Mechanics: Partial Derivatives for Waves (Topic)

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

u = u (x,t),
(1)

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

∂u-
∂x =  0,
(2)

but deliberately postponed a systematic treatment of the derivative notation.

WM13 develops that calculus. The central idea is simple:

|------------------------------------------------------------------------------------|
-a-partial derivative changes-one-independent-variable-while-the-others are-held-fixed.|
(3)

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 [1234].

1 From one-variable derivatives to a field

For an ordinary function

y = f (x ),
(4)

there is only one independent variable. The derivative

dy-
dx
(5)

asks how y changes when x changes.

For a wave field

u = u (x,t),
(6)

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.

PIC

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:

u(x0 + Δx, t0) − u(x0,t0)
-----------Δx------------.
(7)

As Δx approaches zero, this difference quotient approaches the spatial partial derivative:

|--------------------------------------------|
|∂u-(x ,t ) = lim  u(x0-+-Δx,-t0) −-u(x0,t0).|
-∂x---0--0----Δx→0------------Δx-------------|
(8)

The time t0 does not change during this limiting process.

Geometrically,

|-------------------------------------------|
∂u-                                         |
∂x  = local spatial slope of the wave pro file. |
---------------------------------------------
(9)

If u is transverse displacement measured in meters and x is measured in meters, then

[∂u ]    m
 ---  =  --=  1.
 ∂x      m
(10)

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:

u (x0, t0 + Δt ) − u (x0,t0)
-------------------------.
           Δt
(11)

Taking the limit gives

|------------------------------------------|
|∂u-              u(x0,t0-+-Δt)-−-u(x0,t0)-|
|∂t(x0,t0) = Δlitm→0            Δt           .|
--------------------------------------------
(12)

The position x0 does not change during this limiting process.

For a transverse string displacement,

|--------------------------------------------------------|
|∂u                                                      |
|---=  transverse velocity of the string element at fixed x.|
-∂t-------------------------------------------------------
(13)

If u is measured in meters,

[   ]
 ∂u-  =  m-.
  ∂t     s
(14)

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.

PIC

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:

∂u-,    u  ,
∂x        x
(15)

and

∂u-,     ut.
 ∂t
(16)

The compact subscript notation is especially useful when expressions become long. For example,

      ∂2u            ∂2u
uxx = ---2,    utt = --2-.
      ∂x             ∂t
(17)

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:

|-----------|
|      ∂2u- |
uxx =  ∂x2. |
-------------
(18)

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,

[u  ] = m-- = -1.
  xx    m2    m
(19)

Likewise, differentiate the temporal derivative again:

|----------|
|     ∂2u  |
|utt = ----.|
-------∂t2--
(20)

For transverse displacement,

|------------------------------------------------------------|
|utt = transverse acceleration  of the material point at fixed x|
-------------------------------------------------------------
(21)

with units

       m-
[utt] = s2.
(22)

This pair,

|------------------------|    |-----------------------|
-uxx-↔--spatial-curvature-,    -utt ↔-local acceleration-,
(23)

is the essential mathematical structure behind the one-dimensional wave equation.

6 Example: derivatives of a sinusoidal traveling wave

Consider the right-moving wave

u(x,t) = A cos(kx − ωt + ϕ).
(24)

Define the phase

𝜃 =  kx − ωt + ϕ.
(25)

Then

u = A cos 𝜃.
(26)

When differentiating with respect to x, time is held fixed. The chain rule gives

ux = -∂-
∂x(A cos 𝜃) (27)
= A sin 𝜃∂ 𝜃
---
∂x (28)
= Ak sin 𝜃. (29)

Differentiate once more:

uxx = Ak cos 𝜃∂𝜃-
∂x (30)
= Ak2 cos 𝜃. (31)

Since

u = A cos 𝜃,
(32)

we obtain

|------------|
|uxx = − k2u.|
--------------
(33)

Now differentiate with respect to time while holding x fixed:

ut = ∂--
∂t(A cos 𝜃) (34)
= A sin 𝜃∂𝜃-
∂t (35)
= sin 𝜃. (36)

A second time derivative gives

utt = cos 𝜃∂𝜃-
∂t (37)
= 2 cos 𝜃. (38)

Thus

|------------|
|utt = − ω2u.|
-------------
(39)

The two second-derivative identities are therefore

|-------------|   |------------|
-uxx-=-−-k2u,-|   -utt =-−-ω2u.|
(40)

PIC

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,

utt = − ω2u
(41)

and

uxx = − k2u.
(42)

Eliminate u between them:

     ω2-
utt = k2 uxx.
(43)

WM08 established

     ω
c =  -.
     k
(44)

Therefore

|------------|
-utt =-c2uxx.-|
(45)

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

    ∘ ---
c =    T.
       μ
(46)

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:

u(x,t) = F (x − ct).
(47)

Let

ξ = x − ct.
(48)

Then

u = F (ξ).
(49)

The chain rule gives

ux = F(ξ)∂ξ-
∂x (50)
= F(ξ), (51)

while

ut = F(ξ)∂ξ
---
∂t (52)
= cF(ξ). (53)

Thus

|----------|
ut-=-−-c-ux-
(54)

for any sufficiently smooth right-moving disturbance of the form F(x ct).

Differentiate again:

u   = F ′′(ξ)
 xx
(55)

and

      2  ′′
utt = c F (ξ).
(56)

Therefore

-------------
|       2    |
-utt =-cuxx.-|
(57)

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].

PIC

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

∂u
---
 ∂t
(58)

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

u(x(t),t).
(59)

Its ordinary time derivative requires the multivariable chain rule:

|------------------|
|du    ∂u   dx ∂u  |
|---=  ---+ ------.|
-dt----∂t----dt∂x---
(60)

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:

         (    )
       ∂-- ∂u-
uxt =  ∂t  ∂x   ,
(61)

or

          (   )
      -∂-  ∂u-
utx = ∂x    ∂t  .
(62)

For sufficiently smooth functions, these are equal:

|----------|
-uxt =-utx.|
(63)

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

u (x,t) = 0.020 m cos(4x − 10t),
(64)

with x in meters and t in seconds.

The spatial derivative is

ux = − 0.080 sin(4x − 10t).
(65)

The units are dimensionless because displacement has units of meters and x has units of meters.

The temporal derivative is

u =  0.200 m/s sin(4x − 10t).
 t
(66)

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,

uxx = − 16u
(67)

and

utt = − 100u.
(68)

Therefore

      100-
utt = 16 uxx.
(69)

The propagation speed is

     ω    10
c =  k-=  4--= 2.5m/s,
(70)

so

 2         2  2
c =  6.25 m  ∕s .
(71)

Thus

|------------|
-utt =-c2uxx.-|
(72)

13 Worked example 3: a non-sinusoidal pulse

Let

             [          2]
u (x,t) = exp − (x − 3t)  .
(73)

This has the translating form

F (x − ct)
(74)

with

c = 3.
(75)

Without carrying out the full algebra, the chain-rule result immediately gives

|----------|
|ut = − 3ux|
------------
(76)

and

|----------|
utt = 9uxx.|
------------
(77)

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,

|------------------------|
|     ∂u                 |
|ux = --- = spatial slope|
------∂x-----------------
(78)

and

|----------------------------------------|
|       ∂2u-                             |
|uxx =  ∂x2 = spatial curvature measure. |
-----------------------------------------
(79)

At fixed position,

|------------------------------------|
|ut = ∂u- = local rate of field change |
-------∂t----------------------------|
(80)

and, for string displacement,

|------2---------------------------------|
u   = ∂-u-=  local transverse acceleration.|
--tt---∂t2---------------------------------
(81)

For a translating wave F(x ct),

|----------|
ut-=-−-c-ux-
(82)

and

|------------|
|       2    |
-utt =-cuxx.-
(83)

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.


"Wave Mechanics: Partial Derivatives for Waves" is owned by bloftin.
(view preamble)
View style:
Other names:  WM13, Partial Derivatives for Waves
Keywords:  wave mechanics, partial derivative, field, spatial slope, temporal rate of change, curvature, acceleration, traveling wave, chain rule, wave equation, partial differential equation

Attachments:
Wave Mechanics Examples: Partial Derivatives for Waves (Example) by bloftin

Cross-references: force, theorem, Electromagnetism, equilibrium, WM06, Tension, mechanics, WM08, identities, wave equations, domain, speed, function, wave equation, acceleration, velocity, WM12, position, field, wave
There is 1 reference to this object.

This is version 1 of Wave Mechanics: Partial Derivatives for Waves, born on 2026-09-12.
Object id is 1172, canonical name is WaveMechanicsPartialDerivativesForWaves.
Accessed 7 times total.

Classification:
Physics Classification02.30.Jr (Partial differential equations)
 46.40.-f (Vibrations and mechanical waves )
 45.20.Dd (Newtonian mechanics)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)