Recently I've come across the following partial differential equation for $p(x,y)$: $$ p(x,y)-A\left(\frac{\partial^2p(x,y)}{\partial x^2}+\frac{\partial^2p(x,y)}{\partial y^2}\right)+B=0 $$
where $A$ and $B$ are constant. As can be seen, the term multiplying $A$ is the Laplacian of the function. The boundary conditions for the equation are given by:
$$ p(1,y)=p(y,2)=0 $$
$$ \frac{\partial p(0,y)}{\partial x} = \frac{\partial p(x,0)}{\partial y} = 0 $$
My question is: Is it possible to find a general solution to it, so I don't have to adopt any numerical methods to solve it? I really appreciate any help you can provide. Thank you in advance!
Set $q(x, y) = p(x, y)+B$. Then,
$$ Δ q = \frac{\partial^2 q(x, y)}{\partial x^2}+\frac{\partial^2 q(x, y)}{\partial y^2} = \frac{\partial^2 p(x, y)}{\partial x^2}+\frac{\partial^2 p(x, y)}{\partial y^2} = Δ p, $$
and we have the following PDE for $q(x, y)$.
$$ \Delta q(x, y) = \frac{1}{A}q(x, y), $$
which can be solved, for example, by the separation of variables.