Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

11.7: Probability

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives
  • Construct probability models.
  • Compute probabilities of equally likely outcomes.
  • Compute probabilities of the union of two events.
  • Use the complement rule to find probabilities.
  • Compute probability using counting theory.

Residents of the Southeastern United States are all too familiar with charts, known as spaghetti models, such as the one in Figure 11.7.1. They combine a collection of weather data to predict the most likely path of a hurricane. Each colored line represents one possible path. The group of squiggly lines can begin to resemble strands of spaghetti, hence the name. In this section, we will investigate methods for making these types of predictions.

Spaghetti map of the possible paths for a hurricane over the Southeastern United States

Figure 11.7.1: An example of a “spaghetti model,” which can be used to predict possible paths of a tropical storm.1

Constructing Probability Models

Suppose we roll a six-sided number cube. Rolling a number cube is an example of an experiment, or an activity with an observable result. The numbers on the cube are possible results, or outcomes, of this experiment. The set of all possible outcomes of an experiment is called the sample space of the experiment. The sample space for this experiment is {1,2,3,4,5,6}. An event is any subset of a sample space.

The likelihood of an event is known as probability. The probability of an event pp is a number that always satisfies 0p1, where 0 indicates an impossible event and 1 indicates a certain event. A probability model is a mathematical description of an experiment listing all possible outcomes and their associated probabilities. For instance, if there is a 1% chance of winning a raffle and a 99% chance of losing the raffle, a probability model would look much like Table 11.7.1.

Table 11.7.1
Outcome Probability
Winning the raffle 1%
Losing the raffle 99%

The sum of the probabilities listed in a probability model must equal 1, or 100%.

How to: Given a probability event where each event is equally likely, construct a probability model.
  1. Identify every outcome.
  2. Determine the total number of possible outcomes.
  3. Compare each outcome to the total number of possible outcomes.
Example 11.7.1: Constructing a Probability Model

Construct a probability model for rolling a single, fair die, with the event being the number shown on the die.

Solution

Begin by making a list of all possible outcomes for the experiment. The possible outcomes are the numbers that can be rolled: 1, 2, 3, 4, 5, and 6. There are six possible outcomes that make up the sample space.

Assign probabilities to each outcome in the sample space by determining a ratio of the outcome to the number of possible outcomes. There is one of each of the six numbers on the cube, and there is no reason to think that any particular face is more likely to show up than any other one, so the probability of rolling any number is 16.

Table 11.7.2
Outcome Roll of 1 Roll of 2 Roll of 3 Roll of 4 Roll of 5 Roll of 6
Probability 16 16 16 16 16 16
Q&A: Do probabilities always have to be expressed as fractions?

No. Probabilities can be expressed as fractions, decimals, or percents. Probability must always be a number between 0 and 1, inclusive of 0 and 1.

Computing Probabilities of Equally Likely Outcomes

Let S be a sample space for an experiment. When investigating probability, an event is any subset of S. When the outcomes of an experiment are all equally likely, we can find the probability of an event by dividing the number of outcomes in the event by the total number of outcomes in S. Suppose a number cube is rolled, and we are interested in finding the probability of the event “rolling a number less than or equal to 4.” There are 4 possible outcomes in the event and 6 possible outcomes in S, so the probability of the event is 46=23. 

COMPUTING THE PROBABILITY OF AN EVENT WITH EQUALLY LIKELY OUTCOMES

The probability of an event E in an experiment with sample space S with equally likely outcomes is given by

P(E)=number of elements in Enumber of elements in S=n(E)n(S)

E is a subset of S, so it is always true that 0P(E)1. 

Example 11.7.2: Computing the Probability of an Event with Equally Likely Outcomes

A number cube is rolled. Find the probability of rolling an odd number.

Solution

The event “rolling an odd number” contains three outcomes. There are 6 equally likely outcomes in the sample space. Divide to find the probability of the event.

P(E)=36=12

Exercise 11.7.1

A number cube is rolled. Find the probability of rolling a number greater than 2.

Answer

23

Computing the Probability of the Union of Two Events

We are often interested in finding the probability that one of multiple events occurs. Suppose we are playing a card game, and we will win if the next card drawn is either a heart or a king. We would be interested in finding the probability of the next card being a heart or a king. The union of two events E and F,written EF, is the event that occurs if either or both events occur.

P(EF)=P(E)+P(F)P(EF)

Suppose the spinner in Figure 11.7.2 is spun. We want to find the probability of spinning orange or spinning a b. 

A pie chart with six pieces with two a's colored orange, one b colored orange and another b colored red, one d colored blue, and one c colored green.

Figure 11.7.2: A pie chart with six options.

There are a total of 6 sections, and 3 of them are orange. So the probability of spinning orange is 36=12. There are a total of 6 sections, and 2 of them have a b. So the probability of spinning a b is 26=13. If we added these two probabilities, we would be counting the sector that is both orange and a b twice. To find the probability of spinning an orange or a b, we need to subtract the probability that the sector is both orange and has a b.

