Statistics · real student question

Let (X, Y) have joint density f(x, y) = c x² y on the region x² ≤ y ≤ 1, and 0 otherwise. Find c, both marginal densities, and decide whether X and Y are independent.

Question

Let (X,Y)(X,Y) have joint density

f(x,y)={cx2y,x2y10,otherwisef(x,y)=\begin{cases}cx^{2}y,&x^{2}\le y\le 1\\0,&\text{otherwise}\end{cases}

Find cc, the marginal densities of XX and YY, and determine whether XX and YY are independent.

Step-by-step solution

  1. Describe the support before integrating. The condition x2y1x^{2}\le y\le 1 requires x21x^{2}\le 1, so 1x1-1\le x\le 1: the region is the area between the parabola y=x2y=x^{2} and the horizontal line y=1y=1. Missing the implicit range of xx is the usual first error.

  2. Normalise, integrating y first.

    11 ⁣ ⁣x21cx2ydydx=11cx21x42dx=c211(x2x6)dx\int_{-1}^{1}\!\!\int_{x^{2}}^{1}cx^{2}y\,dy\,dx=\int_{-1}^{1}cx^{2}\cdot\frac{1-x^{4}}{2}\,dx=\frac{c}{2}\int_{-1}^{1}\left(x^{2}-x^{6}\right)dx

    Both integrands are even, so

    c2(2327)=c2821=4c21=1c=214\frac{c}{2}\left(\frac23-\frac27\right)=\frac{c}{2}\cdot\frac{8}{21}=\frac{4c}{21}=1\quad\Longrightarrow\quad c=\frac{21}{4}

  3. Find the marginal density of X. For each x[1,1]x\in[-1,1] integrate yy from x2x^{2} to 11:

    fX(x)=x21214x2ydy=214x21x42=218x2(1x4),1x1f_X(x)=\int_{x^{2}}^{1}\frac{21}{4}x^{2}y\,dy=\frac{21}{4}x^{2}\cdot\frac{1-x^{4}}{2}=\frac{21}{8}x^{2}\left(1-x^{4}\right),\qquad -1\le x\le 1

  4. Find the marginal density of Y. For each y[0,1]y\in[0,1] the condition x2yx^{2}\le y means yxy-\sqrt y\le x\le\sqrt y:

    fY(y)=yy214x2ydx=214y2y3/23=72y5/2,0y1f_Y(y)=\int_{-\sqrt y}^{\sqrt y}\frac{21}{4}x^{2}y\,dx=\frac{21}{4}y\cdot\frac{2y^{3/2}}{3}=\frac{7}{2}y^{5/2},\qquad 0\le y\le 1

  5. Decide independence. The support is bounded by a parabola, not a rectangle — the possible values of XX shrink as YY decreases — so the variables cannot be independent. Confirming with the formulas:

    fX(x)fY(y)=218x2(1x4)72y5/2214x2y=f(x,y)f_X(x)f_Y(y)=\frac{21}{8}x^{2}\left(1-x^{4}\right)\cdot\frac72y^{5/2}\neq\frac{21}{4}x^{2}y=f(x,y)

    c=214; fX(x)=218x2(1x4), fY(y)=72y5/2; not independent\boxed{c=\tfrac{21}{4};\ f_X(x)=\tfrac{21}{8}x^{2}\left(1-x^{4}\right),\ f_Y(y)=\tfrac72y^{5/2};\ \text{not independent}}

  6. Check both marginals integrate to 1. 11218x2(1x4)dx=2182(1317)=214421=1\int_{-1}^{1}\tfrac{21}{8}x^{2}\left(1-x^{4}\right)dx=\tfrac{21}{8}\cdot 2\left(\tfrac13-\tfrac17\right)=\tfrac{21}{4}\cdot\tfrac{4}{21}=1 ✓ and 0172y5/2dy=7227=1\int_{0}^{1}\tfrac72y^{5/2}dy=\tfrac72\cdot\tfrac{2}{7}=1 ✓.

Answer

c=214; fX(x)=218x2(1x4) (1x1); fY(y)=72y5/2 (0y1); not independentc=\dfrac{21}{4};\ f_X(x)=\dfrac{21}{8}x^{2}\left(1-x^{4}\right)\ (-1\le x\le 1);\ f_Y(y)=\dfrac72 y^{5/2}\ (0\le y\le 1);\ \text{not independent}

Need to solve a different problem like this? Open the solver →