6.3: Independent Events and Conditional Probabilities
- Page ID
- 30641
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)- Understand the difference between independent and dependent events
- Use the Multiplication Rule to find the probability of independent and dependent events
- Find conditional probabilities
Independent events
Sometimes we need to calculate probabilities for compound events that are connected by the word “and.” Tossing a coin multiple times or rolling dice are independent events. Each time you toss a fair coin the probability of getting heads is \(\dfrac{1}{2}\). It does not matter what happened the last time you tossed the coin. It’s similar for dice. If you rolled double sixes last time that does not change the probability that you will roll double sixes this time. Drawing two cards without replacement is not an independent event. When you draw the first card and set it aside, the probability for the second card is now out of 51 cards not 52 cards.
Events \(A\) and \(B\) are independent events if the occurrence of \(A\) has no effect on the probability of the occurrence of \(B\). In other words, the probability of event \(B\) occurring is the same whether or not event \(A\) occurs.
If 2 events are not independent, then they are dependent events.
Are these events independent?
- A fair coin is tossed two times. The two events are (1) first toss is heads and (2) second toss is heads.
- 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 heads comes up on the second toss is \(\dfrac{1}{2}\) regardless of whether or not heads 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 \(A\) and \(B\) are independent, then the probability of both \(A\) and \(B\) occurring is
\[P(A \text { and } B)=P(A) \cdot P(B) \nonumber\]
where \(P(A \text { and } B)\) is the probability of events \(A\) and \(B\) both occurring, \(P(A)\) is the probability of event \(A\) occurring, and \(P(B)\) is the probability of event \(B\) occurring.
Suppose we flipped a coin and rolled a die. What is the probability of getting heads on the coin and a 6 on the die?
Solution
Let \(A\) = getting heads and \(B\) = rolling 6. We know that \(P(A) = \dfrac{1}{2}\) and \(P(B) = \dfrac{1}{6}\). \(A\) and \(B\) are independent since the probability of rolling a 6 does not depend on the outcome of the coin toss. Using the multiplication rule, we get:
\[P(A \text{ and } B) = P(A) \cdot P(B) = \dfrac{1}{2} \cdot \dfrac{1}{6} = \dfrac{1}{12}.\nonumber\]
To confirm this answer, we could list all possible outcomes: \(S = \{H1,H2,H3,H4,H5,H6,T1,T2,T3,T4,T5,T6\}\). Notice there are \(2 \cdot 6=12\) total outcomes. Out of these, only 1 is the desired outcome \(\{H6\}\), so the probability is \(\dfrac{1}{12}\).
A bag contains 5 red and 4 white marbles. A marble is drawn from the bag, its color recorded and the marble is returned to the bag. A second marble is then drawn. What is the probability that the first marble is red and the second marble is white?
Solution
Since the first marble is put back in the bag before the second marble is drawn these are independent events.
\[\begin{align*} P(\text{1st red and 2nd white}) &= P(\text{1st red}) \cdot P(\text{2nd white}) \\[4pt] &= \dfrac{5}{9} \cdot \dfrac{4}{9} = \dfrac{20}{81}\end{align*}\]
The probability that the first marble is red and the second marble is white is \(\dfrac{20}{81}\).
A card is drawn from a deck of cards and noted. The card is then replaced, the deck is shuffled, and a second card is drawn and noted. What is the probability that both cards are Aces?
- 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 \(P(\text{Ace}) = \dfrac{4}{52}=\dfrac{1}{13},\) so the probability of an Ace on both draws is \(P(\text{Ace and Ace}) =\dfrac{1}{13} \cdot \dfrac{1}{13}=\dfrac{1}{169}\).
Conditional Probability
What do you think the probability is that a man is over six feet tall? If you knew that both his parents were tall would you change your estimate of the probability? A conditional probability is a probability that is based on some prior knowledge.
A conditional probability is the probability that event \(B\) will occur if event \(A\) has already occurred. This is denoted by \(P(B | A)\), which is read “the probability of \(B\) given \(A\).”
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 speeding ticket given they have a red car
- has a red car given they have a speeding ticket
\(\begin{array}{|l|l|l|l|}
\hline & \begin{array}{l}
\text { Speeding } \\
\text { ticket }
\end{array} & \begin{array}{l}
\text { No speeding } \\
\text { ticket }
\end{array} & \text { Total } \\
\hline \text { Red car } & 15 & 135 & 150 \\
\hline \text { Not red car } & 45 & 470 & 515 \\
\hline \text { Total } & 60 & 605 & 665 \\
\hline
\end{array}\)
Solution
- 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) = \(\dfrac{15}{150}=\dfrac{1}{10}=0.1\)
- 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) = \(\dfrac{15}{60}=\dfrac{1}{4}=0.25\).
Notice from the last example that \(P(B | A)\) is not equal to \(P(A | B)\).
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.
For events dependent events \(A\) and \(B\), \( P(A \text{ and } B) = P(A) \cdot P(B|A) \).
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 \(\dfrac{4}{52} \cdot \dfrac{4}{52}=\dfrac{1}{169}\). This would be incorrect, however, because the two events are not independent. If the first card drawn is an Ace, then the probability that the second card is also an Ace would be lower because there would only be 3 Aces left in the deck out of 51 total cards left. This means that the conditional probability of drawing an Ace after one Ace has already been drawn is \(P(\text{Ace on the second draw | Ace on the first draw}) = \dfrac{3}{51}=\dfrac{1}{17}\).
Thus, the probability of both cards being aces is \(P(\text{Ace and Ace}) = \dfrac{4}{52} \cdot \dfrac{3}{51}=\dfrac{12}{2652}=\dfrac{1}{221}\).
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
-
\(P(\text{both white}) = \dfrac{6}{10} \cdot \dfrac{5}{9}=\dfrac{30}{90}=\dfrac{1}{3}\)
For events \(A\) and \(B\), \( P(B|A) = \dfrac{P(A \text{ and } B)}{P(A)} \)
This formula basically reduces the sample space to \(A\) instead of all events in \(S\).
One card is drawn from a deck of cards. What is the probability that it is a face card, if we know the card is black?
Solution
We need to find the conditional probability of drawing a face card, given it is black, \(P(\text{face card | black})\). The formula is:
\[P(\text{face card | black}) = \dfrac{P(\text{face card and black})}{P(\text{black})} \nonumber \]
There are 6 cards that are black face cards (the Jack, Queen and King of spades and clubs). So the probability of face card and black is \(P(\text{face card and black}) = \dfrac{6}{52}\). There are 26 black cards, so the probability of drawing a black card is \(P(\text{black}) = \dfrac{26}{52}\). Plugging these probabilities in the formula we get:
\[P(\text{face card | black}) = \dfrac{\dfrac{6}{52}}{\dfrac{26}{52}} = \dfrac{6}{\cancel{52}} \cdot \dfrac{\cancel{52}}{26} = \dfrac{6}{26} = \dfrac{3}{13} \nonumber \]
This answer should make sense: 3 out of every 13 black cards are face cards.
One card is drawn from a deck of cards. What is the probability that it is a black card, if we know the card is a face card?
- Answer
-
We need to find the conditional probability of drawing a black card, given it is a face card, \(P(\text{black | face})\). The formula is:
\[P(\text{black | face}) = \dfrac{P(\text{black and face})}{P(\text{face})} \nonumber \]
There are 6 cards that are black face cards (the Jack, Queen and King of spades and clubs). So the probability of face card and black is \(P(\text{black and face}) = \dfrac{6}{52}\). There are 12 face cards, so the probability of drawing a face card is \(P(\text{face}) = \dfrac{12}{52}\). Plugging these probabilities in the formula we get:
\[P(\text{black | face}) = \dfrac{\dfrac{6}{52}}{\dfrac{12}{52}} = \dfrac{6}{\cancel{52}} \cdot \dfrac{\cancel{52}}{12} = \dfrac{6}{12} = \dfrac{1}{2} \nonumber \]This answer should make sense: half of the face cards are black.
Two hundred fifty people who recently purchased a car were questioned and the results are summarized in the following table.
Satisfied | Not Satisfied | Total | |
---|---|---|---|
New Car | 92 | 28 | 120 |
Used Car | 83 | 47 | 130 |
Total | 175 | 75 | 250 |
What is the probability that a person is satisfied if it is known that the person bought a used car?
Solution
This is a conditional probability because we already know that the person bought a used car.
\[ \begin{align*} P(\text{satisfied | used car}) &= \dfrac{P(\text{satisfied and used})}{P(\text{used})} \\[4pt]&= \dfrac{\dfrac{83}{250}}{\dfrac{130}{250}} = \dfrac{83}{\cancel{250}} \cdot \dfrac{\cancel{250}}{130} = \dfrac{83}{130} \approx 0.638 \end{align*}\]
The probability that a person is satisfied if it is known that the person bought a used car is approximately 0.638 or 63.8%
Note: it is faster to do a table problem like this using the method from Example \(\PageIndex{4}\). There are 83 people who bought a used car and are satisfied out of the 130 people who bought a used car.
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
- \(P\)(not pregnant | positive test result)
- \(P\)(positive test result | not pregnant)
\(\begin{array}{|l|l|l|l|}
\hline & \begin{array}{l}
\text { Positive } \\
\text { test }
\end{array} & \text { Negative test } & \text { Total } \\
\hline \text { Pregnant } & 70 & 4 & 74 \\
\hline \text { Not Pregnant } & 5 & 14 & 19 \\
\hline \text { Total } & 75 & 18 & 93 \\
\hline
\end{array}\)
- Answer
-
- 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.
\(P\)(not pregnant | positive test result) = \(\dfrac{5}{75} \approx 0.067\). - 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.
\(P\)(positive test result | not pregnant) = \(\dfrac{5}{19} \approx 0.263\).
This result is what is usually called a false positive: a positive result when the woman is not actually pregnant.
- 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.