I am trying to find the marginal pdf of a uniform distribution on a unit disk.
Let $f_{XY}=\frac{1}{\pi}$, where $X^2+Y^2\leq1$
Here's my attempt:
$$f_X(x)=\int^{\sqrt{1-x^2}}_{-\sqrt{1-x^2}}\frac{1}{\pi}dy = \frac{1}{2\sqrt{1-x^2}}$$
But i'm not sure whether the upper and lower limits are right. Even if I am right, I want to know why the limits look like this instead of $-1$ and $1$
