4.7.10Partial Differential Equations

Wave equation (hyperbolic) 1D — derivation

1,720 words8 min readdifficulty · medium2 backlinks

WHAT are we deriving?

WHY hyperbolic? Writing it as uttc2uxx=0u_{tt}-c^2u_{xx}=0, the second-order coefficients are A=1A=1 (for uttu_{tt}), B=0B=0, C=c2C=-c^2. The discriminant B24AC=04(1)(c2)=4c2>0B^2-4AC = 0-4(1)(-c^2)=4c^2>0, so it is hyperbolic — it has two real families of characteristics and supports travelling waves.


HOW: Derivation from first principles

We model the string with these assumptions (state them — they're where the physics lives):

  1. Perfectly flexible string (no bending stiffness).
  2. Small displacements & small slopes: ux1|u_x|\ll 1.
  3. Tension TT is constant in magnitude along the string.
  4. Motion is purely transverse (vertical), no horizontal motion.
  5. Linear density ρ\rho constant; gravity negligible vs tension.
Figure — Wave equation (hyperbolic) 1D — derivation

Step 1 — Isolate a tiny element

Take a piece of string between xx and x+Δxx+\Delta x. Tension pulls tangentially at each end. Let θ(x)\theta(x) be the angle the string makes with the horizontal.

Why this step? Forces act along the string, so we resolve them using the local slope.

Step 2 — Horizontal balance (no horizontal motion)

The horizontal components must cancel: Tcosθ(x+Δx)Tcosθ(x)=0.T\cos\theta(x+\Delta x) - T\cos\theta(x) = 0. For small slopes, cosθ1\cos\theta\approx 1, so the horizontal tension is essentially TT everywhere — consistent with assumption 3.

Why this step? It confirms TT can be treated as constant horizontally, which we need next.

Step 3 — Vertical balance = Newton's 2nd law

The vertical force is the difference of the vertical components of tension: Fnet=Tsinθ(x+Δx)Tsinθ(x).F_{\text{net}} = T\sin\theta(x+\Delta x) - T\sin\theta(x). The mass of the element is ρΔx\rho\,\Delta x and its vertical acceleration is uttu_{tt}. So F=maF=ma gives T[sinθ(x+Δx)sinθ(x)]=ρΔx2ut2.T\big[\sin\theta(x+\Delta x)-\sin\theta(x)\big] = \rho\,\Delta x\,\frac{\partial^2 u}{\partial t^2}.

Why this step? This is literally mama: net upward pull equals mass times upward acceleration.

Step 4 — Small-angle: slope = derivative

For small angles, sinθtanθ=ux\sin\theta\approx\tan\theta = \dfrac{\partial u}{\partial x} (the slope!). Substitute: T[ux(x+Δx,t)ux(x,t)]=ρΔxutt.T\left[u_x(x+\Delta x,t) - u_x(x,t)\right] = \rho\,\Delta x\,u_{tt}.

Why this step? We trade geometric angles for derivatives of uu — turning physics into calculus.

Step 5 — Divide by Δx\Delta x and shrink it

Tux(x+Δx,t)ux(x,t)Δx=ρutt.T\,\frac{u_x(x+\Delta x,t)-u_x(x,t)}{\Delta x} = \rho\,u_{tt}. As Δx0\Delta x\to 0, the left fraction is the definition of x(ux)=uxx\dfrac{\partial}{\partial x}(u_x)=u_{xx}: Tuxx=ρutt.T\,u_{xx} = \rho\,u_{tt}.

Why this step? The difference-quotient of the slope is exactly the second derivative — curvature.

Step 6 — Name the constant

Divide by ρ\rho and set c2=T/ρc^2 = T/\rho: utt=c2uxx\boxed{u_{tt} = c^2\,u_{xx}}


d'Alembert: the travelling-wave solution

WHY include this? It shows the equation truly produces waves moving at speed cc.

Change variables to characteristics ξ=xct\xi=x-ct, η=x+ct\eta=x+ct. By the chain rule: ux=uξ+uη,uxx=uξξ+2uξη+uηη,u_x=u_\xi+u_\eta,\quad u_{xx}=u_{\xi\xi}+2u_{\xi\eta}+u_{\eta\eta}, ut=cuξ+cuη,utt=c2(uξξ2uξη+uηη).u_t=-c\,u_\xi+c\,u_\eta,\quad u_{tt}=c^2(u_{\xi\xi}-2u_{\xi\eta}+u_{\eta\eta}). Plug into uttc2uxx=0u_{tt}-c^2u_{xx}=0: c2(uξξ2uξη+uηη)c2(uξξ+2uξη+uηη)=0    4c2uξη=0.c^2(u_{\xi\xi}-2u_{\xi\eta}+u_{\eta\eta}) - c^2(u_{\xi\xi}+2u_{\xi\eta}+u_{\eta\eta})=0 \;\Rightarrow\; -4c^2u_{\xi\eta}=0. So uξη=0u_{\xi\eta}=0, integrate twice: u=F(ξ)+G(η)=F(xct)moves right+G(x+ct)moves left.u=F(\xi)+G(\eta)=\underbrace{F(x-ct)}_{\text{moves right}}+\underbrace{G(x+ct)}_{\text{moves left}}.


Worked examples


Common mistakes (Steel-manned)


Recall Feynman: explain to a 12-year-old

Imagine a skipping rope held tight by two friends. If you flick one end, a bump runs to the other side. Why? Because each little bit of rope is being tugged by the bits next to it. If a bit is sitting in a dip (curved like a smile), its neighbours pull it up; if it's on a hump, they pull it down. So every bit keeps getting yanked toward "straight," and while it overshoots, the bump moves along. The wave equation is just the maths for "the more curved a bit is, the harder it gets pushed straight." Pull the rope tighter and the bump zooms faster; use a heavy rope and it crawls.


Active-recall flashcards

What is the 1D wave equation?
utt=c2uxxu_{tt}=c^2u_{xx} with c=T/ρc=\sqrt{T/\rho}.
Physical law underlying the derivation?
Newton's second law F=maF=ma on a small string element (vertical balance).
What does uxxu_{xx} represent physically?
Curvature of the string; it sets the sign/size of vertical acceleration.
Why is sinθ\sin\theta replaced by uxu_x?
Small-angle approximation: sinθtanθ=ux=\sin\theta\approx\tan\theta=u_x= slope.
Why is the equation called hyperbolic?
Discriminant B24AC=4c2>0B^2-4AC=4c^2>0 for uttc2uxx=0u_{tt}-c^2u_{xx}=0.
What are the characteristic variables?
ξ=xct\xi=x-ct and η=x+ct\eta=x+ct.
General (d'Alembert) solution form?
u=F(xct)+G(x+ct)u=F(x-ct)+G(x+ct) — right- and left-moving waves.
d'Alembert formula with u(x,0)=fu(x,0)=f, ut(x,0)=gu_t(x,0)=g?
u=12[f(xct)+f(x+ct)]+12cxctx+ctgdsu=\tfrac12[f(x-ct)+f(x+ct)]+\tfrac{1}{2c}\int_{x-ct}^{x+ct}g\,ds.
Units of c=T/ρc=\sqrt{T/\rho}?
(N)/(kg/m)=\sqrt{(\text{N})/(\text{kg/m})}= m/s, a speed.
Does wave speed depend on amplitude (linear model)?
No — only on the medium (T,ρT,\rho).
Key assumptions of the derivation?
Small slopes, constant tension, flexible string, transverse motion, constant ρ\rho.

Connections

Concept Map

applied to

enable

horizontal balance

vertical balance

supports

small angle sin=tan=slope

divide by dx, limit

defines

discriminant B^2-4AC greater than 0

has

produce

Newton F=ma

Tiny string element

Assumptions: small slope, const T, transverse

T constant horizontally

Net vertical tension = mass x accel

T times change in u_x = rho dx u_tt

Wave equation u_tt = c^2 u_xx

Wave speed c = sqrt of T over rho

Hyperbolic PDE

Two real characteristics

Travelling waves

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Socho ek tight guitar string ya skipping rope. Jab tum usko pluck karte ho to ek shape travel karta hai. Wave equation kuch fancy nahi hai — bas Newton ka F=maF=ma hai, lekin string ke ek chhote tukde par lagaya gaya. Har chhota element apne neighbours ke tension se khincha jaata hai, aur uski curvature (mode kitna jhuka hai) decide karti hai ki net force upar ki taraf hai ya neeche.

Derivation ka core: us tukde par vertical direction mein tension ka difference nikaalo — Tsinθ(x+Δx)Tsinθ(x)T\sin\theta(x+\Delta x)-T\sin\theta(x) — aur usko ma=ρΔxuttma=\rho\,\Delta x\,u_{tt} ke barabar rakh do. Choti angle ke liye sinθtanθ=ux\sin\theta\approx\tan\theta=u_x (yaani slope). Δx\Delta x se divide karke limit lo, to slope ka difference ban jaata hai uxxu_{xx} (curvature). Result: utt=c2uxxu_{tt}=c^2u_{xx} jahan c=T/ρc=\sqrt{T/\rho}. Units check karo to cc ki value m/s aati hai — sahi mein ek speed!

Yeh hyperbolic PDE hai (discriminant 4c2>04c^2>0), isliye iski solutions travelling waves hoti hain: u=F(xct)+G(x+ct)u=F(x-ct)+G(x+ct), ek right jaa rahi, ek left. Yaad rakho — string tight karoge to wave fast, heavy string par slow. Aur ek important baat: linear model mein speed amplitude par depend nahi karti, sirf medium (T,ρT,\rho) par. Yeh intuition exams aur physics dono mein baar-baar kaam aati hai.

Go deeper — visual, from zero

Test yourself — Partial Differential Equations

Connections