← 2014 Paper 2
UPSC 2014 Maths Optional Paper 2 Q7a — Step-by-Step Solution
15 marks · Section B
Wave equation · PDEs · asked 7× in 13 yrs · Read the full method →
Question
Find the deflection of a vibrating string (length =π, ends fixed, ∂t2∂2u=∂x2∂2u) corresponding to zero initial velocity and initial deflection f(x)=k(sinx−sin2x).
Technique
Separation of variables; sine-series basis; zero initial velocity kills Bn; matching the initial deflection to its Fourier sine expansion (here a finite sum, so direct).
Solution
Setup. Wave equation on (0,π) with c=1 (PDE utt=uxx). Boundary u(0,t)=u(π,t)=0. ICs: u(x,0)=k(sinx−sin2x), ut(x,0)=0.
Step 1 — General sine-series solution
Separation of variables gives the basis sin(nx) for n=1,2,…. The general solution:
u(x,t)=n=1∑∞[Ancos(nt)+Bnsin(nt)]sin(nx).
Step 2 — Apply ut(x,0)=0
ut(x,0)=∑nBn⋅nsin(nx)=0∀x⇒Bn=0∀n.
So u(x,t)=∑n=1∞Ancos(nt)sin(nx).
Step 3 — Apply u(x,0)=k(sinx−sin2x)
u(x,0)=n=1∑∞Ansin(nx)=ksinx−ksin2x.
By matching coefficients of the sine basis:
- A1=k.
- A2=−k.
- An=0 for n≥3.
Step 4 — Assemble the solution
Answer
u(x,t)=ksinxcost−ksin2xcos2t.