Statistics · real student question

Let (X, Y) have joint density f(x, y) = cx for 0 < x ≤ 1 and 0 ≤ y ≤ x, 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)={cx,0<x1, 0yx0,otherwisef(x,y)=\begin{cases}cx,&0<x\le 1,\ 0\le y\le x\\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. Normalise over the triangular support. Integrating yy first is easiest because xx is constant in the inner integral:

    01 ⁣ ⁣0xcxdydx=01cxxdx=c01x2dx=c3=1\int_{0}^{1}\!\!\int_{0}^{x}cx\,dy\,dx=\int_{0}^{1}cx\cdot x\,dx=c\int_{0}^{1}x^{2}dx=\frac{c}{3}=1

    c=3c=3

  2. Find the marginal density of X. Fix x(0,1]x\in(0,1] and integrate out yy over the slice 0yx0\le y\le x:

    fX(x)=0x3xdy=3xx=3x2,0<x1f_X(x)=\int_{0}^{x}3x\,dy=3x\cdot x=3x^{2},\qquad 0<x\le 1

  3. Find the marginal density of Y. Fix y[0,1]y\in[0,1]; the support requires xyx\ge y, so xx ranges from yy to 11:

    fY(y)=y13xdx=[3x22]y1=32(1y2),0y1f_Y(y)=\int_{y}^{1}3x\,dx=\left[\frac{3x^{2}}{2}\right]_{y}^{1}=\frac32\left(1-y^{2}\right),\qquad 0\le y\le 1

    Getting the limits of this one right — xx from yy to 11, not 00 to 11 — is the crux.

  4. Test independence by multiplying the marginals.

    fX(x)fY(y)=3x232(1y2)=92x2(1y2)f_X(x)f_Y(y)=3x^{2}\cdot\frac32\left(1-y^{2}\right)=\frac92x^{2}\left(1-y^{2}\right)

    which is not equal to f(x,y)=3xf(x,y)=3x.

  5. Give the decisive structural reason. Even before comparing formulas, the support itself settles it: the region 0yx0\le y\le x is not a rectangle, so the range of YY depends on the value of XX. Independence would require the support to be a product set.

    c=3; fX(x)=3x2, fY(y)=32(1y2); X and Y are NOT independent\boxed{c=3;\ f_X(x)=3x^{2},\ f_Y(y)=\tfrac32\left(1-y^{2}\right);\ X\text{ and }Y\text{ are NOT independent}}

  6. Check that both marginals integrate to 1. 013x2dx=1\int_{0}^{1}3x^{2}dx=1 ✓ and 0132(1y2)dy=32(113)=1\int_{0}^{1}\tfrac32\left(1-y^{2}\right)dy=\tfrac32\left(1-\tfrac13\right)=1 ✓, confirming the value of cc and both limit choices.

Answer

c=3; fX(x)=3x2 (0<x1); fY(y)=32(1y2) (0y1); not independentc=3;\ f_X(x)=3x^{2}\ (0<x\le 1);\ f_Y(y)=\tfrac32\left(1-y^{2}\right)\ (0\le y\le 1);\ \text{not independent}

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