$u_{xx}+u_{yy}=0$ on $0<x<a,0<y<b$
$u_{x}(0,y)=-a$, $u_x(a,y)=0$
$u_y(x,0)=b$, $u_y(x,b)=0$
I separated this into $u=v+w$ where
$v_{xx}+v_{yy}=0$ on $0<x<a,0<y<b$
$v_{x}(0,y)=-a$, $v_x(a,y)=0$
$v_y(x,0)=0$, $v_y(x,b)=0$
and
$w_{xx}+w_{yy}=0$ on $0<x<a,0<y<b$
$w_{x}(0,y)=0$, $w_x(a,y)=0$
$w_y(x,0)=b$, $w_y(x,b)=0$
Solving for $v$
I used separation of variables to get $v=X(x)Y(y)$
And $\frac{X''}{X}+\frac{Y''}{Y}=-\lambda$ where $\lambda\geq 0$
Which gives me ODEs, $X''+\lambda X=0$, $Y''+\lambda Y=0$
$Y(y)=A\cos(\sqrt{\lambda} y)+B\sin(\sqrt{\lambda}y)$
Initial condition $v_y(x,0)=0$ gives me $B=0$
So I get $Y=A\cos(\sqrt{\lambda}y)$
And then the condition $Y'(b)=0$ gives me that $\sqrt{\lambda}=\frac{n\pi}{b}$
So $Y=A\cos(\frac{n\pi}{b})$
And solving for $X$ I get $X=De^{\frac{n\pi}{b}x}+Ce^{-\frac{n\pi}{b}x}$
I end up with this general solution for $v(x,y)= \sum_{n=1}^\infty \cos(\frac{n\pi}{b}y)[A_ne^{\frac{n\pi}{b}x}+B_ne^{-\frac{n\pi}{b}x}]$
My issue now is when I try to use $v_x(0,y)=-a$ and $v_y(a,y)=0$ to solve for $A_n, B_n$
I get $v_x(0,y)=-a=\sum_{n=1}^\infty \cos(\frac{n\pi}{b}y) [A_n \frac{n\pi}{b}-\frac{n\pi}{b}B_n]$
and $v(a,y)=0= \sum_{n=1}^\infty \cos(\frac{n\pi}{b}y)[A_n\frac{n\pi}{b}e^{\frac{n\pi}{b}a}-B_n\frac{n\pi}{b}e^{-\frac{n\pi}{b}a}]$
Which do not seem to help me solve for $A_n$ and $B_n$.