Course contentsShow
← Mathematics
Lesson 2930 of 3,12158. Joint and Limit BehaviorFree lesson

Conditional Distributions: Discrete Case

Define and compute conditional probability mass functions given one discrete random variable equals a specific value.

Conditional Distributions: Discrete Case

What you'll learn: How to compute the probability distribution of one discrete random variable when another discrete random variable takes a specific value.

The Core Idea

Imagine you and a friend are rolling dice together. Knowing your friend's roll changes what you'd expect about the total sum, right? That's conditioning in action.

When we have two discrete random variables XX and YY with a joint PMF, we often want to know: "What's the distribution of YY given that XX equals some specific value xx?" This gives us the conditional probability mass function (conditional PMF).

The Conditional PMF Formula

The conditional PMF of YY given X=xX = x is:

pY∣X(y∣x)=P(Y=y∣X=x)=pX,Y(x,y)pX(x)p_{Y|X}(y|x) = P(Y = y \mid X = x) = \frac{p_{X,Y}(x,y)}{p_X(x)}

provided that pX(x)>0p_X(x) > 0.

In plain English: Take the joint probability that both events occur, and divide by the marginal probability of the conditioning event. This normalizes the probabilities so they sum to 1 over all possible yy values.

How It Works

  1. Start with the joint PMF pX,Y(x,y)p_{X,Y}(x,y) for all pairs
  2. Find the marginal PMF pX(x)p_X(x) by summing the joint PMF over all yy values
  3. Divide the joint by the marginal for your specific xx value
  4. Verify that ∑ypY∣X(y∣x)=1\sum_y p_{Y|X}(y|x) = 1 (it's a valid PMF)

This creates a "slice" of the joint distribution, rescaled to be a proper probability distribution on its own.

Key Takeaway: The conditional PMF pY∣X(y∣x)=pX,Y(x,y)pX(x)p_{Y|X}(y|x) = \frac{p_{X,Y}(x,y)}{p_X(x)} describes the probability distribution of YY when XX is held fixed at a specific value, found by normalizing the joint probabilities.