I must study the continuity in $(0,0)$ of $f$ defined as:
$$f(x,y)=\begin{cases} \frac{x^2+y^2}{\pi+2\arctan(\frac{y}{x})}, && \text{if} \ x\ne0 \\ \frac{y^2}{2\pi}, && \text{if} \ x=0 \end{cases}$$
Using the polar coordinates with $\theta \in [0,2\pi)$, I get:
$$f(x,y)=\begin{cases} \frac{r^2}{\pi+2\arctan(\tan \theta)}, && \text{if} \ \cos \theta \ne0 \\ \frac{r^2 \sin^2 \theta}{2\pi}, && \text{if} \ \cos \theta=0 \end{cases}$$
My doubt: do I have to distinguish cases for the inverse of the tangent? That is, I must use:
$$f(x,y)=\begin{cases} \frac{x^2+y^2}{\pi+2\arctan(\frac{y}{x})}, && \text{if} \ x\ne0 \\ \frac{y^2}{2\pi}, && \text{if} \ x=0 \end{cases}$$
Using the polar coordinates with $\theta \in [0,2\pi)$, I get:
$$f(x,y)=\begin{cases} \frac{r^2}{\pi+2\arctan(\tan \theta)}, && \text{if} \ \cos \theta \ne0 \\ \frac{r^2 \sin^2 \theta}{2\pi}, && \text{if} \ \cos \theta=0 \end{cases}$$
My doubt: do I have to distinguish cases for the inverse of the tangent? That is, I must use: