H Smith 94
Gold Member
- 55
- 1
So here I have Laplace's equation with non-homogeneous, mixed boundary conditions in both x and y.
1. Homework Statement
Solve Laplace's equation \begin{equation}\label{eq:Laplace}\nabla^2\phi(x,y)=0\end{equation} for the following boundary conditions:
In two dimensions:\nabla^2 = \frac{\partial^2}{\partial x^2} + \frac{\partial^2}{\partial y^2}.
[/B]
As far as I can tell, a solution exists in \begin{equation}\label{eq:phi1}\phi(x,y)=\phi_0(x) + \Delta\phi(x,y),\end{equation} where \phi_0(x) satisfies the x-boundaries, in that \phi_0(x)=A_0+B_0 x and \Delta\phi(x,y) satisfies the y-boundaries, with a separable solution of the form \Delta\phi(x,y)=\sum_{n}\chi_n(x)\gamma_n(y).
Applying boundary condition 1: \phi_0(0,y) = 2 \implies \boxed{A_0 = 2}, so now \phi_0= 2+B_0 x.
Applying boundary condition 2: \phi_0(1,y) = 2+ B_0 = 0 \implies \boxed{B_0 = -2}. Hence, have that \begin{equation}\phi_0(x,y) = 2-2x.\end{equation}
Now, equation \ref{eq:phi1} can be substituted into Laplace's equation (\ref{eq:Laplace}) to yield \frac{\partial^2\Delta\phi(x,y)}{\partial x^2} + \frac{\partial^2\Delta\phi(x,y)}{\partial y^2} = 0. This has the separable solution in \Delta\phi(x,y) = \chi(x)\gamma(y): \frac{\mathrm{d}^2\chi}{\mathrm{d}x^2} = \kappa \chi(x) \\ \frac{\mathrm{d}^2\gamma}{\mathrm{d}y^2} = -\kappa \gamma(y) so that \begin{align}\chi(x) = E \cos{\kappa x} + F \sin{\kappa x} \\ \gamma(y) = G e^{\kappa y} + H e^{-\kappa y}, \end{align} for which I found using the homogeneous boundary conditions produced from \phi_0(x) that F = -E and, in turn, E = 0 -- so \chi(x) = 0\ \forall x \implies \boxed{\Delta\phi(x,y) = 0} and so \begin{equation}\boxed{\boxed{\phi(x,y)=2 - 2x}},\end{equation} which just cannot be correct!
I have tried solving the solution directly using separation of variables with all types of attempted forms of solutions and---after pages and pages of working---have come up with nothing. I feel like there's a very simple but essential point I'm missing here.
Thanks in advance!
1. Homework Statement
Solve Laplace's equation \begin{equation}\label{eq:Laplace}\nabla^2\phi(x,y)=0\end{equation} for the following boundary conditions:
- \phi(0, y)=2;
- \phi(1, y)=0;
- \phi(x, 0)=0;
- \frac{\partial}{\partial y}\phi(x,1)=1.
Homework Equations
In two dimensions:\nabla^2 = \frac{\partial^2}{\partial x^2} + \frac{\partial^2}{\partial y^2}.
The Attempt at a Solution
[/B]
As far as I can tell, a solution exists in \begin{equation}\label{eq:phi1}\phi(x,y)=\phi_0(x) + \Delta\phi(x,y),\end{equation} where \phi_0(x) satisfies the x-boundaries, in that \phi_0(x)=A_0+B_0 x and \Delta\phi(x,y) satisfies the y-boundaries, with a separable solution of the form \Delta\phi(x,y)=\sum_{n}\chi_n(x)\gamma_n(y).
Applying boundary condition 1: \phi_0(0,y) = 2 \implies \boxed{A_0 = 2}, so now \phi_0= 2+B_0 x.
Applying boundary condition 2: \phi_0(1,y) = 2+ B_0 = 0 \implies \boxed{B_0 = -2}. Hence, have that \begin{equation}\phi_0(x,y) = 2-2x.\end{equation}
Now, equation \ref{eq:phi1} can be substituted into Laplace's equation (\ref{eq:Laplace}) to yield \frac{\partial^2\Delta\phi(x,y)}{\partial x^2} + \frac{\partial^2\Delta\phi(x,y)}{\partial y^2} = 0. This has the separable solution in \Delta\phi(x,y) = \chi(x)\gamma(y): \frac{\mathrm{d}^2\chi}{\mathrm{d}x^2} = \kappa \chi(x) \\ \frac{\mathrm{d}^2\gamma}{\mathrm{d}y^2} = -\kappa \gamma(y) so that \begin{align}\chi(x) = E \cos{\kappa x} + F \sin{\kappa x} \\ \gamma(y) = G e^{\kappa y} + H e^{-\kappa y}, \end{align} for which I found using the homogeneous boundary conditions produced from \phi_0(x) that F = -E and, in turn, E = 0 -- so \chi(x) = 0\ \forall x \implies \boxed{\Delta\phi(x,y) = 0} and so \begin{equation}\boxed{\boxed{\phi(x,y)=2 - 2x}},\end{equation} which just cannot be correct!
I have tried solving the solution directly using separation of variables with all types of attempted forms of solutions and---after pages and pages of working---have come up with nothing. I feel like there's a very simple but essential point I'm missing here.
Thanks in advance!
Last edited: