← 2017 Paper 2

UPSC 2017 Maths Optional Paper 2 Q8a — Step-by-Step Solution

20 marks · Section B

Wave equation · PDEs · asked 7× in 14 yrs · Read the full method →

Question

Given the one-dimensional wave equation ∂2y∂t2=c2∂2y∂x2; t>0\dfrac{\partial^2 y}{\partial t^2}=c^2\dfrac{\partial^2 y}{\partial x^2};\ t>0, where c2=Tmc^2=\dfrac{T}{m}, TT is the constant tension in the string and mm is the mass per unit length of the string.

Technique

Separation of variables with negative separation constant −k2-k^2 (oscillatory); fixed-end BCs quantise k=nπ/lk=n\pi/l; zero initial velocity kills all sin⁡(nπct/l)\sin(n\pi ct/l) time-terms; the single-mode initial shape selects only n=1n=1.

Solution

Part (i) — Appropriate solution by separation of variables

Seek y(x,t)=X(x) G(t)y(x,t)=X(x)\,G(t). Substituting into ytt=c2yxxy_{tt}=c^2y_{xx}:

XG¨=c2X′′G ⟹ G¨c2G=X′′X=const.X\ddot G=c^2 X'' G\ \Longrightarrow\ \frac{\ddot G}{c^2 G}=\frac{X''}{X}=\text{const}.

For a vibrating string (bounded, oscillatory) the separation constant must be negative, say −k2-k^2:

X′′+k2X=0,G¨+c2k2G=0.X''+k^2X=0,\qquad \ddot G+c^2k^2G=0.

Hence

X(x)=Acos⁡kx+Bsin⁡kx,G(t)=Ccos⁡ckt+Esin⁡ckt.X(x)=A\cos kx+B\sin kx,\qquad G(t)=C\cos ckt+E\sin ckt.

The appropriate (physically relevant, periodic-in-time) solution is

  y(x,t)=(Acos⁡kx+Bsin⁡kx)(Ccos⁡ckt+Esin⁡ckt).  \boxed{\;y(x,t)=(A\cos kx+B\sin kx)(C\cos ckt+E\sin ckt).\;}

(The choices "+k2+k^2" → exponentials in xx and "00" → linear are rejected as they cannot satisfy fixed-end oscillation.)

Part (ii) — Apply the boundary and initial conditions

BC1: y(0,t)=0y(0,t)=0 for all tt. Then X(0)=0⇒A=0X(0)=0\Rightarrow A=0. So y=Bsin⁡kx (Ccos⁡ckt+Esin⁡ckt)y=B\sin kx\,(C\cos ckt+E\sin ckt).

BC2: y(l,t)=0y(l,t)=0 for all tt. Then sin⁡kl=0⇒kl=nπ⇒k=nπl\sin kl=0\Rightarrow kl=n\pi\Rightarrow k=\dfrac{n\pi}{l}, n=1,2,3,…n=1,2,3,\ldots. The normal modes are

yn(x,t)=sin⁡nπxl(Cncos⁡nπctl+Ensin⁡nπctl),y_n(x,t)=\sin\frac{n\pi x}{l}\Big(C_n\cos\frac{n\pi c t}{l}+E_n\sin\frac{n\pi ct}{l}\Big),

and the general solution is the superposition y=∑n≥1yny=\sum_{n\ge1}y_n.

IC1: ∂y∂t∣t=0=0\left.\dfrac{\partial y}{\partial t}\right|_{t=0}=0. Differentiate in tt and set t=0t=0:

∂y∂t∣t=0=∑nsin⁡nπxl⋅nπclEn=0∀x ⟹ En=0 ∀n.\frac{\partial y}{\partial t}\Big|_{t=0}=\sum_n\sin\frac{n\pi x}{l}\cdot\frac{n\pi c}{l}E_n=0\quad\forall x\ \Longrightarrow\ E_n=0\ \forall n.

So y=∑nCnsin⁡nπxlcos⁡nπctly=\sum_n C_n\sin\dfrac{n\pi x}{l}\cos\dfrac{n\pi ct}{l}.

IC2: y(x,0)=asin⁡πxly(x,0)=a\sin\dfrac{\pi x}{l}. At t=0t=0:

∑nCnsin⁡nπxl=asin⁡πxl.\sum_n C_n\sin\frac{n\pi x}{l}=a\sin\frac{\pi x}{l}.

Matching coefficients of the orthogonal modes: C1=aC_1=a and Cn=0C_n=0 for n≥2n\ge2. Only the fundamental (n=1n=1) survives.

Result

Answer

  y(x,t)=asin⁡πxlcos⁡πctl.  \boxed{\;y(x,t)=a\sin\frac{\pi x}{l}\cos\frac{\pi c t}{l}.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.