Making use of the Cauchy-Riemann equations verify if the following function is differentiable at least in one point and if it is holomorphic $w=|z|\overline{z}$
I tried to solve the problem in the following way:
$|z|\overline{z}=r(r\cos(\phi)-i\sin(\phi))=r^2\cos(\phi)-r^2i\sin(\phi)$ where $r\in\mathbb{R}^+\:,\:\phi\in[-\pi,\pi]$
Taking the $u(r,\phi)=r^2\cos(\phi)$ and $v(r,\phi)=r^2\sin(\phi)$
Computing $\frac{\partial u(r,\phi)}{\partial r}=2r\cos(\phi)\\\frac{\partial v(r,\phi)}{\partial \phi}=r^2\cos(\phi)$
So if we take the equation: $\frac{\partial u(r,\phi)}{\partial r}=\frac{\partial v(r,\phi)}{\partial \phi}\implies r=2$
Now computing: $\frac{\partial u(r,\phi)}{\partial \phi}=-r^2\sin(\phi)\\\frac{\partial v(r,\phi)}{\partial \phi}=2r\sin(\phi)$
Taking the equality: $\frac{\partial u(r,\phi)}{\partial \phi}=-\frac{\partial v(r,\phi)}{\partial r}\implies r=2$
So the equation is differentiable on the circumference $|z|=2$
I guess the function is not holomorphic because it is not differentiable in a neighbourhood of any point in the circumference.
Questions:
Is this right? If not. How should I solve it?
Thanks in advance!