Chapter 4 Discrete random variables(2)
Chapter 4 Discrete random variables(2)
variables
ILO(Intended Learning Outcomes)
After the class, you should be able to…
1. draw up a probability distribution table relating to a given situation involving a
discrete random variable X, and calculate E(X) and Var(X)
2. use formulae for probabilities for the binomial and geometric distributions, and
recognise practical situations where these distributions are suitable models
3. use formulae for the expectation and variance of the binomial distribution and for
the expectation of the geometric distribution
1. Discrete random variables
• A variable is said to be discrete and random if it can take only certain values that
occur by chance.
There are spaces for three more passengers on a bus, but eight youths,
one man and one woman wish to board.
The bus driver decides to select three of these people at random and
allow them to board.
Draw up the probability distribution table for Y, the number of youths
selected.
1. Discrete random variables
At a garden centre, there is a display of roses: 25 are red, 20 are white, 15 are pink and
5 are orange. Three roses are chosen at random.
I. Show that the probability of selecting three red roses is approximately 0.0527.
II. Draw up the probability distribution table for the number of red roses selected.
III. Find the probability that at least one red rose is selected.
1. Discrete random variables
Two ordinary fair dice are rolled. A score of 3 points is awarded if exactly
one die shows an odd number and there is also a difference of 1 between
the two numbers obtained. A player who rolls two even numbers is
awarded a score of 2 points, otherwise a player scores 1 point.
Draw up the probability distribution table for S, the number of points
awarded.
Find the probability that a player scores 3 points, given that the sum of
the numbers on their two dice is greater than 9.
2. Expectation and variance of a discrete random variable
Two students are randomly selected from a class of 12 girls and 18 boys.
I. Find the expected number of girls and the expected number of boys.
II. Write the ratio of the expected number of girls to the expected
number of boys in simplified form. What do you notice about this
ratio?
Two ordinary fair dice are rolled. The discrete random variable X is the lowest
common multiple of the two numbers rolled.
An ordinary fair die is rolled. If the die shows an odd number then S, the
score awarded, is equal to that number. If the die shows an even number,
then the die is rolled again. If on the second roll it shows an odd number,
then that is the score awarded. If the die shows an even number on the
second roll, the score awarded is equal to half of that even number.
A discrete random variable that meets the following criteria is said to have a
binomial distribution and it is defined by its two parameters, n and p.
①There are just two possible outcomes for each trial (i.e. success or
failure).
④n is finite.
denoted by
3. The binomial distribution
• If
• Given that X ~ B(8, 0.7), find P(X > 6), correct to 3 significant figures.
3. The binomial distribution-Practice
There is a 15% chance of rain on any particular day during the next 14 days.
Find the probability that, during the next 14 days, it rains on:
exactly 2 days
at most 2 days.
3. The binomial distribution-Practice
In a particular country, 90% of both females and males drink tea. Of those
who drink tea, 40% of the females and 60% of the males drink it with
sugar. Find the probability that in a random selection of two females and
two males:
all four people drink tea
an equal number of females and males drink tea with sugar.
3. The binomial distribution-Practice
• W has a binomial distribution, where E(X) = 2.7 and Var(X) = 0.27. Find
the values of n and p and use them to draw up the probability
distribution table for W.
3. The binomial distribution-Practice
II. Find the variance of the number of damaged matches and the
variance of the number of undamaged matches in a household box.
III. Show that approximately 10.4% of the household boxes are expected
to contain exactly eight damaged matches.
4. The geometric distribution
① There are just two possible outcomes for each trial (i.e. success or
failure).
• For X ~ Geo(p), there is only one way to obtain the first success on the
rth trial, and that is when there are r - 1 failures followed by a success.
4. The geometric distribution
A coin is biased such that the probability of obtaining heads with each
toss is equal to . The coin is tossed until the first head is obtained. Find the
probability that the coin is tossed:
at least six times
The sides of a fair 5-sided spinner are marked 1,1,2, 3 and 4. It is spun
until the first score of 1 is obtained.
One plastic robot is given away free inside each packet of a certain brand of biscuits.
There are four colors of plastic robot (red, yellow, blue and green) and each color is
equally likely to occur. Nick buys some packets of these biscuits. Find the probability
that
He gets his first green robot on opening his fifth packet.
iii Find the probability that the first four packets Amos opens all contain different
colored robots.
End of Chapter Exercise
In Restaurant Bijoux 13% of customers rated the food as ‘poor’, 22% of customers
rated the food as ‘satisfactory’ and 65% rated it as ‘good’. A random sample of 12
customers who went for a meal at Restaurant Bijoux was taken.
Find the probability that more than 2 and fewer than 12 of them rated the food as
‘good’.
On a separate occasion, a random sample of n customers who went for a meal at the
restaurant was taken.
Find the smallest value of n for which the probability that at least 1 person will rate
the food as ‘poor’ is greater than 0.95.
End of Chapter Exercise
• A book publisher has noted that, on average, one page in eight contains at least one
spelling error, one page in five contains at least one punctuation error, and that
these errors occur independently and at random. The publisher checks 480
randomly selected pages from various books for errors.
How many pages are expected to contain at least one of both types of error? [2]
II. the first punctuation error occurs before the 10th page
III. the 10th page is the first to contain both types of error.
4. Discrete random variables
4. Discrete random variables