Find the solution of the Dirichlet problem:
$$\Delta u(r,\phi)=0, r<1, u(1,\phi)=f(\phi)$$
where $x=r\cos\phi$ and $y=r\sin\phi$ and
$$f(\phi)=\sin^3(\phi).$$
I start by doing the following:
Enter the polar coordinates $x=r\cos\phi$ and $y=r\sin\phi$. Deriving:
$$\begin{gather} u_r=u_x\cos\phi+u_y\sin\phi \tag{1}\\ u_\phi=-ru_x\sin\phi+ru_y\cos\phi \tag{2}\\ u_{rr}=u_{xx}\cos^2(\phi)+2u_{xy}\cos\phi \sin\phi+u_{yy}\sin^2\phi \tag{3}\\ u_{\phi\phi}=r^2u_{xx}\sin^2\phi-ru_{x}\cos\phi \tag{4}\\ -2r^2u_{xy}\sin\phi \cos\phi+r^2u_{yy}\cos^2\phi-ru_y\sin\phi \tag{5} \end{gather}$$
Adding equation $(3)$ and equation $(5)$ divided by $r^2$, we obtain
$$u_{rr}+\frac{1}{r^2}u_{\phi\phi}=u_{xx}+u_{yy}-\frac{1}{r}u_x\cos\phi-\frac{1}{r}u_y\sin\phi$$
Using $(1)$, we obtain
$$\Delta u=\frac{1}{r} (ru_r)_r+\frac{1}{r^2}u_{\phi\phi}$$
Therefore in polar coordinates, the problem takes the form:
$$\frac{1}{r}(ru_r(r,\phi))_r+\frac{1}{r^2}u_{\phi\phi}(r,\phi)=0 \text{ with } u(a,\phi)=f(\phi).$$
My biggest problem is to reach the conclusion that the solution is
$$r(3\sin\phi-r^2\sin 3\phi)/4.$$