I can't get Mathematica to solve this standard textbook PDE, which is Laplace inside a disk of some radius. One of the boundary conditions needed is that the solution is finite (bounded) in center of disk, and I do not know how specify this boundary condition. I do not know if this is why Mathematica can't solve it. Most examples in help are for NDSolve
and finite elements, and I am looking to analytical solution.
This is the formal description of the PDE
Solve for $u\left( r,\theta\right) $ the PDE
\begin{align*} \frac{\partial^{2}u}{\partial r^{2}}+\frac{1}{r}\frac{\partial u}{\partial r}+\frac{1}{r^{2}}\frac{\partial^{2}u}{\partial\theta^{2}} & =0\\ 0 & \leq r\leq a\\ 0 & <\theta\leq2\pi \end{align*}
Boundary conditions
\begin{align*} u\left( a,\theta\right) & =f\left( \theta\right) \\ \left\vert u\left( 0,\theta\right) \right\vert & <\infty\\ u\left( r,0\right) & =u\left( r,2\pi\right) \\ \frac{\partial u}{\partial\theta}\left( r,0\right) & =\frac{\partial u}{\partial\theta}\left( r,2\pi\right) \end{align*}
The standard solution using seperation of variables by hand gives
\begin{align*} u\left( r,\theta\right) & =A_{0}+\sum_{n=1}^{\infty}r^{n}\left( c_{n}\cos n\theta+b_{n}\sin n\theta\right) \\ A_{0} & =\frac{1}{2\pi}\int_{0}^{2\pi}f\left( \theta\right) d\theta\\ c_{n} & =\frac{1}{\pi a^{n}}\int_{0}^{2\pi}f\left( \theta\right) \cos\left( n\theta\right) d\theta\qquad n>0\\ b_{n} & =\frac{1}{\pi a^{n}}\int_{0}^{2\pi}f\left( \theta\right) \sin\left( n\theta\right) d\theta\qquad n>0 \end{align*}
This is what I tried
ClearAll[u,theta,r,a];
pde=D[u[r,theta],{r,2}]+1/r D[u[r,theta],r]+1/r^2 D[u[r,theta],{theta,2}]==0;
bc=u[a,theta]==f[theta];
sol=DSolve[{pde,bc},u[r,theta],{r,theta},Assumptions->a<r&&a>0&& 0<theta<=2 Pi]
Now I tried adding the bounded condition, hoping it will help. But I do not know what the syntax should be
ClearAll[u,theta,r,a];
pde=D[u[r,theta],{r,2}]+1/r D[u[r,theta],r]+1/r^2 D[u[r,theta],{theta,2}]==0;
bc={u[a,theta]==f[theta],Abs[u[0,theta]]<Infinity}
sol=DSolve[{pde,bc},u[r,theta],{r,theta},Assumptions->a<r&&a>0&& 0<theta<=2 Pi]
Ok, so I tried now to add the periodic conditions. But this did not help
ClearAll[u,theta,r,a];
pde=D[u[r,theta],{r,2}]+1/r D[u[r,theta],r]+1/r^2 D[u[r,theta],{theta,2}]==0;
bc={u[a,theta]==f[theta],
u[r,0]==u[r,2 Pi],
Derivative[0,1][u][r,0]==Derivative[0,1][u][r,2 Pi]}
sol=DSolve[{pde,bc},u[r,theta],{r,theta},Assumptions->a<r&&a>0&& 0<theta<=2 Pi]
Question is: Is Mathematica not able to solve it, because it is missing the bounded conditions part? If so, how to specify this? Any one could get Mathematica to solve this analytically?
This is a very standard PDE problem and its analytical solution is all over the net. The above solution I show is the standard text book solution.
11.3 on windows 7