Sub topic 4
Compound events: reading "and" and "or"
A compound event combines simpler events with words like "and", "or", "not", "neither", or "exactly one". Most GRE probability errors come from misreading these words, not from arithmetic. This chapter covers how to translate the wording into outcomes you can count.
This chapter assumes you can compute a simple probability as favorable outcomes over total outcomes, and that you can read a Venn diagram. The rules for calculating P(A or B) and P(A and B) come in later chapters. Here the goal is to identify which outcomes the wording selects.
Events as sets of outcomes
An event is a set of outcomes from the sample space. A compound event is built from other events using set operations:
- "A and B" is the intersection, written A ∩ B. It contains outcomes that are in both A and B.
- "A or B" is the union, written A ∪ B. It contains outcomes that are in A, in B, or in both.
- "not A" is the complement, written A′. It contains every outcome not in A.
Once you view a compound event as a set, every probability question becomes the same task. Decide which outcomes belong to the set, count them, and divide by the size of the sample space.
"Or" is inclusive on the GRE
In everyday speech, "tea or coffee?" often means one or the other. In probability, "A or B" means at least one of the two happens. Outcomes where both happen are included.
If you roll two fair dice, "the first die is a 6 or the second die is a 6" includes the outcome (6, 6). If you leave it out, you have read "or" as exclusive, and your count will be too small.
The GRE signals exclusive meaning explicitly, with phrases such as "exactly one of" or "one or the other but not both". Without such a phrase, treat "or" as inclusive.
A worked example with two dice
Roll two fair dice. The sample space has 36 equally likely ordered pairs. Define two events:
- A: the first die shows 6.
- B: the sum is at least 10.
Listing the outcomes:
- A has 6 outcomes: (6,1), (6,2), (6,3), (6,4), (6,5), (6,6).
- B has 6 outcomes: (4,6), (5,5), (5,6), (6,4), (6,5), (6,6).
- A and B share 3 outcomes: (6,4), (6,5), (6,6).
Each compound event is then a matter of counting:
| Wording | Set | Outcomes | Probability |
|---|---|---|---|
| A and B | A ∩ B | 3 | 3/36 = 1/12 |
| A or B | A ∪ B | 6 + 6 − 3 = 9 | 9/36 = 1/4 |
| A but not B | A only | 6 − 3 = 3 | 1/12 |
| B but not A | B only | 6 − 3 = 3 | 1/12 |
| Exactly one of A, B | A only plus B only | 3 + 3 = 6 | 1/6 |
| Neither A nor B | (A ∪ B)′ | 36 − 9 = 27 | 3/4 |
The union count subtracts the overlap because the three shared outcomes appear in both lists and would otherwise be counted twice. This is the idea behind the addition rule, which gets its own chapter.
Checking the table in code
The following program builds the sample space and uses Python set operators to mirror the wording.
from fractions import Fraction
from itertools import product
space = set(product(range(1, 7), repeat=2)) # 36 ordered pairs
A = {o for o in space if o[0] == 6}
B = {o for o in space if o[0] + o[1] >= 10}
def p(event):
return Fraction(len(event), len(space))
print("A and B: ", p(A & B)) # 1/12
print("A or B: ", p(A | B)) # 1/4
print("A but not B: ", p(A - B)) # 1/12
print("B but not A: ", p(B - A)) # 1/12
print("exactly one: ", p(A ^ B)) # 1/6
print("neither: ", p(space - (A | B))) # 3/4The operators map directly onto the wording. & is "and", | is "or", - is "but not", ^ is "exactly one", and subtracting from space is "not".
Translating common phrases
Many GRE questions disguise these operations. The table lists common phrasings and what they select.
| Phrase | Meaning | Set |
|---|---|---|
| both A and B | Both events occur | A ∩ B |
| A or B, either A or B | At least one occurs | A ∪ B |
| A but not B, A only | A occurs, B does not | A − B |
| neither A nor B | Neither occurs | (A ∪ B)′ |
| exactly one of A and B | One occurs, not both | (A − B) ∪ (B − A) |
| at least one of A and B | One or both occur | A ∪ B |
| not both | At most one occurs | (A ∩ B)′ |
Two entries are easy to confuse. "Neither A nor B" means both fail. "Not both" means at least one fails. They are different sets. In the dice example, "neither" has probability 3/4, while "not both" has probability 1 − 3/36 = 11/12.
Choosing between "and" and "or" by the structure of the question
A reliable check is to ask whether the question asks for one outcome that satisfies several conditions, or for any of several outcomes.
- "The first card is a heart and the second is a spade" describes one specific sequence of results. Several conditions must hold together, so you will be multiplying probabilities.
- "The card is a heart or a spade" describes several acceptable single results. Any of them is enough, so you will be adding probabilities, with care for overlap.
A rough guide: "and" narrows the set, so the probability can only stay the same or shrink. "Or" widens it, so the probability can only stay the same or grow. This gives you a quick sanity check.
The relationship between the sets is shown below.
Edge cases to watch
Events with no overlap. If A and B cannot happen together, the overlap is empty, so "A or B" counts A's outcomes plus B's outcomes with nothing to subtract. These are mutually exclusive events, covered in the next chapter.
Events defined on different trials. "The first die is even and the second die is odd" involves two separate rolls. The outcomes are ordered pairs, and the intersection is still a set of pairs. Here (2, 3) qualifies, but (3, 2) does not.
Counting unordered results. If you list outcomes as sums, 2 through 12, the outcomes are not equally likely, because a sum of 7 has six pairs and a sum of 2 has one. Always count in the equally likely space of ordered pairs before dividing.
"At least" with more than two events. "At least one" of three events means the union of all three. Counting it directly is messy. Complements usually work better, and a later chapter covers that approach.
Common errors
- Treating "or" as exclusive and dropping the overlap from the count.
- Adding the counts for A and B without removing the shared outcomes.
- Confusing "neither" with "not both".
- Counting outcomes in a space whose outcomes are not equally likely, such as dice sums.
- Answering with a number outside the range allowed by the single-event probabilities.
Exercise
Two fair dice are rolled. Let C be the event "the sum is 7" and D be the event "the first die is 3". Find the probability of each of these: (a) C and D, (b) C or D, (c) exactly one of C and D, (d) neither C nor D.
Show answer
C has 6 outcomes: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). D has 6 outcomes: (3,1) through (3,6). The only shared outcome is (3,4). (a) P(C and D) = 1/36. (b) The union has 6 + 6 − 1 = 11 outcomes, so the probability is 11/36. (c) Exactly one means 11 − 1 = 10 outcomes, so 10/36 = 5/18. (d) Neither is 36 − 11 = 25 outcomes, so 25/36.
Exercise
A question states that the probability of "A or B" is less than the probability of A. Without any calculation, explain why this statement cannot be true.
Show answer
Every outcome in A is also in "A or B", so the union contains at least all of A's outcomes. Its probability must therefore be at least P(A). A smaller value is impossible.