2

The continuous random variables $X$ and $Y$ have the joint probability density function:

$$f(x, y)= \begin{cases} \dfrac{3}{2}y^2, & \text{ where } 0\leq x \leq 2 \text{ and } 0 \leq y \leq 1 \\[2ex] 0, & \text{ otherwise} \\ \end{cases} $$

I am asked to find the marginal distributions of $X$ and $Y$, and show that $X$ and $Y$ are independent.

I know the marginal distribution to be the probability distribution of a subset of values, does that mean the marginal distribution can be obtained by calculating the probability distribution of the piecewise function in locations where $f(x, y)$ does not equal zero?

Clarinetist
  • 20,278
  • 10
  • 72
  • 137
mnmakrets
  • 251

3 Answers3

2

Hints:

You integrate the joint density $f(x,y)$ with respect to $y$ to get the marginal of $X$ i.e. $f_X(x)$. Integration must be done with proper limits.

Similarly you integrate the joint density $f(x,y)$ with respect to $x$ to get the marginal of $y$ i.e. $f_Y(y)$. Here again note the proper limits of integration.

Now to show that $X$ and $Y$ are independent, show that $f_X(x)f_Y(y)=f(x,y)$. Another way would be to observe that the supports of $X$ and $Y$ are independent rectangles, and the joint p.d.f. is of the form $g(x)h(y)$ where $g(x)$ involves no $y$ and $h(y)$ involves no $x$. This is a condition, which, if you didn't already know, tells you that $X$ and $Y$ are independent.

Landon Carter
  • 13,462
  • 4
  • 37
  • 90
2

I know the marginal distribution to be the probability distribution of a subset of values,

Yes. In this case, the subsets of $\{X, Y\}$ we're interested in are $\{X\}$ and $\{Y\}$.

You have been given the joint density function, $f_{X,Y}(x,y)$, and the support for this function, $0\leq x\leq 2, 0\leq y\leq 1$. To obtain the marginal density functions, you integrate over the support for the unwanted variable.

$$\begin{align} f_X(x) & = \int_{0}^1 f_{X,Y}(x,\color{blue}{y})\operatorname d \color{blue}{y} & : \big[0\leq x\leq 2\big] \\[1ex] & = \tfrac 3 2 \int_0^1 \color{blue}y^2 \operatorname d \color{blue}y \\[1ex] & = \tfrac 1 3 \\[2ex] f_Y(y) & = \int_0^2 f_{X,Y}(\color{blue}{x}, y)\operatorname d \color{blue}{x} & : \big[0\leq y\leq 1\big] \\[1ex] & = \tfrac 3 2 y^2 \int_0^2 \operatorname d \color{blue}x \\[1ex] & = 3 y^2 \end{align}$$

Graham Kemp
  • 133,231
  • When you mention $$f_X(s) = \int_{0}^1 f_{X,Y}(s,y)\operatorname d y \qquad \big[0\leq s\leq 2\big] \ f_Y(t) = \int_0^2 f_{X,Y}(x, t)\operatorname d x\qquad\big[0\leq t\leq 1\big]$$

    What do the $s$ and $t$ variables stand for? I see that $s$ has the same bounds as $x$ stated above in the initial question, and $t$ has the same bounds as for $y$ stated in the question. Why do we need to introduce these two new variables for the solutions, why can't we stay with the $x$ and $y$ for the bounds and make the newly stated ie. $f_{X, Y} (s, y) $ just equal to $f_{X,Y} (y)$?

    – mnmakrets Aug 25 '15 at 15:19
  • Why do we integrate over the support of the unwanted variable, rather than the wanted variable? – mnmakrets Aug 25 '15 at 15:29
  • @mnmakrets We integrate over the unwanted variable to eliminate it. $f_X(s)$ is the density of variable $X$ at point $s$ over all values of variable $Y$. ($s$ is just a token to distinguish the constant term from the integration variable $y$.) – Graham Kemp Aug 25 '15 at 22:50
1

Hint: $$\begin{align*} f_X(x) &= \int\limits_{-\infty}^{\infty}f_{X,Y}(x,y)\text{ d}y \sim \int_{\text{outside of }[0, 2]}0+\int\limits_{0}^{2}\dfrac{3}{2}y^2\text{ d}y = \int\limits_{0}^{2}\dfrac{3}{2}y^2\text{ d}y\\ f_Y(y) &= \int\limits_{-\infty}^{\infty}f_{X,Y}(x,y)\text{ d}x \sim \int_{\text{outside of }[0, 1]}0+\int\limits_{0}^{1}\dfrac{3}{2}y^2\text{ d}x = \int\limits_{0}^{1}\dfrac{3}{2}y^2\text{ d}x \end{align*}$$

Clarinetist
  • 20,278
  • 10
  • 72
  • 137