Skip to main content
Mathematics LibreTexts

3.3: Conditional Probabilities

  • Page ID
    22319
  • \( \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}}\)

    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.

    Definition: Conditional Probability

    A conditional probability is the probability that an event will occur if some other condition has already occurred. This is denoted by \(P(A | B)\), which is read “the probability of A given B.”

    Example \(\PageIndex{1}\) Conditional Probability for Drawing Cards without Replacement

    Two cards are drawn from a well shuffled deck of 52 cards without replacement. Find the following probabilities:

    1. The probability that the second card is a heart given that the first card is a spade.
    2. The probability that the first card is a face card and the second card an ace.
    3. The probability that one card is a heart and the other a club.

    Solution a

    Without replacement means that the first card is set aside before the second card is drawn and we assume the first card is a spade. There are only 51 cards to choose from for the second card. Thirteen of those cards are hearts.

    It’s important to notice that the question only asks about the second card.

    \[ P(\text{2nd heart | 1st spade}) = \dfrac{13}{51} \nonumber \]

    The probability that the second card is a heart given that the first card is a spade is \(\dfrac{13}{51}\).

    Solution b

    Notice that this time the question asks about both of the cards.

    There are 12 face cards out of 52 cards when we draw the first card. We set the first card aside and assume that it is a face card. Then there are four aces out of the 51 remaining cards. We want to draw a face card and an ace so use multiplication.

    \[ P(\text{1st face card and 2nd ace}) = \dfrac{12}{52} \cdot \dfrac{4}{51} = \dfrac{48}{2652} \approx 0.018 \nonumber \]

    The probability that the first card is a face card and the second card an ace is approximately 0.018 or 1.8%.

    Solution c

    There are two ways for this to happen. We could get a heart first and a club second or we could get the club first and the heart second.

    \[ \begin{align*} P(\text{heart and club}) &= P(\text{heart 1st and club 2nd or club 1st and heart 2nd}) \\[4pt]&= P(\text{heart 1st and club 2nd}) + P(\text{club 1st and heart 2nd}) \\[4pt]&= \dfrac {13}{52} \cdot \dfrac {13}{51} + \dfrac {13}{52} \cdot \dfrac {13}{51} \\[4pt]&\approx 0.127 \end{align*} \nonumber \]

    The probability that one card is a heart and the other a club is approximately 0.127 or 12.7%.

    Example \(\PageIndex{2}\) Conditional Probability for Rolling Dice

    Two fair dice are rolled and the sum of the numbers is observed. What is the probability that the sum is at least nine if it is known that one of the dice shows a five?

    Since we are given that one of the dice shows a five this is a conditional probability. List the pairs of dice with one die showing a five. Be careful not to count (5,5) twice.

    \[\{(1,5), (2,5), (3,5), (4,5), (5,5), (6,5), (5,1), (5,2), (5,3), (5,4), (5,6)\} \nonumber \]

    List the pairs from above that have a sum of at least nine.

    \[\{(4,5), (5,5), (6,5), (5,4), (5,6)\}\nonumber \]

    Solution

    There are 11 ways for one die to show a five and five of these ways have a sum of at least nine.

    \[ P(\text{sum at least 9 | one die is a 5}) = \dfrac{5}{11} \nonumber \]

    The probability that the sum is at least nine if it is known that one of the dice shows a five is \(\dfrac{5}{11}\).

    Multiplication Rule for "And" Probabilities: Any Events

    For events A and B, \( P(A \text{ and } B) = P(A) \cdot P(B|A) \)

    Conditional Probability

    For events A and B, \( P(B|A) = \dfrac{P(A \text{ and } B)}{P(A)} \)

    Example \(\PageIndex{3}\): Conditional Probability for Satisfaction of Car Buyers

    Two hundred fifty people who recently purchased a car were questioned and the results are summarized in the following table from Section 3.2.

    Table \(\PageIndex{1}\): Satisfaction of Car Buyers
    Satisfied Not Satisfied Total
    New Car 92 28 120
    Used Car 83 47 130
    Total 175 75 250

    This is a conditional probability because we already know that the person bought a used car.What is the probability that a person is satisfied if it is known that the person bought a used car?

    Solution

    \[ \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*} \nonumber \]

    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%

    Example \(\PageIndex{4}\): Conditional Probability for Residence and Class Standing

    A survey of 350 students at a university revealed the following data about class standing and place of residence.

    Table \(\PageIndex{2}\): Housing by Class

    Residence\Class Freshman Sophomore Junior Senior Row Totals
    Dormitory 89 34 46 15 184
    Apartment 32 17 22 48 119
    With Parents 13 31 3 0 47
    Column Totals 134 82 71 63 350

    What is the probability that a student is a sophomore if that student lives in an apartment?

    Solution

    This is a conditional probability because we are given that the student lives in an apartment.

    \[ \begin{align*} P(\text{sophomore | apartment}) &= \dfrac{P(\text{sophomore and apartment})}{P(\text{apartment})} \\[4pt]&= \dfrac{\dfrac{17}{350}}{\dfrac{119}{350}} = \dfrac{17}{\cancel{350}} \cdot \dfrac{\cancel{350}}{119} = \dfrac{17}{119} \approx 0.143 \end{align*} \nonumber \]

    The probability that a student is a sophomore given that the student lives in an apartment is approximately 0.143 or 14.3%.


    This page titled 3.3: Conditional Probabilities is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Maxie Inigo, Jennifer Jameson, Kathryn Kozak, Maya Lanzetta, & Kim Sonier via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.