My current thought process is this:
In order for f=u+iv to be analytic, it must differentiable. Therefore, it must satisfy the Cauchy-Riemann equation.The Cauchy-Riemann equation is equivalent to:
$u_x=v_y$
$u_y=−v_x$
and $f=u(x,y)+i\cdot u^2(x,y)$
therefoe :
$u_x=\frac{\partial}{\partial y} u^2(x,y)=2u(x,y)\frac{\partial}{\partial y}u(x,y) $
$u_y=-\frac{\partial}{\partial x} u^2(x,y)=-2u(x,y)\frac{\partial}{\partial x}u(x,y) $
therefore ,
$u_x=2u(x,y)\frac{\partial}{\partial y}u(x,y) $ =$2u(x,y)\cdot[-2u(x,y)\frac{\partial}{\partial x}u(x,y))] $
$u_x=-4u^2(x,y)\cdot u_x$
at the same way ,
$u_y=-4u^2(x,y)\cdot u_y$
therefore ,
$u(x,y)=-\frac{4}{3} u^3(x,y)+Const$
how to get from here? something is worng in my way ?
From $$\begin{cases}u_x=2uu_y,\\u_y=-2uu_x\end{cases}$$ we draw
$$\begin{cases}u_x=-4u^2u_x,\\u_y=-4u^2u_y.\end{cases}$$
Hence $1+4u^2=0$ or $u_x,u_y=0$. In other words, $u$ must be constant, $c+ic^2$.