- Learn
- Mathematics
- Statistics
- Probability Theory
- Conditional Probability
Probability Axioms and Conditional Probability
IntermediateLesson 1 of 9 in Probability Theory Course
What you will learn
- Represent every possible result of a random experiment as a sample space, write events as sets of outcomes, and find probabilities by counting when all outcomes are equally likely.
- Write sample spaces and events in set languageList or describe the sample space of an experiment, express events as subsets, and translate words such as "or", "and", "not" and "at least one" into set operations.
- Use the naive definition of probability correctlyCompute probabilities as a ratio of counts when the sample space is finite and its outcomes are equally likely, and recognize when that condition fails.
- Write sample spaces and events in set language
- Count arrangements and selections with the multiplication rule, binomial and multinomial coefficients, and use those counts to compute probabilities for cards, committees and other equally likely outcomes.
- Count with the multiplication rule and the sampling tableCount sequences and selections with the multiplication rule, and choose the right formula according to whether order matters and whether items can repeat.
- Correct for overcounting and prove identities with storiesDivide out symmetric overcounting, count arrangements with repeated items using multinomial coefficients, and prove counting identities by counting the same set in two ways.
- Compute probabilities for cards, committees and arrangementsSet up an equally likely sample space, count the favorable outcomes with the same convention, and avoid the uneven overcounting that breaks many "at least one" counts.
- Count with the multiplication rule and the sampling table
- State the general definition of probability, derive the standard properties from the axioms, and apply inclusion–exclusion, including to the matching problem.
- State the axioms and interpret probabilityGive the general definition of a probability function, check that a proposed assignment satisfies it, and explain the frequency and belief interpretations.
- Derive and use the properties of probabilityProve the complement rule, monotonicity and inclusion–exclusion from the axioms, and use them to compute and bound probabilities of unions and intersections.
- Solve the matching problem with inclusion–exclusionUse symmetry and inclusion–exclusion to find the probability that a random arrangement has at least one item in its own place, and interpret the limit 1 − 1/e.
- State the axioms and interpret probability
- Update probabilities when information arrives: define conditional probability, multiply along a sequence of events, split a problem with the law of total probability, reverse conditioning with Bayes' rule, and handle extra conditioning and Simpson's paradox.
- Define and interpret conditional probabilityCompute the probability of an event given that another event has occurred, tell the two directions of conditioning apart, and use the fact that conditional probabilities obey all the rules of probability.
- Multiply conditional probabilities along a sequenceFind the probability that several events all occur by multiplying conditional probabilities in a convenient order, and connect this to tree diagrams.
- Find probabilities with the law of total probabilitySplit a hard probability into easier conditional pieces over a partition, and recognize the result as a weighted average.
- Update beliefs with Bayes' ruleReverse the direction of conditioning with Bayes' rule, compute its denominator with the law of total probability, use the odds form, and avoid the base-rate and prosecutor's fallacies.
- Condition on extra information and recognize Simpson's paradoxApply Bayes' rule and the law of total probability when every probability is already conditioned on some information, update in stages, and explain how combining groups can reverse a comparison.
- Define and interpret conditional probability
- Test events for independence, use independence of many events to compute probabilities of "all" and "at least one", and keep independence separate from disjointness and from conditional independence.
- Test two events for independenceDecide by calculation whether two events are independent, use the consequences of independence, and distinguish independent events from disjoint ones.
- Work with independence of many eventsApply the definition of independence for three or more events, tell pairwise from mutual independence, and compute probabilities of "all" and "at least one" for independent events.
- Distinguish independence from conditional independenceDefine conditional independence, show with examples that it neither implies nor follows from independence, and recognize where models assume it.
- Test two events for independence
- Work through the birthday problem, the Monty Hall problem and the gambler's ruin with counting, conditioning and first-step analysis, stating the assumptions each answer depends on.
- Solve the birthday problemFind the probability of a shared birthday in a group by counting through the complement, explain why the answer grows so quickly, and compare it with matching one particular birthday.
- Analyze the Monty Hall problemSolve the game-show door problem with the law of total probability and Bayes' rule, state the host's rules that the answer depends on, and see how changing those rules changes the answer.
- Solve the gambler's ruin with first-step analysisSet up a recursion for the probability that a gambler reaches a target before going broke by conditioning on the first round, solve it, and interpret the result for fair and unfair games.
- Solve the birthday problem
Conditional Probability study guide
1Describe outcomes and events
Probability starts with a clear description of what can happen. Record outcomes in enough detail to distinguish the possibilities, then describe the event you care about as a set. Set operations express combinations such as “at least one” and “none.” When the resulting outcomes are finite and equally likely, those descriptions turn directly into probabilities by counting favorable outcomes and comparing them with the whole space.
1.1 Sample spaces, events, and set operations
A random experiment produces one outcome. A sample space collects the possible outcomes, and an event collects the outcomes that satisfy a statement. Choosing what to record is the first modeling decision.
Describe the outcomes
For one die roll, . The event “the roll is even” is . If the result is 6, the outcome is the number 6 and the event occurs because . The singleton is also an event; it contains one outcome.
A sample space can be finite, countably infinite, or uncountable. A die gives a finite space. Recording flips up to the first head gives , a countably infinite list. A waiting time measured in seconds can take any value in , an uncountable space. These differences matter when probabilities are assigned.
For two flips, record the first and second results separately:
Here and are different outcomes. “At least one head” is , while “the flips match” is . Labels distinguish results; fairness and independence, when present, make these four results equally likely.
Translate words into sets
| Words | Set | Meaning |
|---|---|---|
| Not A | Every outcome outside A | |
| A or B | In A, in B, or in both | |
| A and B | In both A and B | |
| A implies B | Every outcome in A is in B |
The word “or” includes the overlap. Events are disjoint, or mutually exclusive, when . They cannot occur together.
De Morgan's laws turn a negated combination into a combination of complements:
For a three-component machine, “no component fails” means every component works. If means component fails, this is . Its complement is “at least one component fails,” .
Keep “exactly one” separate from “at least one”
Let mean flip is heads. In three flips, “exactly one head” is the disjoint union
Each piece names which flip is heads and requires the other two to be tails. Simply writing would also include two or three heads.
A partition is a collection of pairwise disjoint events whose union is the whole space. Exactly one part occurs. For two dice, the six events specifying the first die's value form a partition: every ordered pair belongs to exactly one of them. Partitions will let us calculate a probability one case at a time.
Key Takeaways
- An event is a set of outcomes; it occurs when the realized outcome belongs to that set.
- Union includes the overlap; intersection requires both events.
- De Morgan’s laws exchange unions and intersections when taking complements.
- A partition covers the sample space with disjoint cases.
- Labels distinguish outcomes; fairness and independence justify equal likelihood.
1.2 When counting gives a probability
Counting works when each outcome receives the same probability. The naive definition makes this precise: for a finite sample space of equally likely outcomes,
The numerator counts favorable outcomes and the denominator counts all outcomes. The two counts must describe the same kind of object.
Check equal likelihood before dividing
A fair die has six equally likely faces, so the probability of an even result is . A well-shuffled deck makes each card equally likely at a specified position. A uniform random choice from a list makes each listed person equally likely. Each is a reason for equal likelihood, not just a convenient way to count.
For two independent fair dice, ordered pairs form an equally likely space with outcomes. A sum of 7 occurs for
Therefore . A sum of 8 has five pairs, giving . Counting a list of possible values is useful only after checking their probabilities.
A valid sample space can still be unsuitable for naive counting
The possible sums describe every result relevant to a sum question. But they do not have equal probabilities. There is one pair for a sum of 2 and six pairs for a sum of 7. The answer incorrectly assigns equal weights to these 11 sums.
The same issue occurs when two fair flips are recorded as “0 heads,” “1 head,” or “2 heads.” The middle category contains and , while the others contain one ordered outcome each. Its probability is . Counting two favorable categories out of three would give for “at least one head”; counting the ordered outcomes gives the correct .
This is a change in the level of detail. Grouping equally likely outcomes can produce groups of different sizes. The groups remain legitimate events, but their probabilities must reflect how many original outcomes they contain.
You can recover a grouped result's probability by adding the probabilities of the detailed outcomes it contains. In two fair flips, “one head” has probability . A coarser description can save space, but its weights must be inherited from the experiment. If two categories each contain the same number of equally likely detailed outcomes, then those categories do have equal probabilities.
Use the easier count
An event's complement contains all the unfavorable outcomes. In a finite equally likely space,
For two dice, the event “the dice differ” contains many pairs. Its complement consists of the six doubles: . Hence
Under this finite equal-probability model, only an empty event has probability 0, and only the whole space has probability 1. This follows because every individual outcome has positive probability . Infinite spaces and unequal probabilities require a more general definition; the ratio of counts does not extend by dividing one infinite size by another.
Key Takeaways
- Use the ratio of counts only for a finite space of equally likely outcomes.
- Grouped results, such as dice sums, may have different probabilities.
- Count favorable and total outcomes using the same convention.
- Count the complement when it is simpler.
2Count selections and arrangements
Counting is a way to build a probability calculation before doing any division. The key decisions are whether order matters, whether objects may repeat, and whether several descriptions represent the same result. Permutations, combinations, and multinomial coefficients organize these choices. Card hands and group assignments make the distinctions concrete, while story proofs explain why apparently different counting formulas agree.
2.1 Order, replacement, and the sampling table
A counting formula depends on what makes two results different. Ask whether changing the order changes the result and whether an item can be used again. Those two decisions determine the sampling table.
Count a sequence of choices
The multiplication rule says that stages with and choices give results when every first-stage result allows exactly second-stage choices. The identities of the later choices can depend on earlier choices; their number must be constant at that stage.
A four-digit PIN allows an initial zero. With repetition allowed, each position has 10 choices, giving PINs. Without repeated digits, the successive counts are , so there are . A uniform choice among all PINs has no repeated digit with probability .
Choose the right row
For choices from distinct items:
| Does order matter? | Can items repeat? | Count |
|---|---|---|
| Yes | Yes | |
| Yes | No | |
| No | No | |
| No | Yes |
The factorial counts orderings of distinct objects, and . Choosing more than distinct items is impossible, so when .
From 10 people, a president, vice president, and treasurer can be chosen in ways. Swapping president and treasurer changes the assignment. A three-person committee has choices, because swapping members does not change membership. Each committee appears times among the officer assignments.
Understand stars and bars
Unordered selection with replacement is equivalent to allocating identical objects among distinct boxes. Write one star per object and use bars to separate boxes. Empty sections represent empty boxes.
For five objects and three boxes, the string “|*|” represents counts 2, 1, and 2. There are seven positions containing five stars and two bars. Choosing the five star positions gives allocations. In general there are positions and stars, producing .
Consecutive bars represent empty boxes, and bars at either end allow the first or last box to be empty. For example, “|*||” uses five stars and three bars for four boxes with counts 0, 3, 0, and 2. Every allocation determines exactly one such string, and every string determines exactly one allocation. This one-to-one correspondence is what licenses the combination formula; no extra factor for the order of the identical stars is needed.
A count is not yet a probability model
Stars and bars counts possible allocations. It does not say those allocations are equally likely under repeated random draws. Two independent fair flips produce unordered results with probabilities . The mixed result has two ordered histories.
Use the ordered space for uniform repeated sampling, or assign the correct weights to the unordered results. Choosing a combination count for the numerator and an ordered count for the denominator loses this connection between results and their probabilities.
Key Takeaways
- The multiplication rule needs a fixed number of choices at each stage, not the same choices.
- Order and repetition determine which sampling formula applies.
- A committee count divides an ordered selection count by the number of internal orders.
- Stars and bars counts allocations of identical objects to distinct boxes.
- Unordered results from repeated random draws need not be equally likely.
2.2 Remove overcounting and count the same set twice
Some procedures create several descriptions of the same result. Correcting that count requires knowing exactly how often every result appears. A counting story can explain both the correction and an algebraic identity.
Divide only for uniform overcounting
If every desired result occurs exactly times in a procedure, divide its count by . For 10 people split into two unnamed teams of five, choosing one team gives choices. Each split is counted once from each side, so there are splits.
If the teams are red and blue, selecting the red team identifies a unique result and the answer stays 252. If the teams have sizes three and seven, selecting the smaller team also identifies a unique result; there are splits. Different sizes already distinguish the groups.
For 12 people in three unnamed teams of four, choose successive teams and then remove the ways of ordering the teams:
The internal orders of people have already been removed by the combinations. The final division removes only the team order.
Count repeated types
A multinomial coefficient counts arrangements containing fixed numbers of repeated types:
Start by labeling all objects, count orders, then remove reorderings among identical objects of each type. “MISSISSIPPI” has one M, four I's, four S's, and two P's, so its distinct arrangements number . The same formula assigns distinct people to labeled groups of those sizes.
Give identities a story
A story proof counts one collection of objects in two ways. The identity follows by choosing who is included or choosing who is excluded. These are two descriptions of each subset, paired one to one.
To count a team of people with a designated captain from people, choose the captain first, then the other members. This gives . Choose the team first and then its captain to get . Thus
For and , both counts give 168.
The two procedures must agree about what constitutes an outcome. In the captain story, two teams with the same members but different captains are distinct results on both sides. Counting plain teams on one side and teams with captains on the other would not prove an identity, even if the formulas looked similar. Specifying the object first also exposes overcounting: every construction path should produce one of those objects, and its multiplicity must be tracked.
Split a selection into disjoint cases
Vandermonde's identity is
Choose people from statisticians and engineers. On the right, records the number of statisticians selected. Every committee belongs to exactly one case. With five statisticians, four engineers, and three places, the counts are . Terms for impossible selections contribute zero.
The four terms in the example have separate meanings: zero statisticians gives ; one gives ; two gives ; three gives . The group composition identifies the case uniquely, so adding the case counts neither repeats nor misses a committee.
Key Takeaways
- Divide by a symmetry factor only when every desired outcome is counted equally often.
- Group labels and unequal group sizes can remove a proposed symmetry.
- Multinomial coefficients remove internal orders among repeated types.
- A story proof counts the same collection in two ways.
- Vandermonde’s identity separates selections by how many come from each group.
- The team-captain identity counts the choice of a team and one of its members.
2.3 Count card hands and avoid uneven overcounting
For a counting probability, choose equally likely results, count the favorable results in the same form, and divide. Card hands show why the roles of selected items matter as much as the formulas.
Keep both counts consistent
A standard deck contains 52 cards: four suits, each with 13 ranks. In a well-shuffled deck every five-card hand is equally likely, giving hands.
For two hearts in the first two positions, ordered counting gives . Unordered counting gives . Each unordered pair has two orders in both numerator and denominator, so the factor cancels. Using an unordered numerator with an ordered denominator would leave an unwanted factor of two.
Distinct roles or interchangeable roles?
A full house contains three cards of one rank and two of another. Choose the triple's rank, its suits, the pair's rank, and its suits:
The probability is . The two ranks have different jobs, so selecting them in order is necessary: three kings and two sevens is a different hand type assignment from three sevens and two kings.
In two pair, the pair ranks have interchangeable jobs. Choose those ranks together, then their suits, then the remaining card from a third rank:
Its probability is about . Choosing the pair ranks in ways would count every hand twice.
“At least one” needs care
The complement of “at least one ace in five cards” is “all five are non-aces.” There are 48 non-aces, so
Choosing one ace in four ways and then any four other cards gives descriptions, not distinct favorable hands. A two-ace hand appears twice because either ace could be designated first; a three-ace hand appears three times. There is no constant divisor that repairs this uneven overcounting.
For an exact number of aces, build disjoint categories. Exactly two aces has probability
The second factor requires three non-aces, preventing extra aces from entering.
Summing exact categories provides a second valid route to “at least one ace.” For each , choose aces and non-aces, then add those four counts. A hand cannot belong to two exact-ace categories, so the sum counts every favorable hand once. This explains the difference from designating one ace: the exact categories are disjoint, while the designation procedure produces several descriptions within one category.
Use position symmetry
Each card is equally likely to occupy any fixed position in a shuffled deck. The second card is therefore an ace with probability , as is the last card. This is an unconditional statement: learning the identity of earlier cards can change the probability. The position alone does not favor any rank.
Key Takeaways
- Use equally likely hands or ordered deals consistently in numerator and denominator.
- Full-house ranks have different roles; the two pair ranks are interchangeable.
- The complement counts “at least one” without designating an arbitrary special card.
- Exactly two aces requires the remaining cards to be non-aces.
- Every fixed card position has the same unconditional rank probabilities.
3Derive probability from its axioms
The axioms define probability beyond finite equally likely experiments. They allow unequal weights and infinite spaces while preserving the rules needed for calculation. By dividing events into disjoint pieces, you can derive complements, monotonicity, and inclusion–exclusion. The matching problem then shows how a whole family of overlapping events can be handled exactly and why its probability settles near a surprising constant.
3.1 Probability functions and the axioms
A probability function assigns a number to an event. Equal likelihood is one possible assignment, but loaded dice and infinite experiments need a definition that does not depend on counting a finite list.
State the axioms
A probability space has a sample space , a collection of events, and a function satisfying:
- for every event .
- .
- For pairwise disjoint events ,
The third axiom is countable additivity. It requires disjoint events, so no outcome is counted twice. It also gives finite additivity by making all later events empty. Applying additivity to and the empty event gives , hence . Splitting into and then gives . Thus the equivalent formulation “probabilities lie in [0,1], the empty event has probability 0, the whole space has probability 1, and countable additivity holds” describes the same rules.
For finite or countably infinite spaces, every subset can be an event. On an uncountable space, the event collection contains and is closed under complements and countable unions. A length-based probability on cannot consistently cover every subset, so the event collection matters.
Check an assignment
For finitely many outcomes, nonnegative weights summing to 1 define a valid probability function by adding weights within an event. A loaded die with weight 0.25 on face 6 and 0.15 on each other face has total . Its even-event probability is . Dividing three even faces by six would ignore the unequal weights.
For independent fair flips ending at the first head, the probability of stopping on flip is . The geometric series sums to 1. Stopping on an even-numbered flip is a union of disjoint stopping events, so
The naive finite model is recovered by assigning each of outcomes weight . An event with outcomes has total weight . Disjoint events contain different outcomes, so their weights add without duplication. This verifies the axioms from the underlying count and shows that the equal-count formula is a special probability function, not an additional competing definition for all experiments.
Interpret the numbers
The frequentist interpretation reads probability as a long-run proportion in repeated experiments. The Bayesian interpretation reads it as a degree of belief, including for a one-time event. Both obey the same axioms.
Probability 0 need not mean an event is impossible. For a point chosen uniformly from , each fixed point has probability 0, but a point is selected. Countable additivity does not permit summing over all these uncountably many singleton events. In a finite space where every outcome has positive weight, a zero-probability event is empty; the uniform interval is a different model.
Key Takeaways
- Probability assigns weights to events and satisfies nonnegativity, normalization, and countable additivity.
- Countable additivity applies to disjoint events.
- Finite nonnegative outcome weights summing to 1 define a probability model.
- Frequency and belief interpretations follow the same mathematical rules.
- A nonempty event can have probability 0 in an infinite model.
- An uncountable space needs a specified collection of admissible events.
3.2 Derive complements, unions, and bounds
The usual probability rules come from splitting sets into disjoint pieces. A proof should identify those pieces before applying additivity. This keeps overlaps visible and shows exactly why a subtraction is needed.
Complements and subsets
Since and partition , additivity gives . Therefore .
If , split into and . These pieces are disjoint, so
This is monotonicity. For example, every outcome with exactly two heads also has at least two heads. The exact-count event cannot have the larger probability.
Correct the overlap
The union splits into and the part of outside . Since ,
With , , and , the union is 0.8. Neither occurs with probability 0.2. Exactly one occurs with probability . Subtracting the overlap once gives the union; removing it a second time excludes outcomes where both occur.
Bound what is not known
A union contains each event, while the overlap has nonnegative probability. Hence
A probability also cannot exceed 1. Rearranging the union formula gives
If the marginal probabilities are 0.6 and 0.5, the overlap is at least 0.1. No independence assumption is needed. For any finite family, the union bound is . It remains useful even when the exact overlaps are unknown.
An upper bound can exceed 1 without invalidating the model: it simply gives a loose estimate. If three possible error events each have probability 0.4, the union bound gives 1.2, which can be tightened to 1 using normalization. You cannot report 1.2 as the probability. To get an exact value, more information about overlaps is needed. Independence would be one possible extra property, but the bound itself remains valid for any overlap structure.
Extend inclusion–exclusion
For three events, add singles, subtract pairs, and add the triple:
An outcome in all three is added three times and subtracted three times. Adding the triple intersection restores its required single count. For more events the signs continue to alternate.
Choose an integer uniformly from 1 through 100. To count divisibility by 2, 3, or 5, the single counts are 50, 33, and 20. The pair counts are 16 multiples of 6, 10 of 10, and 6 of 15; there are 3 multiples of 30. The union count is , so the probability is 0.74. Stopping after the pair subtractions would omit the correction for multiples of 30.
Key Takeaways
- Derive probability rules by identifying disjoint set pieces.
- Monotonicity says a subset cannot have greater probability than its containing event.
- The two-event union formula subtracts the overlap once.
- The union bound requires no independence.
- Three-event inclusion–exclusion adds the triple intersection back.
- The marginal probabilities force an overlap of at least P(A) + P(B) − 1.
3.3 The matching problem
Shuffle cards labeled 1 through into a uniformly random order. A match occurs when card occupies position . To find the probability of at least one match, account for the overlaps between these events.
Count specified matches
Let be the event of a match at position . Each card is equally likely to occupy that position, so . These events are not disjoint: the original ordering matches everywhere.
There are equally likely permutations. Requiring a particular set of positions to match fixes those cards. The remaining cards can occupy the other positions in ways, so
This condition allows additional matches elsewhere. Inclusion–exclusion needs intersections, not events with exactly matches.
Combine the intersections
There are sets of positions. Their contribution at that level is
The alternating signs give
For three cards, the six permutations are 123, 132, 213, 231, 312, and 321. Only 231 and 312 have no match. Thus the probability is , agreeing with . For four cards the next subtraction gives .
For four cards, the exact match counts also show how the intersections differ from exact categories. All four match in one permutation; exactly three matches are impossible because the fourth position would then be forced. Exactly two matches can be chosen in ways, with the remaining two cards swapped. Exactly one match has four choices of the fixed position and two no-match orders of the remaining three, giving eight permutations. The remaining have no matches. Hence at least one match has probability .
Recognize the limit
The exponential series at is
Subtracting it from 1 shows that the match probability tends to . The probability of no match tends to . Already at six cards the match probability rounds to 0.632.
Adding more positions creates more opportunities for a match, but each specified match has probability . The competing effects make the overall probability nearly stable for large ; it does not grow toward certainty.
Why a product of complements fails
Treating match events as independent would give . At four cards that is about 0.684, above the correct 0.625. The arrangement constraint links positions. For instance, if all but one position match, the last position must match too. Adding the individual match probabilities would instead give 1 and ignore overlapping matches.
Randomly returned hats and uniformly shuffled name assignments have the same structure. Identify the intended recipient with the corresponding position, then define a match before counting. The reasoning depends on a uniform permutation, not on independent choices of recipients.
Key Takeaways
- Fixing k specified matches leaves (n − k)! permutations.
- Inclusion–exclusion yields the alternating factorial sum for at least one match.
- The large-n match probability approaches 1 − 1/e.
- Match events overlap and are dependent.
4Calculate with conditional information
Information changes the reference group for a probability. The conditional probability definition leads to multiplication along a sequence, averaging across cases, and reversing a conditional with Bayes’ rule. Each method has a different job in the same calculation. Updating twice and comparing pooled groups then reveal why the background information and the weights attached to each case must remain visible throughout the reasoning.
4.1 Conditional probability changes the reference event
Information can change the set of outcomes relevant to a question. Conditional probability measures an event within a known event, preserving the original probability weights and then rescaling the total to 1.
Define the conditional probability
For ,
The condition is to the right of the bar. The numerator keeps outcomes satisfying both statements; the denominator restricts attention to . Before learning , is the prior. Afterward, is the posterior.
For a fair die, . In repeated rolls, this is the long-run proportion of sixes among the even results. For a finite equally likely space, the same calculation is . For general spaces, work with probabilities of events; individual outcomes need not carry positive probability.
The exact condition matters
Two cards are dealt from a well-shuffled standard 52-card deck. Given at least one ace, there are
possible unordered hands. Six contain two aces, so .
Given that the hand contains the ace of spades, the other card is one of 51 possibilities, three of which are aces. This gives . The conditions select different collections of hands. “At least one ace” allows a one-ace hand of any suit; specifying one particular ace changes the relative share of two-ace hands.
Keep the direction straight
For one fair die, because six is even. But . The two fractions share an intersection numerator and have different denominators. A high probability of evidence given a hypothesis need not mean a high probability of that hypothesis given the evidence.
For a fixed positive-probability , the assignment is itself a probability function. It gives , nonnegative values, and additive probabilities for disjoint events. Consequently,
and the union formula also holds with added as a condition throughout.
To see additivity inside the new model, take disjoint events . Their intersections with remain disjoint. Adding their original probabilities and dividing by the fixed positive number gives
Also . These facts explain why the usual rules can be reused within the condition.
Complement the event, not the condition
If the chance of a six among even rolls is , the chance of not-six among those same even rolls is . Changing the condition to odd rolls gives , not . The complement rule holds within one fixed reference event; it does not compare different reference groups.
The ratio definition does not define conditioning on an event of probability 0. Also, replacing its numerator by requires independence. Conditional probability itself makes no such assumption.
Key Takeaways
- Conditional probability is the intersection probability divided by the condition probability.
- The condition must have positive probability for the ratio definition.
- Different information can select different reference groups.
- Reversing the conditioning generally changes the answer.
- Probability rules hold with one fixed condition throughout.
4.2 Multiply along a sequence of events
To find the probability that several events all occur, follow a path through the experiment. At each stage use the probability of the next event given the earlier events on that path.
Rearrange the definition
The conditional probability formula gives
The intersection is symmetric even when the two conditionals differ. Choose the order whose factors are easier to find. This multiplication rule does not require independence.
For three events, apply the two-event rule twice:
The chain rule continues this pattern for any finite sequence, provided the conditioning events have positive probability. Each new factor retains the whole earlier history. Replacing the final factor by needs a further justification; the history may still affect the chance of .
Draw without replacement
An urn holds five red and three blue balls. Draw three without replacement. For all red, the first probability is . After a red, four red balls remain among seven. After two reds, three remain among six. Hence
Unordered counting agrees: . Using would describe draws with unchanged color proportions, not this experiment. Without replacement, a successful draw changes both the numerator and denominator of the next factor.
Read a probability tree
A branch label is a conditional probability given its earlier path. Multiply branch labels to obtain a complete path's probability. Add probabilities of different complete paths when they form the target event, because those paths are disjoint.
In the urn example, exactly two reds can occur as , , or . Each path has probability ; adding gives . The three paths are distinct sequences, even though they describe the same final color counts. In this without-replacement model their equal probabilities come from multiplying the same factors in different orders.
For instance, the path has factors , , and . After one red and one blue, there are four reds left among six balls. The path has factors , , and . Both products equal the path's . Adding them agrees with the unordered count . The tree remembers order; the combinations remove it consistently from both counts.
Choose a useful order
An intersection can be factored in reverse order as . A chronological order is often convenient, but chronology is not part of the theorem.
For distinct birthdays under independent uniform 365-day sampling, order the people. The first imposes no restriction; the second must avoid one day; the third must avoid two. The path probability is . Independence of the people's original birthdays does not make the successive “avoids previous birthdays” probabilities identical: the forbidden set grows along the path.
Key Takeaways
- The chain rule multiplies probabilities conditioned on the full earlier history.
- Without replacement, the remaining counts change at each draw.
- Multiply along a tree path and add disjoint target paths.
- An intersection can be factored in any order that makes the conditionals accessible.
4.3 Split a probability into weighted cases
A probability may be difficult because a hidden fact has not been observed. If knowing that fact would make the problem easy, split the experiment into its possible cases and weight each conditional answer by its case probability.
Derive the law of total probability
Let partition the sample space, with positive probabilities. The event is the disjoint union of . Additivity and the multiplication rule give
This is the law of total probability, or LOTP. The two-case form is
The weights sum to 1. The answer is therefore a weighted average of the conditional probabilities and lies between their minimum and maximum.
Weight production rates
A randomly selected phone comes from plants A, B, and C with probabilities 0.5, 0.3, and 0.2. Their defect rates are 0.01, 0.02, and 0.03. Split by plant:
The unweighted average 0.02 gives every plant an equal share, contradicting the production mix. Plant A's larger weight pulls the total closer to its lower defect rate. The two equal contributions from B and C come from different combinations of production share and defect rate.
Choose a useful partition
A fair coin or a coin with head probability is selected, each with probability . Before the coin is identified,
The unknown coin is a helpful partition because each within-coin probability is known. More generally, condition on which machine, source, door, or first move would make the target probability accessible.
The conditions must be disjoint and exhaustive. Splitting cards into “red” and “hearts” would overlap and omit black cards. Splitting them into “hearts” and “not hearts” is a partition. A missing case loses probability; an overlap counts some outcomes more than once.
LOTP can also determine an unknown weight. If two sources have target rates 0.1 and 0.4 and the observed overall rate is 0.22, let be the share from the higher-rate source. Then , so and . The remaining share is 0.6. The equation is the same weighted average; only the unknown changes from the overall rate to the source mixture.
Recover a symmetry result
For two cards from a shuffled standard deck, partition by whether the first is an ace:
The chance of the second ace changes within each case, but averaging those changes recovers the unconditional symmetry result. Conditioning on a helpful event is a calculation device even when that event has not actually been observed.
Key Takeaways
- LOTP sums joint contributions over a disjoint, exhaustive partition.
- Each contribution is a conditional probability multiplied by its case weight.
- The result is a weighted average, bounded by the smallest and largest conditional probabilities.
- Choose the hidden fact that would make the target probability easy to compute.
- Overlapping or missing cases invalidate the sum.
4.4 Reverse conditioning with Bayes’ rule
A model often gives the chance of evidence under a hypothesis, while the question asks for the chance of the hypothesis after seeing that evidence. Bayes' rule connects these directions and includes how common the hypothesis was beforehand.
Derive the update
Write the joint probability in two ways:
For this gives Bayes' rule,
The likelihood weights the prior . The denominator is the total probability of the evidence, usually found with LOTP:
Read a test result
In a population with 1% prevalence of a condition, a test has 95% sensitivity and 95% specificity. Sensitivity is ; specificity is , so the false-positive rate is 5%. The positive probability is
Thus . In a model population of 10,000, there are 100 affected people and 95 true positives. Among 9,900 unaffected people there are 495 false positives. The 590 positives include 95 affected people.
Using 95% as the posterior confuses the direction of conditioning and ignores the base rate, the initial prevalence. Even a small false-positive rate can contribute many positives when the unaffected group is much larger.
Update odds
The odds of are . Bayes' rule in odds form is
The ratio of likelihoods is the likelihood ratio. Here prior odds are , the ratio is 19, and posterior odds are . Convert odds to probability by dividing favorable weight by total weight: . The odds themselves are not the posterior probability.
For several hypotheses, normalize all joint contributions. With plant shares 0.5, 0.3, 0.2 and defect rates 0.01, 0.02, 0.03, the contributions are 0.005, 0.006, 0.006. Given a defect, the plant probabilities are , which sum to 1.
The odds formula follows by dividing two Bayes updates with the same evidence denominator:
The evidence probability cancels, leaving the likelihood ratio and prior odds. A likelihood ratio greater than 1 increases the odds; one below 1 decreases them; one equal to 1 leaves them unchanged. Equal evidence likelihoods supply no preference between the two hypotheses, even if the evidence itself is rare under both.
Avoid reversing a small likelihood
The prosecutor's fallacy treats a rare evidence pattern under innocence as an equally rare chance of innocence after that evidence. In a simplified source model, one of 2,000,000 equally plausible people produced a profile; the source always matches, and each non-source matches with probability . For a particular matching person, Bayes gives for being the source.
Key Takeaways
- Bayes’ rule reverses conditioning using the prior and the total evidence probability.
- Sensitivity and specificity condition on true status; a posterior conditions on the test result.
- Rare hypotheses can remain unlikely after evidence with a high likelihood.
- Posterior odds equal prior odds multiplied by the likelihood ratio.
- Posteriors over an exhaustive hypothesis partition sum to 1.
- A small evidence probability under innocence is not the posterior probability of innocence.
4.5 Update in stages and compare groups fairly
New information does not erase earlier information. The same probability rules apply inside an already conditioned model. This lets us update in stages and explain why pooled comparisons can differ from comparisons within groups.
Keep the background condition throughout
For a background event , the notation means . Bayes' rule becomes
LOTP becomes . The case weights must describe the population after learning . Using the old unconditional weights would average over the wrong population. All conditioning events used in ratios must have positive probability.
Use a posterior as the next prior
In the 1%-prevalence test model with sensitivity and specificity both 95%, one positive gives posterior odds . Suppose a second result is positive and the results are conditionally independent given true status. The second likelihood ratio is again 19, giving odds and probability
Directly, the same result is
The independence assumption is conditional on status. In general the second likelihood must itself condition on the first result. Sequential updating remains valid even when the evidence pieces are dependent; using the same likelihood ratio twice may then be invalid.
For two observations and , the unnormalized weight for is . Updating first on puts the factor into the posterior; updating on then multiplies by . The final normalization gives the same result as the joint likelihood . Conditional independence simplifies that likelihood, but is not needed for the equivalence of the two update orders.
See a pooled reversal
Simpson's paradox occurs when comparisons within every subgroup reverse after pooling. Consider these success counts:
| Clinic | Difficult cases | Routine cases | All cases |
|---|---|---|---|
| X | 60 of 80: 75% | 19 of 20: 95% | 79 of 100: 79% |
| Y | 10 of 20: 50% | 75 of 80: 93.75% | 85 of 100: 85% |
X has the higher observed rate for each type, while Y has the higher overall rate. The totals are not contradictory: they use different case mixes.
Explain the weights
Within clinic X, the difficult-case weight is 0.8; within Y, it is 0.2. LOTP gives
X's average is pulled toward its difficult-case rate because it handles more difficult cases. If both clinics had the same subgroup weights, X's higher rates in each subgroup would give the higher weighted average.
Comparing the same case type favors X descriptively in these data. The counts alone do not establish that X causes better outcomes; patients may differ in other ways. If case type is the main factor affecting both clinic choice and success, the within-type comparison is more informative. The question being asked and the information about how groups were formed determine which comparison is useful.
Key Takeaways
- Keep background information in every conditional probability and every case weight.
- Sequential updating agrees with updating on the combined evidence.
- Reusing a likelihood ratio requires the appropriate conditional independence.
- Pooling can reverse subgroup comparisons when subgroup weights differ.
- Descriptive rates alone do not establish a causal advantage.
5Establish independence
Independence allows some conditional probabilities to be replaced by ordinary probabilities. The product definition gives a precise test and explains why disjointness is a different property. For several events, pairwise checks leave some relationships untested. Hidden states and selected groups add another layer: events may be independent within a group and dependent overall, or independent overall and dependent after conditioning.
5.1 Test independence with the product definition
Two events are independent when their joint probability equals the product of their individual probabilities. The definition concerns the probability model; a verbal impression that two events are unrelated is not a proof.
Apply the definition
Events and are independent if
When , dividing both sides by gives the equivalent condition . Learning does not change the chance of . The product definition is more general because it also covers zero-probability events, where the ratio is undefined.
Roll two independent fair dice. Let mean “the first die is 6” and mean “the sum is 7.” Each has probability . Both occur only for , so . The events are independent even though the sum uses the first die.
Now let mean “the sum is 12.” Its probability is , and consists of . The joint probability differs from the product , so and are dependent. What matters is the specified event, not just the physical quantities mentioned.
Complements preserve independence
If and are independent, split according to whether occurs:
Thus and are independent. Repeating the argument gives independence for and for . Knowing that did not occur provides no change to the probability of either.
Separate independence from disjointness
Disjoint events cannot occur together, so their joint probability is 0. If both have positive probability, their product is positive and they are dependent. Observing one rules out the other completely.
By contrast, an event of probability 0 is independent of every event, since its intersection with any event also has probability 0 by monotonicity. An event of probability 1 is likewise independent of every event: excluding its zero-probability complement changes no probabilities. These are probability statements; a probability-1 event need not equal the whole sample space in every model.
The complement argument also makes an independence check reversible. Suppose is easier to calculate than the original intersection. Subtracting it from gives . Thus checking independence against a complement is enough to establish it for the original pair. The choice can simplify an event whose direct overlap is awkward to list.
Justify products in applications
Two cards drawn without replacement are both aces with probability . The second factor conditions on the first ace. Replacing it by would assert independence that this experiment does not have. Independent repetitions can justify multiplying marginal probabilities; sampling without replacement usually changes the remaining composition.
Key Takeaways
- Independence means P(A ∩ B) = P(A)P(B).
- For positive-probability conditions, independence means conditioning leaves the probability unchanged.
- Independence is preserved when either or both events are complemented.
- Disjoint positive-probability events are dependent.
- Events with probability 0 or 1 are independent of every event.
5.2 Pairwise and mutual independence
Independence of several events is stronger than independence of each pair. A collection can pass every pair check while a combination of observations determines another event completely.
Check every subcollection
Three events are mutually independent when all four product conditions hold: the three pairwise conditions and
For events, the product rule must hold for every subcollection of at least two events. There are such subcollections: all subsets except the empty set and the singletons. Checking just the full intersection is also insufficient.
For example, if , the triple product equation holds automatically for any and . It cannot prove those two events independent. Take with probability : their intersection has probability , not .
A pairwise counterexample
Flip two independent fair coins. Define as “first is heads,” as “second is heads,” and as “the flips match.” Each has probability . The intersections , , and each contain only , so each has probability . All pairs are independent.
But the triple intersection is also . Its probability differs from . Thus the collection is pairwise independent but not mutually independent. Knowing both flips determines whether they match, even though either flip alone gives no information about a match.
The missing triple condition can be viewed through conditioning. In the two-coin example, and . But because two known heads must match. Mutual independence would keep that combined information from changing C's probability. Pairwise independence only checks the effect of each event separately, leaving their joint information untested.
Compute all or at least one
For mutually independent events,
The second formula uses independent complements and De Morgan's law. Four independent fair die rolls contain at least one six with probability . In 24 independent rolls of two fair dice, at least one double six has probability .
Both marginal sums are , but those sums are only union bounds. Successes on different rolls can occur together, so adding their probabilities overcounts repeated successes. Pairwise independence alone does not justify the full product of failure probabilities.
Interpret a reliability model
Three components work independently, each with probability 0.9. A series system requires all three and works with probability . A parallel system needs at least one and works with probability . The same component probabilities lead to different system behavior because the required event changes from an intersection to a union.
Key Takeaways
- Mutual independence requires the product rule for every subcollection of at least two events.
- Pairwise independence does not imply mutual independence.
- The full-intersection product alone does not imply mutual independence.
- For independent events, calculate at least one through the complement of none.
- Series reliability requires all components; parallel reliability requires at least one.
5.3 Independence after conditioning
A shared hidden cause can link results that are independent once the cause is known. Information that selects outcomes can also create dependence between events that were independent before selection.
Define conditional independence
For , events and are conditionally independent given E if
This is ordinary independence inside the probability model conditioned on . It says nothing by itself about the model outside . Independence given is a separate condition, and independence without conditioning is another question.
Mix independent experiments
Choose a fair coin or a coin with head probability , each with probability . Flip the selected coin twice, independently given its identity. The unconditional head chance for either flip is . By LOTP,
This differs from , so the flips are dependent without conditioning. The same unknown coin influences both results.
A first head increases the posterior probability of the biased coin to
The second-head chance becomes , above . The first flip gives information about the hidden coin, which in turn changes the second flip's probability.
Select from independent outcomes
For two independent fair flips, let and be heads on the first and second flips. Condition on , “at least one head.” The equally likely possibilities are now . Hence
Since , conditional independence fails. In this selected group, learning the first flip was tails forces the second to be heads. Thus unconditional independence does not guarantee independence after learning more.
Independence within one group gives no automatic information about the other group's joint table. For example, a model could use two independent fair bits within and two identical fair bits within . The marginals in each group are one half, but the both-one probabilities are one quarter within and one half within . The conditional product check succeeds in the first group and fails in the second. The condition is part of the claim, not an optional label.
Use the right level of multiplication
Repeated test results may be modeled as independent given true status. Their unconditional probabilities generally do not multiply. With prevalence 0.01, sensitivity 0.95, and false-positive rate 0.05, the probability of two positives under conditional independence is
The marginal positive probability is 0.059, whose square is only 0.003481. LOTP first multiplies within each status group and then adds the weighted contributions; multiplying the mixed marginals loses the shared status information.
Key Takeaways
- Conditional independence is a product rule within one fixed conditioning event.
- Independence given E does not imply independence given its complement.
- Mixing over a hidden state can create unconditional dependence.
- Conditioning can destroy unconditional independence.
6Solve three classic problems
Classic probability problems combine modeling decisions with methods already developed. Birthday matching uses a complement and sequential counting. Monty Hall requires the likelihood of the host’s action under each possible car location. Gambler’s ruin uses the first round to relate unknown win probabilities at neighboring starting positions. In each problem, the structure of the experiment determines which calculation is valid.
6.1 Find the chance of a shared birthday
The birthday problem asks whether any two people in a group share a birthday. That gives many possible pairs, unlike the question of whether someone shares one particular person's birthday.
Count no matches first
Use the standard model: each person's birthday is independently chosen from 365 equally likely days, excluding February 29. For people, there are equally likely ordered birthday assignments.
To have no shared birthday, the first person can use any day, the second any of the remaining 364, and the third any of the remaining 363. Continuing gives
Therefore
The factors are conditional probabilities along the all-different path. For a match is certain by the pigeonhole principle: there are more people than possible days.
Understand the size of the answer
At 23 people the shared-birthday probability is about 0.507; 23 is the smallest group that exceeds one half. At 50 it is about 0.970, and at 70 about 0.999.
A group of 23 has pairs. Each pair matches with probability . This explains why a modest group offers many opportunities for a match. Adding the 253 pair probabilities does not give the exact answer, since multiple pair matches can occur in the same birthday assignment.
Compare a fixed birthday
Fix your birthday and ask whether any of 22 other people share it. Each independently avoids your day with probability , so the answer is
There are only 22 comparisons with your fixed day, not all 253 pairs. It takes 253 other people for the fixed-birthday probability to reach one half. The distinction lies in which matches count as success.
Check the method on a smaller model
Suppose four people independently have uniformly distributed birth months among 12 months. The no-match probability is . The probability of a shared month is therefore .
Using as the favorable no-match count over would mix unordered month sets with ordered assignments to people. Multiplying the combination by restores the assignments when all months differ.
Read the model assumptions
Actual birthdays are not equally common across the year. For independent birthdays with a common nonuniform distribution over the 365 days, a shared birthday is more likely than under the uniform model; the 23-person probability is above the uniform value. The stated assumptions explain the numerical threshold. The count is a model for collision opportunities, not a claim that real birth dates follow a perfectly uniform pattern.
Key Takeaways
- Count all distinct birthdays, then subtract from 1.
- The standard model uses independent birthdays on 365 equally likely days.
- Any-pair matching gives far more opportunities than matching one fixed birthday.
- Ordered birthday assignments require an ordered favorable count.
- A common nonuniform day distribution increases the match probability.
6.2 Use the host’s rules in Monty Hall
You choose door 1 from three doors. One hides a car, equally likely at each door, and two hide goats. A host opens another door showing a goat and offers a switch. The probability depends on the rules governing that reveal.
Solve the standard game by cases
The standard host knows where the car is, always opens a different goat door, and always offers a switch. If either other door could be opened, he chooses randomly between them.
Condition on the original car location. If your first choice contains the car, switching loses. If either other door contains it, the host must expose the other goat, and switching wins. Your initial choice is wrong with probability , so switching wins with probability ; staying wins with probability .
The host's action does not treat the two closed doors symmetrically. Your door was protected from opening regardless of its contents. The other closed door survived a selection that depended on the car's location.
Condition on the particular opened door
Let mean the host opens door 2 and mean the car is at door . Under the standard rules,
LOTP gives . Bayes gives . The host's random tie-breaking is needed for this particular-door posterior.
With 100 doors and a knowledgeable host who opens 98 goat doors, the same case argument gives switching probability . The initial choice has only probability of being correct; switching wins exactly when that choice was wrong.
The distinction between an overall strategy and a particular observation is useful here. The overall win probability averages over every reveal the host might make. A posterior after door 2 opens focuses only on games producing that reveal. Different tie-breaking can change the mixture of car locations in that selected set, even while switching still wins in every game whose original choice was wrong.
Change the reveal mechanism
Suppose an ignorant host instead opens one of the two unchosen doors uniformly at random, possibly exposing the car. You observe door 2 open with a goat. This observation has likelihood under car 1, 0 under car 2, and under car 3. The two surviving joint weights are both . Given this reveal, switching and staying each win with probability .
Now return to a knowledgeable host who always offers a switch but prefers door 2 whenever both other doors have goats. Opening door 2 has likelihoods 1, 0, 1 under the three car locations, so the posterior switching chance is . Opening door 3 can happen only when the car is behind door 2, so switching then wins with certainty.
The preference changes the conditional answers but not the overall strategy's success. Door 2 is opened with probability and door 3 with probability , giving . A visible goat alone is not the complete evidence model: the mechanism that selected it supplies the likelihoods.
Key Takeaways
- Under the standard host rules, switching wins exactly when the initial choice is wrong.
- Conditioning on a particular reveal requires its likelihood under each car location.
- An ignorant host who happens to reveal a goat produces different posterior probabilities.
- A host’s door preference can change conditional answers while leaving overall switching success at 2/3.
6.3 Solve gambler’s ruin from the first step
Two players share tokens. Player A starts with and gains one token each round with probability or loses one with probability , independently across rounds. Play stops at 0 or . Let be A's probability of reaching first.
Turn the first round into a partition
For and , a first win moves A to and a first loss to . From either new position the future game follows the same rules. LOTP gives the first-step recursion
The boundary values encode the target event. Already being ruined means failure; already holding all tokens means success. Reversing these values would solve for the other player's win instead.
Solve the recursion
Try a solution . Substituting and canceling powers gives with roots 1 and . When these are distinct, so . The boundary equations give
When , the repeated root gives . The boundaries give . The biased formula becomes at fairness; use the fair solution directly. At the endpoint games, makes every interior start lose and makes it win.
With , , and , the ratio is and
The fair-game answer at the same start is . Fair rounds do not imply equal overall chances when initial holdings differ.
In the fair case, equal neighboring differences provide another derivation. Rearrange as . Every increase in starting wealth changes the win chance by the same amount. The total increase from to is spread across N one-token steps, giving an increment of per step and .
Interpret repeated small disadvantages
At , equal starting holdings of 5 out of 10 give win probability about 0.450. With 50 out of 100, the same per-round disadvantage gives about 0.119. A longer route to the boundary amplifies the disadvantage. A 38-pocket roulette wheel has 18 red pockets; using with gives about 0.259.
The complementary player swaps and and starts at . The two win probabilities sum to 1. Absorption occurs with probability 1 in this finite model; arbitrarily long paths do not create a positive chance of playing forever.
For a biased game, both numerator and denominator in the ratio have the same sign. If , then and both are positive. If , both are negative. The resulting probability remains between 0 and 1. Reversing the ratio would exchange the direction of advantage. The formula also meets both boundary values immediately: substituting makes the numerator zero, and substituting makes numerator and denominator equal.
Let the opponent’s resources grow
Keeping fixed and taking , eventual ruin has probability 1 when . When , the chance of avoiding ruin forever is . At it is about 0.868. This is an infinite-opponent limit, not a probability of reaching a particular finite target.
Key Takeaways
- First-step analysis conditions on the first win or loss.
- The recursion needs boundary values for ruin and reaching the target.
- A fair game gives target-reaching probability i/N.
- For 0 < p < 1 and p ≠ 1/2, use the ratio q/p in the closed form.
- A small round-by-round disadvantage can become a large disadvantage over a long game.
- Against an unlimited opponent, a fair game still leads to eventual ruin with probability 1.
Conditional Probability examples
1From outcomes to a probability
11 steps
- 1IntroductionStart with what can happen
Before calculating a probability, decide what one result of the experiment records. We will use three independent fair coin flips to build a sample space, describe events, and check a counting calculation. Recording the flips in order will keep different histories apart. Then we will see what changes when those histories are grouped by their number of heads.
- 2ExampleList the ordered outcomes
Three flips give eight ordered outcomes:
For example, records heads first, tails second, and heads third. Each realized experiment corresponds to one entry. The entries are equally likely because the flips are fair and independent; the order labels distinguish them but do not establish their probabilities.
- 3ExampleTurn a statement into a set
Let be “exactly one head.” Then . The experiment produces an outcome, while A is a collection of outcomes. Let be “the first flip is heads.” The intersection contains only , because that is the one entry satisfying both statements. The union would include outcomes satisfying either statement, including both.
- 4ConnectionRead a complement
The complement of “at least one head” is “no heads,” so it contains only . In event notation, if is heads on flip , De Morgan’s law gives
Every flip must be tails. Complementing a union changes “at least one” into a requirement that all the individual events fail.
- 5ChallengeDescribe exactly two heads
What ordered outcomes belong to “exactly two heads,” and does this event include ?
---reveal---
The event is . Each outcome specifies the location of the one tail. It excludes because “exactly two” does not allow a third head. Writing only a union of the individual head events would describe at least one head instead.
- 6Key InsightGroup outcomes into a partition
The four events “zero heads,” “one head,” “two heads,” and “three heads” partition the eight outcomes. Each sequence has exactly one head count, so the parts are disjoint and exhaustive. A partition can simplify a description without making its parts equally likely. The parts here contain 1, 3, 3, and 1 ordered outcomes.
- 7ExampleCalculate using equal weights
The event “exactly two heads” contains three of the eight equally likely sequences. The naive definition therefore gives
The numerator counts ordered sequences, just as the denominator does. The ratio of counts applies because the space is finite and its outcomes have equal weights, not merely because the event can be listed.
- 8TipWhy four head counts do not mean four equal chances
The four head-count values 0, 1, 2, and 3 form a valid sample space for questions about the count. But their probabilities are . A head count of 1 can arise through three different ordered histories; a count of 0 has only one. Assigning each count probability discards that difference.
- 9ExampleUse the smaller event
To calculate “at least one head,” count the complement, which contains only . Then
This is quicker than listing the seven favorable sequences. It also makes the event boundary clear: the only excluded case has no heads anywhere. A complement is always taken relative to the chosen whole sample space.
- 10ChallengeCheck the grouped calculation
Someone claims “at least two heads” has probability because two of the four head counts qualify. What is the correct probability, and why does that argument fail?
---reveal---
The qualifying counts contain equally likely sequences, giving . The claimed numerical answer happens to agree, but its equal-weight premise is false: the four count categories are not equally likely.
- 11RecapKeep descriptions and weights together
Build a sample space at a level of detail that makes the experiment clear. Express the target as a set, use intersections and unions carefully, and check whether the weights justify counting. Grouping outcomes preserves a valid description but can produce unequal probabilities. Complements are especially useful when the excluded event is small.
2Build counts that match the experiment
15 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionCount the object the question asks for
- 2ExampleAssign distinct roles
- 3ExplanationChoose a group instead
- 4ConnectionAllow repeated selections
- 5ChallengeChoose the count
- 6ExampleRemove group order
- 7ExampleRepeated letters remove internal orders
- 8ConnectionGive the identity one object
- 9ChallengeCheck a proposed division
- 10ExampleSet up a uniform card space
- 11TipCheck “exactly” in the companions
- 12Key InsightReplace an awkward union with a complement
- 13ChallengeCount a new committee probability
- 14ConnectionRecognize distinct rank roles
- 15RecapTie each factor to a choice
3From axioms to overlapping-event calculations
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionBuild the rules from disjoint pieces
- 2ExampleCheck normalization
- 3ExampleExtend additivity to a countable list
- 4ChallengeDistinguish zero weight from emptiness
- 5ExplanationDerive the complement rule
- 6ExampleCorrect an overlapping union
- 7ChallengeBound an unknown overlap
- 8Key InsightTrack a triple-overlap outcome
- 9ExampleFix some matching positions
- 10ExplanationCombine equal-sized intersections
- 11ChallengeCalculate the finite answer
- 12ConnectionConnect the finite sum to a limit
- 13ChallengeCombine a complement with an overlap correction
- 14RecapMake every addition legitimate
4Track a conditional probability calculation
20 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionFollow the evidence through the calculation
- 2ExampleRestrict the reference group
- 3ExplanationRead the bar in the right direction
- 4ChallengeComplement within one group
- 5ExampleBuild a joint probability
- 6ConnectionRetain the full path history
- 7ChallengeMultiply a new sequence
- 8ExampleInclude the other source of a flag
- 9Key InsightInterpret the weights
- 10ChallengeRecover a mixture weight
- 11ExampleReverse the filter conditional
- 12ExampleSee the same update in frequencies
- 13ExplanationConvert probabilities to odds
- 14ChallengeFind the required prior
- 15ExampleUpdate on a second flag
- 16ExplanationKeep background information in the formula
- 17ExampleCompare subgroup and pooled rates
- 18ChallengeExplain a pooled reversal
- 19ChallengeCombine two observations
- 20RecapMatch each operation to its job
5Check independence before multiplying
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionLocate the independence claim
- 2ExampleCompare joint and product
- 3ExplanationSeparate a set property from a probability property
- 4ChallengeComplement an independent event
- 5ExampleA pair can miss a three-way relationship
- 6Key InsightCount what must be checked
- 7ExampleCalculate at least one success
- 8ChallengeChoose the system event
- 9ExampleMix over a common hidden source
- 10ConnectionUse one result as evidence about the source
- 11ExampleSelect from independent outcomes
- 12ChallengeDistinguish two levels of independence
- 13ChallengeTest an update against independence
- 14RecapState independence at the right level
6Work through collisions, doors, and ruin
19 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionChoose the right first move
- 2ExplanationStart with no birthday collisions
- 3ExampleMultiply the available-day fractions
- 4ConnectionChange from any pair to one fixed day
- 5ChallengeTry a smaller collision model
- 6ExplanationSpecify the host
- 7ExampleCondition on the initial choice
- 8ExampleUse a particular reveal
- 9ChallengeChange the tie-breaking rule
- 10Key InsightCompare an ignorant host
- 11ExplanationDefine the token-game target
- 12ConnectionCondition on the first round
- 13ExampleSolve the fair recursion
- 14ExplanationFind the biased solution
- 15ExampleEvaluate a biased example
- 16ChallengeChoose the right boundary interpretation
- 17Key InsightTake an unlimited-opponent limit
- 18ChallengeInfer a hidden start from a win
- 19RecapRecognize the reusable structures
Conditional Probability practice questions
Set 1: Outcomes, counting, and probability rules10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Selections, overlapping events, and matches10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Paths, weighted cases, and Bayesian updates10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Independence, complements, and hidden sources10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Birthdays, door reveals, and token games10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 6: Combine counting, conditioning, and independence10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Absorption
B
Bayes’ rule
Bayesian interpretation
Binomial coefficient
Birthday problem
Boundary condition
C
Case mix
Case weight
Chain rule
Collision
Complement
Complement rule
Conditional independence
Conditional probability
Conditioning event
Countable additivity
D
Dependent events
Disjoint events
E
Equally likely outcomes
Event
Exact-count event
Extra conditioning
F
Factorial
Favorable outcome
First-step analysis
Fixed-birthday match
Frequentist interpretation
Full house
G
Gambler’s ruin
H
Hidden state
I
Inclusion–exclusion
Independent events
Intersection
J
Joint contribution
Joint probability
L
Law of total probability
Likelihood
Likelihood ratio
M
Marginal probability
Match
Matching problem
Mixture
Monotonicity
Monty Hall problem
Multinomial coefficient
Multiplication rule for counting
Mutual independence
N
Naive definition
No-match event
Normalization
O
Odds
Outcome
Overcounting
P
Pairwise independence
Parallel system
Partition
Permutation
Pigeonhole principle
Posterior probability
Prevalence
Prior probability
Probability function
Probability tree
Prosecutor’s fallacy
R
Recursion
Replacement
Reveal mechanism
S
Sample space
Sampling without replacement
Selection event
Sensitivity
Sequential updating
Series system
Simpson’s paradox
Specificity
Specified matches
Stars and bars
Story proof
Switching strategy
Symmetry
Symmetry factor
T
Tie-breaking rule
Two pair
U
Uneven overcounting
Union
Union bound
V
Vandermonde’s identity
W
Weighted average
Z
Zero-probability event
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.