The question we are to solve is;∂t2∂2y=c2∂x2∂2yy(0,t)=0,y(L,t)=0,0≤t≤Ly(x,0)=y0sin(L2πx),∂t∂y(x,0)=y0sin(Lnπx),0≤x≤LLet’s start off with the product solution;y(x,t)=X(x)T(t)Plugging this into the two boundary conditions gives,X(0)=0,X(L)=0Plugging the product solution into the differential equation, separating andintroducing a separation constant gives,∂t2∂2(X(x)T(t))=c2∂x2∂2(X(x)T(t)))⇒X(x)dt2d2T=c2T(t)dx2d2X⇒c2T(t)1dt2d2T=X(x)1dx2d2X=−λWe moved the c2 to the left side for convenience and chose −λ for the separationconstant so the differential equation for X would match a known (and solved) case. The two ordinary differential equations we get from separation of variables are then,dt2d2T+c2λT=0 and dx2d2X+λX=0 with the boundary conditionsX(0)=0 and X(L)=0Now, the eigenvalues and eigenfunctions for this problem are,λn=(Lnπ)2 and Xn(x)=sin(Lnπx) respectively. For n=1,2,3,….The first ordinary differential equation is now,dt2d2T+(Lπnc)2T=0and because the coefficient of the T is clearly positive the solution to this is,T(t)=c1cos(Lnπct)+c1sin(Lnπct)Because there is no reason to think that either of the oefficients above are zero we then get two product solutions,yn(x,t)=Ancos(Lnπct)sin(Lnπx),andyn(x,t)=Bnsin(Lnπct)sin(Lnπx) for n=1,2,3,…Then the general solution due to the principle of superposition is,y(x,t)=∑n=1∞[Ancos(Lnπct)sin(Lnπx)+Bnsin(Lnπct)sin(Lnπx)].Now in order to apply the second initial condition we will need to differentiate thegeneral solution with respect to t. So,∂t∂y=∑n=1∞[−LnπcAnsin(Lnπct)sin(Lnπx)+Bncos(Lnπct)sin(Lnπx)].Applying the initial conditions yields,y(x,0)=y0sin(L2πx)=∑n=1∞[Ansin(Lnπx)],and∂t∂y(x,0)=∑n=1∞[LnπcBnsin(Lnπx)].Now, using the formulas from Fourier sine series, we get;An=L2∫0L[(y0sin(L2πx))(sin(Lnπx))] dx,for n=1,2,3,…Bn=nπc2∫0L[(y0sin(Lnπx))(sin(Lnπx))] dx,for n=1,2,3,…Thus, upon integrating we haveAn=0 if n=2,and A2=y0Also, Bn=nπcLy0, for n=1,2,3,…Hence, y(x,t)=yocos(L2πct)sin(L2πx)+πcLyo{∑n=1∞[n1sin(Lnπct)sin(Lnπx)]}is the solution of the given initial boundary value problem.
Comments