What's the solution to Laplace's equation $\nabla^2V=0 $ in the annulus with centre 0, inner radius 1, and outer radius 2, with boundary conditions $V=0$ on the inner boundary and $V=1$ on the outer boundary?
By separating variables, I got the general solution $V(r,\theta)=\Sigma[(C_n r^n + D_n r^{-n})(A_n \cos n\theta + B_n \sin n\theta)]$. The inner boundary condition gives $D_n = -C_n \forall n$. The outer boundary condition gives $\Sigma[C_n(2^n - 2^{-n})(A_n \cos n\theta + B_n \sin n\theta)] = 1.$ But this gives a Fourier series with zero constant term being identically equal to 1. By uniqueness of Fourier series, isn't this a contradiction?
Or is there a better method than using separation of variables, which gives a different general form for the solution?
Many thanks for any help with this!
Look for a solution $V=V(r)=V(|x|)$. Then $\Delta V=0$ can be rewritten as $$V''(r)+\frac{2}{r}V'(r)=0$$ in the interval $(1,2)$. Integrating this equation you find $V(r)=C_1+\frac{C_2}{r}$ for suitable constants $C_1$ and $C_2$. The boundary conditions imply $C_1=2$ and $C_2=-2$. Hence $V(x)=2-\frac{2}{|x|}$ solves your equation in the annulus.
Edit: as pointed out in the comments, this treated the case in dimension $3$. In dimension $2$, radially symmetric harmonic functions have the form $r \mapsto C_1+C_2 \log r$, but the conclusion is similar: just match the boundary conditions and find $C_1$ and $C_2$.