# 3.1: Discrete Random Variables

Difficulty Level: At Grade Created by: CK-12

Learning Objectives

• Demonstrate an understanding of the notion of discrete random variables by using them to solve for the probabilities of outcomes, such as the probability of the occurrence of five heads in 14 coin tosses.

You are in statistics class. Your teacher asks what the probability is of obtaining five heads if you were to toss 14 coins.

(a) Determine the theoretical probability for the teacher.

(b) Use the TI calculator to determine the actual probability for a trial experiment for 20 trials.

Work through Chapter 3 and then revisit this problem to find the solution.

Whenever you run and experiment, flip a coin, roll a die, pick a card, you assign a number to represent the value to the outcome that you get. This number that you assign is called a random variable. For example, if you were to roll two dice and asked what the sum of the two dice might be, you would design the following table of numerical values.

These numerical values represent the possible outcomes of the rolling of two dice and summing of the result. In other words, rolling one die and seeing a while rolling a second die and seeing a . Adding these values gives you a ten.

The rolling of a die is interesting because there are only a certain number of possible outcomes that you can get when you roll a typical die. In other words, a typical die has the numbers 1, 2, 3, 4, 5, and 6 on it and nothing else. A discrete random variable can only have a specific (or finite) number of numerical values.

A random variable is simply the rule that assigns the number to the outcome. For our example above, there are 36 possible combinations of the two dice being rolled. The discrete random variables (or values) in our sample are 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12, as you can see in the table below.

We can have infinite discrete random variables if we think about things that we know have an estimated number. Think about the number of stars in the universe. We know that there are not a specific number that we have a way to count so this is an example of an infinite discrete random variable. Another example would be with investments. If you were to invest \$1000 at the start of this year, you could only estimate the amount you would have at the end of this year.

Well, how does this relate to probability?

Example 1: Looking at the previous table, what is the probability that the sum of the two dice rolled would be 4?

Solution:

Example 2: A coin is tossed 3 times. What are the possible outcomes? What is the probability of getting one head?

Solution:

If our first toss were a heads...

If our first toss were a tails...

Therefore the possible outcomes are:

Alternate Solution:

We have one coin and want to find the probability of getting one head in three tosses. We need to calculate two parts to solve the probability problem.

Numerator (Top)

In our example, we want to have 1 H and 2Ts. Our favorable outcomes would be any combination of HTT. The number of favorable choices would be:

Denominator (Bottom)

The number of possible outcomes

We now want to find the number of possible times we could get one head when we do these three tosses. We call these favorable outcomes. Why? Because these are the outcomes that we want to happen, therefore they are favorable.

Now we just divide the numerator by the denominator.

Remember:

Possible outcomes where number of tosses.

Here we have tosses. Therefore,

Possible outcomes

Possible outcomes

Possible outcomes

Possible outcomes

Note: The factorial function (symbol: !) just means to multiply a series of descending natural numbers.

Examples:

Note: It is generally agreed that . It may seem funny that multiplying no numbers together gets you 1, but it helps simplify a lot of equations.

Example 3: A coin is tossed 4 times. What are the possible outcomes? What is the probability of getting one head?

Solution:

If our first toss were a heads...

If our first toss were a tails...

Therefore there are 16 possible outcomes:

Alternate Solution:

We have one coin and want to find the probability of getting one head in four tosses. We need to calculate two parts to solve the probability problem.

Numerator (Top)

In our example, we want to have 1 H and 3 Ts. Our favorable outcomes would be any combination of HTTT. The number of favorable choices would be:

Denominator (Bottom)

The number of possible outcomes

We now want to find the number of possible times we could get one head when we do these four tosses (or our favorable outcomes).

Remember:

Possible outcomes where number of tosses.

Here we have tosses. Therefore,

Possible outcomes

Possible outcomes

Possible outcomes

Possible outcomes

Now we just divide the numerator by the denominator.

Technology Note:

Let’s take a look at how we can do this using the TI-84 calculators. There is an application on the TI calculators called the coin toss. Among others (including the dice roll, spinners, and picking random numbers), the coin toss is an excellent application for when you what to find the probabilities for a coin tossed more than 4 times or more than one coin being tossed multiple times.

Let’s say you want to see one coin being tossed one time. Here is what the calculator will show and the key strokes to get to this toss.

