here is a PDE I am having problems with, on the domain $[0,a]\times[0,b]$:
\begin{equation} u_{xx}+u_{yy}=0 \\ u(x,0)=0 , u(x,b)=\sin \frac{n\pi}{a}x \\ u(0,y)=u(a,y)=0 \end{equation}
From this we see that there are homogeneous conditions on the x-variable, so its form must be trigonometric, while the x-variable is subjected to inhomogeneous boundary conditions, so it must be hyperbolic.
1. We solve first the easy one, the trigonometric form by separation of variables and obtain:
$X_n(x)=\sin(\frac{n\pi}{a}x)$
2. The y-variable however has the following solution:
$Y(y)=C\cosh\lambda y+ D\sinh\lambda y$. With initial conditions I get the following:
$Y(0)=0\longrightarrow Y(y)=D\sinh\lambda y$.
Then with $Y(b)=\sin x$ we should get:
$\sin y=D\sinh\lambda y\rightarrow D=\frac{\sin y}{\sinh\lambda y}$. If I am not mistaking, this leaves:
$Y(y)=\sin y$
and
\begin{equation} u(x,y)=\sum_{n=1}^\infty \sin y \sin\frac{n\pi}{a}x \end{equation}
But this is not an eigenfunction of the Laplace problem above, as it does not satisfy it.
Clearly, the mistake is in step 2. But how do I find that $D$?
Thanks