Chapter 1 Main
Chapter 1 Main
1.1 Problem
Determine whether or not the table is a valid probability distribution of a discrete random
variable. Explain?
x -2 0 2 4
1.
P (x) 0.3 0.5 0.2 0.1
1.2 Problem
Let the random variable X denotes the number of automobile accidents per week at a busy
intersection in a large city. In a 100-week period, there were no accidents in 50 of the weeks,
one accident in 30 of the weeks, accidents in ten of the weeks, and three accidents in ten
of the weeks. Based on the information, define the probability distribution function for the
number of accidents per week.
Proof.
x 0 1 2 3
P(X=x) 0.5 0.3 0.1 0.1
1.3 Problem
Let W be a random variable giving the number of heads minus the number of tails in three
tosses of a coin. List the outcomes of the sample space S for the three tosses of the coin
and to each sample point assign a value w of W and write down the cumulative distribution
function F (x) of X.
Proof. The sample space S for the three tosses of the coin is
Let W be a random variable giving the number of heads minus the number of tails in three
tosses of a coin, we assign a value of w of W to each sample point in the following way:
Sample points w
HHH 3
HHT 1
HTH 1
HTT -1
THH 1
THT -1
TTH -1
TTT -3
w -3 -1 1 3
P (W = w) 1/8 3/8 3/8 1/8
P
Remember that F (x) = y≤x P (X = x). Thus
0 x < −3
1/8 −3 ≤ x < −1
F (x) = 1/2 −1 ≤ x < 1
7/8 1≤x<3
1 3 ≤ x.
1.4 Problem
During the summer months, a rental agency keeps track of the number of speedboats rented
each day during a period of 90 days. The variable X represents the number of speedboats
rented per day. The results are shown as follow.
x 0 1 2
Number of days 45 30 15
2
1. Compute the probability P (X) for each X.
2.
x 0 1 2
P (X = x) 0.5 0.33 0.17
1.5 Problem
Suppose that two balanced dice are rolled, and let X denote the absolute value of the
difference between the two numbers that appear. Determine the probability function of X.
Proof. The possible values for X are 0,1, 2, 3, 4, 5. The sample space are
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
where the first entry in the pair (m, n) indicates number on the first die, and the second
entry that on the second die. Since the dice are balanced, the outcomes are equally likely.
Thus, all the outcomes have probability 1/36.
• The outcomes that yield X = 0 lie along the main diagonal and there are six of them.
It then follows that
1 1
P (X = 0) = 6 × = ,
36 6
• The outcome that yield X = 1 (difference is one), there are 10 of them. It then follows
that
1 5
P (X = 1) = 10 × = ,
36 18
• The outcome that yield X = 2 (difference is two), there are 8 of them. It then follows
that
1 2
P (X = 2) = 8 × = ,
36 9
3
• The outcome that yield X = 3 (difference is three), there are 6 of them. It then follows
that
1 1
P (X = 3) = 6 × = ,
36 6
• The outcome that yield X = 4 (difference is four), there are 4 of them. It then follows
that
1 1
P (X = 4) = 4 × = ,
36 9
• The outcome that yield X = 5 (difference is five), there are 2 of them. It then follows
that
1 1
P (X = 5) = 2 × = .
36 18
1.6 Problem
Suppose that a box contains seven red balls and three blue balls. If four of them are
selected at random, without replacement, determine the probability distribution function of
the number of red balls that will be obtained.
Proof. Let X denote the number of red balls in the four selected ones. Then X is discrete
and takes on the possible values 2, 3, and 4. We have that
1.7 Problem
A shipment of seven computer sets contains four defective sets. A company makes a ran-
dom purchase of three of the set without replacement. If z is the number of defective sets
purchased by the hotel, find the probability distribution of Z.
4
Proof. A shipment of 7 computer sets contains 4 defective. The hotel makes a random
purchase of 3 - computer sets. Let Z denotes the number of defectives.
•
4 3
N (Z = 0) = {0 Def ective and 4 not def ective} = ×
0 3
Then
4 3
×
0 3 1
P (Z = 0) = =
7 35
3
•
4 3
N (Z = 1) = {1 Def ective and 3 not def ective} = ×
1 2
Then
4 3
×
1 2 12
P (Z = 1) = =
7 35
3
•
4 3
N (Z = 2) = {2 Def ective and 2 not def ective} = ×
2 1
Then
4 3
×
2 1 18
P (Z = 0) = =
7 35
3
•
4 3
N (Z = 3) = {3 Def ective and 1 not def ective} = ×
3 0
Then
4 3
×
3 0 4
P (Z = 0) = =
7 35
3
5
1.8 Problem
X denotes the number of vacant sears on a passenger flight, and let the probability distri-
bution function be
x 0 1 2 3
P (X = x) 0.50 0.30 0.15 0.05
Suppose the random variable Y denotes the amount of revenue lost due to vacant seats. If
each vacant seat costs the airline RM 70 in lost revenue,
Proof. 1. Y = 70X
2.
x 0 70 140 210
P (X = x) 0.50 0.30 0.15 0.05
1.9 Problem
x 77 78 79 80 81
P (x) 0.15 0.15 0.20 0.40 0.10
1. P (80).
2. P (X > 80).
3. P (X ≤ 80).
4. The mean µ of X.
5. The variance σ 2 of X.
6
2. Since P (X > a) = 1 − P (X ≤ a), we have
4. Since
81
X
E(X) = xP (X = x)
x=77
we have,
5. Since
V ar(X) = E(X 2 ) − [E(X)]2
when E(X 2 ) = 772 × 0.15 + 782 × 0.15 + 792 × 0.20 + 802 × 0.40 + 812 × 0.10 = 6266.25
1.10 Problem
Airlines sometimes overbook flights. Suppose that for a plane with 50 seats, 55 passengers
actually have tickets. Define the random variable Y as the number of ticketed passengers
that actually show up for the flight. The probability mass function for Y appears in the
accompanying table.
y 45 46 47 48 49 50 51 52 53 54 55
P (y) 0.5 0.10 0.12 0.14 0.25 0.17 0.06 0.05 0.03 0.02 0.01
1. What is the probability that not all ticketed passengers who show up can be accom-
modated?
2. Suppose you are the third person on the standby list. That means you will get on the
plane after all ticketed passengers and two standbys are accommodated. What is the
probability you will be able to take the flight?
7
Proof. 1. P (Y > 50) = 0.06 + 0.05 + 0.03 + 0.02 + 0.01 = 0.17.
2. In order for the third standby to get on the plane at most 47 can show up.
1.11 Problem
2. Compute P (X = 2).
3. Compute P (X = 2 or X = 3).
2. P (X = 2) = 4/13
8
1.12 Problem
1.13 Problem
A shipment of seven television sets contains two defective sets. A hotel makes a random
purchase of three of the sets. If X is the number of defective sets purchased by the hotel,
find
3. P (X = 1).
4. P (1 < X ≤ 2).
Proof. Let X be the random variable representing the number of defective sets purchased
by the hotel.
9
Therefore
2 5
x 3−x 7
f (x) = ; where = 35
7 3
3
2 5
0 3 2
P (X = 0) = f (0) = =
35 7
2 5
1 2 4
P (X = 1) = f (1) = =
35 7
2 5
2 1 1
P (X = 2) = f (2) = =
35 7
x 0 1 2
P (X = x) 2/7 4/7 4/7
Hence
0 x<0
2
0≤x<1
F (x) = 7
6
1≤x<2
17
x≥2
6 2 4
3. P (X = 1) = F (1) − F (0) = − = .
7 7 7
2 5
4. P (0 < x ≤ 2) = F (2) − F (0) = 1 − = .
7 7
10
1.14 Problem
1.15 Problem
x 1 2 3 4
P (x) 0.25 0.5 0.125 0.125
11
F (x) = 0.75 2 x < 3
>
>
>
> 0.875 3 x < 4
:
1 4 x.
Figure 14.3
Note thatProblem
1.16 the size of the step at any of the values 1,2,3,4 is equal to the
probability that X assumes that particular value. That is, we have
If the cumulative distribution function of X is given by
Theorem 14.1
0 x<0
If the range of a discrete random variable
1 X consists of the values x1 < x2 <
0≤x<1
· · · < xn then p(x1 ) = F (x1 ) and
16
5
1≤x<2
F (x) = 16
p(xi ) = F (xi ) F
(x11i 12),≤ xi <=32, 3, · · · ,n
16
15
3≤x<4
16
1 x≥4
find the pmf of X.
1 1
Proof. We know that P (xi ) = F (xi ) − F (xi−1 ), i = 2, 3, · · · , n, we get P (0) = , P (1) = ,
16 4
3 1 1
P (2) = , P (3) = and P (4) = and 0 otherwise.
8 4 16
1.17 Problem
12
Find the mean of X.
x 0 1 2 3
f (x) 27/64 27/64 9/64 1/64
3
X 27 27 9 1
E(X) = =0× +1× +1× +3×
x=0
64 64 64 64
27 + 18 + 3 3
= = .
64 4
1.18 Problem
An insurance company sells a life insurance policy with a face value of $1000 and a yearly
premium of $20. If 0.1% of the policyholders can be expected to die in the course of a year,
what would be the company?s expected earnings per policyholder in any year?
Proof. Let x= the amount of money earned by the company from an arbitrary (randomly
selected) policyholder in a year.
If the policyholder dies, the company must pay out $1000. This minus the $20 premium
means that the company loses $980.
13
In other words, on this policyholder the company earns -$980 (i.e., x=-$980). The probability
that the policyholder dies (i.e., x = −980) is .001. So the probability that the policyholder
lives (i.e., x = 20) is .999. Therefore, the probability distribution is
x P (x)
20 0.999
-980 0.001
The expected earnings per policyholder are
X
E(x) = xP (x)
= (20)(0.999) + (−980)(0.001)
= 19.98 − 0.98 = 19
The company can expect to earn $19 per policyholder (on the average).
1.19 Problem
In a hamster breeder’s experience the number x of live pups in a litter of a female not over
twelve months in age who has not borne a litter in the past six weeks has the probability
distribution
x 3 4 5 6 7 8 9
P (X = x) 0.04 0.10 0.26 0.31 0.22 0.05 0.02
1. Find the probability that the next litter will produce five to seven live pups.
2. Find the probability that the next litter will produce at least six live pups.
3. Compute the mean and standard deviation of x. Interpret the mean in the context of
the problem.
Proof. 1.
P (5 ≤ X ≤ 7) = P (X = 5) + P (X = 6) + P (X = 7)
= 0.26 + 0.31 + 0.22
= 0.79
2.
P (X ≥ 6) = 1 − P (X < 6)
= 1 − [P (X = 3) + P (X = 4) + P (X = 5)]
= 1 − [0.04 + 0.10 + 0.26]
= 1 − 0.40 = 0.06
14
3.
9
X
E(X) = xn P (X = xn )
n=3
= (3 × 0.04) + (4 × 0.10) + (5 × 0.26) + (6 × 0.31) + (7 × 0.22) + (8 × 0.05) + (9 × 0.02)
= 5.8
1.20 Problem
Mean,
10
X
µ= xP (x) = 5.5
1
Variance,
V ar(X) = E(X 2 ) − [E(X)]2 = 8.25
1.21 Problem
A salesman of small business computer systems will contact 4 customers during a week.
Each contact can result in either a sale, with probability 0.2, or no sale, with probability
0.8. Assume that customer contacts are independent. If X denotes the number of computer
systems sold during the week.
15
1. Find the probability distribution of X.
x 0 1 2 3 4
P (X = x) (0.8)4 4
C1 (0.2)(0.8)3 4
C2 (0.2)2 (0.8)2 4
C3 (0.2)3 (0.8) (0.2)4
16