Marginal distribution of a uniform distribution on a unit disk
Solution 1:
Your procedure is correct...but some errors in the calculations
$$x^2+y^2\le 1$$
Even if I am right, I want to know why the limits look like this instead of −1 and 1
Because your joint density is defined over a disk and not over a square. More formally, solving in $y$ the above inequality you get
$$-\sqrt{1-x^2}\le y \le \sqrt{1-x^2}$$
thus integrating $f_{XY}$ w.r.t. $y$ you get
$$f_X(x)=\frac{1}{\pi}\int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}}dy=\frac{2}{\pi}\sqrt {1-x^2}\cdot\mathbb{1}_{[-1;1]}(x)$$