Let the joint probability density function of X and Y be
f(x, y) = (3/4)(xy + x²/2); 0 < x < 1, 0 < y < 2
Find—
(i) the marginal probability density functions of X and Y;
(ii) E(X) and V(X);
(iii) E(Y) and V(Y);
(iv) covariance between X and Y;
(v) correlation coefficient between X and Y.
20 marks · directive: Find
The core of a good answer
f_X(x) = 3x/2 + 3x²/4 (0 < x < 1) and f_Y(y) = (3y + 1)/8 (0 < y < 2); E(X) = 11/16, V(X) = 67/1280; E(Y) = 5/4, V(Y) = 13/48; Cov(X, Y) = 41/48 − 55/64 = −1/192; ρ = −0.0437.
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
Straight integration: marginals by integrating out the other variable, moments from the marginals, E(XY) from the joint density, and then cov and ρ. The small negative covariance is a good place for arithmetic slips, so keep exact fractions.
Answer outline
Introduction
First confirm f is a density: ∫₀² ∫₀¹ (3/4)(xy + x²/2) dx dy = 1 (checked in Python).
Step 1: Marginals
- f_X(x) = ∫₀² (3/4)(xy + x²/2) dy = (3/4)(2x + x²) = 3x/2 + 3x²/4, 0 < x < 1.
- f_Y(y) = ∫₀¹ (3/4)(xy + x²/2) dx = (3/4)(y/2 + 1/6) = (3y + 1)/8, 0 < y < 2.
Step 2: Moments of X
- E(X) = ∫₀¹ x(3x/2 + 3x²/4) dx = 1/2 + 3/16 = 11/16.
- E(X²) = 3/8 + 3/20 = 21/40.
- V(X) = 21/40 − 121/256 = 67/1280 ≈ 0.05234.
Step 3: Moments of Y
- E(Y) = ∫₀² y(3y + 1)/8 dy = (8 + 2)/8 = 5/4.
- E(Y²) = ∫₀² y²(3y + 1)/8 dy = (12 + 8/3)/8 = 11/6.
- V(Y) = 11/6 − 25/16 = 13/48 ≈ 0.2708.
Step 4: Covariance
- E(XY) = ∫₀²∫₀¹ xy (3/4)(xy + x²/2) dx dy = (3/4)[(1/3)(8/3) + (1/8)(2)] = (3/4)(8/9 + 1/4) = 41/48.
- Cov(X, Y) = 41/48 − (11/16)(5/4) = 41/48 − 55/64 = (164 − 165)/192 = −1/192 ≈ −0.00521.
Step 5: Correlation
- ρ = (−1/192)/√[(67/1280)(13/48)] = −0.0437 (exactly −√13065/2613).
Conclusion
X and Y are very weakly negatively correlated (ρ ≈ −0.044); they are not independent, since f(x, y) ≠ f_X(x)f_Y(y). All fractions were checked symbolically in Python.
Examples and data to cite
- A near-zero correlation with dependence present illustrates that ρ measures only linear association.
Facts to remember
- Marginal pdf: f_X(x) = ∫ f(x, y) dy.
- V(X) = E(X²) − [E(X)]².
- Cov(X, Y) = E(XY) − E(X)E(Y).
- ρ = Cov(X, Y)/(σ_X σ_Y), −1 ≤ ρ ≤ 1.