My textbook has a question that I'm unsure of my answer on, specifically part (a) and (d):
Suppose that a point $(X,Y)$ is chosen at random from the circle $S$ defined as follows: $$S=\{(x,y):x^2+y^2\le 1\}$$
a) Determine the joint p.d.f. of $X$ and $Y$
My Approach: My guess is that we're basically looking for the probability that we're in $S$? Is that correct? So I think it should be:
$ f(x,y)= \begin{cases} 1&,\ (x,y)\in S\\ 0&,\text{otherwise}\\ \end{cases} $
b) Determine the marginal p.d.f. of $X$
For this, I'll integrate our joint p.d.f. over $y$: $$f_1(x)=\int_{-\infty}^{\infty}f(x,y)dy=\int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}}1dy=2\sqrt{1-x^2}$$
c) Determine the marginal p.d.f. of $Y$
Same as above, $$f_2(y)=\int_{-\infty}^{\infty}f(x,y)dx=\int_{-\sqrt{1-y^2}}^{\sqrt{1-y^2}}1dx=2\sqrt{1-y^2}$$
d) Are $X$ and $Y$ independent?
Here, I believe we're seeing whether $f(x,y)=f_1(x)\cdot f_2(y)$ and $2\sqrt{1-x^2} \cdot 2\sqrt{1-y^2}\ne 1$ so $X$ and $Y$ are not independent.