Solving partial differential equation in 2d with 3

ICESSRAIPCELOtblt

ICESSRAIPCELOtblt

Answered question

2022-04-03

Solving partial differential equation in 2d with 3 boundary conditions
Consider the following pde:
Δu=0
in (0, π)×(0, 4) with boundary conditions:
u(0,y)=u(π,y) for y(0,4)
and
u(x,0)=cosxsinx for x(0,π)
and
u(x,4)=cosxsinx+4 for x(0,π)

Answer & Explanation

Jamie Maldonado

Jamie Maldonado

Beginner2022-04-04Added 10 answers

Step 1
The periodic boundary condition tells you that the solution is π -periodic in x-direction, or at least can be interpreted as such if suitably extended outside the rectangle. This means that in that direction you get a Fourier series expansion
u(x,y)=a0(y)2+ak(y)cos(2kx)+bk(y)sin(2kx).
This gives the same result as the separation approach, but starting from a different direction.
Comparing the conditions on the upper and lower boundaries gives b1(0)=b1(4)=12,  a0(4)=8 all other coefficients are zero at y=0 and y=4. Further,
Δu(x,y)=a0 (y)2+k[4k2ak(y)ak (y)]cos(2kx)+[4k2bk(y)bk (y)]sin(2kx).
Now comparing coefficients and solving the simple DE gives
a0(y)=2y,
b1(y)=cosh(2(y2))2cosh(4),
all other coefficient functions being zero.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?