First, we need to find the marginal PMF $p_X(x)$.
We have the joint PMF $p_{XY}(x, y) = \frac{1}{4}x^2y$ for $x = 0, 1, 2$ and $y = 0, 1, 2$. To find the marginal PMF, we sum over all possible values of $y$:
$$
p_X(x) = \sum_{y=0}^2 p_{XY}(x, y) = \sum_{y=0}^2
Show more…