Marginal Distributions for Continuous Random Variables

How to obtain the marginal probability density function of a single continuous random variable from a joint density, including computations on rectangular and non-rectangular supports, and using marginals to compute probabilities.

Step 1 of 157%

Tutorial

From Joint PDF to Marginal PDF

For discrete random variables, the marginal PMF of XX is obtained by summing the joint PMF over all values of YY. For continuous random variables, the analogous operation is integration.

If XX and YY are continuous random variables with joint PDF fX,Y(x,y)f_{X,Y}(x,y), then the marginal probability density functions of XX and YY are

fX(x)=fX,Y(x,y)dy,fY(y)=fX,Y(x,y)dx.f_X(x) = \int_{-\infty}^{\infty} f_{X,Y}(x,y)\,dy, \qquad f_Y(y) = \int_{-\infty}^{\infty} f_{X,Y}(x,y)\,dx.

In practice, the joint PDF is nonzero only on some region, so we integrate only over the values of the other variable for which fX,Yf_{X,Y} is nonzero.

For example, suppose

fX,Y(x,y)=4xy,0x1, 0y1.f_{X,Y}(x,y) = 4xy, \quad 0\le x\le 1,\ 0\le y\le 1.

For each fixed x[0,1]x \in [0,1], yy ranges over [0,1][0,1], so

fX(x)=014xydy=4xy2201=2x,0x1.f_X(x) = \int_0^1 4xy\,dy = 4x\cdot\dfrac{y^2}{2}\bigg|_0^1 = 2x, \quad 0\le x\le 1.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle