An introduction to partial differential equations 521
andBn
(cnπL)
is twice the mean value ofg(x)sinnπx
Lbetweenx=0andx=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 equation
The above may seem complicated; however a practi-
cal problem may be solved using the following8-point
procedure:
- Identify clearly the initial and boundary
conditions. - Assume a solution of the formu=XTand express
the equations in terms of X and T 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+Bsinpx
and 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 coefficientsAn and Bn
from equations (8) and (9), using Fourier series
techniques.
Problem 5. Figure 53.2 shows a stretched string
of length 50cm which is set oscillating by
displacing its mid-point a distance of 2cm from its
rest position and releasing it with zero velocity.Solve the wave equation:∂^2 u
∂x^2=1
c^2∂^2 u
∂t^2where
c^2 =1, to determine the resulting motionu(x,t).02425 50 x (cm)u(x,0 )
u 5 f (x )yFigure 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
25
25 ≤x≤ 50(Note:y=mx+cisastraightlinegraph,sothegra-
dient,m, between 0 and 25 is 2/25 and the y-axis
intercept is zero, thusy=f(x)=2
25x+0; between
25 and 50, the gradient=− 2 /25 and the y-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 func-
tion ofx only, andT is a function oftonly,
then∂u
∂x=X′Tand∂^2 u
∂x^2=X′′Tand∂u
∂y=XT′and∂^2 u
∂y^2=XT′′.Substitutingintothepartialdifferentialequation,∂^2 u
∂x^2=1
c^2∂^2 u
∂t^2gives:X′′T=1
c^2XT′′i.e. X′′T=XT′′sincec^2 =1.- Separating the variables gives:
X′′
X=T′′
T
Let constant,μ=X′′
X=T′′
Tthenμ=X′′
Xandμ=T′′
T