## Probability

### Learning Outcomes

• 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 above. 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. An example of a “spaghetti model,” which can be used to predict possible paths of a tropical storm.

## Construct 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 $\left\{1,2,3,4,5,6\right\}$. An event is any subset of a sample space.

The likelihood of an event is known as probability. The probability of an event $p$ is a number that always satisfies $0\le p\le 1$, 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 the table below.

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: Constructing a Probability Model

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

### 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.

### Try It

Construct a probability model for tossing a fair coin.

## 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 $\frac{4}{6}=\frac{2}{3}$.

### A General Note: 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\left(E\right)=\dfrac{\text{number of elements in }E}{\text{number of elements in }S}=\dfrac{n\left(E\right)}{n\left(S\right)}$

$E$ is a subset of $S$, so it is always true that $0\le P\left(E\right)\le 1$.

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

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

### Try It

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

## Probability for Multiple 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\text{ and }F,\text{written }E\cup F$, is the event that occurs if either or both events occur.

$P\left(E\cup F\right)=P\left(E\right)+P\left(F\right)-P\left(E\cap F\right)$

Suppose the spinner below is spun. We want to find the probability of spinning orange or spinning a $b$. There are a total of 6 sections, and 3 of them are orange. So the probability of spinning orange is $\frac{3}{6}=\frac{1}{2}$. There are a total of 6 sections, and 2 of them have a $b$. So the probability of spinning a $b$ is $\frac{2}{6}=\frac{1}{3}$. 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$.

$\dfrac{1}{2}+\dfrac{1}{3}-\dfrac{1}{6}=\dfrac{2}{3}$

The probability of spinning orange or a $b$ is $\dfrac{2}{3}$.

### A General Note: Probability of the Union of Two Events

The probability of the union of two events $E$ and $F$ (written $E\cup F$ ) equals the sum of the probability of $E$ and the probability of $F$ minus the probability of $E$ and $F$ occurring together $\text{(}$ which is called the intersection of $E$ and $F$ and is written as $E\cap F$ ).
$P\left(E\cup F\right)=P\left(E\right)+P\left(F\right)-P\left(E\cap F\right)$

### Example: 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.

### Try It

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

### Computing the Probability of Mutually Exclusive Events

Suppose the spinner from earlier 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\left(E\cup F\right)=P\left(E\right)+P\left(F\right)$

Notice that with mutually exclusive events, the intersection of $E$ and $F$ is the empty set. The probability of spinning an orange is $\frac{3}{6}=\frac{1}{2}$ and the probability of spinning a $d$ is $\frac{1}{6}$. We can find the probability of spinning an orange or a $d$ simply by adding the two probabilities.

\begin{align}P\left(E\cup F\right)&=P\left(E\right)+P\left(F\right) \\ &=\frac{1}{2}+\frac{1}{6} \\ &=\frac{2}{3} \end{align}

The probability of spinning an orange or a $d$ is $\dfrac{2}{3}$.

### A General Note: 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\left(E\cup F\right)=P\left(E\right)+P\left(F\right)$

### 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.

### Example: 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.

### Try It

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

### Find the Probability That an Even Will Not Happen

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 event $E$, denoted ${E}^{\prime }$, 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\left({E}^{\prime }\right)=1-P\left(E\right)$

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 $\frac{1}{9}$, the probability of the horse losing the race is simply

$1-\dfrac{1}{9}=\dfrac{8}{9}$

### A General Note: The Complement Rule

The probability that the complement of an event will occur is given by
$P\left({E}^{\prime }\right)=1-P\left(E\right)$

### Example: 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.

### Try It

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

## 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\left(5,2\right)$ ways to select 2 phones that are not defective. There are 8 phones, so there are $C\left(8,2\right)$ ways to select 2 phones. The probability of selecting 2 phones that are not defective is:

\begin{align}\frac{\text{ways to select 2 phones that are not defective}}{\text{ways to select 2 phones}}&=\frac{C\left(5,2\right)}{C\left(8,2\right)} \\[1mm] &=\frac{10}{28} \\[1mm] &=\frac{5}{14} \end{align}

### Example: 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.

### Try It

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.

## Key Equations

 probability of an event with equally likely outcomes $P\left(E\right)=\dfrac{n\left(E\right)}{n\left(S\right)}$ probability of the union of two events $P\left(E\cup F\right)=P\left(E\right)+P\left(F\right)-P\left(E\cap F\right)$ probability of the union of mutually exclusive events $P\left(E\cup F\right)=P\left(E\right)+P\left(F\right)$ probability of the complement of an event $P\left(E\text{‘}\right)=1-P\left(E\right)$

## 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.
• 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.
• 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.
• To find the probability of the union of two mutually exclusive events, we add the probabilities of each of the events.
• The probability of the complement of an event is the difference between 1 and the probability that the event occurs.
• In some probability problems, we need to use permutations and combinations to find the number of elements in events and sample spaces.

## Glossary

complement of an event the set of outcomes in the sample space that are not in the event $E$

event any subset of a sample space

experiment an activity with an observable result

mutually exclusive events events that have no outcomes in common

outcomes the possible results of an experiment

probability a number from 0 to 1 indicating the likelihood of an event

probability model a mathematical description of an experiment listing all possible outcomes and their associated probabilities

sample space the set of all possible outcomes of an experiment

union of two events the event that occurs if either or both events occur

1. The figure is for illustrative purposes only and does not model any particular storm.