03 Probability
A progressive guide to modeling uncertainty and solving probability problems with events, counting methods, conditional probability, independence, and Bayes’ theorem.
Experiments and models
is a mathematical language for uncertainty. It assigns each a value from to : values near indicate that an is unlikely, and values near indicate that it is likely. The same can be expressed as a percentage; for example, .
A experiment is a process with an uncertain result. A single possible result is an outcome. The is the complete set of possible outcomes and is denoted by . For a fair six-sided die,
An is a subset of the . If is the that an even number is rolled, then
When all outcomes are equally likely, the of an is
For the even-number , . This favorable-outcomes ratio should be used only when the outcomes are equally likely.
Takeaway: Start every problem by identifying the uncertain experiment, its outcomes, and the of interest.
rules and complements
A valid model follows three basic rules:
for every .
, because some outcome in the must occur.
If events cannot occur together, their probabilities add:
The of , written or , contains every outcome that is not in . The rule is
For example, if the that a package arrives late is , then the that it does not arrive late is
This rule is often the quickest method for “not” questions.
Takeaway: Check that every is between and , and use the rule when the desired is the opposite of a known .
Combining events
The intersection of and , written , means that both events occur. The of and , written , means that at least one occurs. The general addition rule is
The intersection is subtracted because outcomes in both events would otherwise be counted twice.
For a six-sided die, let be the of rolling an even number, and let be the of rolling a number greater than . Then , so
Mutually exclusive events cannot occur together. For these events, , so the addition rule becomes
Mutual exclusivity is not the same as independence. Two nonzero- mutually exclusive events cannot be , because the occurrence of one makes the other impossible.
Takeaway: For “or,” use the addition rule and subtract the overlap unless the events are mutually exclusive.
Counting outcomes
Counting methods determine how many outcomes are possible without listing them all.
The multiplication principle states that if a process has choices for its first step and choices for its second step, then it has
possible outcomes. For a password with one letter followed by two digits, when repetition is allowed, the number of passwords is
A is used when order matters. The number of ways to select and arrange objects from distinct objects is
For example, choosing a president and vice president from people gives
A is used when order does not matter. The number of ways to choose objects from distinct objects is
A three-person committee chosen from people can be formed in
ways.
Decision rule: Use a for ordered roles or rankings. Use a for an unordered group or selection.
restricts attention to outcomes in which a specified condition has already occurred. The notation means the of given . When ,
Rearranging produces the multiplication rule:
It can also be written as
Suppose a fair die is rolled. Let be the that the result is or , and let be the that the result is even. Once is known, only three outcomes remain possible, and just one of them belongs to . Therefore,
The same result follows from the formula:
In a two-way table, the condition determines the denominator. If a group contains people, a calculated within that group uses , not the total number of people, as its denominator.
Takeaway: For “given” questions, restrict the to the condition and use the conditional as the denominator.
Independence and dependence
Two events are when knowing that one occurred does not change the of the other. Equivalent conditions, when the probabilities are defined, include
and
For events, the multiplication rule becomes
For example, tossing a fair coin and rolling a fair die are experiments. The of heads and a is
Independence differs from mutual exclusivity. On one die roll, rolling a and rolling a are mutually exclusive, because both cannot occur at once. They are not : knowing that a occurred makes a impossible.
Sampling with replacement is often because the population composition stays the same. Sampling without replacement is generally dependent because each selection changes the probabilities for later selections.
Takeaway: Independence means “no change in ,” while mutual exclusivity means “cannot occur together.”
and evidence
reverses the direction of a . When , it states
If and partition the , the denominator can be expanded using the law of total :
Combining these expressions gives
Consider a condition-testing example. Suppose , , and . First find the overall of a positive result:
Then
Thus, a positive result implies approximately a of the condition in this population. The prior and the false-positive rate matter, so is not generally equal to .
Takeaway: combines prior with new evidence and prevents the common mistake of reversing a without adjustment.
A practical problem-solving method
A reliable solution process keeps the definitions and denominators explicit.
Define the experiment and identify what is uncertain.
Specify the or the relevant population.
Define the events with clear notation.
Decide whether the outcomes are equally likely.
Translate key words:
“not” suggests a ;
“or” suggests a and the addition rule;
“and” suggests an intersection and a multiplication rule;
“given” signals .
Choose a method:
use permutations when order matters;
use combinations when order does not matter;
use when reversing a .
Check that the result lies between and and fits the context.
For a final check, ask whether the denominator matches the population or restricted group being described. Also check whether overlap has been subtracted in an addition problem and whether independence has actually been established before multiplying probabilities directly.
Final takeaway: Model the situation first, select the rule that matches the wording, show the relevant denominator, and test whether the result is mathematically and contextually reasonable.