Answer on Question #82430 – Math – Differential Equations
Question
solve d2u/dx2+d2u/dy2=0 which satisfies u(0,y)=u(l,y)=u(x,0)=0 & u(x,a)=sinnπx/L
Solution
DE
∂x2∂2u+∂y2∂2u=0;
Boundary conditions
u(0,y)=u(L,y)=u(x,0)=0;u(x,L)=sinLnπx.
This is Laplace's equation, which one can solve by the separation of variables.
Denote
u(x,y)=X(x)Y(y).
Then
∂x2∂2(XY)+∂y2∂2(XY)=0;Y∂x2∂2X+X∂y2∂2Y=0;
Divide by XY to get
X1∂x2∂2X+Y1∂y2∂2Y=0;
We can see that these two parts are functions of only x and only y. Because of (x,y) are independent variables, the first term must be a constant, and the second term must be a constant. We call them −k2 and +k2 (their sum must be null).
The new equations are
X1∂x2∂2X=−k2;andY1∂y2∂2Y=k2.
a) Solution for X:
∂x2∂2X=−k2X;X′′+k2X=0.
Solution is
X(x)=Asinkx+Bcoskx.
Boundary conditions: X(0)=0; X(L)=0.
{Asink⋅0+Bcosk⋅0=0;AsinkL+Bcoskl=0;⇒{B=0;kL=nπ,n∈Z.u(x,L)=sinLnπx⇒A=1.Xn(x)=sinLnπx.
b) Solution for Y:
∂y2∂2Y=k2Y;Y′′−k2Y=0.
Solution is
Y(y)=Ce−ky+Deky.
Boundary conditions: Y(0)=0; Y(L)=1.
0=C+D⇒C=−D;Y(y)=C(e−ky−eky)=C1sinhky;whereC1=2C.1=C1sinhkL;⇒C1n=sinhkL1=sinhnπ1.Yn(y)=sinhnπ1sinhLnπy.
So we can write the general solution. It must be combination of all solutions for X(x) and Y(y):
u(x,y)=n=1∑∞sinhnπ1sin(Lnπx)sinh(Lnπy).
Answer provided by https://www.AssignmentExpert.com