4.9.10 · D1Probability Theory & Statistics

Foundations — Joint distributions — joint PMF - PDF, marginal, conditional

1,778 words8 min readBack to topic

Before you can trust the parent note, you must be fluent in every mark on the page. This child builds each symbol from nothing — plain words, then a picture, then why the topic can't live without it. Read top to bottom; each brick sits on the one below.


1. Random variable — ,

Picture it. Roll a die: the machine that will output a number is ; the number it actually shows is . The capital is the slot; the lower-case is a value in the slot.

Why the topic needs it. The whole chapter studies two such slots at once — height and weight — so you must never confuse "the variable" (capital) with "a value of it" (lower-case). Every formula like literally reads "probability the slot lands on the number ."


2. Probability and the event

Picture it. Imagine 100 repetitions of the experiment as 100 dots. is the fraction of dots for which came out . = never, = always, = half the dots.

Why the topic needs it. A joint PMF is built out of these probabilities — . If "probability of an event" is fuzzy, the whole table is fuzzy.


3. "AND" of two events — intersection

Picture it (see figure). Draw the plane with across and up. The event is a whole vertical line; is a whole horizontal line. Their AND is the single crossing point where both are satisfied.

Figure — Joint distributions — joint PMF - PDF, marginal, conditional

Why the topic needs it. This crossing point is one cell of the joint. The joint distribution is just "how much probability sits at every such crossing."


4. Disjoint events and additivity

Picture it. Two blobs that do not overlap. The chance of landing in either blob is simply the two areas summed — no double-counting because nothing is shared.

Why the topic needs it. This is the engine behind marginals. The events , , are disjoint (only one value of can occur), so their probabilities add to give . That addition is the marginal formula. This is exactly Law of Total Probability in disguise.


5. Sum notation

Picture it. A table row: = slide along the row, adding each cell. The answer is written in the margin — hence "marginal."

Why the topic needs it. Discrete marginals are row/column sums: .


6. Integral and area-under-a-curve

Picture it (see figure). The shaded region under a curve; the is one skinny rectangle, and sweeps and sums them.

Figure — Joint distributions — joint PMF - PDF, marginal, conditional

Why the topic needs it. In continuous joint distributions, probability = volume/area under the density, obtained by integrating. Marginals become : the continuous version of "add along the row."


7. Density vs. probability — the symbol

Picture it (see figure). A hill sitting over the plane. Total volume of the whole hill . Volume over one patch probability of landing in that patch.

Figure — Joint distributions — joint PMF - PDF, marginal, conditional

8. The double integral and the support

Picture it. The triangle from the parent's example is a support: outside it the hill has zero height, so integrals there contribute nothing. Getting the limits of integration right = tracing the edge of this footprint.

Why the topic needs it. Wrong support ⇒ wrong limits ⇒ wrong marginals. The parent's fourth "common mistake" is exactly forgetting this. Always sketch the footprint first.


9. Conditional bar and re-normalization

Picture it. Take the joint hill and cut a single slice at . That slice has some total (its area = ), but a valid distribution must total . So you scale the slice up by dividing by . The rescaled slice is the conditional. This rests on Conditional Probability: .

Why the topic needs it. Conditioning is slice + re-normalize, captured by "Conditional Joint Marginal."


10. Marginal , and independence factoring

Why the topic needs them. Marginals recover single-variable facts; independence is the special "no interaction" case where the hill is just an outer product of two 1D shapes. Later tools — Covariance and Correlation, Bayes' Theorem, the Bivariate Normal Distribution, and Expectation and Variance over pairs — all build directly on these bricks.


The prerequisite map

Random variable X and Y

Event X equals x

AND of two events

Disjoint events add

Sum sign adds cells

Marginal by summing

Integral is area

Density is height

Double integral is volume

Support and limits

Conditional slice and rescale

Independence factoring

Joint distributions topic


Equipment checklist

Self-test: cover the right side and answer each. If any tricks you, re-read its section.

What does a capital mean versus a lower-case ?
is the random variable (the slot); is a specific value it may take.
What is the event geometrically?
The single crossing point of the vertical line and horizontal line .
When may you add two probabilities?
When the events are disjoint (mutually exclusive) — they can't both occur.
What does compute?
The marginal : slide along the row, adding all cells.
Why use an integral instead of a sum for continuous variables?
There are infinitely many values, so you add infinitely many thin slices — that's what does.
Why can a density exceed ?
It's probability per unit area (a rate), not a probability; only its integral over a region is a probability.
What is the support of a distribution?
The set of where the density/PMF is non-zero — the footprint you integrate over.
What does the bar in mean?
"Given ": slice the joint at that and re-scale so it totals .
What single equation tests independence?
for all .
What is "Conditional = Joint ÷ Marginal" a picture of?
Cutting one slice of the joint hill and dividing by its total (the marginal) to re-normalize it.