I have a question regarding the definition of a uniform distribution for a bivariate random vector. For example, I am doing a few exercises and the premise of the questions are as follows:
Let $(X, Y)$ be a random vector and suppose that it has a joint uniform distribution over the square $(-1, 1) \times (-1, 1)$.
Let $(X, Y)$ be a random vector and suppose that it has a joint uniform distribution over the ball $\{(x, y) \in \mathbb{R}^2: x^2+y^2 \le 1\}$.
My question is simply what is the of a uniform distribution for a bivariate random vector? For example, I know that the pdf (of a single random variable ) of the uniform distribution is:
$$f(x)=\begin{cases}{\frac {1}{b-a}}&\mathrm {for} \ a\leq x\leq b,\\[8pt]0&\mathrm {for} \ x<a\ \mathrm {or} \ x>b\end{cases}$$
So what is $f_{X, Y}(x, y)$ in each of the premises above?