I tried to calculate the limit of $f(z) = \frac{-1}{ z^{2} } $ near zero using two approaches in the complex space.
First Approach (Using Polar form of Complex Number)
Take $z = re^{i\theta },$ where $\theta$ is arbitrary, to consider every possible path.
Then we get $$ f(z) = \frac{-1}{ z^{2} } = \frac{ -e^{i(-2 \theta )} }{ r^{2} } $$
So, $\lim\limits_{ z\rightarrow 0} \frac{-1}{ z^{2} } = \lim\limits_{ r\rightarrow 0} \frac{ -e^{i(-2 \theta )} }{ r^{2} } = -\infty$
Second Approach
Take $z = x + iy,$ then we get $$f(z) = \frac{-1}{ z^{2} } = \frac{-1}{ x^{2} - y^{2} + i(2xy) }$$
Now, we have to consider $$ \lim\limits_{x \rightarrow 0 ,y \rightarrow 0 } \frac{-1}{ x^{2} - y^{2} + i(2xy) }$$
i) When I choose a path $y \rightarrow 0$, followed by $x \rightarrow 0$ , so I got $$\lim\limits_{x \rightarrow 0} = \frac{-1}{ x^{2} } = -\infty $$
ii) When I choose a path $x \rightarrow 0$, followed by $y \rightarrow 0$, so I got $$\lim_{y \rightarrow 0} = \frac{-1}{ -y^{2} } = \frac{1}{ y^{2} } = \infty $$
Hence, since we obtain two different limits, along two different path, the limit doesn't exist.
(Contradictory to Approach I ).
Where am I making mistake?