# Laplace's equation on a rectangle with mixed b.c.s

• Oct 15th 2012, 08:41 AM
sarideli18
PDE
Hello, I do not know how to apply the nonlinear boundary conditions with this problem:

Any idea?
• Oct 15th 2012, 09:05 AM
TheEmptySet
Re: Laplace's equation on a rectangle with mixed b.c.s
Quote:

Originally Posted by sarideli18
Hello, I do not know how to apply the nonlinear boundary conditions with this problem:

Solve Laplace's equation on the rectangle 0< x< L, 0< y< H with the boundary conditions du/dx(0, y) = 0, du/dx(L, y)=y, du/dy(x, 0)=0, U(x, H)=x.

Any idea?

Since you have a finite domain, The usual method, is to assume a product solution and expand a fourier series.

$u(x,y)=X(x)Y(y)$

This gives

$X''Y+XY''=0 \iff \frac{X''}{-X}=\frac{Y''}{Y}=\lambda^2$

So you get the two ODE's

$X''+\lambda^2X=0 \quad Y''-\lambda^2Y=0$

Now solve each of these ODE's and use the boundary conditions to find the eigenfunctions and expand the solution.
• Oct 15th 2012, 12:42 PM
sarideli18
Re: Laplace's equation on a rectangle with mixed b.c.s
Well, actually the problem is that I have 2 non-homogeneous boundary conditions. That's why I can't find the eigenvalues.
• Oct 15th 2012, 01:05 PM
TheEmptySet
Re: Laplace's equation on a rectangle with mixed b.c.s
Quote:

Originally Posted by sarideli18
Well, actually the problem is that I have 2 non-homogeneous boundary conditions. That's why I can't find the eigenvalues.

You need to use the superposition principle. You can solve two seperate problems and add the solutions together. Set one of the non-homogeneous boundary conditions equal to zero and solve that problem. Then set the other boundary condition equal to zero and solve it.

The answer is the sum of the two different solutions.
• Oct 15th 2012, 01:08 PM
sarideli18
Re: Laplace's equation on a rectangle with mixed b.c.s
Does it work when one of the boundary conditions is neumann type and the other is dirichlet?
• Oct 15th 2012, 01:12 PM
TheEmptySet
Re: Laplace's equation on a rectangle with mixed b.c.s
Quote:

Originally Posted by sarideli18
Does it work when one of the boundary conditions is neumann type and the other is dirichlet?

Yes it will work with any boundary conditions as long all of the other conditions are preserved in each problem.

This link may be helpful. Look at the very last section on the web page. The last two paragraphs will be useful.

Laplace Equation - Wikiversity
• Oct 15th 2012, 01:16 PM
sarideli18
Re: Laplace's equation on a rectangle with mixed b.c.s
okay, thank you!
• Oct 15th 2012, 01:20 PM
TheEmptySet
Re: Laplace's equation on a rectangle with mixed b.c.s
Yes so explicitly you need to solve these two BVP's

Problem 1
$u_x(0,y)=0 \ u_x(L,y)=0 \ u_y(x,0)=0 \ u(x,H)=x$

Problem 2
$u_x(0,y)=0 \ u_x(L,y)=y \ u_y(x,0)=0 \ u(x,H)=0$

Since you are forcing the other boundary conditions to be zero, they will not mess up the other boundary conditions when you sum of the solutions.