
2025-10-29
Define joint and marginal distributions for discrete and continuous random variables
Calculate or find joint and marginal probabilities, pmf’s, and CDF’s for discrete random variables
Calculate or find joint and marginal probabilities, pdf’s, and CDF’s for continuous random variables
Extra practice on your own: solve double integrals in a mini lesson
Calculate or find joint and marginal probabilities, pmf’s, and CDF’s for discrete random variables
Calculate or find joint and marginal probabilities, pdf’s, and CDF’s for continuous random variables
Extra practice on your own: solve double integrals in a mini lesson
Definition: joint pmf
The joint pmf of a pair of discrete RV’s \(X\) and \(Y\) is \[\begin{aligned} p_{X,Y}(x,y) = & \mathbb{P}(X=x \cap Y=y) \\ = & \mathbb{P}(X=x, Y=y) \end{aligned}\]
Definition: joint pdf
The joint pdf for two continuous RVs (\(X\) and \(Y\)) is \(f_{X,Y}(x,y)\), such that we have the following joint probability: \[\begin{aligned} \mathbb{P}(a \leq X \leq b, & c \leq Y \leq d) = \\ & \int_a^b \int_c^d f_{X,Y}(x,y)dydx \end{aligned}\]
Properties of joint pmf’s
A joint pmf \(p_{X,Y}(x,y)\) must satisfy the following properties:
Properties of joint pdf’s
A joint pdf \(f_{X,Y}(x,y)\) must satisfy the following properties:
Marginal pmf’s
Suppose \(X\) and \(Y\) are discrete RV’s, with joint pmf \(p_{X,Y}(x,y)\). Then the marginal probability mass functions are
\[p_X(x) = \sum \limits_{\{all\ y\}} p_{X,Y}(x,y)\]
\[p_Y(y) = \sum \limits_{\{all\ x\}} p_{X,Y}(x,y)\]
Marginal pdf’s
Suppose \(X\) and \(Y\) are continuous RV’s, with joint pdf \(f_{X,Y}(x,y)\). Then the marginal probability density functions are \[\begin{aligned} f_X(x)&=& \int_{-\infty}^{\infty} f_{X,Y}(x,y)dy\\ f_Y(y)&=& \int_{-\infty}^{\infty} f_{X,Y}(x,y)dx \end{aligned}\]
Joint CDF for discrete RVs
The joint CDF of a pair of discrete RV’s \(X\) and \(Y\) is \[\begin{aligned} F_{X,Y}(x,y) = &\mathbb{P}(X \leq x\ and\ Y \leq y) \\ = &\mathbb{P}(X \leq x, Y \leq y) \end{aligned}\]
Joint CDF for continuous RVs
The joint CDF of continuous random variables \(X\) and \(Y\), is the function \(F_{X,Y}(x,y)\), such that for all real values of \(x\) and \(y\), \[\begin{aligned} F_{X,Y}(x,y)= \mathbb{P}(X \leq x, & Y \leq y) = \\ & \int_{-\infty}^x\int_{-\infty}^y f_{X,Y}(s,t)dtds \end{aligned}\]
Calculate or find joint and marginal probabilities, pdf’s, and CDF’s for continuous random variables
Extra practice on your own: solve double integrals in a mini lesson
Example 1
Let \(X\) and \(Y\) be two random draws from a box containing balls labelled 1, 2, and 3 without replacement.
Find \(p_{X,Y}(x,y)\)
Find \(\mathbb{P}(X+Y=3)\)
Find \(\mathbb{P}(Y = 1)\)
Find \(\mathbb{P}(Y \leq 2)\)
Find the joint CDF \(F_{X,Y}(x,y)\) for the joint pmf \(p_{X,Y}(x,y)\)
Find the marginal CDFs \(F_{X}(x)\) and \(F_{Y}(y)\)
Example 1
Let \(X\) and \(Y\) be two random draws from a box containing balls labelled 1, 2, and 3 without replacement.
Find \(p_{X,Y}(x,y)\)
Find \(\mathbb{P}(X+Y=3)\)

