Computing probabilities
Basic probability formula
Probability compares two things:
- how many outcomes satisfy a condition (the event), to
- how many outcomes are possible overall (the sample space).
So every probability question starts by identifying the sample space and the event of interest.
For any event in a finite sample space:
Think of probability as a proportion. If an event occurs in half of all equally likely outcomes, its probability is . If it occurs in one out of ten outcomes, its probability is . Probabilities are always between and , inclusive - means the event cannot occur, and means it must occur. When data is given as category counts, the grand total is the sum of all counts. Be careful with strict vs. inclusive inequalities when listing favorable outcomes: “less than ” excludes , while “less than or equal to ” includes it.
When the sample space isn’t handed to you, you build it by enumeration - listing or counting every possible outcome.
Example: Rolling a pair of number cubes
You roll two fair six-sided number cubes. What is the probability that the sum of the two numbers rolled is ?
Each cube has faces, and the result of one cube doesn’t affect the other, so the sample space is every pair (first cube, second cube): equally likely outcomes.
Now list the pairs that sum to :
That’s favorable outcomes out of total outcomes:
Answer:
Many probability questions - especially on the Praxis - give information in tables instead of listing outcomes. The same proportion idea applies; you just read the favorable count and the total count from the table.
Reading two-way tables
A two-way table organizes counts for two categorical variables at once: rows represent one variable, columns represent the other, each cell holds a joint count, and the grand total represents the full sample space.
From a two-way table, you can compute three types of probabilities.
-
Joint probability - the chance that both events occur together. Divide one cell count by the grand total:
-
Marginal probability - the chance of a single event, ignoring the other variable. Divide a row or column total by the grand total:
-
Conditional probability - the chance of one event given that another has occurred. The sample space shrinks to the relevant row or column total:
Joint and marginal probabilities use the grand total as the denominator; conditional probabilities use the row or column total for the given condition instead. The conditional probability formula works even when you aren’t reading from a table - if you’re given and directly, apply the same way.
Example: Joint, marginal, and conditional probabilities
A café records how customers pay (Cash, Card, or Mobile) across three days.
Day Cash Card Mobile Total Monday Tuesday Wednesday Total If a table doesn’t give you row and column totals, add them up before computing any probabilities.
The marginal probability of paying by card uses the Card column total divided by the grand total:
The joint probability of a customer paying in cash on Tuesday uses the Tuesday-Cash cell divided by the grand total:
The conditional probability of paying with mobile given it is Wednesday restricts the sample space to the Wednesday row - so the denominator is , not :
Answer:
After you can compute probabilities from sample spaces and tables, the next step is combining events. Here, it matters whether events can overlap and whether one event changes the probability of the other.
Unions and intersections of events
When combining events, two common questions come up:
- Are you finding the probability that at least one of two events occurs (a union)?
- Or are you finding the probability that both events occur (an intersection)?
The correct rule depends on whether the events can occur together and whether they affect each other.
-
Union, mutually exclusive: If two events cannot occur at the same time, there is no overlap. The probability that at least one occurs is the sum of their individual probabilities:
-
Union, non-mutually exclusive: If two events can occur together, adding and counts the overlap twice. Subtract once to correct for that:
-
Intersection, independent: If two events are independent, the occurrence of one does not change the probability of the other. Multiply their probabilities to get the probability that both occur:
For example, flipping two heads in a row with a fair coin: each flip is independent, so .
Example: Mutually exclusive vs. non-mutually exclusive unions
You draw one card from a standard -card deck.
Case 1 - mutually exclusive: Let = “draw a heart” and = “draw a spade.” A card cannot be both, so the events are mutually exclusive.
Case 2 - non-mutually exclusive: Let = “draw a heart” and = “draw a king.” The king of hearts is both, so the events can overlap.
- (the king of hearts)
The only difference between the two cases is whether you subtract the overlap. When events can share outcomes, count that overlap and remove it once.
Answer: Case 1: ; Case 2:
With and without replacement
When you draw multiple items from a finite set, you need to consider whether the first draw changes the second. That depends on whether you put the item back.
-
With replacement means the item is returned before the next draw. The sample space stays the same, so the probabilities stay the same across draws.
-
Without replacement means the item is not returned. The sample space shrinks after each draw, so the probabilities change.
Example: Without replacement
A box contains red and blue balls ( total). You draw two balls without replacement. What is the probability both are red?
On the first draw, there are red balls out of total:
After drawing a red ball and not replacing it, there are red balls left out of total:
Because both events must occur, multiply the probabilities:
Answer: