← 2013 Paper 2
UPSC 2013 Maths Optional Paper 2 Q6c — Step-by-Step Solution
20 marks · Section B
Wave equation · PDEs · asked 7× in 13 yrs · Read the full method →
Question
A tightly stretched string with fixed end points x=0 and x=l is initially at rest in equilibrium position. If it is set vibrating by giving each point a velocity λ⋅x(l−x), find the displacement of the string at any distance x from one end at any time t.
Technique
Separation of variables; sine-series expansion of initial velocity profile; n−4 decay rate from quadratic IC.
Solution
Setup. Wave equation utt=c2uxx on 0<x<l, t>0, with boundary conditions u(0,t)=u(l,t)=0 and initial conditions u(x,0)=0, ut(x,0)=λx(l−x). (Here c is the wave speed in the string.)
Step 1 — Sine-series general solution
Separation of variables on the boundary value problem u(0,t)=u(l,t)=0 gives spatial modes sin(nπx/l), n≥1, with time evolution cos(nπct/l) and sin(nπct/l):
u(x,t)=n=1∑∞sinlnπx[Ancoslnπct+Bnsinlnπct].
Step 2 — Apply u(x,0)=0
u(x,0)=∑Ansinlnπx=0⟹An=0∀n.
Step 3 — Apply ut(x,0)=λx(l−x)
ut(x,0)=∑Bnlnπcsinlnπx=λx(l−x).
So Bn⋅nπc/l is the sine-series Fourier coefficient of λx(l−x) on (0,l):
Bnlnπc=l2∫0lλx(l−x)sinlnπxdx=l2λIn.
Step 4 — Compute In=∫0lx(l−x)sin(nπx/l)dx
Integrate by parts twice (both bracket terms vanish at the endpoints):
First IBP: u=x(l−x), dv=sin(nπx/l)dx. u=0 at x=0,l ⇒ bracket vanishes; left with
In=nπl∫0l(l−2x)coslnπxdx.
Second IBP: u=l−2x, dv=cos(nπx/l)dx. Bracket terms again vanish (sin(nπ)=sin0=0); left with
∫0l(l−2x)coslnπxdx=2⋅nπl∫0lsinlnπxdx=nπ2l⋅nπl[1−cosnπ]=n2π22l2[1−(−1)n].
Combining:
In=nπl⋅n2π22l2[1−(−1)n]=n3π32l3[1−(−1)n].
For odd n: 1−(−1)n=2, so In=n3π34l3. For even n: In=0.
Step 5 — Solve for Bn
For odd n:
Bn⋅lnπc=l2λ⋅n3π34l3=n3π38λl2⟹Bn=n4π4c8λl3.
For even n: Bn=0.
Step 6 — Final solution
Answer
u(x,t)=π4c8λl3n odd∑n41sinlnπxsinlnπct.