Probability Basics
Probability is the mathematics of uncertainty — a way to attach a precise number to statements like "this is likely," "that is a long shot," or "it's a coin flip." Instead of arguing about hunches, probability lets us reason about chance with the same rigor we bring to arithmetic. Every time a doctor quotes a survival rate, a weather app says "70% chance of rain," an insurer sets a premium, or a poker player decides to call a bet, they are using the ideas on this page.
What makes probability beautiful is that a handful of simple rules — outcomes, a scale from 0 to 1, and three or four ways to combine events — are enough to handle situations that feel impossibly tangled. Master these foundations and the rest of statistics, from Bayes' theorem to the normal distribution, becomes a natural extension rather than a new mystery.
Learning Objectives
By the end of this page, you should be able to:
- Describe a random experiment using its sample space and identify events as subsets of it.
- Explain why every probability is a number between and , and compute probabilities for equally likely outcomes.
- Apply the complement rule, the addition rule (OR), and the multiplication rule (AND) correctly.
- Distinguish clearly between mutually exclusive and independent events — the single most common source of student error.
- Solve multi-step probability problems and recognize which rule each step requires.
Quick Answer
A probability is a number from (impossible) to (certain) that measures how likely an event is. The sample space is the set of all possible outcomes of an experiment, and an event is any subset of . When outcomes are equally likely, . Three rules do most of the work: the complement rule ; the addition rule ; and the multiplication rule . Two events are mutually exclusive if they cannot both happen, and independent if one occurring does not change the probability of the other — these are different ideas, not synonyms.
Where It Came From
For most of human history, chance was treated as the domain of fate or the gods, not something you could calculate. Dice games were thousands of years old, yet no one had a systematic theory of how to bet on them. The turning point came in 1654, when a French nobleman and gambler, the Chevalier de Méré, posed a puzzle to the mathematician Blaise Pascal. The most famous was the "problem of points": suppose two players are partway through a game of chance, each having staked money, and the game is interrupted before either wins. How should the pot be divided fairly, given the score at the moment play stopped?
This is subtler than it sounds. Dividing the pot by the current score ignores the fact that a player who is behind still has some chance to come back. Pascal exchanged a now-legendary series of letters with Pierre de Fermat, and between them they cracked it — not by looking at the score, but by counting all the equally likely ways the game could have finished and giving each player the share of the pot proportional to their probability of eventual victory. That idea — reduce a problem to a set of equally likely outcomes and count — is the seed of the entire subject.
The Pascal–Fermat correspondence of 1654 is generally regarded as the birth of probability theory. Within decades, Christiaan Huygens wrote the first textbook, Jacob Bernoulli proved the first law of large numbers, and probability grew from a tool for settling gambling disputes into the mathematical backbone of insurance, physics, genetics, and modern data science. The motivation was intensely practical — how to bet and share stakes fairly — but the framework it produced turned out to describe uncertainty everywhere.
The Sample Space and Events
Every probability problem starts by pinning down the experiment — any process with an uncertain outcome — and its sample space , the set of all possible outcomes. Getting this right is half the battle.
- Tossing one coin: .
- Rolling one die: .
- Tossing two coins: — note there are four outcomes, not three, because and are distinct.
An event is any subset of the sample space — a collection of outcomes we care about. For a single die roll, "rolling an even number" is the event , and "rolling more than " is .
Worked Example: Building a Sample Space
Problem. Two fair dice (one red, one blue) are rolled. What is the sample space, and what is the event "the sum is "?
Each die shows through independently, so the sample space is every ordered pair :
The event "sum is " is — exactly outcomes. So
Listing outcomes as ordered pairs is what keeps them equally likely; a beginner who lists only unordered sums ( through ) wrongly treats them as equally likely and gets nonsense.
Probability as a Number from 0 to 1
Probability is measured on a fixed scale:
- means is impossible.
- means is certain.
- Everything else lives strictly between, with larger numbers meaning "more likely."
Two rules anchor the whole system (Kolmogorov's axioms, in plain form): every probability satisfies , and the probabilities of all outcomes in the sample space add up to exactly .
When — and only when — every outcome is equally likely, we can compute probability by counting:
Worked Example: Equally Likely Outcomes
Problem. A standard deck has cards. Draw one at random. Find the probability it is (a) a queen, (b) a heart, (c) a face card (J, Q, K).
Every card is equally likely, so we just count favorable cards.
- (a) Four queens: .
- (b) Thirteen hearts: .
- (c) Twelve face cards ( per suit suits): .
The "equally likely" assumption is doing real work here. It holds for a well-shuffled deck; it would fail badly for something like "which language a random web page is written in," where you must estimate probabilities from data instead of counting.
The Complement Rule
The complement of , written or "not ," is everything in the sample space outside . Since and together cover all outcomes:
This little rule is a workhorse. Whenever "at least one" appears, computing the complement ("none") is usually far easier than the direct count.
Worked Example: "At Least One"
Problem. Roll a fair die times. What is the probability of getting at least one six?
Directly counting "one, two, or three sixes" is messy. The complement — "no sixes at all" — is easy. On each roll, , and the rolls are independent, so:
Therefore:
The Addition Rule (OR)
The addition rule answers "what is the probability of or ?" — meaning at least one of them happens. The general formula is:
Why subtract the last term? Because when you add and , any outcome in both events gets counted twice. Subtracting removes the double-count. (This is the probability version of the inclusion–exclusion principle.)
If and are mutually exclusive — they cannot both happen — then and the rule simplifies to .
Worked Example: Overlapping Events
Problem. Draw one card from a standard deck. Find .
- .
- .
- : there is exactly one king of hearts, so .
Forgetting to subtract the king of hearts would give — counting that one card twice. Contrast this with "king or queen," which are mutually exclusive (no card is both), so there we simply add: .
The Multiplication Rule (AND)
The multiplication rule answers "what is the probability of and both happening?" The general form uses conditional probability , read "the probability of given that has occurred":
If the events are independent — knowing that happened tells you nothing about — then , and the rule simplifies to:
Worked Example: Independent vs Dependent Draws
Problem. A bag holds red and blue marbles ( total). Draw two marbles. Find (a) with replacement, (b) without replacement.
(a) With replacement (independent). The first marble goes back, so the second draw faces the same bag:
(b) Without replacement (dependent). After drawing one red, only reds remain out of marbles:
The second scenario has a lower probability because removing a red marble makes the next red slightly less likely. Recognizing whether draws are independent is exactly what tells you which version of the rule to use.
Real-World Applications
- Medicine and public health. Diagnostic tests are described by probabilities (sensitivity, specificity). Combining a test result with disease prevalence — a multiplication-and-complement calculation — tells a doctor how much to trust a positive result.
- Insurance and finance. Premiums are set from the probability and cost of claims. The whole industry is applied probability descended directly from the actuarial tables Bernoulli and Halley helped invent.
- Engineering and reliability. A system with independent components fails only if enough parts fail; "at least one backup works" is a complement calculation that keeps aircraft and data centers safe.
- Genetics. Punnett squares are equally-likely sample spaces. The chance a child inherits a recessive condition is a direct count of favorable gene combinations.
- Everyday decisions. Weather forecasts, sports betting odds, spam filters, and even the "shuffle" on your music app all rest on the same rules of counting, complements, and combining events.
Common Mistakes
Mistake 1: Confusing "mutually exclusive" with "independent." Many students treat these as the same, but they are almost opposites. Mutually exclusive means the events cannot both happen (). Independent means one happening does not change the other's probability (). If two events are mutually exclusive and both have nonzero probability, then knowing happened tells you cannot happen — so they are strongly dependent. The correction: check the definitions separately; do not assume one implies the other.
Mistake 2: Adding probabilities of overlapping events. Writing when and can overlap double-counts the shared outcomes (like the king of hearts above). The correction: always use the full rule , and only drop the last term after confirming the events are mutually exclusive.
Mistake 3: The "gambler's fallacy." Believing that after five heads in a row, tails is "due." For independent coin tosses, each flip is still — the coin has no memory. The correction: independent events do not compensate for past results. (What is true is that long-run frequencies settle near the true probability, but that happens by swamping early streaks with future data, not by reversing them.)
Comparison and Connections
The two big pitfalls sit side by side here:
| Property | Mutually Exclusive | Independent |
|---|---|---|
| Plain meaning | Cannot both happen | One doesn't affect the other |
| Key equation | ||
| Example | Rolling a vs a on one die | Rolling a die and flipping a coin |
| If happens, then … | is impossible | is just as likely as before |
| Relationship | These are different ideas; two events with nonzero probability cannot be both |
Probability also connects outward: conditional probability and Bayes' theorem generalize the multiplication rule; random variables and distributions take these outcome-counts and turn them into functions; and descriptive statistics provides the observed frequencies we often use to estimate probabilities when counting is impossible.
Practice Questions
Recall
State the complement rule and the general addition rule. Answer: ; and .
Understanding
A die is rolled once. Are the events "even number" and "greater than " mutually exclusive? Independent? Answer: Even , greater than . They overlap at , so not mutually exclusive. Check independence: , , product ; and . They match, so the events are independent.
Application
A jar has green and yellow sweets. You take two without replacement. Find . Answer: Two ways: green-then-yellow or yellow-then-green. and . Total .
Analysis
A test is accurate on healthy people (so it wrongly flags ). If healthy people are tested independently, what is the probability that at least one is wrongly flagged? Answer: Use the complement. . Since , we get . Even a very accurate test produces false alarms once applied at scale — a crucial lesson in interpreting screening.
FAQ
Can a probability be greater than or negative? No. By definition every probability lies in . If your calculation gives or , you have made an error — often adding overlapping events or forgetting to subtract an intersection.
What's the real difference between "and" and "or" problems? "And" (both happen) usually means multiply — the event gets more specific and less likely. "Or" (at least one happens) usually means add (then subtract the overlap) — the event gets broader and more likely. Watching whether the probability should go up or down is a good sanity check.
How do I know if two events are independent? Formally, and are independent when . Practically, ask: "Does knowing happened change my estimate of ?" Drawing with replacement keeps draws independent; without replacement makes them dependent.
Why do we assume outcomes are "equally likely" so often? Because when they are, probability reduces to simple counting — the Pascal–Fermat insight. Well-designed dice, coins, and shuffled cards genuinely produce equally likely outcomes. For real-world events (weather, disease), we drop the assumption and estimate probabilities from data instead.
Is probability the same as the odds I see in betting? Related but different. Odds compare favorable to unfavorable outcomes; probability compares favorable to total. Odds of " to against" mean unfavorable for every favorable, i.e. probability .
Quick Revision
- Sample space : set of all outcomes. Event: a subset of .
- Scale: ; all outcome probabilities sum to .
- Equally likely: .
- Complement: — use it for "at least one."
- Addition (OR): ; drop the last term only if mutually exclusive.
- Multiplication (AND): ; equals only if independent.
- Mutually exclusive () independent ().
- Gambler's fallacy: independent trials have no memory.
- Born in the 1654 Pascal–Fermat letters on the gambling "problem of points."
Related Topics
Prerequisites
- Descriptive Statistics — frequencies and proportions that feed probability estimates.
- Statistics and Probability overview — where this fits in the wider subfield.
Related Topics
- Conditional Probability and Bayes — generalizes the multiplication rule and updating beliefs.
- Distributions — probability spread across the values of a random variable.
Next Topics
- Statistical Inference — using probability to draw conclusions from data.
- Applications of Calculus — continuous probability relies on integration.