27.7 KB · commit e092022
← Previous: T-02.11a Separation of Variables: General Method | 🏠 Index | Next: T-02.12 1D Heat Equation (Diffusion BVP) →
Section: B | Priority: 🔴 Critical / Guaranteed Exam Topic | Exam Frequency: 4/6 Years (Zakir Sir Core Question Set 4) | Sources: Jaipal Sir Lecture 14, Fahad Class Notes Section 2 / Zakir Sir Lecture 09, Oishe Class Notes Section 2 (pp. 095–099)
The one-dimensional wave equation is the crown jewel of Section B. Zakir Sir announced in class that Question Set 4 in the Semester Final features Boundary Value Problems. This exact vibrating string problem appears in almost every past exam paper. It carried 5 marks in 2022 and 6 marks in 2018 and 2019.
This topic tests four distinct skills in a single problem:
Master every step shown below. You will be able to write the full derivation from memory in under 15 minutes.
One-Dimensional Wave Equation:
"The one-dimensional wave equation is a second-order linear hyperbolic partial differential equation that models disturbances propagating through an elastic medium, such as transverse vibrations along a stretched string: ∂t2∂2u=c2∂x2∂2u."
Source: Jaipal Sir, PDE Lecture 14, p. 1💡 In Plain Words: This equation models transverse ripples moving along a stretched wire. The vertical acceleration at any point equals wave speed squared times the local spatial curvature.
Wave Speed Constant c2:
"The parameter c2=T/m characterizes the elastic and inertial properties of the string, where T is the uniform tension maintained in the string and m is the mass per unit length (linear density)."
Source: Jaipal Sir, PDE Lecture 14, p. 2💡 In Plain Words: Wave speed balances string stiffness against string heaviness. Pulling the string tighter speeds waves up. Using a thicker string slows waves down.
Boundary Value Problem Statement:
"The motion of the vibrating string is completely described by the initial boundary value problem:
• PDE: ∂t2∂2u=c2∂x2∂2u for 0<x<l,t>0
• Boundary Conditions: u(0,t)=0 and u(l,t)=0 for all t≥0
• Initial Conditions: u(x,0)=f(x) and ∂t∂ut=0=g(x) for 0≤x≤l."
Source: Jaipal Sir, PDE Lecture 14, p. 3; Oishe Notes, p. 96💡 In Plain Words: We clamp both ends of the string firmly in place so they never move. We pluck the string into a starting shape and release it to calculate the position of every point over time.
Eigenvalues and Normal Modes:
"The values pn=lnπ are the eigenvalues, and the corresponding spatial solutions Xn(x)=sin(lnπx) are the eigenfunctions or normal modes of vibration."
Source: Dr. Md. Zakir Hossain, Class Lecture 09 / Oishe Notes, p. 98💡 In Plain Words: The string cannot vibrate in arbitrary spatial patterns between fixed supports. It can only bend into standing wave shapes containing an exact whole number of half-sine loops.
Imagine plucking a guitar string clamped between two rigid bridges. Transverse waves travel along the string, strike the fixed ends, and bounce back. These overlapping waves create stationary vibration loops called standing waves.
Why does factoring u(x,t)=X(x)T(t) work? In a standing wave, the nodes (points of zero motion) never move. The spatial curve X(x) keeps its stationary shape for all time. Meanwhile, the clock factor T(t) acts as a master volume knob, scaling the string displacement up, down, and across zero. Separation of variables isolates this permanent spatial geometry from its rhythmic time beat.
Why must the separation constant K be negative?
Contrast with the Heat Equation: The wave equation has a second-order time derivative (∂t2∂2u). It conserves mechanical energy, oscillating back and forth forever without damping. In contrast, the heat equation has a first-order time derivative (∂t∂u). It dissipates energy irreversibly, smoothing out hot spots and decaying toward zero.
Consider a flexible, uniform string of length l stretched tightly under constant tension T. Let the equilibrium position of the string lie along the x-axis from x=0 to x=l.
Both ends are clamped rigidly to fixed supports:
Let u(x,t) denote the small transverse deflection of the string at position x and time t. By Newton's second law applied to an infinitesimal string element, the motion satisfies:
∂t2∂2u=c2∂x2∂2u(1)where c=T/m is the propagation velocity of transverse waves along the string. Curvature ∂x2∂2u creates a restoring net vertical force pulling the displaced string back toward equilibrium.
We assume that the deflection function can be factored into single-variable components:
u(x,t)=X(x)T(t)(2)Compute the second-order partial derivatives:
∂x2∂2u=X′′(x)T(t) ∂t2∂2u=X(x)T′′(t)Substitute these into the wave equation (1):
X(x)T′′(t)=c2X′′(x)T(t)Divide both sides by c2X(x)T(t):
X(x)X′′(x)=c21T(t)T′′(t)=K(3)The left side depends only on x. The right side depends only on t. Since x and t vary independently, both sides must equal the same separation constant K.
The constant K can be zero, positive, or negative. In exams, you must analyze all three cases to receive full marks.
flowchart TD
Start["Separation Constant K"] --> Case1["Case 1: K = 0"]
Start --> Case2["Case 2: K = +p^2 > 0"]
Start --> Case3["Case 3: K = -p^2 < 0"]
Case1 --> Res1["X(x) = c1 x + c2<br/>X(0)=0, X(l)=0 forces c1=c2=0<br/>Trivial solution u = 0: REJECT"]
Case2 --> Res2["X(x) = c1 exp(px) + c2 exp(-px)<br/>sinh(pl) cannot be zero<br/>Forces c1=c2=0<br/>Trivial solution u = 0: REJECT"]
Case3 --> Res3["X(x) = c1 cos(px) + c2 sin(px)<br/>X(0)=0 gives c1 = 0<br/>X(l)=0 gives sin(pl) = 0<br/>Discrete eigenvalues p = n*pi/l: ACCEPT"]
Equation (3) gives:
X′′(x)=0⟹X(x)=c1x+c2 T′′(t)=0⟹T(t)=c3t+c4Apply the boundary conditions:
Since the length l>0, we must have c1=0.
💡 Teacher Tip: Geometrically, X(x)=c1x+c2 is a straight line. The only straight line that touches zero at both x=0 and x=l is the horizontal axis itself.
Both constants vanish: X(x)≡0. This gives only the trivial solution u(x,t)≡0 (the string remains motionless at equilibrium). We reject K=0.
Equation (3) gives:
X′′(x)−p2X(x)=0The auxiliary equation is m2−p2=0, giving real roots m=±p. The general solution is:
X(x)=c1epx+c2e−pxApply the boundary conditions:
Since p>0 and l>0, the product pl>0. The hyperbolic sine function sinh(z)=2ez−e−z is strictly zero only at z=0. Therefore sinh(pl)=0.
💡 Teacher Tip: Real exponential and hyperbolic curves bend strictly in one direction. They cannot curve back down to hit zero a second time without being zero everywhere.
This forces c1=0. Consequently c2=0. Once again, X(x)≡0, yielding only the trivial solution u(x,t)≡0. We reject K>0.
This is the only case that produces periodic oscillatory solutions. Trigonometric functions wave up and down, crossing zero infinitely many times.
Equation (3) separates into two harmonic oscillator equations:
X′′(x)+p2X(x)=0(4) T′′(t)+p2c2T(t)=0(5)The general solutions are:
X(x)=c1cos(px)+c2sin(px)(6) T(t)=c3cos(pct)+c4sin(pct)(7)Apply the boundary conditions to the spatial solution (6):
Left end (x=0):
X(0)=c1cos(0)+c2sin(0)=c1(1)+0=0⟹c1=0Cosine equals 1 at x=0. Because the left end must remain pinned at zero displacement, the cosine term must be eliminated (c1=0). The spatial solution simplifies to:
X(x)=c2sin(px)Right end (x=l):
X(l)=c2sin(pl)=0For a non-trivial solution, we need c2=0. Therefore:
sin(pl)=0⟹pl=nπ⟹p=lnπ,n=1,2,3,…💡 Teacher Tip: The boundary condition at x=l acts as a frequency filter. It quantizes the continuous parameter p into discrete allowed values. Only sine waves with an exact integer count of half-loops fit between the clamped bridges.
These discrete values pn are called the eigenvalues:
pn=lnπ(n=1,2,3,…)The corresponding spatial solutions are called the eigenfunctions (or normal modes):
Xn(x)=sin(lnπx)Substitute p=lnπ into the temporal equation (7):
Tn(t)=c3cos(lnπct)+c4sin(lnπct)Multiply Xn(x) and Tn(t). Let an=c2c3 and bn=c2c4:
un(x,t)=[ancos(lnπct)+bnsin(lnπct)]sin(lnπx)By the principle of superposition, the general solution is the infinite sum over all modes n:
u(x,t)=n=1∑∞[ancos(lnπct)+bnsin(lnπct)]sin(lnπx)(8)If the string is released from rest, the initial velocity is zero everywhere:
∂t∂ut=0=0Differentiate equation (8) term by term with respect to t:
∂t∂u=n=1∑∞(lnπc)[−ansin(lnπct)+bncos(lnπct)]sin(lnπx)Set t=0:
∂t∂ut=0=n=1∑∞(lnπc)bnsin(lnπx)=0Since the sine functions are linearly independent, each coefficient must vanish:
bn=0for all n≥1The general solution simplifies to a standing-wave cosine series:
u(x,t)=n=1∑∞ansin(lnπx)cos(lnπct)(9)Set t=0 in equation (9):
u(x,0)=n=1∑∞ansin(lnπx)=f(x)This is the half-range Fourier sine series for f(x) on the interval [0,l]. By the orthogonality of the sine functions:
an=l2∫0lf(x)sin(lnπx)dx(10)We can also solve the 1D wave equation using canonical reduction from Module 2.08.
Recall the wave equation:
∂t2∂2u−c2∂x2∂2u=0The characteristic equations give coordinates:
ξ=x−ct,η=x+ctUnder this transformation, the wave equation reduces to:
∂ξ∂η∂2u=0Integrate with respect to η:
∂ξ∂u=F(ξ)Now integrate with respect to ξ:
u(ξ,η)=∫F(ξ)dξ+ψ(η)=ϕ(ξ)+ψ(η)Substitute back ξ and η:
u(x,t)=ϕ(x−ct)+ψ(x+ct)The term ϕ(x−ct) represents a shape moving right at speed c. The term ψ(x+ct) represents a shape moving left at speed c.
Now apply the initial conditions on an infinite domain −∞<x<∞:
Integrate from x0 to x:
−ϕ(x)+ψ(x)=c1∫x0xg(s)ds+C(12)Solve equations (11) and (12) for ϕ(x) and ψ(x):
ψ(x)=21f(x)+2c1∫x0xg(s)ds+2C ϕ(x)=21f(x)−2c1∫x0xg(s)ds−2CCombine ϕ(x−ct) and ψ(x+ct):
u(x,t)=21[f(x−ct)+f(x+ct)]+2c1∫x−ctx+ctg(s)dsThis is d'Alembert's formula.
When released from rest (g(s)=0), the formula simplifies:
u(x,t)=21[f(x−ct)+f(x+ct)]Using the product-to-sum identity:
sin(lnπx)cos(lnπct)=21[sin(lnπ(x−ct))+sin(lnπ(x+ct))]Every standing wave is the superposition of two counter-propagating d'Alembert traveling waves.
Using the method of separation of variables solve completely the equation
∂t2∂2y=c2∂x2∂2yrepresenting the vibrations of a string of length l, fixed at both ends, given that:
💡 Strategy & Mental Roadmap:
Let y(x,t)=X(x)T(t).
Compute the partial derivatives:
∂x2∂2y=X′′(x)T(t),∂t2∂2y=X(x)T′′(t)Substitute into the wave equation:
X(x)T′′(t)=c2X′′(x)T(t)Divide by c2X(x)T(t):
X(x)X′′(x)=c21T(t)T′′(t)=Kwhere K is a constant.
💡 Teacher Tip: Always show the rejection of K=0 and K>0 explicitly. Examiners reserve 2 marks specifically for demonstrating why these cases fail physically and mathematically.
If K=0:
X(x)=c1x+c2. X(0)=0⟹c2=0. X(l)=0⟹c1l=0⟹c1=0.
Only the trivial solution y≡0 emerges.
If K=p2>0 (p>0):
X(x)=c1epx+c2e−px.
X(0)=c1+c2=0⟹c2=−c1.
X(l)=c1(epl−e−pl)=2c1sinh(pl)=0.
Since p>0,l>0, sinh(pl)=0. Thus c1=c2=0, giving only y≡0.
If K=−p2<0 (p>0):
This case produces real oscillatory solutions:
💡 Teacher Tip: Notice how the clamped left end kills the cosine term because cos(0)=1=0. Only sine functions can satisfy X(0)=0.
Apply the boundary conditions to X(x):
X(0)=0⟹c1cos(0)+c2sin(0)=c1=0Thus X(x)=c2sinpx.
Apply the right-end condition:
X(l)=0⟹c2sinpl=0For non-trivial solutions (c2=0):
sinpl=0⟹pl=nπ⟹p=lnπ,n=1,2,3,…💡 Teacher Tip: The zero initial velocity condition differentiates Tn(t). Evaluating at t=0 leaves only the sine coefficient c4, forcing c4=0 and removing all temporal sine terms.
The temporal solution for mode n is:
Tn(t)=c3cos(lnπct)+c4sin(lnπct)The initial velocity is zero:
∂t∂yt=0=X(x)T′(0)=0⟹T′(0)=0Compute T′(t):
T′(t)=−c3(lnπc)sin(lnπct)+c4(lnπc)cos(lnπct)Evaluate at t=0:
T′(0)=c4(lnπc)=0⟹c4=0Thus:
Tn(t)=c3cos(lnπct)💡 Teacher Tip: Notice this neat result: because each normal mode satisfies the linear PDE and boundary conditions, their infinite sum also satisfies them. Orthogonality calculates each An individually without cross-talk between modes.
Multiply Xn(x) and Tn(t) and combine constants into An=c2c3:
yn(x,t)=Ansin(lnπx)cos(lnπct)By the principle of superposition:
y(x,t)=n=1∑∞Ansin(lnπx)cos(lnπct)Apply the initial displacement at t=0:
y(x,0)=n=1∑∞Ansin(lnπx)=f(x)By the orthogonality of the sine functions on [0,l]:
An=l2∫0lf(x)sin(lnπx)dxThe complete general solution is:
y(x,t)=n=1∑∞Ansin(lnπx)cos(lnπct),where An=l2∫0lf(x)sin(lnπx)dx| Year & Paper | Exam Marks | Length & Speed | Initial Deflection u(x,0) | Solution Shortcut / Method |
|---|---|---|---|---|
| 2022 Math 2217 · Q7(b) | 5 Marks | Length l, speed c | General function f(x) | Full 5-step derivation; integral formula for An |
| 2018 Math 1217 · Q8(b) | 6 Marks | Length l, speed c | Single mode: asin(lπx) | Direct match: A1=a, all other An=0 |
| 2019 Math 1217 · Q7(b) | 6 Marks | Length π, speed c=1 | Two modes: 2(sinx+sin3x) | Direct match: A1=2,A3=2; no integration needed |
| 2018 Math 1217 · Q8(a) | 6 Marks | Length l, speed c | Boundary forcing: u(l,t)=p0cospt | Non-zero right boundary; frequency matching k=p/c |
| Plucked String Problem | Class Core | Length l, speed c | Triangular pluck at midspan: height h | Integration by parts gives An=n2π28hsin(2nπ) |
Problem: A string is stretched and fastened to two points l apart. Motion is started by displacing the string in the form
y=asinlπxfrom which it is released at time t=0. Show that the displacement of any point at a distance x from one end at time t is given by
y(x,t)=asin(lπx)cos(lπct)Solution:
The governing wave equation is:
∂t2∂2y=c2∂x2∂2yBoundary conditions:
y(0,t)=0,y(l,t)=0for all t≥0Initial conditions:
∂t∂yt=0=0,y(x,0)=asin(lπx)By separation of variables with negative separation constant K=−p2, the general solution for fixed ends and zero initial velocity is:
y(x,t)=n=1∑∞Ansin(lnπx)cos(lnπct)At time t=0:
y(x,0)=n=1∑∞Ansin(lnπx)=asin(lπx)Compare coefficients on both sides:
Substitute these coefficients back into the series:
y(x,t)=asin(lπx)cos(lπct)Shown.
Problem: The vibrations of an elastic string are governed by the PDE ∂t2∂2u=∂x2∂2u. The length of the string is π and the ends are fixed. The initial velocity is zero and the initial deflection is:
u(x,0)=2(sinx+sin3x)Find the deflection u(x,t) of the vibrating string for t>0.
Solution:
Here l=π and wave speed c=1. The wave equation is:
∂t2∂2u=∂x2∂2uBoundary conditions:
u(0,t)=0,u(π,t)=0Initial conditions:
∂t∂ut=0=0,u(x,0)=2sinx+2sin3xThe general solution for fixed ends and zero initial velocity with l=π and c=1 is:
u(x,t)=n=1∑∞Ansin(nx)cos(nt)Apply the initial condition at t=0:
u(x,0)=n=1∑∞Ansin(nx)=2sinx+2sin3xEquating coefficients of identical sine terms:
Substitute these non-zero coefficients into the solution:
u(x,t)=2sinxcost+2sin3xcos3tProblem: Find the solution of the wave equation
∂x2∂2u=c21∂t2∂2usubject to the condition that u(l,t)=p0cospt when x=l and u(0,t)=0 when x=0.
Solution:
Assume a product solution:
u(x,t)=X(x)T(t)Substitute into the wave equation:
X′′(x)T(t)=c21X(x)T′′(t)⟹X(x)X′′(x)=c21T(t)T′′(t)=−k2The temporal equation is:
T′′(t)+k2c2T(t)=0The boundary condition at x=l forces the system with angular frequency p:
u(l,t)=X(l)T(t)=p0cosptTherefore the time response must oscillate at frequency p:
kc=p⟹k=cpThe temporal solution matching the harmonic forcing is:
T(t)=cosptNow write the spatial differential equation with k=p/c:
X′′(x)+(cp)2X(x)=0The general solution is:
X(x)=C1cos(cpx)+C2sin(cpx)Apply the boundary condition at x=0:
u(0,t)=X(0)cospt=0⟹X(0)=0 X(0)=C1(1)+C2(0)=C1=0Thus:
X(x)=C2sin(cpx)Apply the boundary condition at x=l:
u(l,t)=X(l)cospt=p0cospt⟹X(l)=p0 C2sin(cpl)=p0⟹C2=sin(cpl)p0provided sin(cpl)=0 (away from resonance).
Multiply X(x) and T(t) to obtain the steady-state forced solution:
u(x,t)=sin(cpl)p0sin(cpx)cospt← Previous: T-02.11a Separation of Variables: General Method | 🏠 Index | Next: T-02.12 1D Heat Equation (Diffusion BVP) →