A tightly stretched string fixed at two ends x=0 and x=π is initially at rest in equilibrium position. If it is set in vibration by giving to each of its points a velocity ∂t∂u=0.03sinx−0.04sin3x, find the deflection u(x,t) at any point of the string at any time.
Solution
Governing PDE & Boundary / Initial Conditions: The transverse displacement u(x,t) is governed by the 1D wave equation:
∂t2∂2u=c2∂x2∂2u
Boundary conditions:
Fixed ends: u(0,t)=0 and u(π,t)=0 for all t≥0.
Initial conditions:
Initially at rest: u(x,0)=0 for 0<x<π.
Initial velocity: ut(x,0)=0.03sinx−0.04sin3x.
Separation of Variables General Solution: Using u(x,t)=X(x)T(t) with XX′′=c2TT′′=−λ2:
u(x,t)=(Acosλx+Bsinλx)(Ccosλct+Dsinλct)
Applying boundary conditions:
u(0,t)=0⟹A=0.
u(π,t)=0⟹sin(λπ)=0⟹λn=n (n=1,2,3,…).
Applying Initial Displacement Condition u(x,0)=0: By superposition:
u(x,t)=n=1∑∞sin(nx)[ancos(nct)+bnsin(nct)]
Setting t=0:
u(x,0)⟹anfor all n=n=1∑∞ansin(nx)=0=0≥1
Therefore:
u(x,t)=n=1∑∞bnsin(nx)sin(nct)
Differentiating to Find Initial Velocity Profile: Differentiating partially with respect to t:
∂t∂u=n=1∑∞ncbnsin(nx)cos(nct)
Setting t=0 (where cos0=1):
∂t∂ut=0=n=1∑∞ncbnsin(nx)
Comparing Coefficients with Given Initial Velocity: Equating to 0.03sinx−0.04sin3x:
n=1∑∞ncbnsin(nx)=0.03sinx−0.04sin3x
Comparing coefficients mode by mode:
For n=1: 1⋅c⋅b1=0.03⟹b1=c0.03
For n=3: 3⋅c⋅b3=−0.04⟹b3=−3c0.04
For all n=1,3: bn=0
Assembling the Deflection u(x,t): Substituting b1 and b3 back into the series: