Let the joint probability mass function of X and Y be
p(x, y) = (x² + 2y)/80, x = 0, 1, 2; y = 1, 2, 3, 4
Find—
(i) the marginal probability mass functions of X and Y;
(ii) P(X ≤ 1, Y > 2).
10 marks · directive: Find
The core of a good answer
p_X(x) = (4x² + 20)/80, giving 1/4, 3/10, 9/20 for x = 0, 1, 2; p_Y(y) = (5 + 6y)/80, giving 11/80, 17/80, 23/80, 29/80 for y = 1, 2, 3, 4; and P(X ≤ 1, Y > 2) = 30/80 = 3/8.
An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work
What the question asks
Marginals come from summing the joint pmf over the other variable; the probability of a joint event is the sum of p(x, y) over the cells in it. Marks split 6 + 4, so show both marginal sums in closed form and check each totals 1.
Answer outline
Introduction
There are 3 × 4 = 12 cells. First check the joint pmf is valid: ∑∑(x² + 2y) = 4(0 + 1 + 4) + 3 × 2(1 + 2 + 3 + 4) = 20 + 60 = 80, so the total is 1.
Step 1: Marginal of X
- p_X(x) = ∑_{y=1}^{4} (x² + 2y)/80 = (4x² + 2 × 10)/80 = (4x² + 20)/80.
- p_X(0) = 20/80 = 1/4; p_X(1) = 24/80 = 3/10; p_X(2) = 36/80 = 9/20.
- Check: 20 + 24 + 36 = 80.
Step 2: Marginal of Y
- p_Y(y) = ∑_{x=0}^{2} (x² + 2y)/80 = (5 + 6y)/80.
- p_Y(1) = 11/80; p_Y(2) = 17/80; p_Y(3) = 23/80; p_Y(4) = 29/80.
- Check: 11 + 17 + 23 + 29 = 80.
Step 3: P(X ≤ 1, Y > 2)
- Cells (0,3), (0,4), (1,3), (1,4).
- Numerators: 0 + 6 = 6; 0 + 8 = 8; 1 + 6 = 7; 1 + 8 = 9; total 30.
- P(X ≤ 1, Y > 2) = 30/80 = 3/8 = 0.375.
Step 4: Remark on independence
- p_X(0)p_Y(1) = (1/4)(11/80) = 11/320, but p(0, 1) = 2/80 = 8/320, so X and Y are not independent.
Conclusion
Marginals: X takes 0, 1, 2 with probabilities 1/4, 3/10, 9/20; Y takes 1 to 4 with probabilities (5 + 6y)/80. P(X ≤ 1, Y > 2) = 3/8. All values were checked by exact fraction arithmetic in Python.
Examples and data to cite
- The same layout (a joint table with row and column totals) is the standard way to present a bivariate discrete distribution; the margins are literally the totals written in the table's margins.
Facts to remember
- Marginal pmf: p_X(x) = ∑_y p(x, y); p_Y(y) = ∑_x p(x, y).
- P[(X, Y) ∈ A] = ∑_{(x, y) ∈ A} p(x, y).
- X and Y are independent only if p(x, y) = p_X(x)p_Y(y) for every cell.
- ∑_{y=1}^{4} y = 10; ∑_{x=0}^{2} x² = 5.