Being my first question in Math StackExchange, a difficulty arises when I attempted to solve a poisson equation on a ring-shaped domain
$$ \begin{cases} \triangle u = 12(x^2 - y^2),\quad u \in \Omega\\ u(x,y) = 1, \quad x^2 + y^2 = a^2,\\ \dfrac{\partial u}{\partial n} =0, \quad x^2 + y^2 = b^2\end{cases} $$ in which $\Omega := \{(x,y)| a^2 \leq x^2 + y^2 \leq b^2\}$,with real number $0 < a < b$.
Naturally I tried to use Separation of Variables, which indicates the ansatz $$ u(x,y) = R(r)\Theta(\theta) $$ and in polar coordinates we have $$ \triangle u(r,\theta) = \dfrac{\partial^2 u}{\partial r^2} + \dfrac{1}{r} \dfrac{\partial u}{\partial r} + \dfrac{1}{r^2} \dfrac{\partial^2 u}{\partial \theta^2} $$ Thus we get the equation $$ R''(r)\Theta(\theta) + \dfrac{1}{r}R'(r)\Theta(\theta) + \dfrac{1} {r^2}R(r)\Theta''(\theta) = 12 r^2 \cos 2\theta $$ by taking $R(r) = Ar^4$ we have $$ A[\Theta''(\theta) + 16\Theta(\theta)] = 12 \cos 2\theta $$ and I find $\Theta(\theta) = 1/A \cos 2\theta$ a natural soluion.
However, by giving the solution $u(r,\theta) = r^4\cos 2\theta$ , I find it hard to imagine a satisfaction of boundary condition $$u\bigg|_{x^2 + y^2 = a^2} =1$$,which is irrelevant to angle function $\Theta(\theta)$ and on which symmetry holds with $\theta$.
It is possible that the ansatz should be improved, but I have no idea about that. Any comments or suggestions will be greatly appreciated.
Update:
I think I've found the particular solution $u_p = r^4\cos 2\theta$, and a solution for homogeneous equation should be added. let $$ u = u_p + \sum_{k=1}^{+\infty} R_k(r)\Theta_k(\theta) $$ ,where the series expansion solves the Laplace equation.
By separation of Variable I get $$ r^2 R_k'' + rR_k' - R_k\lambda_k^2 = 0,\quad \Theta_k'' + \lambda_k^2\Theta_k = 0 $$ By solving the Euler-type equation and the harmonic oscillation equation I get $$ R_k = A_k^1 r^{\lambda_k} + A_k^2 r^{-\lambda_k},\quad \Theta_k = C_k^1 \cos \lambda_k \theta + C_k^2 \sin \lambda_k \theta $$ Can this series expansion satisfy the two boundary conditions?