We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Guide allo studio > Finite Math

Reading: Probability

Introduction

The probability of a specified event is the chance or likelihood that it will occur. There are several ways of viewing probability. One would be experimental in nature, where we repeatedly conduct an experiment. Suppose we flipped a coin over and over and over again and it came up heads about half of the time; we would expect that in the future whenever we flipped the coin it would turn up heads about half of the time. When a weather reporter says "there is a 10% chance of rain tomorrow," she is basing that on prior evidence; that out of all days with similar weather patterns, it has rained on 1 out of 10 of those days. Another view would be subjective in nature, in other words an educated guess. If someone asked you the probability that the Seattle Mariners would win their next baseball game, it would be impossible to conduct an experiment where the same two teams played each other repeatedly, each time with the same starting lineup and starting pitchers, each starting at the same time of day on the same field under the precisely the same conditions. Since there are so many variables to take into account, someone familiar with baseball and with the two teams involved might make an educated guess that there is a 75% chance they will win the game; that is, if the same two teams were to play each other repeatedly under identical conditions, the Mariners would win about three out of every four games. But this is just a guess, with no way to verify its accuracy, and depending upon how educated the educated guesser is, a subjective probability may not be worth very much. We will return to the experimental and subjective probabilities from time to time, but in this course we will mostly be concerned with theoretical probability, which is defined as follows: Suppose there is a situation with n equally likely possible outcomes and that m of those n outcomes correspond to a particular event; then the probability of that event is defined as .

Basic Concepts

If you roll a die, pick a card from deck of playing cards, or randomly select a person and observe their hair color, we are executing an experiment or procedure. In probability, we look at the likelihood of different outcomes. We begin with some terminology.

Events and Outcomes

  • The result of an experiment is called an outcome.
  • An event is any particular outcome or group of outcomes.
  • A simple event is an event that cannot be broken down further
  • The sample space is the set of all possible simple events.

Example 1

If we roll a standard 6-sided die, describe the sample space and some simple events. The sample space is the set of all possible simple events: {1,2,3,4,5,6} Some examples of simple events:
  • We roll a 1
  • We roll a 5
Some compound events:
  • We roll a number bigger than 4
  • We roll an even number

Basic Probability

Given that all outcomes are equally likely, we can compute the probability of an event E using this formula: P(E) equals the number of outcomes corresponding to the event E over the total number of equally likely outcomes

Example 2

If we roll a 6-sided die, calculate
  1. P(rolling a 1)
  2. P(rolling a number bigger than 4)
Recall that the sample space is {1,2,3,4,5,6}
  1. There is one outcome corresponding to "rolling a 1", so the probability is [latex]\displaystyle\frac{{1}}{{6}}[/latex]
  2. There are two outcomes bigger than a 4, so the probability is [latex]\displaystyle\frac{{2}}{{6}}=\frac{{1}}{{3}}[/latex]
Probabilities are essentially fractions, and can be reduced to lower terms like fractions.

Example 3

Let's say you have a bag with 20 cherries, 14 sweet and 6 sour. If you pick a cherry at random, what is the probability that it will be sweet? There are 20 possible cherries that could be picked, so the number of possible outcomes is 20. Of these 20 possible outcomes, 14 are favorable (sweet), so the probability that the cherry will be sweet is [latex]\displaystyle\frac{{14}}{{20}}=\frac{{7}}{{10}}[/latex]. There is one potential complication to this example, however. It must be assumed that the probability of picking any of the cherries is the same as the probability of picking any other. This wouldn't be true if (let us imagine) the sweet cherries are smaller than the sour ones. (The sour cherries would come to hand more readily when you sampled from the bag.) Let us keep in mind, therefore, that when we assess probabilities in terms of the ratio of favorable to all potential cases, we rely heavily on the assumption of equal probability for all outcomes.

Try it Now 1

At some random moment, you look at your clock and note the minutes reading.
  1. What is probability the minutes reading is 15?
  2. What is the probability the minutes reading is 15 or less?

Cards

A standard deck of 52 playing cards consists of four suits (hearts, spades, diamonds and clubs). Spades and clubs are black while hearts and diamonds are red. Each suit contains 13 cards, each of a different rank: an Ace (which in many games functions as both a low card and a high card), cards numbered 2 through 10, a Jack, a Queen and a King.

Example 4

Compute the probability of randomly drawing one card from a deck and getting an Ace. There are 52 cards in the deck and 4 Aces so [latex-display]\displaystyle{P}{\left({A}{c}{e}\right)}=\frac{{4}}{{52}}=\frac{{1}}{{13}}\approx{0.0769}[/latex-display] We can also think of probabilities as percents: There is a 7.69% chance that a randomly selected card will be an Ace. Notice that the smallest possible probability is 0—if there are no outcomes that correspond with the event. The largest possible probability is 1—if all possible outcomes correspond with the event.

Certain and Impossible events

  • An impossible event has a probability of 0.
  • A certain event has a probability of 1.
  • The probability of any event must be
If you compute a probability and get an answer that is negative or greater than 1, you have made a mistake and should check your work.

Working with Events

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 P(six) =1/6. Now consider the probability that we do not roll a six: there are 5 outcomes that are not a six, so the answer is P(not a six) = [latex]\displaystyle\frac{{5}}{{6}}[/latex]. Notice that [latex-display]\displaystyle{P}{\left(\text{six}\right)}+{P}{\left(\text{not a six}\right)}=\frac{{1}}{{6}}+\frac{{5}}{{6}}=\frac{{6}}{{6}}={1}[/latex-display] This is not a coincidence. Consider a generic situation with n possible outcomes and an event E that corresponds to m of these outcomes. Then the remaining n - m outcomes correspond to E not happening, thus [latex-display]\displaystyle{P}{\left(\text{not }\ {E}\right)}=\frac{{{n}-{m}}}{{n}}=\frac{{n}}{{n}}-\frac{{m}}{{n}}={1}-\frac{{m}}{{n}}={1}-{P}{\left({E}\right)}[/latex-display]

Complement of an Event

The complement of an event is the event "E doesn't happen" The notation [latex]\displaystyle\overline{{E}}[/latex] is used for the complement of event E. We can compute the probability of the complement using [latex-display]\displaystyle{P}{\left(\overline{{E}}\right)}={1}-{P}{\left({E}\right)}[/latex-display] Notice also that [latex-display]\displaystyle{P}{\left({E}\right)}={1}-{P}{\left(\overline{{E}}\right)}[/latex-display]

Example 5

If you pull a random card from a deck of playing cards, what is the probability it is not a heart? There are 13 hearts in the deck, so [latex]\displaystyle{P}{\left({h}{e}{a}{r}{t}\right)}=\frac{{13}}{{52}}=\frac{{1}}{{4}}[/latex]. The probability of not drawing a heart is the complement: [latex]\displaystyle{P}{\left(\text{not heart}\right)}={1}-{P}{\left(\text{heart}\right)}={1}-\frac{{1}}{{4}}=\frac{{3}}{{4}}[/latex]

Probability of Two Independent Events

Example 6

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. We could list all possible outcomes: {H1,H2,H3,H4,H5,H6,T1,T2,T3,T4,T5,T6}. Notice there are 2 × 6 = 12 total outcomes. Out of these, only 1 is the desired outcome, so the probability is [latex]\displaystyle\frac{{1}}{{12}}[/latex]. The prior example was looking at two independent events.

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.

Example 7

Are these events independent?
  1. A fair coin is tossed two times. The two events are (1) first toss is a head and (2) second toss is a head.
  2. The two events (1) "It will rain tomorrow in Houston" and (2) "It will rain tomorrow in Galveston" (a city near Houston).
  3. You draw a card from a deck, then draw a second card without replacing the first.
  1. The probability that a head comes up on the second toss is 1/2 regardless of whether or not a head came up on the first toss, so these events are independent.
  2. 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.
  3. 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.

P(A and B) for Independent Events

If events A and B are independent, then the probability of both A and B occurring is P(A and B) = P(A) × P(B) where P(A 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 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.

Example 8

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? The probability of choosing a white pair of socks is [latex]\displaystyle\frac{{6}}{{10}}[/latex]. The probability of choosing a white tee shirt is [latex]\displaystyle\frac{{3}}{{7}}[/latex]. The probability of both being white is [latex-display]\displaystyle\frac{{6}}{{10}}\times\frac{{3}}{{7}}=\frac{{18}}{{70}}=\frac{{9}}{{35}}[/latex-display]

Try it Now 2

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.

Example 9

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. Here, there are still 12 possible outcomes: {H1,H2,H3,H4,H5,H6,T1,T2,T3,T4,T5,T6} 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 H1, H2, H3, H4, H5, H6, T6), so the probability is [latex]\displaystyle\frac{{7}}{{12}}[/latex]. How could we have found this from the individual probabilities? As we would expect, [latex]\displaystyle\frac{{1}}{{2}}[/latex]. If we subtract out this double count, we have the correct probability: [latex]\displaystyle\frac{{8}}{{12}}-\frac{{1}}{{12}}=\frac{{7}}{{12}}[/latex].

