Solve Laplace Eqn W/Derivative Boundary Condition

Click For Summary

Discussion Overview

The discussion revolves around solving Laplace's equation $\nabla^2u = 0$ on a rectangle with specific boundary conditions, including one defined by a derivative. Participants explore how this derivative boundary condition affects the solution process, sharing various approaches and methods for tackling the problem.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants suggest that the derivative boundary condition can be replaced with a function of $x$, arguing that it may not provide additional useful information about $u(x,0)$.
  • Others propose a classical approach to find a solution in the form of a product of functions, leading to a separation of variables method.
  • One participant mentions that integrating the derivative boundary condition directly may not yield useful information, raising concerns about the validity of certain steps in the solution process.
  • Several participants discuss the necessity of solving the Laplace equation separately for different boundary conditions, indicating a method to combine solutions from these separate cases.
  • There are questions about the correctness of specific solutions derived from the boundary conditions, particularly regarding the transition from one boundary condition to another and the implications of the derivative condition.

Areas of Agreement / Disagreement

Participants express differing views on the relevance and handling of the derivative boundary condition. While some believe it can be disregarded or transformed, others emphasize its importance in the solution process. The discussion remains unresolved regarding the best approach to incorporate this boundary condition into the solution.

Contextual Notes

Participants note that the boundary conditions lead to different forms of the Laplace equation, and there is uncertainty about how to properly integrate or manipulate the derivative condition without losing essential information. Some steps in the proposed solutions are also questioned for their validity.

Who May Find This Useful

This discussion may be useful for students and professionals dealing with partial differential equations, particularly in the context of boundary value problems in mathematical physics and engineering.

Dustinsfl
Messages
2,217
Reaction score
5
Consider Laplace's equation $\nabla^2u = 0$ on the rectangle with the following boundary conditions:
$$
u_y(x,0) = f(x)\quad u(L,y) = 0\quad u(x,H) = 0\quad u(0,y) = g(y).
$$

How does one of the boundary conditions being defined by a derivative alter the solving of this problem? I have never done a Laplace equation with derivative BC.
 
Physics news on Phys.org
dwsmith said:
Consider Laplace's equation $\nabla^2u = 0$ on the rectangle with the following boundary conditions:
$$
u_y(x,0) = f(x)\quad u(L,y) = 0\quad u(x,H) = 0\quad u(0,y) = g(y).
$$

How does one of the boundary conditions being defined by a derivative alter the solving of this problem? I have never done a Laplace equation with derivative BC.

Hi dwsmith, :)

Let me suggest a way to solve this problem. The first boundary condition is redundant and you can replace it with \(u(x,0)=h(x)\). Then you will have to solve the Laplace's equation separately for boundary conditions,

\[u_{1}(x,0) = f(x)\quad u_{1}(L,y) = 0\quad u_{1}(x,H) = 0\quad u_{1}(0,y) = 0\]

and

\[u_{2}(x,0) = 0\quad u_{2}(L,y) = 0\quad u_{2}(x,H) = 0\quad u_{2}(0,y) = g(y)\]

The solution to the original problem will then be,

\[u(x,y)=u_{1}(x,y)+u_{2}(x,y)\]

Further details of this method can be found >>here<<.

Kind Regards,
Sudharaka.
 
Sudharaka said:
Hi dwsmith, :)

Let me suggest a way to solve this problem. The first boundary condition is redundant and you can replace it with \(u(x,0)=h(x)\). Then you will have to solve the Laplace's equation separately for boundary conditions,

\[u_{1}(x,0) = f(x)\quad u_{1}(L,y) = 0\quad u_{1}(x,H) = 0\quad u_{1}(0,y) = 0\]

and

\[u_{2}(x,0) = 0\quad u_{2}(L,y) = 0\quad u_{2}(x,H) = 0\quad u_{2}(0,y) = g(y)\]

The solution to the original problem will then be,

\[u(x,y)=u_{1}(x,y)+u_{2}(x,y)\]

Further details of this method can be found >>here<<.

Kind Regards,
Sudharaka.

So we can disregard the fact that it is a partial derivative?
 
dwsmith said:
So we can disregard the fact that it is a partial derivative?

I think you are referring to the first boundary condition. When you differentiate \(u(x,y)\) with respect to \(y\) and then substitute \(y=0\) it is obvious that you get a function of \(x\) since we have substituted for \(y\). Hence I don't see any usefulness in that boundary condition. In other words, even if it's not given we know that \(u_{y}(x,0)=\mbox{a function of }x\). So we don't know anything about \(u(x,0)\) except the fact that it's a function of \(x\).
 
