[Math] Uniform distribution on unit disk

probabilityprobability distributions

Let $(X, Y)$ be a random point chosen according to the uniform distribution in the disk of radius 1 centered at the origin. Compute the densities of $X$ and of $Y$.

I know that the joint density of $X$ and $Y$ is $\frac{1}{\pi}$ since when we integrate $\frac{1}{\pi}$ over the unit circle, we get $1$.

So if I wanted to find the density of $X$, I was thinking of finding the cumulative distribution of $X$ and the differentiate it to get its density. In order to get its cumulative distribution function, I was going to use the fact that $P(X<x)=P(X<x, -\infty < Y < \infty)$, but this integral doesn't seem nice to work with. Am I on the right track or is there a better way?

Best Answer

By definition, the marginal density of $X$ is simply $$f_X(x) = \int_{y=-1}^1 f_{X,Y}(x,y) \, dy = \int_{y=-\sqrt{1-x^2}}^{\sqrt{1-x^2}} \frac{1}{\pi} \, dy.$$ The second equality arises from the fact that $$f_{X,Y}(x,y) = \frac{1}{\pi} \mathbb{1}(x^2+y^2 \le 1),$$ from which we see that for a given $X = x$, the support of $Y$ is then $-\sqrt{1-x^2} \le Y \le \sqrt{1-x^2}$.