0. Logistical Info
- Section date: 9/20
- Associated lectures: 9/12, 9/14
- Associated pset: Pset 2, due 9/22
- Office hours on 9/20 from 7-9pm at Quincy Dining Hall
- Remember to fill out the attendance form
- Scroll to section 5 for a concise content summary.
0.1 Summary + Practice Problem PDFs
Summary + Practice Problems PDF
Practice Problem Solutions PDF
1. Brushing up on the definition of probability
We’ll restate the axioms for the general definition of probability:
Definition of probability:
There are just two axioms (rules that probabilities have to follow):
- If events
are disjoint, then
In other words, if
Tips for calculating probabilities:
- Define events for every aspect of the problem (e.g., “
= the event that it rains tomorrow, = the event that it rained today”) - Write out the probabilities that you are given in the problem using notation (e.g., “
, ). - Write the probability that you want to calculate using notation (e.g., we want to calculate the unconditional probability that it rains tomorrow,
). - Figure out how the tools we have learned allow you to utilize the probabiliies that you do know (step 2) to calculate the probabilities that you don’t know (step 3).
There are some important results that follow:
- Probability of a complement: If
is an event a sample space , Concisely, the probability of an event occuring is minus the probability of the event not occuring. - Probability of a union: For events
, , we have It’s also useful to “disjointify” into a partition ( ) which allows us to use the second axiom and get - Principle of Inclusion-Exclusion (PIE): this is a general formula for the probability of the union of
events Note that the formula for the probability of the union of two events is the case of PIE.
A potential workflow (that you saw on Pset 1) for the probability of an intersection, , is to- Use complementary counting and DeMorgan’s law (in that order) to turn the intersection into a union:
- Apply PIE to the union
- Use complementary counting and DeMorgan’s law (in that order) to turn the intersection into a union:
2. Conditional Probability
Notation note:
We will start writing
Conditional probability:
If
We read
We’re also quick to note that conditional probabilities are the same as “normal” probabilities — in fact, all probabilities can be considered conditional, we just treat some conditions more implicitly than others since they are more obvious/always involved to the problem. We’ll use extra conditioning to refer to problems where some conditions are always present (i.e., we never want to/don’t know how to calculate the probability of those conditionns). For example, to calculate the probability that it rains tomorrow (
3. Tools using Conditional Probability
3.1 Probability of an Intersection
For events
The probability of an intersection with extra conditioning is
3.2 Law of Total Probability (LOTP)
The law of total probability (LOTP) is a clever rephrasing of the second axiom of probability (the probability of a partition is the sum of probabilities): if

We usually break down each of the terms using the result for the probability of an intersection section 3.1
LOTP with extra conditioning is
3.3 Bayes’ Rule
Bayes’ Rule is also a result of the formula for the probability of an intersection:
Bayes’ rule with extra conditioning is
4. Independence
Independence for two events
Two events
For
Intuitively, independence means that information about
- Note that independence goes both ways — if
is independent of , then is independent of . - If
is independent of , then is independent of and is independent of .
Independence for many events
A group of events
4.1 Conditional Independence
Conditional independence follows a similar formula:
5. Summary
Notation note: see that we use commas and intersections interchangeably (i.e.,
Tips for calculating probabilities:
- Define events for every aspect of the problem (e.g., “
= the event that it rains tomorrow, = the event that it rained today”) - Write out the probabilities that you are given in the problem using notation (e.g., “
, ). - Write the probability that you want to calculate using notation (e.g., we want to calculate the unconditional probability that it rains tomorrow,
). - Figure out how the tools we have learned allow you to utilize the probabiliies that you do know (step 2) to calculate the probabilities that you don’t know (step 3).
5.1 Definition of Probability
Axioms of probability:
- With sample space
, - For
that partition (this can be finite or infinite),
Probability of a complement: For event
Probability of a union: For events
Principle of Inclusion-Exclusion: For events
5.2 Conditional Probability
Conditional probability: For events
5.3 Conditional Probability Tools
First-step analysis: If you ever need to solve a problem involving a sequence of things (like a game with many turns, or a random walk, or so on) and are stuck, try first-step analysis: conditioning what happens after the first step. You’ll often be able to get a recursive equation that is easier to solve.
Probability of an intersection:
…with extra conditioning:
…with extra conditioning:
5.4 Independence
Independence:
VERY IMPORTANT: Disjointness and independence are not the same thing, and disjoint events are in fact usually independent.
A set of events
Conditional independence: