Skip to main content
Mathematics LibreTexts

1.29: Probability

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

    Independence-Hall-Half-Dollar.jpg

    Probability is the likelihood that some event occurs. If the event occurs, we call that a favorable outcome. The set of all possible events (or outcomes) is called the sample space of the event.

    We will limit our focus to independent events, which do not influence each other. For example, if we roll a 5 on one die, that does not affect the probability of rolling a 5 on the other die. (We will not be studying dependent events, which do influence each other.)

    Theoretical Probability

    If we are working with something simple like dice, cards, or coin flips where we know all of the possible outcomes, we can calculate the theoretical probability of an event occurring. To do this, we divide the number of ways the event can occur by the total number of possible outcomes. We may choose to write the probability as a fraction, a decimal, or a percent depending on what form seems most useful.

    Theoretical probability of an event:

    \(P(\text{event})=\dfrac{\text{number of favorable outcomes}}{\text{total number of outcomes}}\)

    Suppose two six-sided dice, numbered \(1\) through \(6\), are rolled. There are \(6\cdot6=36\) possible outcomes in the sample space. If we are playing a game where we take the sum of the dice, the only possible outcomes are \(2\) through \(12\). However, as the following table shows, these outcomes are not all equally likely. For example, there are two different ways to roll a \(3\), but only one way to roll a \(2\).

      1 2 3 4 5 6
    1 \(2\) \(3\) \(4\) \(5\) \(6\) \(7\)
    2 \(3\) \(4\) \(5\) \(6\) \(7\) \(8\)
    3 \(4\) \(5\) \(6\) \(7\) \(8\) \(9\)
    4 \(5\) \(6\) \(7\) \(8\) \(9\) \(10\)
    5 \(6\) \(7\) \(8\) \(9\) \(10\) \(11\)
    6 \(7\) \(8\) \(9\) \(10\) \(11\) \(12\)
    Exercises

    Two six-sided dice numbered \(1\) through \(6\) are rolled. Find the probability of each event occurring.

    1. The sum of the dice is \(7\).
    2. The sum of the dice is \(11\).
    3. The sum of the dice is \(7\) or \(11\).
    4. The sum of the dice is greater than \(1\).
    5. The sum of the dice is \(13\).

    Some things to notice…

    If an event is impossible, its probability is \(0\%\) or \(0\).

    If an event is certain to happen, its probability is \(100\%\) or \(1\).

    If it will be tedious to count up all of the favorable outcomes, it may be easier to count up the unfavorable outcomes and subtract from the total.

    Exercises

    Two six-sided dice numbered \(1\) through \(6\) are rolled. Find the probability of each event occurring.

    1. The sum of the dice is \(5\).
    2. The sum of the dice is not \(5\).
    3. The sum of the dice is greater than \(9\).
    4. The sum of the dice is \(9\) or lower.

    The set of outcomes in which an event does not occur is called the complement of the event. The event “the sum is not 5” is the complement of “the sum is 5”. Two complements complete the sample space.

    If the probability of an event happening is \(p\), the probability of the complement is \(1-p\).

    Exercises

    A bowl of \(60\) Tootsie Rolls Fruit Chews contains the following: \(15\) cherry, \(14\) lemon, \(13\) lime, \(11\) orange, \(7\) vanilla.

    1. If one Tootsie Roll is randomly selected from the bowl, what is the probability that it is cherry?
    2. If one Tootsie Roll is randomly selected from the bowl, what is the probability that it is not cherry?
    3. What is the probability that a randomly selected Tootsie Roll is either orange or vanilla?
    4. What is the probability that a randomly selected Tootsie Roll is not orange or vanilla?

    Here’s where we try to condense the basics of genetic crosses into one paragraph.

    Each parent gives one allele to their child. The allele for brown eyes is B, and the allele for blue eyes is b. If two parents both have genotype Bb, the table below (which biologists call a Punnett square) shows that there are four equally-likely outcomes: BB, Bb, Bb, bb. The allele for brown eyes, B, is dominant over the gene for blue eyes, b, which means that if a child has any B alleles, they will have brown eyes. The only genotype for which the child will have blue eyes is bb.

      B b
    B BB Bb
    b Bb bb
    Exercises

    Two parents have genotypes Bb and Bb. (B = brown, b = blue)

    1. What is the probability that their child will have blue eyes?
    2. What is the probability that their child will have brown eyes?

    Now suppose that one parent has genotype Bb but the other parent has genotype bb. The Punnett square will look like this.

      B b
    b Bb bb
    b Bb bb
    Exercises

    Two parents have genotypes Bb and bb. (B = brown, b = blue)

    1. What is the probability that their child will have blue eyes?
    2. What is the probability that their child will have brown eyes?

    Empirical Probability

    The previous methods work when we know the total number of outcomes and we can assume that they are all equally likely. (The dice aren’t loaded, for example.) However, life is usually more complicated than a game of dice or a bowl of Tootsie Rolls. In many situations, we have to observe what has happened in the past and use that data to predict what might happen in the future. If someone predicts that an Alaska Airlines flight has an \(85.4\%\) of arriving on time[1], that is of course based on Alaska’s past rate of success and this number will vary from month to month. When we calculate the probability this way, by observation, we call it an empirical probability.

    Empirical probability of an event:

    \[P(\text{event})=\dfrac{\text{number of favorable observations}}{\text{total number of observations}} \nonu mber\]

    Although the wording may seem complicated, we are still just thinking about \(\dfrac{\text{part}}{\text{whole}}\).

    Exercises

    A photocopier makes \(250\) copies, but \(8\) of them are unacceptable because they have toner smeared on them.

    1. What is the empirical probability that a copy will be unacceptable?
    2. What is the empirical probability that a copy will be acceptable?
    3. Out of the next \(1,000\) copies, how many should we expect to be acceptable?

    An auditor examined \(200\) tax returns and found errors on \(44\) of them.

    1. What percent of the tax returns contained errors?
    2. How many of the next \(1,000\) tax returns should we expect to contain errors?
    3. What is the probability that a given tax return, chosen at random, will contain errors?

    Copy-Paper.jpg

    Probability of More Than One Event

    It was mentioned earlier in this module that independent events have no influence on each other. Some examples:

    • Rolling two dice are independent events because the result of the first die does not affect the probability of what will happen with the second die.
    • If we flip a coin ten times, each flip is independent of the previous flip because the coin doesn’t remember how it landed before. The probability of heads or tails remains \(\dfrac{1}{2}\) for each flip.
    • Drawing marbles out of a bag are independent events only if we put the first marble back in the bag before drawing a second marble. If we draw two marbles at once, or we draw a second marble without replacing the first marble, these are dependent events, which we are not studying in this course.
    • Drawing two cards from a deck of \(52\) cards are independent events only if we put the first card back in the deck before drawing a second card. If we draw a second card without replacing the first card, these are dependent events; the probabilities change because there are only \(51\) cards available on the second draw.

    If two events are independent, then the probability of both events happening can be found by multiplying the probability of each event happening separately.

    If \(A\) and \(B\) are independent events, then \(P(A\text{ and }B)=P(A)\cdot{P(B)}\).

    Note: This can be extended to three or more events. Just multiply all of the probabilities together.

    Exercises

    An auditor examined \(200\) tax returns and found errors on \(44\) of them.

    1. What is the probability that the next two tax returns both contain errors?
    2. What is the probability that the next three tax returns all contain errors?
    3. What is the probability that the next tax return contains errors but the one after it does not?
    4. What is the probability that the next tax return does not contain errors but the one after it does?
    5. What is the probability that neither of the next two tax returns contain errors?
    6. What is the probability that none of the next three tax returns contain errors?
    7. What is the probability that at least one of the next three tax returns contain errors? (This one is tricky!)


    1.29: Probability is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?