Let’s say you want to see one coin being tossed ten times. Here is what the calculator will show and the key strokes to get to this sequence. Try it on your own.

We can actually see how many heads and tails occurred in the tossing of the 10 coins. If you click on the right arrow (>) the frequency label will show you how many of the tosses came up heads.

We could also use randBin to simulate the tossing of a coin. Follow the keystrokes below.

This list contains the count of heads resulting from each set of 10 coin tosses. If you use the right arrow (>) you can see how many times from the 20 trials you actually had 4 heads.

Now let’s go back to our original chapter problem and see if we have gained enough knowledge to answer it.

You are in statistics class. Your teacher asks what the probability is of obtaining five heads if you were to toss 14 coins.

(a) Determine the theoretical probability for the teacher.

(b) Use the TI calculator to determine the actual probability for a trial experiment for 20 trials.

Solution:

(a) Let’s calculate the theoretical probability of getting 5 heads for the 14 tosses.

Numerator (Top)

In our example, we want to have 5 H and 9 Ts. Our favorable outcomes would be any combination of HHHHHTTTTTTTTT. The number of favorable choices would be:

Denominator (Bottom)

The number of possible outcomes

The number of possible outcomes

Now we just divide the numerator by the denominator.

The probability would be 12% of the tosses would have 5 heads.

b)

Looking at the data that resulted in this trial, there were 4 times of 20 that 5 heads appeared.

or 20%.

Lesson Summary

Probability in this chapter focused on experiments with random variables or the numbers that you assign to the probability of events. If we have a discrete random variable, then there are only a specific number of variables we can choose from. For example, tossing a fair coin has a probability of success for heads = probability of success for tails . Using tree diagrams or the formula , we can calculate the probabilities of these events. Using the formula requires the use of the factorial function where numbers are multiplied in descending order.

Points to Consider

• How is the calculator a useful tool for calculating probability in discrete random variable experiments?
• Are TREE Diagrams useful in interpreting the probability of simple events?

Vocabulary

Discrete Random Variables
Only have a specific (or finite) number of numerical values.
Random Variable
A variable that takes on numerical values governed by a chance experiment.
Factorial Function
(symbol: !) – The function of multiplying a series of descending natural numbers.
Theoretical Probability
A probability calculated by analyzing a situation, rather than performing an experiment, given by the ratio of the number of different ways an event can occur to the total number of equally likely outcomes possible. The numerical measure of the likelihood that an event, , will happen.

Tree Diagram
A branching diagram used to list all the possible outcomes of a compound event.

Review Questions

1. Define and give three examples of discrete random variables.
2. Draw a tree diagram to represent the tossing of two coins and determine the probability of getting at least one head.
3. Draw a tree diagram to represent the tossing of one coin three times and determine the probability of getting at least one head.
4. Draw a tree diagram to represent the drawing two marbles from a bag containing blue, green, and red marbles and determine the probability of getting at least one red.
5. Draw a tree diagram to represent the drawing two marbles from a bag containing blue, green, and red marbles and determine the probability of getting at two blue marbles.
6. Draw a diagram to represent the rolling two dice and determine the probability of getting at least one 5.
7. Draw a diagram to represent the rolling two dice and determine the probability of getting two 5s.
8. Use randBin to simulate the 6 tosses of a coin 20 times to determine the probability of getting two tails.
9. Use randBin to simulate the 15 tosses of a coin 25 times to determine the probability of getting two heads.
10. Calculate the theoretical probability of getting 4 heads for the 12 tosses.
11. Calculate the theoretical probability of getting 8 heads for the 10 tosses.
12. Calculate the theoretical probability of getting 8 heads for the 15 tosses.

2. .
3. (two 5's)
5. The number of possible outcomes The number of possible outcomes Now we just divide the numerator by the denominator.
6. The number of possible outcomes The number of possible outcomes Now we just divide the numerator by the denominator.

Answer Key for Review Questions (even numbers)

2.

4.

6.

(at least one 5)

8.

10.

The number of possible outcomes

The number of possible outcomes

Now we just divide the numerator by the denominator.

12.

The number of possible outcomes

The number of possible outcomes

Now we just divide the numerator by the denominator.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

Show Hide Details
Description
Tags:
Subjects: