What Is Probability?
Probability is the branch of mathematics that measures how likely an event is to occur.
P(event) = favorable outcomes ÷ total outcomes. Every probability value falls between 0 (impossible) and 1 (certain). A probability of 0.5 means the event is equally likely to happen or not happen.Sample space and events
Before calculating any probability, you need to define the sample space — the set of all possible outcomes. For a single coin flip, the sample space is {Heads, Tails}, which has 2 outcomes. For a standard six-sided die, the sample space is {1, 2, 3, 4, 5, 6} with 6 outcomes.
An event is any subset of the sample space. The event "rolling an even number" is {2, 4, 6}, so P(even) = 3/6 = 1/2. For a coin flip, P(Heads) = 1/2.
Probabilities can also be expressed as percentages (50%) or decimals (0.5). The sum of probabilities of all possible outcomes in a sample space always equals 1.
This foundational idea — counting favorable outcomes relative to all outcomes — is the starting point for everything from simple dice problems to complex statistical models.
The Addition Rule (OR)
The addition rule tells you how to find the probability that at least one of two events occurs.
P(A or B) = P(A) + P(B) - P(A and B). You subtract P(A and B) to avoid double-counting outcomes that belong to both events.When two events are mutually exclusive (they cannot happen simultaneously), then P(A and B) = 0, and the formula simplifies to P(A or B) = P(A) + P(B).
Rolling a 2 and rolling a 5 on a single die are mutually exclusive, so:
P(2 or 5) = 1/6 + 1/6 = 2/6 = 1/3What is the probability of drawing a heart or a king from a standard 52-card deck?
There are 13 hearts and 4 kings, but one card — the king of hearts — is both.
So P(heart or king) = 13/52 + 4/52 - 1/52 = 16/52 = 4/13 ≈ 0.308.
4/13 ≈ 0.308Without subtracting the overlap, you would count the king of hearts twice and get an inflated probability. The addition rule extends to more than two events as well, though the inclusion-exclusion formula becomes more involved as you account for all pairwise and higher-order overlaps.
The Multiplication Rule (AND)
The multiplication rule calculates the probability that two events both occur.
P(A and B) = P(A) × P(B|A), where P(B|A) is the conditional probability of B given that A has already happened.When events are independent — meaning the outcome of one does not affect the other — then P(B|A) = P(B), and the formula simplifies to P(A and B) = P(A) × P(B).
Coin flips are independent.
Each flip has no memory of the last, so we simply multiply.
P(H and H) = 1/2 × 1/2 = 1/4Here the events are not independent, because removing the first card changes the deck.
P(first ace) = 4/52.
Given the first card was an ace, there are now 3 aces left among 51 cards: P(second ace | first ace) = 3/51.
So P(two aces) = 4/52 × 3/51 = 12/2652 = 1/221 ≈ 0.0045.
1/221 ≈ 0.0045The distinction between independent and dependent events is one of the most important concepts in probability and is essential to get right when solving problems involving cards, balls drawn from urns, or sequential experiments.
Conditional Probability
Conditional probability measures how knowing that one event has occurred changes the likelihood of another event.
P(A|B) = P(A and B) / P(B). The vertical bar "|" is read as "given." So P(A|B) means "the probability of A, given that B has occurred."What is the probability that a card is red, given that it is a face card?
There are 12 face cards in the deck (J, Q, K in each of 4 suits), and 6 of those are red (hearts and diamonds).
Without the condition, P(red) = 26/52 = 1/2 as well — in this case, knowing it is a face card did not change the probability.
P(red | face card) = 6/12 = 1/2But conditional probability often does change things dramatically. Suppose the probability of rain on any given day is 0.3, but the probability of rain given that it is cloudy is 0.7. The condition (cloudy sky) more than doubles the rain probability.
Conditional probability is foundational because it formalizes how new information updates our beliefs, which leads directly to Bayes' theorem and modern data-driven decision-making.
Bayes' Theorem
Bayes' theorem lets you reverse conditional probabilities — computing P(A|B) when you know P(B|A).
P(A|B) = P(B|A) × P(A) / P(B). This is incredibly powerful in real-world applications.A medical testing scenario
Consider a medical testing scenario. A disease affects 1% of the population: P(disease) = 0.01. A test has 99% sensitivity (true positive rate): P(positive | disease) = 0.99. The test also has a 5% false positive rate: P(positive | no disease) = 0.05. If you test positive, what is the probability you actually have the disease?
- Find P(positive) using the law of total probability
P(positive) = P(positive | disease) × P(disease) + P(positive | no disease) × P(no disease) = 0.99 × 0.01 + 0.05 × 0.99 = 0.0099 + 0.0495 = 0.0594. - Apply Bayes' theorem
P(disease | positive) = 0.0099 / 0.0594 ≈ 0.167.
So even with a positive test result, the probability of actually having the disease is only about 16.7%.
P(disease | positive) ≈ 16.7%This counterintuitive result arises because the disease is rare, so most positive tests are false positives.
Bayes' theorem is the foundation of spam filters, medical diagnostics, and machine learning algorithms.
Common Probability Mistakes
Probability is deceptively tricky, and certain mistakes trip up students again and again.
These are completely different concepts. Mutually exclusive events cannot occur together (P(A and B) = 0), while independent events can occur together but do not affect each other's probabilities. In fact, if two events with nonzero probabilities are mutually exclusive, they are automatically dependent — knowing one occurred tells you the other did not.
In the addition rule, failing to subtract P(A and B) when events are not mutually exclusive inflates your answer. Always ask: can both events happen at the same time? If yes, account for the overlap.
In card and ball problems, whether items are replaced after selection completely changes the calculation. With replacement, events are independent and the denominator stays constant. Without replacement, the sample space shrinks and you must use conditional probability.
Believing that past outcomes influence future independent events ("the coin landed heads five times, so tails is due") is a common error — each flip remains 50/50.
When you need to double-check your probability calculations, Solver AI walks you through each rule application step by step so you can spot exactly where an error crept in.