$f(z)=\overline{z}(z-2)-2Re(z)$, $z=x+iy \in \mathbb{C}$
I want to determine all local extrema of $|f(x)|$.
$|f(z)|=|\overline{z}(z-2)-2Re(z)|=|(x-iy)(x-2+iy)-2x| =|x^2+y^2-4x+i2y|\le|x^2|+|y^2|+|-4x|+|i2y|=x^2+y^2+4x+2y$. But that doesn't get me any further.
I know that $|.|$ is always $\ge0$. Does this mean that $0$ is a global and therefore local minimum? How can I prove this rigorously? And what about the local maxima?
We have
$$ |f(z)|^2 = ((x(x-4)+y^2)^2+4y^2 $$
so we have two global minima for
$$ y = 0\\ y^2+x(x-4) = 0 $$
or $x = 0, y = 0$ and $x = 4, y= 0$
and a local maximum for $x = 2, y = 0$ because
$\min y^2+x(x-4) = -4\rightarrow |f(z)|^2 = 16$
Attached a level local map. In red the global minima and in green the local maximum.