Skip to content

Marginal Probability Mass Function

Definition

For a discrete random pair (X,Y)(X,Y) with joint PMF pX,Yp_{X,Y}, the marginal PMF of XX is

pX(x)=∑ypX,Y(x,y),\begin{aligned} p_X(x)=\sum_y p_{X,Y}(x,y), \end{aligned}

where the sum runs over all possible values yy of YY.


Interpretation

A marginal PMF describes one component of a random pair after the other component has been summed out. Summing over all values yy is the law of total probability for the partition formed by the events {Y=y}\{Y=y\}: P(X=x)=∑yP(X=x,Y=y)\displaystyle \mathbb{P}(X=x)=\sum_y\mathbb{P}(X=x,Y=y).

A 2 by 2 joint probability table with its row sums 0.3 and 0.7 as the marginal PMF of X and its column sums 0.4 and 0.6 as the marginal PMF of Y.

In the table the rows are the values of XX and the columns the values of YY. The row sums 0.1+0.2=0.30.1+0.2=0.3 and 0.3+0.4=0.70.3+0.4=0.7 give pXp_X; the column sums 0.1+0.3=0.40.1+0.3=0.4 and 0.2+0.4=0.60.2+0.4=0.6 give pYp_Y. The name comes from writing these sums in the margins of the table.

Going from the joint PMF to the marginals loses information: the marginals do not determine the joint PMF. The pair X=Y∼Bern⁡(12)X=Y\sim\operatorname{Bern}(\tfrac{1}{2}) and a pair of independent fair coins have the same marginals but different joint PMFs. Only for independent variables is the joint PMF the product pX(x)pY(y)p_X(x)p_Y(y); the table above is not of this kind, since pX(0)pY(0)=0.3⋅0.4=0.12≠0.1p_X(0)p_Y(0)=0.3\cdot0.4=0.12\neq0.1.

The marginal of YY is the denominator of the conditional PMF of XX given Y=yY=y. For pairs with a joint density, the marginal density is found in the same way, with the sum replaced by an integral.


Key Results

  • pX(x)=∑ypX,Y(x,y)\displaystyle p_X(x)=\sum_yp_{X,Y}(x,y) and pY(y)=∑xpX,Y(x,y)\displaystyle p_Y(y)=\sum_xp_{X,Y}(x,y).
  • Marginalization preserves normalization: ∑xpX(x)=1\displaystyle \sum_xp_X(x)=1.

Examples

  • If the masses at (0,0),(0,1),(1,0),(1,1)(0,0),(0,1),(1,0),(1,1) are 0.1,0.2,0.3,0.40.1,0.2,0.3,0.4, then pX(0)=0.3p_X(0)=0.3 and pY(1)=0.6p_Y(1)=0.6.
  • For independent fair dice, summing the six masses 1/361/36 in a row gives pX(i)=1/6p_X(i)=1/6.

Prerequisites

Sources

Aliases: marginal PMF, marginal mass function Symbols: sum

Last updated: 20 October 2026 03:02