12.3: Working with Events
( \newcommand{\kernel}{\mathrm{null}\,}\)
Complementary Events
Now let us examine the probability that an event does not happen. As in the previous section, consider the situation of rolling a six-sided die and first compute the probability of rolling a six: the answer is
This is not a coincidence. Consider a generic situation with
The complement of an event is the event “
The notation
We can compute the probability of the complement using
Notice also that
If you pull a random card from a deck of playing cards, what is the probability it is not a heart?
Solution
There are 13 hearts in the deck, so
The probability of not drawing a heart is the complement:
Probability of two independent events
Suppose we flipped a coin and rolled a die, and wanted to know the probability of getting a head on the coin and a 6 on the die.
Solution
We could list all possible outcomes:
Notice there are
The prior example was looking at two independent events.
Events A and B are independent events if the probability of Event B occurring is the same whether or not Event A occurs.
Are these events independent?
- A fair coin is tossed two times. The two events are (1) first toss is a head and (2) second toss is a head.
- The two events (1) "It will rain tomorrow in Houston" and (2) "It will rain tomorrow in Galveston” (a city near Houston).
- You draw a card from a deck, then draw a second card without replacing the first.
Solution
- The probability that a head comes up on the second toss is
regardless of whether or not a head came up on the first toss, so these events are independent. - These events are not independent because it is more likely that it will rain in Galveston on days it rains in Houston than on days it does not.
- The probability of the second card being red depends on whether the first card is red or not, so these events are not independent.
When two events are independent, the probability of both occurring is the product of the probabilities of the individual events.
If events
where
If you look back at the coin and die example from earlier, you can see how the number of outcomes of the first event multiplied by the number of outcomes in the second event multiplied to equal the total number of possible outcomes in the combined event.
In your drawer you have 10 pairs of socks, 6 of which are white, and 7 tee shirts, 3 of which are white. If you randomly reach in and pull out a pair of socks and a tee shirt, what is the probability both are white?
Solution
The probability of choosing a white pair of socks is
The probability of choosing a white tee shirt is
The probability of both being white is
A card is pulled a deck of cards and noted. The card is then replaced, the deck is shuffled, and a second card is removed and noted. What is the probability that both cards are Aces?
The previous examples looked at the probability of both events occurring. Now we will look at the probability of either event occurring.
- Answer
-
since the second draw is made after replacing the first card, these events are independent The probability of an ace on each draw is
so the probability of an Ace on both is
Suppose we flipped a coin and rolled a die, and wanted to know the probability of getting a head on the coin or a 6 on the die.
Solution
Here, there are still 12 possible outcomes:
By simply counting, we can see that 7 of the outcomes have a head on the coin or a 6 on the die or both – we use or inclusively here (these 7 outcomes are
As we would expect,
If we subtract out this double count, we have the correct probability:
The probability of either
Suppose we draw one card from a standard deck. What is the probability that we get a Queen or a King?
Solution
There are 4 Queens and 4 Kings in the deck, hence 8 outcomes corresponding to a Queen or King out of 52 possible outcomes. Thus the probability of drawing a Queen or a King is:
Note that in this case, there are no cards that are both a Queen and a King, so
In the last example, the events were mutually exclusive, so
Suppose we draw one card from a standard deck. What is the probability that we get a red card or a King?
Solution
- Half the cards are red, so P(\text{red})=\frac{26}{52}\)
- There are four kings, so P(\text{King})=\frac{4}{52}\)
- There are two red kings, so
\)
We can then calculate
In your drawer you have 10 pairs of socks, 6 of which are white, and 7 tee shirts, 3 of which are white. If you reach in and randomly grab a pair of socks and a tee shirt, what the probability at least one is white?
- Answer
-
The table below shows the number of survey subjects who have received and not received a speeding ticket in the last year, and the color of their car. Find the probability that a randomly chosen person:
- Has a red car and got a speeding ticket
- Has a red car or got a speeding ticket.
Solution
We can see that 15 people of the 665 surveyed had both a red car and got a speeding ticket, so the probability is
Notice that having a red car and getting a speeding ticket are not independent events, so the probability of both of them occurring is not simply the product of probabilities of each one occurring.
We could answer this question by simply adding up the numbers: 15 people with red cars and speeding tickets + 135 with red cars but no ticket + 45 with a ticket but no red car = 195 people. So the probability is
We also could have found this probability by:
Conditional Probability
Often it is required to compute the probability of an event given that another event has occurred.
What is the probability that two cards drawn at random from a deck of playing cards will both be aces?
Solution
It might seem that you could use the formula for the probability of two independent events and simply multiply
Once the first card chosen is an ace, the probability that the second card chosen is also an ace is called the conditional probability of drawing an ace. In this case the "condition" is that the first card is an ace. Symbolically, we write this as:
The vertical bar "|" is read as "given," so the above expression is short for "The probability that an ace is drawn on the second draw given that an ace was drawn on the first draw." What is this probability? After an ace is drawn on the first draw, there are 3 aces out of 51 total cards left. This means that the conditional probability of drawing an ace after one ace has already been drawn is
Thus, the probability of both cards being aces is
The probability the event
This is read as “the probability of
Find the probability that a die rolled shows a 6, given that a flipped coin shows a head.
Solution
These are two independent events, so the probability of the die rolling a 6 is
The table below shows the number of survey subjects who have received and not received a speeding ticket in the last year, and the color of their car. Find the probability that a randomly chosen person:
a) Has a speeding ticket given they have a red car
b) Has a red car given they have a speeding ticket
Solution
a) Since we know the person has a red car, we are only considering the 150 people in the first row of the table. Of those, 15 have a speeding ticket, so
P(ticket | red car) =
b) Since we know the person has a speeding ticket, we are only considering the 60 people in the first column of the table. Of those, 15 have a red car, so
P(red car | ticket) =
Notice from the last example that
These kinds of conditional probabilities are what insurance companies use to determine your insurance rates. They look at the conditional probability of you having accident, given your age, your car, your car color, your driving history, etc., and price your policy based on that likelihood.
If Events
If you pull 2 cards out of a deck, what is the probability that both are spades?
Solution
The probability that the first card is a spade is
The probability that the second card is a spade, given the first was a spade, is
The probability that both cards are spades is
If you draw two cards from a deck, what is the probability that you will get the Ace of Diamonds and a black card?
Solution
You can satisfy this condition by having Case A or Case B, as follows:
Case A) you can get the Ace of Diamonds first and then a black card or
Case B) you can get a black card first and then the Ace of Diamonds.
Let's calculate the probability of Case A. The probability that the first card is the Ace of Diamonds is
Now for Case B: the probability that the first card is black is
Recall that the probability of
In your drawer you have 10 pairs of socks, 6 of which are white. If you reach in and randomly grab two pairs of socks, what is the probability that both are white?
- Answer
-
A home pregnancy test was given to women, then pregnancy was verified through blood tests. The following table shows the home pregnancy test results. Find
a)
b)
Solution
a) Since we know the test result was positive, we’re limited to the 75 women in the first column, of which 5 were not pregnant.
b) Since we know the woman is not pregnant, we are limited to the 19 women in the second row, of which 5 had a positive test.
The second result is what is usually called a false positive: A positive result when the woman is not actually pregnant.


