518 DIFFERENTIAL EQUATIONSandBn(cnπL)
is twice the mean value ofg(x)sinnπx
Lbetweenx=0 andx=Li.e. Bn=L
cnπ(
2
L)∫L0g(x)sinnπx
Ldxor Bn=2
cnπ∫L0g(x)sinnπx
Ldx (9)Summary of solution of the wave equationThe above may seem complicated; however a prac-
tical problem may be solved using the following
8-point procedure:
- Identify clearly the initial and boundary
conditions. - Assume a solution of the formu=XTand express
the equations in terms ofX andT and their
derivatives. - Separate the variables by transposing the equation
and equate each side to a constant, say,μ;two
separate equations are obtained, one inxand the
other int. - Letμ=−p^2 to give an oscillatory solution.
- The two solutions are of the form:
X=Acospx+Bsinpxand T=Ccoscpt+Dsincpt.
Thenu(x,t)={Acospx+Bsinpx}{Ccoscpt+
Dsincpt}.- Apply the boundary conditions to determine con-
stantsAandB. - Determine the general solution as an infinite sum.
- Apply the remaining initial and boundary condi-
tions and determine the coefficientsAnandBn
from equations (8) and (9), using Fourier series
techniques.
Problem 5. Figure 53.2 shows a stretched
string of length 50 cm which is set oscillating by
displacing its mid-point a distance of 2 cm from
its rest position and releasing it with zero veloc-ity. Solve the wave equation:∂^2 u
∂x^2=1
c^2∂^2 u
∂t^2wherec^2 =1, to determine the resulting motion
u(x,t).u = f(x)0 2524u(x, 0)50 x(cm)Figure 53.2Following the above procedure,- The boundary and initial conditions given are:
u(0,t)= 0
u(50,t)= 0}
i.e.fixed end pointsu(x,0)=f(x)=2
25x 0 ≤x≤ 25=−2
25x+ 4 =100 −2x
2525 ≤x≤ 50(Note:y=mx+cis a straight line graph, so the
gradient,m, between 0 and 25 is 2/25 and they-axis intercept is zero, thusy=f(x)=2
25x+0;
between 25 and 50, the gradient=− 2 /25 and they-axis intercept is at 4, thusf(x)=−2
25x+4).[
∂u
∂t]t= 0= 0 i.e. zero initial velocity.- Assuming a solutionu = XT, where X is a
function ofxonly, andTis a function oftonly,
then∂u
∂x=X′Tand∂^2 u
∂x^2=X′′Tand∂u
∂y=XT′and∂^2 u
∂y^2=XT′′. Substituting into the partial differen-tial equation,∂^2 u
∂x^2=1
c^2∂^2 u
∂t^2gives:X′′T=1
c^2XT′′ i.e.X′′T=XT′′sincec^2 =1.