P(A or B)

The probability of either A or B occurring (or both) is P(A or B) = P(A) + P(B) – P(A and B)

Example 10

Suppose we draw one card from a standard deck. What is the probability that we get a Queen or a King? 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: [latex-display]\displaystyle{P}{\left({K}\in{g}{\quad\text{or}\quad}{Q}{u}{e}{e}{n}\right)}=\frac{{8}}{{52}}[/latex-display] Note that in this case, there are no cards that are both a Queen and a King, so P(King and Queen) = 0. Using our probability rule, we could have said: [latex-display]\displaystyle{P}{\left({K}\in{g}{\quad\text{or}\quad}{Q}{u}{e}{e}{n}\right)}={P}{\left({K}\in{g}\right)}+{P}{\left({Q}{u}{e}{e}{n}\right)}-{P}{\left({K}\in{g}{\quad\text{and}\quad}{Q}{u}{e}{e}{n}\right)}=\frac{{4}}{{52}}+\frac{{4}}{{52}}-{0}=\frac{{8}}{{52}}[/latex-display] In the last example, the events were mutually exclusive, so P(A or B) = P(A) + P(B).

Example 11

Suppose we draw one card from a standard deck. What is the probability that we get a red card or a King? Half the cards are red, so [latex-display]\displaystyle{P}{\left({r}{e}{d}\right)}=\frac{{26}}{{52}}[/latex-display] There are four kings, so [latex-display]\displaystyle{P}{\left({K}\in{g}\right)}=\frac{{4}}{{52}}[/latex-display] There are two red kings, so [latex-display]\displaystyle{P}{\left({r}{e}{d}{\quad\text{and}\quad}{K}\in{g}\right)}=\frac{{2}}{{52}}[/latex-display] We can then calculate [latex-display]\displaystyle{P}{\left({R}{e}{d}{\quad\text{or}\quad}{K}\in{g}\right)}={P}{\left({R}{e}{d}\right)}+{P}{\left({K}\in{g}\right)}-{P}{\left({R}{e}{d}{\quad\text{and}\quad}{K}\in{g}\right)}=\frac{{26}}{{25}}+\frac{{4}}{{52}}-\frac{{2}}{{52}}=\frac{{28}}{{52}}[/latex-display]

Try it Now 3

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?

Example 12

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:
  1. Has a red car and got a speeding ticket
  2. Has a red car or got a speeding ticket.
Speeding ticket No speeding ticket Total
Red car 15 135 150
Not red car 45 470 515
Total 60 605 665
We can see that 15 people of the 665 surveyed had both a red car and got a speeding ticket, so the probability is [latex]\displaystyle\frac{{15}}{{665}}\approx{.0226}[/latex]. 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 [latex]\displaystyle\frac{{195}}{{665}}\approx{0.2932}[/latex]. We also could have found this probability by: P(had a red car) + P(got a speeding ticket) – P(had a red car and got a speeding ticket) [latex-display]\displaystyle=\frac{{150}}{{665}}+\frac{{60}}{{665}}-\frac{{15}}{{665}}=\frac{{195}}{{665}}[/latex-display]

Try it Now Answers

  1. There are 60 possible readings, from 00 to 59.
    1. [latex]\displaystyle\frac{{1}}{{60}}[/latex]
    2. [latex]\displaystyle\frac{{16}}{{60}}[/latex](counting 00 through 15)
  2. Since the second draw is made after replacing the first card, these events are independent. The probability of an ace on each draw is [latex]\displaystyle\frac{{4}}{{52}}=\frac{{1}}{{13}}[/latex]
  3. P(white sock and white tee) = [latex]\displaystyle\frac{{6}}{{10}}\times\frac{{3}}{{7}}=\frac{{18}}{{70}}=\frac{{9}}{{35}}[/latex]P(white sock or white tee) = [latex]\displaystyle\frac{{6}}{{10}}+\frac{{3}}{{7}}-\frac{{9}}{{35}}=\frac{{42}}{{70}}+\frac{{30}}{{70}}-\frac{{18}}{{70}}=\frac{{54}}{{70}}=\frac{{27}}{{35}}[/latex]

David Lippman, Math in Society, "Probability," licensed under a CC BY-SA 3.0 license.