A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Marginal Distributions

College Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
1,772topics build on this
411prerequisites beneath it
See this on the map →
Joint Probability Distributions→→Conditional Distributions
marginal-distributions multivariate probability

Core Idea

The marginal distribution of one variable is obtained by summing/integrating the joint distribution over the other variables. For bivariate: P(X=x) = Σ_y P(X=x, Y=y). Marginal distributions describe individual variables while ignoring others.

How It's Best Learned

Start with joint probability tables and compute marginals by summing rows or columns. For continuous distributions, practice computing marginals via integration. Recognize marginals in frequency tables.

Explainer

A joint distribution captures the full probabilistic relationship between two (or more) random variables at once — it tells you how likely every combination of values is. But often you only care about one variable at a time. The marginal distribution is how you recover the single-variable picture from the joint one by systematically "collapsing" the other variable out of the picture.

The mechanism is straightforward and follows directly from the total probability law you already know. For discrete variables, imagine a joint probability table where rows represent values of X and columns represent values of Y. The cell at row x, column y holds P(X=x, Y=y). To get the marginal P(X=x) — the probability that X equals x, regardless of what Y does — you sum across the entire row: P(X=x) = Σ_y P(X=x, Y=y). You're averaging over all possible Y values, weighted by their probabilities. Literally: add up each column entry in row x. The resulting row-sums form the marginal distribution of X; the column-sums form the marginal of Y. This is where the term "marginal" comes from — historically, these sums were written in the margins of the table.

For continuous joint distributions f(x, y), the logic is identical but summation becomes integration: f_X(x) = ∫ f(x, y) dy. You fix x and integrate out y over its entire range, leaving a function of x alone. The resulting f_X is a valid probability density — it integrates to 1 — and it describes X's behavior irrespective of Y. The key insight is that marginalization discards information about the relationship between variables without discarding information about each variable individually. The joint distribution contains everything; the marginals contain only each variable's behavior in isolation.

One critical implication: you cannot generally recover the joint distribution from the marginals alone. Two pairs of variables can share identical marginals yet have completely different joint distributions — one pair might be independent, another strongly correlated. Independence is the special case where the joint factors into the product of the marginals: P(X=x, Y=y) = P(X=x) · P(Y=y) for all x, y. When that factorization fails, the variables are dependent and the marginals fail to capture the relationship. This asymmetry — joint implies marginals, but marginals don't imply joint — is one of the foundational lessons of multivariate probability.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Joint Probability Distributions → Marginal Distributions

Longest path: 91 steps · 411 total prerequisite topics

Prerequisites (1)

Leads To (1)