If $a$ and $b$ are both independent, identically distributed normal random variables, what is the distribution of $\phi = \arctan{(-\frac{b}{a})}$? It is uniform, across $0$ to $2\pi$, but I am trying to see why. $a \sim \mathcal{N}(0,\sigma^2)$ and $b$ is identically distributed and independent to $a$.
For example, setting $X = \arctan{(-\frac{b}{a})}$, my strategy is to first calculate the cumulative distribution function (CDF), and then compare the CDF to known CDFs.
$$F_X(x) = P(X\leq x) = P\left(\arctan{\left(-\frac{b}{a}\right)}\leq x\right) = P\left(-\frac{b}{a}\leq\tan(x)\right)$$
Now, $a$ could be either positive or negative, since $a$ is a normal random variable with mean $0$ and non-zero variance. Then, $$\begin{aligned}P\left(-\frac{b}{a}\leq\tan(x)\right) & = P\left(-\frac{b}{a}\leq\tan(x)|a>0\right)P(a>0)\\ & +P\left(-\frac{b}{a}\leq\tan(x)|a\leq 0\right) P(a\leq 0) \end{aligned}$$
Each of the terms $P\left(-\frac{b}{a}\leq\tan(x)|a\leq 0\right) $ and $P\left(-\frac{b}{a}\leq\tan(x)|a > 0\right)$ have terms depending on the value of $x$. I am drawing a plot of $a$ on the x-axis and $b$ on the y-axis and trying to use polar coordinates to calculate the integral using the joint probability function of $a$ and $b$, which is simply the product of the two distributions. Can I have a hint on how to proceed?
If I ignore the value of $a$ entirely (which is wrong) and ignore one of the probability terms (which is also wrong) and ignore the value of $x$, I am getting a result very similar to $\frac{x}{2\pi}$ (which is desirable).
Thanks.