12+1316=23

The probability of spinning orange or a b is 23.

PROBABILITY OF THE UNION OF TWO EVENTS

The probability of the union of two events E and F (written EF) equals the sum of the probability of E and the probability of F minus the probability of E and F occurring together (which is called the intersection of E and F and is written as EF).

P(EF)=P(E)+P(F)P(EF)

Example 11.7.3: Computing the Probability of the Union of Two Events

A card is drawn from a standard deck. Find the probability of drawing a heart or a 7.

Solution

A standard deck contains an equal number of hearts, diamonds, clubs, and spades. So the probability of drawing a heart is 14. There are four 7s in a standard deck, and there are a total of 52 cards. So the probability of drawing a 7 is 113.

The only card in the deck that is both a heart and a 7 is the 7 of hearts, so the probability of drawing both a heart and a 7 is 152. Substitute P(H)=14, P(7)=113, and P(H7)=152 into the formula.

P(EF)=P(E)+P(F)P(EF)=14+113152=413

The probability of drawing a heart or a 7 is 413.

Exercise 11.7.2

A card is drawn from a standard deck. Find the probability of drawing a red card or an ace.

Answer

713

Computing the Probability of Mutually Exclusive Events

Suppose the spinner in Figure 11.7.2 is spun again, but this time we are interested in the probability of spinning an orange or a d. There are no sectors that are both orange and contain a d, so these two events have no outcomes in common. Events are said to be mutually exclusive events when they have no outcomes in common. Because there is no overlap, there is nothing to subtract, so the general formula is

P(EF)=P(E)+P(F)

Notice that with mutually exclusive events, the intersection of E and F is the empty set. The probability of spinning an orange is 36=12 and the probability of spinning a d is 16. We can find the probability of spinning an orange or a d simply by adding the two probabilities.

P(EF)=P(E)+P(F)=12+16=23

The probability of spinning an orange or a d is 23.

PROBABILITY OF THE UNION OF MUTUALLY EXCLUSIVE EVENTS

The probability of the union of two mutually exclusive events E and F is given by

P(EF)=P(E)+P(F)

How to: Given a set of events, compute the probability of the union of mutually exclusive events.
  1. Determine the total number of outcomes for the first event.
  2. Find the probability of the first event.
  3. Determine the total number of outcomes for the second event.
  4. Find the probability of the second event.
  5. Add the probabilities.
Example 11.7.4: Computing the Probability of the Union of Mutually Exclusive Events

A card is drawn from a standard deck. Find the probability of drawing a heart or a spade.

Solution

The events “drawing a heart” and “drawing a spade” are mutually exclusive because they cannot occur at the same time. The probability of drawing a heart is 14, and the probability of drawing a spade is also 14, so the probability of drawing a heart or a spade is

14+14=12

Exercise 11.7.3

A card is drawn from a standard deck. Find the probability of drawing an ace or a king.

Answer

213

Using the Complement Rule to Compute Probabilities

We have discussed how to calculate the probability that an event will happen. Sometimes, we are interested in finding the probability that an event will not happen. The complement of an eventE, denoted E, is the set of outcomes in the sample space that are not in E. For example, suppose we are interested in the probability that a horse will lose a race. If event W is the horse winning the race, then the complement of event W is the horse losing the race.

To find the probability that the horse loses the race, we need to use the fact that the sum of all probabilities in a probability model must be 1.

P(E)=1P(E)

The probability of the horse winning added to the probability of the horse losing must be equal to 1. Therefore, if the probability of the horse winning the race is 19, the probability of the horse losing the race is simply

119=89

THE COMPLEMENT RULE

The probability that the complement of an event will occur is given by

P(E)=1P(E)

Example 11.7.5: Using the Complement Rule to Calculate Probabilities

Two six-sided number cubes are rolled.

  1. Find the probability that the sum of the numbers rolled is less than or equal to 3.
  2. Find the probability that the sum of the numbers rolled is greater than 3.
Solution

The first step is to identify the sample space, which consists of all the possible outcomes. There are two number cubes, and each number cube has six possible outcomes. Using the Multiplication Principle, we find that there are 6×6, or 36 total possible outcomes. So, for example, 11 represents a 1 rolled on each number cube.

11 12 13 14 15 16
21 22 23 24 25 26
31 32 33 34 35 36
41 42 43 44 45 46
51 52 53 54 55 56
61 62 63 64 65 66
  1. We need to count the number of ways to roll a sum of 3 or less. These would include the following outcomes: 11, 12, and 21. So there are only three ways to roll a sum of 3 or less. The probability is

336=112

  1. Rather than listing all the possibilities, we can use the Complement Rule. Because we have already found the probability of the complement of this event, we can simply subtract that probability from 1 to find the probability that the sum of the numbers rolled is greater than 3.

P(E)=1P(E)=1112=1112

Exercise 11.7.4:

Two number cubes are rolled. Use the Complement Rule to find the probability that the sum is less than 10.

Answer

56

Computing Probability Using Counting Theory

Many interesting probability problems involve counting principles, permutations, and combinations. In these problems, we will use permutations and combinations to find the number of elements in events and sample spaces. These problems can be complicated, but they can be made easier by breaking them down into smaller counting problems.

Assume, for example, that a store has 8 cellular phones and that 3 of those are defective. We might want to find the probability that a couple purchasing 2 phones receives 2 phones that are not defective. To solve this problem, we need to calculate all of the ways to select 2 phones that are not defective as well as all of the ways to select 2 phones. There are 5 phones that are not defective, so there are C(5,2) ways to select 2 phones that are not defective. There are 8 phones, so there are C(8,2) ways to select 2 phones. The probability of selecting 2 phones that are not defective is:

ways to select 2 phones that are not defectiveways to select 2 phones=C(5,2)C(8,2)=1028=514

Example 11.7.5: Computing Probability Using Counting Theory

A child randomly selects 5 toys from a bin containing 3 bunnies, 5 dogs, and 6 bears.

  1. Find the probability that only bears are chosen.
  2. Find the probability that 2 bears and 3 dogs are chosen.
  3. Find the probability that at least 2 dogs are chosen.
Solution
  1. We need to count the number of ways to choose only bears and the total number of possible ways to select 5 toys. There are 6 bears, so there are C(6,5) ways to choose 5 bears. There are 14 toys, so there are C(14,5) ways to choose any 5 toys.

    C(6,5)C(14,5)=62,002=31,001

  2. We need to count the number of ways to choose 2 bears and 3 dogs and the total number of possible ways to select 5 toys. There are 6 bears, so there are C(6,2) ways to choose 2 bears. There are 5 dogs, so there are C(5,3) ways to choose 3 dogs. Since we are choosing both bears and dogs at the same time, we will use the Multiplication Principle. There are C(6,2)C(5,3) ways to choose 2 bears and 3 dogs. We can use this result to find the probability.

    C(6,2)C(5,3)C(14,5)=15102,002=751,001

  3. It is often easiest to solve “at least” problems using the Complement Rule. We will begin by finding the probability that fewer than 2 dogs are chosen. If less than 2 dogs are chosen, then either no dogs could be chosen, or 1 dog could be chosen.

    When no dogs are chosen, all 5 toys come from the 9 toys that are not dogs. There are C(9,5) ways to choose toys from the 9 toys that are not dogs. Since there are 14 toys, there are C(14,5) ways to choose the 5 toys from all of the toys.

    C(9,5)C(14,5)=631,001

    If there is 1 dog chosen, then 4 toys must come from the 9 toys that are not dogs, and 1 must come from the 5 dogs. Since we are choosing both dogs and other toys at the same time, we will use the Multiplication Principle. There are C(5,1)C(9,4) ways to choose 1 dog and 1 other toy.

    C(5,1)C(9,4)C(14,5)=51262,002=3151,001

    Because these events would not occur together and are therefore mutually exclusive, we add the probabilities to find the probability that fewer than 2 dogs are chosen.

    631,001+3151,001=3781,001

    We then subtract that probability from 1 to find the probability that at least 2 dogs are chosen.

    13781,001=6231,001

Exercise 11.7.5

A child randomly selects 3 gumballs from a container holding 4 purple gumballs, 8 yellow gumballs, and 2 green gumballs.

  1. Find the probability that all 3 gumballs selected are purple.
  2. Find the probability that no yellow gumballs are selected.
  3. Find the probability that at least 1 yellow gumball is selected.
Answer

191

Answer

591

Answer

8691

Media

Access these online resources for additional instruction and practice with probability.

Visit this website for additional practice questions from Learningpod.

Key Equations

probability of an event with equally likely outcomes P(E)=n(E)n(S)
probability of the union of two events P(EF)=P(E)+P(F)P(EF)
probability of the union of mutually exclusive events P(EF)=P(E)+P(F)
probability of the complement of an event P(E)=1P(E)

Key Concepts

  • Probability is always a number between 0 and 1, where 0 means an event is impossible and 1 means an event is certain.
  • The probabilities in a probability model must sum to 1. See Example 11.7.1.
  • When the outcomes of an experiment are all equally likely, we can find the probability of an event by dividing the number of outcomes in the event by the total number of outcomes in the sample space for the experiment. See Example 11.7.2.
  • To find the probability of the union of two events, we add the probabilities of the two events and subtract the probability that both events occur simultaneously. See Example 11.7.3.
  • To find the probability of the union of two mutually exclusive events, we add the probabilities of each of the events. See Example 11.7.4.
  • The probability of the complement of an event is the difference between 1 and the probability that the event occurs. See Example 11.7.5.
  • In some probability problems, we need to use permutations and combinations to find the number of elements in events and sample spaces. See Example 11.7.6.

Contributors and Attributions


This page titled 11.7: Probability is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?