Find the maximum points of $|z^2-3z+2|$ at $|z|\leq 1$
Because $z^2-3z+2$ the function is analytic on the interior of $|z|\leq 1$ the maximum will be obtained on the boundary.
Let $z=e^{it}$ where $0\leq t \leq 2\pi$
So the function is $e^{2it}-3e^{it}+2$ now I want to look at the boundry so I should take $|e^{2it}|-3|e^{it}|+2$?
The maximum of $z^2-3z+2$ is not defined because $z^2-3z+2\in\mathbb C$.
By the way, $$|z^2-3z+2|\leq|z|^2+3|z|+2\leq6.$$ The equality occurs for $z=-1$.