Example 1
Let \(X\) and \(Y\) be two random draws from a box containing balls labelled 1, 2, and 3 without replacement.
Find \(\mathbb{P}(Y = 1)\)
Find \(\mathbb{P}(Y \leq 2)\)

Example 1
Let \(X\) and \(Y\) be two random draws from a box containing balls labelled 1, 2, and 3 without replacement.

Example 1
Let \(X\) and \(Y\) be two random draws from a box containing balls labelled 1, 2, and 3 without replacement.

\(F_X(x)\): right most columns of the CDF table (where the \(Y\) values are largest)
\(F_Y(y)\): bottom row of the table (where X values are largest)
\(F_X(x)=\lim\limits_{y\rightarrow\infty}F_{X, Y}(x,y)\)
\(F_Y(y)=\lim\limits_{x\rightarrow\infty}F_{X, Y}(x,y)\)
Define joint and marginal distributions for discrete and continuous random variables
Calculate or find joint and marginal probabilities, pmf’s, and CDF’s for discrete random variables
Translate to needed integrands
Example 2.1
Let \(f_{X,Y}(x,y)= \frac32 y^2\), for \(0 \leq x \leq 2, \ 0 \leq y \leq 1\).

Example 2.2
Let \(f_{X,Y}(x,y)= \frac32 y^2\), for \(0 \leq x \leq 2, \ 0 \leq y \leq 1\).

Do this problem at home for extra practice. I’ll add the solution to the annotated notes!
Example 3.1
Let \(f_{X,Y}(x,y)= 2 e^{-(x+y)}\), for \(0 \leq x \leq y\).
Do this problem at home for extra practice. I’ll add the solution to the annotated notes!
Example 3.2
Let \(f_{X,Y}(x,y)= 2 e^{-(x+y)}\), for \(0 \leq x \leq y\).
Let \(M\) be a transformation of \(X\) and \(Y\): \(M = g(X, Y)\)
When we have a transformation of \(X\) and \(Y\), \(M\), we need to follow the CDF method to find the pdf of \(M\)
We follow CDF method:
Start with the joint pdf for \(X\) and \(Y\)
Translate the domain of \(X\) and \(Y\) to \(M\): find possible values of \(M\)
Find the CDF of \(M\)
Take the derivative of the CDF of \(M\) with respect to \(m\) to find the pdf of \(M\)
Example 4.1
Let \(X\) and \(Y\) have constant density on the square \(0 \leq X \leq 4, 0 \leq Y \leq 4\).

Example 4.2
Let \(X\) and \(Y\) have constant density on the square \(0 \leq X \leq 4, 0 \leq Y \leq 4\).

Example 4.3
Let \(X\) and \(Y\) have constant density on the square \(0 \leq X \leq 4, 0 \leq Y \leq 4\).

Do this problem at home for extra practice. I’ll add the solution to the annotated notes!
Example 5
Let \(X\) and \(Y\) have joint density \(f_{X,Y}(x,y)= \frac85(x+y)\) in the region \(0 < x < 1,\ \frac12 < y <1\). Find the pdf of the RV \(Z\), where \(Z=XY\).

Solve double integrals in our mini lesson!
Calculate probabilities for a pair of continuous random variables
Calculate a joint and marginal probability density function (pdf)
Do this problem at home for extra practice. I’ll add the solution to the annotated notes!
Mini Lesson Example 1
Solve the following integral: \(\displaystyle\int_{2}^{3}\displaystyle\int_{0}^{1} xy dydx\)
Do this problem at home for extra practice. I’ll add the solution to the annotated notes!
Mini Lesson Example 2
Solve the following integral: \(\displaystyle\int_{2}^{3}\displaystyle\int_{0}^{1} (x+y) dydx\)
Do this problem at home for extra practice. I’ll add the solution to the annotated notes!
Mini Lesson Example 3
Solve the following integral: \(\displaystyle\int_{2}^{3}\displaystyle\int_{0}^{1} e^{x+y} dydx\)
Lesson 11 Slides