Joint Probability Distributions – Discrete & Continuous
Learning Objectives
Enumerate the different types of discrete/continuous random variables and their probability distributions.
Compute probabilities of events for each type of distribution.
Build the joint probability distribution (pmf/pdf) for two or more random variables.
Derive marginal and conditional distributions from a joint distribution.
Extend the ideas to more than two random variables and to the continuous‐valued case.
Joint Probability Distributions – DISCRETE Case
For two discrete r.v.’s $X$ and $Y$, the joint probability mass function (pmf) is
Requirements for a valid joint pmf
• for all $(x,y)$ in the support.
•
• For any region $A$ in the $xy$–plane,
Bridge-Hand Example
Experiment: Choose a bridge hand (13 cards) from a standard deck.
Random variables
• $X=$ number of spades,
• $Y=$ number of hearts,
• Constraints:
Joint pmf
A tabulated (and graphed) set of probabilities shows the mass concentrated near the centre; all cells sum to $1$.
Interpretation: $p(5,3)$ is the probability that the hand contains 5 spades and 3 hearts.
Dice-Rolling Example (Binomial–Multinomial flavour)
Roll a fair die $n=5$ times.
• $X=$ number of sixes,
• $Y=$ number of fives,
• Support:
Each sequence of length 5 containing $x$ sixes and $y$ fives has probability
$(1/6)^x\,(1/6)^y\,(4/6)^{5-x-y}.$
Number of such sequences .
Hence joint pmf
A probability table is provided; values again sum to $1$.
Sample query: Probability we roll more sixes than fives
$P[X>Y]=0.3441.$
General Properties Recap
Non-negativity:
Total probability:
Region probabilities via double summation.
Marginal Distributions (DISCRETE)
Marginal pmf of $X$:
Marginal pmf of $Y$:
Example (dice, $n=5$):
The marginal row and column totals in the table give and .
For instance $pX(0)=0.4019,\;pY(2)=0.1608,$ etc.
Conditional Distributions (DISCRETE)
Conditional pmf of $X$ given $Y=y$:
p{X\mid Y}(x\mid y)=\frac{p(x,y)}{pY(y)},\quad p_Y(y)>0.
Conditional pmf of $Y$ given $X=x$:
p{Y\mid X}(y\mid x)=\frac{p(x,y)}{pX(x)},\quad p_X(x)>0.
In example (dice): Complete conditional tables show how the distribution of one variable changes when the other variable is fixed.
• Given $Y=0$, etc.
• Given $X=4$, etc.
Interpretation: Marginals “ignore” the other variable; conditionals “zoom in” on a slice where the other variable is known.
Joint Distributions of MORE THAN TWO Discrete Variables
Ideas extend via higher-dimensional tables or lists.
Joint pmf still obeys non-negativity and
Marginalisation: sum over all unwanted indices.
Conditioning: divide joint pmf by appropriate marginal.
Joint Probability Distributions – CONTINUOUS Case
A pair of continuous r.v.’s has joint probability density function (pdf) $f(x,y).$
Requirements for a valid joint pdf
•
•
• For a region $A$,
Multiple Integration Basics
For a rectangular region ,
“Inner integral first” computes the area (volume) slice for fixed outer variable, then integrates the slices.
Geometric picture: inner integral = area under surface above a line where the outer variable is held constant; outer integral = sum of infinitesimal volumes.
Worked Integral Example
Evaluate
By either order, result is (Demonstrates equality of iterated integrals and ease of changing order.)
Marginal Densities (CONTINUOUS)
Conditional Densities (CONTINUOUS)
f{Y\mid X}(y\mid x)=\dfrac{f(x,y)}{fX(x)},\quad f_X(x)>0.
f{X\mid Y}(x\mid y)=\dfrac{f(x,y)}{fY(y)},\quad f_Y(y)>0.
THE BIVARIATE NORMAL DISTRIBUTION
Parameter set: means standard deviations correlation \rho\, (||\rho||<1).
Quadratic form
Density function
f(x1,x2)=\frac{1}{2\pi\sigma1\sigma2\sqrt{1-\rho^2}}\exp\Biggl{-\frac{1}{2(1-\rho^2)}Q(x1,x2)\Biggr}.
Contours of constant $Q$ are ellipses centred at
• gives circular (independent) contours.
• stretches along the main diagonal; stretches along the anti-diagonal.
Practical Connections & Remarks
Joint distributions underpin correlation, regression, hypothesis testing, and simulation.
Discrete joint pmfs appear in quality control (defects per unit), card games, genetics (allele counts), etc.
Continuous joint pdfs (notably the bivariate Normal) drive multivariate analytics, e.g.
• Risk management – asset returns,
• Signal processing – joint noise models,
• Engineering – joint tolerances of component dimensions.
Key Formulae Summary
Joint pmf:
Joint pdf:
Marginals:
Conditionals:
Multinomial-style joint pmf (dice):
Bridge hand pmf:
Bivariate Normal density: see formula above.
Study Tips
Always sketch the support region $(x,y)$; constraints like are crucial.
Verify pmf/pdf conditions before doing further work.
For marginals/conditionals, write the summation/integration limits explicitly.
In probability queries (e.g. $P[X>Y]$), highlight the set $(x,y):x>y$ on the table/plane before summing/integrating.
When changing order of