4.4 Union and Intersection
When two events cannot happen at the same time, they are called mutually exclusive or disjoint events.

Figure 4-7

Figure 4-8

Figure 4-9

Figure 4-10
For example, a student cannot be a freshman and a sophomore at the same time, see Figure 4-9. These are mutually exclusive events. A student could be freshman and a business major at the same time so the event freshman and the event business major are not mutually exclusive see Figure 4-10.
Intersection
When we are finding the probability of both A and B happening at the same time we denote this as P(A ∩ B). This overlap is called the intersection.
Union
When either event A, event B, or both occur then we call this the union of A or B, which is denoted as (A U B). When finding the probability of A or B we denote this as P(A U B). When we write “or” in statistics, we mean “and/or” unless we explicitly state otherwise. Thus, A or B occurs means A, B, or both A and B occur.
Figure 4-11 is a Venn diagram for the union rule.

Figure 4-11
If two events are mutually exclusive, then the probability of them occurring at the same time is P(A ∩ B) = 0. So, if A and B are mutually exclusive then the P(A U B) = P(A) + P(B) as shown in Figure 4-7. It is best to write out the rule with the intersection so that you do not forget to subtract any overlapping intersection.
“‘It's... well, it's a long story,’ he said, ‘but the Question I would like to know is the Ultimate Question of Life, the Universe and Everything. All we know is that the Answer is Forty-two, which is a little aggravating.’
Prak nodded again.
‘Forty-two,’ he said. ‘Yes, that's right.’
He paused. Shadows of thought and memory crossed his face like the shadows of clouds crossing the land.
‘I'm afraid,’ he said at last, ‘that the Question and the Answer are mutually exclusive. Knowledge of one logically precludes knowledge of the other. It is impossible that both can ever be known about the same universe.’”
(Adams, 2002)
Example 4
Randomly pick a card from a standard deck. A standard deck of cards, not including jokers consists of 4 suits called clubs = ♣, spades = ♠, hearts = ♥, and diamonds = ♦. The clubs and spades are called the black cards. The hearts and diamonds are called the red cards. Each suit has 13 cards. The numbered cards shown in Figure 4-13, are Ace = 1 or A, 2, 3, 4, 5, 6, 7, 8, 9, 10. The face cards are the Jack = J, Queen = Q, and King = K.
Try it in XYZ Crunch
Spades, face cards and the three they share
P(spade) = 13/52 = 0.25, P(face card) = 12/52 = 0.2308 and the intersection is 3/52 = 0.0577 (the J, Q, K of spades); the events lab returns the union 22/52 = 0.4231. Set the intersection to 0 and it reports 0.4808 - the double count the union rule subtracts.

Figure 4-13
a) Compute the probability of selecting a card that shows a club.
b) Compute the probability of selecting a heart or a spade card.
c) Compute the probability of selecting a spade or a face card.
Show solution
a) There are 52 cards in a standard deck. There are 13 cards of each suit. The P(♣) = 13/52 = 0.25.
b) There are 52 cards in a standard deck. There are 13 cards of each suit. P(♥ U ♠) = 26/52 = 0.5.
c) There are 13 spades and 12 face cards. However, there are 3 cards that are both spades and face cards. P(♠ U FC) = P(♠) + P(FC) – P(♠ ∩ FC) = 13/52 + 12/52 – 3/52 = 22/52 = 0.4231. Since the sample space is small, you could just count how many spades and face cards there are.

Words Are Important!
When working with probability, words such as “more than” or “less than” can drastically change the answer. Figure 4-14 shows some of the common phrases you may run into while reading a problem. It will be essential later in the course that you can correctly match these phrases with their correct symbol.

Figure 4-14
Example 5
Use a random experiment consisting of rolling two dice and adding the numbers on the faces.
a) Compute the probability of rolling a sum of less than 5.
b) Compute the probability of rolling a sum of 5 or less.
Show solution
a) Let X be the event rolling a sum less than 5. A sum less than 5 would not include the 5. For notation, we use P(X < 5), which is read as the “probability that X is less than five.” Shade in all the sums that are less than 5.

Then the P(X < 5) = 6/36 = 0.1667.
b): Let X be the event rolling a sum of 5 or less. A sum of 5 or less includes the 5. For notation, we can use P(X ≤ 5), which is read as the “probability that X is less than or equal to five.” Shade in all the sums that are 5 or less.

Then the P(X ≤ 5) = 10/36 = 0.2778.
Adapted from Mostly Harmless Statistics by Rachel Webb (Portland State University, https://mostlyharmlessstat.wixsite.com/webpage), © Rachel Webb, licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.