if $|z^2-3|=3|z|$ , then the max value of |z| is:
I attempted this problem by subbing $z$ in as $re^{i\theta}$
so
$$|r^2e^{i2\theta}-3|= 3r$$
$$r=\frac{3}{\sqrt{(\cos2\theta-3)^2+\sin^22\theta}}$$
$$r=\frac{3}{\sqrt{10-6\cos2\theta}}$$
So we just have to find the minimum of the expression below in the denominator to find the maximum value of $r$ which is $|z|$ which is 2 and gives $|z|=3/2$.
On the other hand the author has used the following inequality
$$|z^2-3|-3|z|=0$$
$$|z^2|-3|z|-3<=0$$
Now, i can't figure out why is my answer not the same as the on which we get by solving the quadratic above $(3+\sqrt21)/2$
Your method is wrong. You are treating $r$ and $\theta$ as independent. $\theta$ depends on $r$ so you cannot minimize over all values of $\theta$.