STA169 · 2076 · 5 marks
If two random variables have the joint probability density function find (i) constant k (ii) conditional probability density function of X (iii) Identify whether X and Y are independent.
If two random variables have the joint probability density function $$f(x,y) = \begin{cases} k(2x + 3y), & 0 \leq x \leq 1, 0 \leq y \leq 1 \ 0, & \text{otherwise} \end{cases}$$
find (i) constant $k$ (ii) conditional probability density function of $X$ (iii) Identify whether $X$ and $Y$ are independent. [5]
Joint PDF Problem: f(x,y) = k(2x + 3y)
Given Data
- Joint PDF: $f(x,y) = k(2x+3y)$ for $0 \le x \le 1$, $0 \le y \le 1$; zero otherwise.
(i) Finding the Constant k
The total probability must equal 1:
$$\int_0^1 \int_0^1 k(2x+3y), dx, dy = 1$$
Inner integral (over x):
$$\int_0^1 (2x+3y), dx = \left[x^2 + 3xy\right]_0^1 = 1 + 3y$$
Outer integral (over y):
$$k\int_0^1 (1+3y), dy = k\left[y + \tfrac{3y^2}{2}\right]_0^1 = k\left(1 + \tfrac{3}{2}\right) = \frac{5k}{2}$$
Setting equal to 1:
$$\frac{5k}{2} = 1 \implies \boxed{k = \frac{2}{5}}$$
(ii) Conditional PDF of X
The conditional PDF of $X$ given $Y=y$ is $f(x|y) = \dfrac{f(x,y)}{f_Y(y)}$.
Marginal PDF of Y:
$$f_Y(y) = \int_0^1 \frac{2}{5}(2x+3y), dx = \frac{2}{5}\left[x^2 + 3xy\right]_0^1 = \frac{2}{5}(1+3y), \quad 0 \le y \le 1$$
Conditional PDF:
$$f(x|y) = \frac{\frac{2}{5}(2x+3y)}{\frac{2}{5}(1+3y)} = \boxed{\frac{2x+3y}{1+3y}}, \quad 0 \le x \le 1$$
(iii) Independence of X and Y
Marginal PDF of X:
$$f_X(x) = \int_0^1 \frac{2}{5}(2x+3y), dy = \frac{2}{5}\left[2xy + \frac{3y^2}{2}\right]_0^1 = \frac{2}{5}\left(2x + \frac{3}{2}\right) = \frac{4x+3}{5}, \quad 0 \le x \le 1$$
Check factorization:
$$f_X(x)\cdot f_Y(y) = \frac{4x+3}{5}\cdot \frac{2(1+3y)}{5} = \frac{2(4x+3)(1+3y)}{25}$$
Compare with joint:
$$f(x,y) = \frac{2(2x+3y)}{5} = \frac{10(2x+3y)}{25}$$
Since
$$\frac{2(4x+3)(1+3y)}{25} \ne \frac{10(2x+3y)}{25},$$
the equality $f(x,y) = f_X(x)f_Y(y)$ fails.
Conclusion: X and Y are NOT independent.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.