The joint distribution of two random variables \(X\) and \(Y\) is the function \(F(A) = P((X, Y) \in A)\) where \(A \subset \mathbb{R}^2.\)
Two discrete random variables \(X\) and \(Y\) have a joint probability mass function, or joint pmf, \(p(x, y).\) The joint pmf satisfies the following:
\[P((X, Y) \in A) = \sum_{(x,y) \in A} p(x,y)\]
Two continuous random variables \(X\) and \(Y\) have a joint probability density function, or joint pdf, \(f(x, y).\) The joint pdf satisfies the following:
\[P((X, Y) \in A) = \int \int_A f(x,y) dx dy\]
Example: Let \(X\) and \(Y\) be random variables with joint pmf \(p(0,0) = 0.3,\) \(p(1,0) = 0.1,\) \(p(4,5) = 0.1,\) \(p(4,4) = 0.5.\) Find \(P(X = Y).\)
Solution: The two points at which \(X = Y\) are \((0,0)\) and \((4,4).\) So,
\begin{align}
P(X = Y) & = p(0,0) + p(4,4) \\
& = 0.3 + 0.5 \\
& = 0.8
\end{align}
Example: Let \(X\) and \(Y\) be random variables with joint pdf \(f(x,y) = 4xy\) if \(0 \leq x \leq 1\) and \(0 \leq y \leq 1,\) and \(f(x,y) = 0\) otherwise. Find \(P(X < Y).\)
Solution: The region on which \(X < Y\) is the pairs of points \((x,y)\) where \(x < y.\) So, \(A = \{(x,y) : x < y\}.\) Integrating over the region where \(f(x,y) \neq 0,\) the integral should be set up as
\[\int_0^1 \int_0^y f(x,y) dxdy\]
Plugging in \(f(x,y) = 4xy,\) we get
\begin{align}
\int_0^1 \int_0^y f(x,y) dxdy & = \int_0^1 \int_0^y 4xy dxdy \\
& = \int_0^1 4y\left(\left.\frac{x^2}{2}\right|_0^y\right)y dy \\
& = \int_0^1 2y^3 dy \\
& = 2 \left(\left.\frac{y^4}{4}\right|_0^1\right) \\
& = \frac{1}{2}
\end{align}
Given the joint pmf \(p(x,y)\) of two random variables \(X\) and \(Y,\) one can find the pmf's of both \(X\) and \(Y\) by summing the other variable.
The pmf of \(X\) is
\[p_X(x) = \sum_y p(x,y)\]
The pmf of \(Y\) is
\[p_Y(y) = \sum_x p(x,y)\]
Given the joint pdf \(f(x,y)\) of two random variables \(X\) and \(Y,\) one can find the pdf's of both \(X\) and \(Y\) by integrating the other variable.
The pdf of \(X\) is
\[f_X(x) = \int_{-\infty}^\infty f(x,y) dy\]
The pdf of \(Y\) is
\[f_Y(y) = \int_{-\infty}^\infty f(x,y) dx\]
Given variables \(X_1, X_2, \dots, X_n,\) the joint distribution of all \(n\) variables is \(P((X_1, X_2, \dots, X_n) \in A)\) for some \(A \subset \mathbb{R}^n.\)
If \(X_1, X_2, \dots, X_n\) are continuous random variables, then they will have a joint pdf \(f(x_1, x_2, \dots, x_n)\) such that
\[P((X_1, X_2, \dots, X_n) \in A) = \int \int \dots \int_A f(x_1, x_2, \dots, x_n) dx_1 dx_2 \dots dx_n\]
Check your understanding:
For problems \(1\) and \(2,\) let \(X\) and \(Y\) be random variables with joint pmf \(p(i,j) = \frac{i+j}{36}\) for \(1 \leq i \leq 3\) and \(1 \leq j \leq 3.\)
1. What is \(P(X = 1)?\)
Unanswered
2. What is \(P(X = Y-1)?\)
Unanswered
For problems \(3\) and \(4,\) let \(U\) and \(V\) be random variables with joint pdf \(f(u,v) = \frac{u+v}{9}\) for \(0 \leq u \leq 3\), \(0 \leq v \leq 3,\) and \(u + v \leq 3.\)
3. What is \(P(U < 1)?\)
Unanswered
4. What is \(P(V \leq 1-U)?\)
Unanswered