3.1: Discrete Random Variables
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
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
Here we have
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
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
Here we have
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 TI84 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.
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
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,
E , will happen.
 Tree Diagram
 A branching diagram used to list all the possible outcomes of a compound event.
Review Questions
 Define and give three examples of discrete random variables.
 Draw a tree diagram to represent the tossing of two coins and determine the probability of getting at least one head.
 Draw a tree diagram to represent the tossing of one coin three times and determine the probability of getting at least one head.
 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.
 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.
Possible Outcomes:BB,BG,BR,GB,GG,GR,RB,RG,RRP(two blue marbles)=19  Draw a diagram to represent the rolling two dice and determine the probability of getting at least one 5.
 Draw a diagram to represent the rolling two dice and determine the probability of getting two 5s.
 Use randBin to simulate the 6 tosses of a coin 20 times to determine the probability of getting two tails.
 Use randBin to simulate the 15 tosses of a coin 25 times to determine the probability of getting two heads.
 Calculate the theoretical probability of getting 4 heads for the 12 tosses.
 Calculate the theoretical probability of getting 8 heads for the 10 tosses.
P(8 heads)=451024  Calculate the theoretical probability of getting 8 heads for the 15 tosses.
Review Answers
 Answers will vary

P(at least I H)P(at least I H)=HH,HT,THHH,HT,TH,TT=34 
P(at least I H)P(at least I H)=HHH,HHT,HTH,HTT,THH,THT,TTHHHH,HHT,HTH,HTT,THH,THT,TTH,TTT=78 
Possible Outcomes:BB,BG,BR,GB,GG,GR,RB,RG,RR P(at least one red)P(at least one red)=39=13  .

P(at least one 5)=1136 
P (two 5's)=136 
P(2 heads)=420=20% 
P (4 heads)=625=24% 
# of favorable choices# of favorable choices# of favorable choices# of favorable choices=12×11×10×9×8×7×6×5×4×3×2×1(4×3×2×1)×(8×7×6×5×4×3×2×1)=479001600(24)×(40320)=479001600967680=495 The number of possible outcomes=212 The number of possible outcomes \begin{align*}= 4096\end{align*} Now we just divide the numerator by the denominator. \begin{align*}P(4\ heads) & = \frac{495}{4096} \\ P(4\ heads) & = 0.121 \\ P(8\ \text{heads}) & = 19.7\%\end{align*}  \begin{align*}P(8\ \text{heads}) = 4.39\%\end{align*}
 \begin{align*}\# \ of\ favorable\ choices & = \frac{15 \times 14 \times 13 \times 12 \times 11 \times 10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1}{(8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1) \times (7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1)} \\ \# \ of\ favorable\ choices & = \frac{1.31 \times 10^{12}}{(40320) \times (5040)} \\ \# \ of\ favorable\ choices & = \frac{1.31 \times 10^{12}}{203212800} \\ \# \ of\ favorable\ choices & = 6446\end{align*} The number of possible outcomes \begin{align*}= 2^{15}\end{align*} The number of possible outcomes \begin{align*}= 32768\end{align*} Now we just divide the numerator by the denominator. \begin{align*}P(8\ heads) & = \frac{6446}{32768} \\ P(8\ heads) & = 0.197 \\ P(8\ \text{heads}) & = 19.7\%\end{align*}
Answer Key for Review Questions (even numbers)
2.
\begin{align*}P(\text{at least}\ I\ H) & = \frac{HH,HT,TH}{HH,HT,TH,TT} \\ P(\text{at least}\ I\ H) & = \frac{3}{4}\end{align*}
4.
\begin{align*}&\text{Possible Outcomes}:\\ &BB, BG, BR, GB, GG, GR, RB, RG, RR\\ &P(\text{at least one red}) = \frac{3}{9} \\ &P(\text{at least one red}) = \frac{1}{3}\end{align*}
6.
\begin{align*}P\end{align*} (at least one 5) \begin{align*}= \frac{11}{36}\end{align*}
8.
\begin{align*}P\end{align*} (2 heads) \begin{align*}= \frac{4}{20} = 20\%\end{align*}
10. \begin{align*}\# \ of\ favorable\ choices & = \frac{12 \times 11 \times 10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1}{(4 \times 3 \times 2 \times 1) \times (8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1)} \\ \# \ of\ favorable\ choices & = \frac{479001600}{(24) \times (40320)} \\ \# \ of\ favorable\ choices & = \frac{479001600}{967680} \\ \# \ of\ favorable\ choices & = 495\end{align*}
The number of possible outcomes \begin{align*}= 2^{12}\end{align*}
The number of possible outcomes \begin{align*}= 4096\end{align*}
Now we just divide the numerator by the denominator.
\begin{align*}P(4\ heads) & = \frac{495}{4096} \\ P(4\ heads) & = 0.121 \\ P(8\ \text{heads}) & = 19.7\%\end{align*}
12. \begin{align*}\# \ of\ favorable\ choices & = \frac{15 \times 14 \times 13 \times 12 \times 11 \times 10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1}{(8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1) \times (7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1)} \\ \# \ of\ favorable\ choices & = \frac{1.31 \times 10^{12}}{(40320) \times (5040)} \\ \# \ of\ favorable\ choices & = \frac{1.31 \times 10^{12}}{203212800} \\ \# \ of\ favorable\ choices & = 6446\end{align*}
The number of possible outcomes \begin{align*}= 2^{15}\end{align*}
The number of possible outcomes \begin{align*}= 32768\end{align*}
Now we just divide the numerator by the denominator.
\begin{align*}P(8\ heads) & = \frac{6446}{32768} \\ P(8\ heads) & = 0.197 \\ P(8\ \text{heads}) & = 19.7\%\end{align*}
Notes/Highlights Having trouble? Report an issue.
Color  Highlighted Text  Notes  

Please Sign In to create your own Highlights / Notes  
Show More 