Sub topic 2
Probability as favorable over total outcomes
This chapter assumes you can work with fractions, ratios, and percents, simplify and compare fractions, and use the multiplication principle to count outcomes. It builds directly on sample spaces and events from the previous chapter. Here you turn those counts into probabilities and learn where the formula fails.
The core formula
A sample space is the set of all possible outcomes of an experiment. An event is any subset of those outcomes. When every outcome in the sample space is equally likely, the probability of an event A is:
P(A) = (number of outcomes in A) / (number of outcomes in the sample space)
People often say "favorable over total." Favorable outcomes are the ones that make the event happen. Total outcomes are everything that could happen.
Two facts follow from this formula:
- P(A) is always between 0 and 1, inclusive.
- P(A) = 0 means the event cannot happen. P(A) = 1 means it must happen.
The GRE may give a probability as a fraction, a decimal, or a percent. All three are the same quantity: 1/4, 0.25, and 25% describe the same chance.
Worked example: one die
Roll one fair six-sided die. The sample space is {1, 2, 3, 4, 5, 6}, so there are 6 outcomes.
Let A be "the roll is a prime number." The primes in the sample space are 2, 3, and 5. That is 3 favorable outcomes.
P(A) = 3/6 = 1/2
Note that 1 is not prime. Miscounting favorable outcomes is a more common source of error than the arithmetic.
The "equally likely" condition
The formula is only valid when each outcome in the sample space has the same chance. This is the most important edge case in the chapter.
Consider the experiment "flip two fair coins and count the heads." You might list the outcomes as 0, 1, or 2 heads and conclude each has probability 1/3. That is wrong, because those three outcomes are not equally likely. List the outcomes in a way that is equally likely instead:
| Outcome | Heads |
|---|---|
| HH | 2 |
| HT | 1 |
| TH | 1 |
| TT | 0 |
There are 4 equally likely outcomes. Exactly one head occurs in 2 of them, so P(exactly one head) = 2/4 = 1/2.
The fix is to choose a sample space whose outcomes are equally likely. Distinguishing the two coins (first and second) does this.
Counting with two dice
Rolling two fair dice gives 6 × 6 = 36 equally likely ordered outcomes, by the multiplication principle. Treat the dice as distinguishable, so (2, 5) and (5, 2) are different outcomes.
Suppose you want P(sum is 8). The favorable outcomes are (2, 6), (3, 5), (4, 4), (5, 3), and (6, 2). That is 5 outcomes, so P = 5/36.
If you used the 21 unordered pairs instead, you would count (4, 4) once and the others once each, and the pairs would not be equally likely. Ordered pairs avoid that problem.
You can check a count by listing the sample space in code:
from fractions import Fraction
from itertools import product
space = list(product(range(1, 7), repeat=2)) # 36 ordered outcomes
def prob(event):
return Fraction(sum(1 for o in space if event(o)), len(space))
print(len(space)) # 36
print(prob(lambda o: o[0] + o[1] == 8)) # 5/36
print(prob(lambda o: o[0] == o[1])) # 1/6 (doubles)Fraction keeps the answer exact and reduces it automatically, so 6/36 prints as 1/6.
A diagram of the method
The steps are the same for any equally likely problem.
Counting larger sample spaces
You will not always list outcomes. Use counting rules to find the totals.
Example. A bag holds 4 red, 3 blue, and 5 green marbles. One marble is drawn at random. The sample space has 4 + 3 + 5 = 12 marbles, each equally likely to be drawn.
- P(red) = 4/12 = 1/3
- P(not green) = 7/12
- P(red or blue) = 7/12
Example with a password. A code is a 3-digit string using digits 0 through 9, and repetition is allowed. There are 10 × 10 × 10 = 1000 equally likely codes. The probability that a random code is 777 is 1/1000. The probability that all three digits are the same is 10/1000 = 1/100, because there are 10 such codes (000, 111, ..., 999).
Both the numerator and the denominator must be counted under the same rules. If you count the total with order mattering, you must count the favorable outcomes with order mattering too.
Common errors
- Using favorable over unfavorable. If 3 of 8 items are red, P(red) = 3/8, not 3/5. The ratio 3 to 5 is "odds," which compares favorable to unfavorable. Probability always uses the total in the denominator.
- Counting unequal outcomes as equal. Using {0, 1, 2 heads} as three outcomes is the classic case.
- Mixing ordered and unordered counts. Pick one convention and apply it to both numerator and denominator.
- Forgetting to simplify, or simplifying incorrectly. 6/36 is 1/6, not 1/3. On quantitative comparison questions, compare simplified fractions or use a common denominator.
- Giving a value outside 0 to 1. If your answer is 5/4 or negative, a count is wrong. Treat this as a quick check.
Probability and percent
A probability converts to a percent by multiplying by 100. If 9 of 40 students walk to school, P(walks) = 9/40 = 0.225 = 22.5%. The GRE sometimes states the data in percents. If 30% of a group of 200 people wear glasses, then 60 people wear glasses, and the chance a randomly chosen person wears glasses is 60/200 = 0.30. The population size cancels, so the probability equals the percent written as a decimal.
Check your understanding
Exercise
A fair die is rolled twice. The two rolls are treated as an ordered pair, so there are 36 equally likely outcomes. What is the probability that the sum of the two rolls is at most 4?
Show answer
List the pairs with sum 2, 3, or 4. Sum 2: (1,1), which is 1 pair. Sum 3: (1,2), (2,1), which is 2 pairs. Sum 4: (1,3), (2,2), (3,1), which is 3 pairs. That is 1 + 2 + 3 = 6 favorable outcomes, so P = 6/36 = 1/6.
Exercise
A student says that when two fair coins are flipped, the probability of getting two heads is 1/3, because the outcomes are 0, 1, or 2 heads. Explain the mistake and give the correct probability.
Show answer
The three outcomes 0, 1, and 2 heads are not equally likely, so favorable over total does not apply to them. The equally likely outcomes are HH, HT, TH, and TT. Only HH gives two heads, so the correct probability is 1/4.
Exercise
A box holds 5 red, 7 yellow, and 8 white tiles. One tile is chosen at random. What is the probability that it is not white? Give the answer as a simplified fraction and as a percent.
Show answer
There are 5 + 7 + 8 = 20 tiles. Tiles that are not white number 5 + 7 = 12. P = 12/20 = 3/5, which is 60%.