dwsmith said:
Consider Laplace's equation $\nabla^2u = 0$ on the rectangle with the following boundary conditions:
$$
u_y(x,0) = f(x)\quad u(L,y) = 0\quad u(x,H) = 0\quad u(0,y) = g(y).
$$

How does one of the boundary conditions being defined by a derivative alter the solving of this problem? I have never done a Laplace equation with derivative BC.

The 'classical' approach permits to find a solution in the form...

$\displaystyle u(x,y)= v(x)\ w(y)$ (1)

... and consists in several steps. The first step is to compute from (1)...

$\displaystyle \frac{\partial^{2} u}{\partial^{2} x}= v^{'\ '} (x)\ w(y)\ ,\ \frac{\partial^{2} u}{\partial^{2} y}= v(x)\ w^{'\ '} (y)\ $ (2)

... that permits to write the original PDE as a pair of ODE...

$\displaystyle \frac{v^{'\ '}(x)}{v(x)}= - \frac{w^{'\ '}(y)}{w(y)}= \lambda$ (3)

... where $\lambda$ is a constant. Then, as suggested by Sudharaka,You set $u(x,y)= u_{1}(x,y)+u_{2}(x,y)$ and solve separately the two PDE...

$\displaystyle \nabla^2 u_{1} = 0\ ,\ u_{1}(x,0)= f(x)\ ,\ u_{1}(L,y)= 0\ ,\ u_{1}(x,H)= 0\ ,\ u_{1}(0,y)= 0 $

$\displaystyle \nabla^2 u_{2} = 0\ ,\ u_{2}(x,0)= 0\ ,\ u_{2}(L,y)= 0\ ,\ u_{2}(0,y)= 0\ ,\ u_{2}(0,y)= g(y) $ (4)

Other details will be given in a successive post...

Kind regards

$\chi$ $\sigma$
 
I solved for $u_1$. To solve for $u_2$, I just need to swap x and y and make the substitution $x^* = L - x$.
Is $u_1$ correct and the approach for $u_2$ correct as well?

If we integrate the first boundary condition, we will have $u(x,y) = yf(x) + h(x)$.
Adding in the fact that $y = 0$, tells us that $u(x,0) = h(x)$.
Therefore, we can solve the equation with the following boundary conditions:
$$
u(x,0) = h(x)\quad u(L,y) = 0\quad u(x,H) = 0\quad u(0,y) = g(y).
$$
The general solution for the generic boundary conditions of $u(x,0) = 0, u(L,y) = 0, u(x,H) = f(x),$ and $u(0,y) = 0$ is
$$
\sum_{n = 1}^{\infty}A_n\sin\lambda_n x\sinh\lambda_n y,
$$
where $\lambda_n = \frac{n\pi}{L}$ and
$$
A_n = \frac{2}{L\sinh\lambda_n H}\int_0^Lf(x)\sin\lambda_n xdx.
$$
For the boundary conditions $u(x,0) = h(x), u(L,y) = 0, u(x,H) = 0$, and $u(0,y) = 0$, we need to make the change of coordinates $x = x^*$ and $y^* = H - y$.
Therefore,
$$
u_1(x,y) = \sum_{n = 1}^{\infty}A_n\sin\lambda_n x\sinh[\lambda_n (H - y)]
$$
where $\lambda_n = \frac{n\pi}{L}$ and
$$
A_n = \frac{2}{L\sinh\lambda_n H}\int_0^Lh(x)\sin\lambda_n xdx.
$$
 
Here is the full solution I obtained (Is it correct?):
$$
u(x,y) = \sum_{n=1}^{\infty}\left[A_n\sin\frac{n\pi x}{L}\sinh\left(\frac{n\pi}{L}(H-y)\right) + B_n\sin\frac{n\pi y}{H}\sinh\left(\frac{n\pi}{H}(L-x)\right)\right]
$$
where
$$
A_n = \frac{2}{L\sinh\frac{n\pi H}{L}}\int_0^Lh(x)\sin\frac{n\pi x}{L}dx
$$
and
$$
B_n = \frac{2}{H\sinh\frac{n\pi L}{H}}\int_0^Hg(y)\sin\frac{n\pi y}{H}dy
$$
 
dwsmith said:
Here is the full solution I obtained (Is it correct?):
$$
u(x,y) = \sum_{n=1}^{\infty}\left[A_n\sin\frac{n\pi x}{L}\sinh\left(\frac{n\pi}{L}(H-y)\right) + B_n\sin\frac{n\pi y}{H}\sinh\left(\frac{n\pi}{H}(L-x)\right)\right]
$$
where
$$
A_n = \frac{2}{L\sinh\frac{n\pi H}{L}}\int_0^Lh(x)\sin\frac{n\pi x}{L}dx
$$
and
$$
B_n = \frac{2}{H\sinh\frac{n\pi L}{H}}\int_0^Hg(y)\sin\frac{n\pi y}{H}dy
$$

My solution is in terms of $h(x)$ not $f(x)$ though. How can I get back $f(x)$?
 
dwsmith said:
If we integrate the first boundary condition, we will have $u(x,y) = yf(x) + h(x)$.

This is incorrect. You have,

\[u_{y}(x,0)=\left.\frac{\partial}{\partial y}u(x,y)\right|_{y=0}=f(x)\]

You cannot integrate this to obtain, \(u(x,y)\) because there is a substitution \(y=0\). Of course you can write,

\[\int u_{y}(x,0)\,\partial y=\int\left.\frac{\partial}{\partial y}u(x,y)\right|_{y=0}\,\partial y=yf(x)+h(x)\]

but I don't think this will give you any useful information. :)
 
  • #10
Sudharaka said:
This is incorrect. You have,

\[u_{y}(x,0)=\left.\frac{\partial}{\partial y}u(x,y)\right|_{y=0}=f(x)\]

You cannot integrate this to obtain, \(u(x,y)\) because there is a substitution \(y=0\). Of course you can write,

\[\int u_{y}(x,0)\,\partial y=\int\left.\frac{\partial}{\partial y}u(x,y)\right|_{y=0}\,\partial y=yf(x)+h(x)\]

but I don't think this will give you any useful information. :)

Ok so what do I do then?
 
  • #11
dwsmith said:
Ok so what do I do then?

I think you should read >>this<< to understand how to solve a Laplace's equation with three homogeneous boundary conditions. Examples 1 and 2 provides you a complete walk through, so I don't want to write them again here. :)
 
  • #12
Sudharaka said:
I think you should read >>this<< to understand how to solve a Laplace's equation with three homogeneous boundary conditions. Examples 1 and 2 provides you a complete walk through, so I don't want to write them again here. :)

The problem isn't solving the equation. The problem is the $u_y$ piece.
 
  • #13
dwsmith said:
The problem isn't solving the equation. The problem is the $u_y$ piece.

Please read posts #2 and #5 carefully. There is no need to do anything with the first boundary condition and the problem is equivalent to solving the two equations,

\[\displaystyle \nabla^2 u_{1} = 0\ ,\ u_{1}(x,0)= f(x)\ ,\ u_{1}(L,y)= 0\ ,\ u_{1}(x,H)= 0\ ,\ u_{1}(0,y)= 0\]

and

\[\displaystyle \nabla^2 u_{2} = 0\ ,\ u_{2}(x,0)= 0\ ,\ u_{2}(L,y)= 0\ ,\ u_{2}(0,y)= 0\ ,\ u_{2}(0,y)= g(y)\]

The final solution will be,

\[u(x,y)=u_{1}(x,y)+u_{2}(x,y)\]
 
  • #14
Sudharaka said:
Please read posts #2 and #5 carefully. There is no need to do anything with the first boundary condition and the problem is equivalent to solving the two equations,

\[\displaystyle \nabla^2 u_{1} = 0\ ,\ u_{1}(x,0)= f(x)\ ,\ u_{1}(L,y)= 0\ ,\ u_{1}(x,H)= 0\ ,\ u_{1}(0,y)= 0\]

and

\[\displaystyle \nabla^2 u_{2} = 0\ ,\ u_{2}(x,0)= 0\ ,\ u_{2}(L,y)= 0\ ,\ u_{2}(0,y)= 0\ ,\ u_{2}(0,y)= g(y)\]

The final solution will be,

\[u(x,y)=u_{1}(x,y)+u_{2}(x,y)\]

So it is won't affect the solution to let $u(x,0) = f(x)$ and solve it as the condition $u_y(x,0)=f(x)$ isn't there?
 
  • #15
dwsmith said:
So it is won't affect the solution to let $u(x,0) = f(x)$ and solve it as the condition $u_y(x,0)=f(x)$ isn't there?

Correct. :)
 
  • #16
So I have as my final solution. Correct?

$$
A_n = \frac{2}{L\sinh\frac{n\pi H}{L}}\int_0^Lf(x)\sin\frac{n\pi x}{L}dx.
$$

$$
B_n = \frac{2}{H\sinh\frac{n\pi L}{H}}\int_0^Hg(y)\sin\frac{n\pi y}{H}dy.
$$

$$
u(x,y) = u_1 + u_2 = \sum_{n = 1}^{\infty}\left[A_n\sin\frac{n\pi x}{L}\sinh\left[\frac{n\pi}{L} (H - y)\right] + B_n\sin\frac{n\pi y}{H}\sinh\left[\frac{n\pi}{H}(L - x)\right]\right]
$$
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K