PS Solved Problems
PS Solved Problems
2 Probability 8
2.1 Sample Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Counting Sample Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 Probability of an Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.5 Additive Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.6 Conditional Probability, Independence, and the Product Rule . . . . . . . . . . . . . . . . . . . . . 18
2.7 Bayes’ Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4 Mathematical Expectation 39
Chapter 1 Section 1.3
1. The following measurements were recorded for the drying time, in hours, of a certain brand of latex paint.
× ×
× ××× ×× ×× × × × × ×
2.5
2.8
2.9
3.0
3.3
3.4
3.6
3.7
4.0
4.4
4.8
5.2
5.6
34.7
(e) 20% trimmed mean, xtr(20) = ≈ 3.8556.
9
(f) For theses data, the sample mean is more descriptive as a center of location than the trimmed mean
as the sample mean is located nearer to the sample median.
2. According to the journal Chemical Engineering, an important property of a fiber is its water absorbency. A
random sample of 20 pieces of cotton fiber was taken and the absorbency on each piece was measured. The
following are the absorbency values:
Page 2
Chapter 1 Section 1.3
(a) Calculate the sample mean and median for the above sample values.
(b) Compute the 10% trimmed mean.
(c) Do a dot plot of the absorbency data.
(d) Using only the values of the mean, median, and trimmed mean, do you have evidence of outliers in the
data?
20
1 X 415.35
(a) Sample mean, x = xi = = 20.7675.
20 20
i=1
1 20.5 + 20.72
Sample median, x̃ = x(10) + x(11) = = 20.61.
2 2
331.89
(b) 10% trimmed mean, xtr(10) = = 20.74313.
16
(c) Dot plot:
median
mean
× × × ×
×× × ×× × × × × ×
× × × ×× ×
18.04
18.71
18.92
19.25
19.29
19.44
19.77
20.17
20.33
20.50
20.72
21.12
21.41
21.77
21.81
22.11
22.43
22.85
23.00
23.71
(d) Yes, the two observations, 18.04 and 23.71 can be identified as outliers in the data.
Page 3
Chapter 1 Section 1.4
7. With reference to problem 1, consider the drying time data. Compute the sample variance and sample standard
deviation.
15
1 X 13.1973
Solution: Sample variance, S2= (xi − x)2 = ≈ 0.9427.
14 14
√ i=1
Sample standard deviation S = 0.9427 ≈ 0.9709.
8. With reference to problem 2, consider the water absorbency data. Compute the sample variance and sample
standard deviation.
20
1 X 48.1254
Solution: Sample variance, S2= (xi − x)2 = ≈ 2.5329.
19 19
√ i=1
Sample standard deviation S = 2.5329 ≈ 1.5915.
Page 4
Chapter 1 Section 1.7
13. A manufacturer of electronic components is interested in determining the lifetime of a certain type of battery.
A sample, in hours of life, is as follows:
123, 116, 122, 110, 175, 126, 125, 111, 118, 117.
10
1 X 1243
(a) Sample mean, x = xi = = 124.3.
10 10
i=1
1 118 + 122
Sample median, x̃ = x(5) + x(6) = = 120.
2 2
(b) The given data has an outliers in it, i.e. 175. That is the reason for the sample mean moving away
towards right from the median.
14. A tire manufacturer wants to determine the inner diameter of a certain grade of tire. Ideally, the diameter
would be 570 mm. The data are as follows:
572, 572, 573, 568, 569, 575, 565, 570.
8
1X 4564
(a) Sample mean, x = xi = = 570.5.
8 10
i=1
1 570 + 572
Sample median, x̃ = x(4) + x(5) = = 571.
2 2
8
1X 70
(b) Sample variance, S 2 = (xi − x)2 = = 10.
7 7
i=1 √
Sample standard deviation S = 10 ≈ 3.1623.
(c) There is no substantial difference between the mean and the median. Also the standard deviation is
moderate. Therefore, there is consistency in the quality of the tires.
24. The following are historical data on staff salaries (dollars per pupil) for 30 schools sampled in the eastern part
of the United States in the early 1970s.
Page 5
Chapter 1 Section 1.7
3.79 2.99 2.77 2.91 3.10 1.84 2.52 3.22 2.45 2.14
2.67 2.52 2.71 2.75 3.57 3.85 3.36 2.05 2.89 2.83
3.13 2.44 2.10 3.71 3.14 3.54 2.37 2.68 3.51 3.37
30
1 X 86.92
(a) Sample mean, x = xi = ≈ 2.8973.
30 30
i=1
30
1 X 8.504
Sample variance, S 2 = (xi − x)2 = = 0.2932.
30 − 1 29
i=1
√
Sample standard deviation S = 0.2932 ≈ 0.5415.
2.0
2.5
3.0
3.5
Total = 30
25. The following data set is related to that in Exercise 24. It gives the percentages of the families that are in the
upper income level, for the same individual schools in the same order as in Exercise 24.
72.2 31.9 26.5 29.1 27.3 8.6 22.3 26.5 20.4 12.8
25.1 19.2 24.1 58.2 68.1 89.2 55.1 9.4 14.5 13.9
20.7 17.9 8.5 55.4 38.1 54.2 21.5 26.2 59.1 43.3
Page 6
Chapter 1 Section 1.7
30
1 X 999.3
(a) Sample mean, x = xi = ≈ 33.31.
30 30
i=1
1 26.2 + 26.5
(b) Sample median, x̃ = x(15) + x(16) = = 26.35.
2 2
(c) Relative frequency histogram of upper income families:
0.100
40-49.9 45 1 1/30 0.067
0.033
50-59.9 55 5 1/6
00
10
20
30
40
50
60
70
80
60-69.9 65 1 1/30
70-79.9 75 1 1/30
80-89.9 85 1 1/30
743.3
(d) 10% trimmed mean, xtr(10) = ≈ 30.9708.
24
There is significant difference between the mean and the median here. The trimmed mean is relatively
closer to the median, indicating the existence of outliers.
Page 7
Chapter 2 Section 2.2
2 Probability
2.2 Events
Solution:
(b) S = {−1, 5}
(d) S = {Asia, Europe, Africa, North America, South America, Oceania, Antarctica}.
(e) S = ∅ (emptyset).
2. Use the rule method to describe the sample space S consisting of all points in the first quadrant inside a circle
of radius 3 with center at the origin.
Page 8
Chapter 2 Section 2.2
(d) D = {0, 1, 2, 3, 4, 5, 6}
4. An experiment involves tossing a pair of dice, one green and one red, and recording the numbers that come
up. If x equals the outcome on the green die and y the outcome on the red die, describe the sample space S.
5. An experiment consists of tossing a die and then flipping a coin once if the number on the die is even. If the
number on the die is odd, the coin is flipped twice. Construct a tree diagram to show the 18 elements of the
sample space S.
Solution: We list Outcome 1, Outcome 2, Outcome 3, and Sample Points as in the figure below:
H = 1HH H = 3HH H = 5HH
H H H
T = 1HT T = 3HT T = 5HT
1 3 5
H = 1TH H = 3TH H = 5TH
T T T
T = 1TT T = 3TT T = 5TT
H = 2H H = 4H H = 6H
2 4 6
T = 2T T = 4T T = 6T
Page 9
Chapter 2 Section 2.2
7. Four students are selected at random from a chemistry class and classified as male or female. List the elements
of the sample space S1 , using the letter M for male and F for female. Define a second sample space S2 where
the elements represent the number of females selected.
Solution:
■ S1 = {M M M M, M M M F, M M F M, M F M M, F M M M, M M F F, M F M F, M F F M,
F M M F, F M F M, F F M M, M F F F, F M F F, F F M F, F F F M, F F F F }
■ S2 = {0, 1, 2, 3, 4}
(a) list the elements corresponding to the event A that the sum is greater than 8;
(b) list the elements corresponding to the event B that a 2 occurs on either die;
(c) list the elements corresponding to the event C that a number greater than 4 comes up on the green die;
(d) list the elements corresponding to the event A ∩ C;
(e) list the elements corresponding to the event A ∩ B;
(f) list the elements corresponding to the event B ∩ C;
(g) construct a Venn diagram to illustrate the intersections and unions of the events A, B, and C.
Solution:
(a) A = {(3, 6), (4, 5), (4, 6), (5, 4), (5, 5), (5, 6), (6, 3), (6, 4), (6, 5), (6, 6)}.
(b) B = {(2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (1, 2), (3, 2), (4, 2), (5, 2), (6, 2)}.
(c) C = {(5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6), (6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6)}.
(d) A ∩ C = {(5, 4), (5, 5), (5, 6), (6, 3), (6, 4), (6, 5), (6, 6)}.
(g) Venn diagram to illustrate the intersections and unions of the events A, B, and C:
Page 10
Chapter 2 Section 2.2
A
B
B
A∩C
∩
C
C
(a) list the elements corresponding to the event A that a number less than 3 occurs on the die;
(b) list the elements corresponding to the event B that two tails occur;
(c) list the elements corresponding to the event A′ ;
(d) list the elements corresponding to the event A′ ∩ B;
(e) list the elements corresponding to the event A ∪ B.
Solution:
(c) A′ = { 3HH, 3HT, 3TH, 3TT, 4H, 4T, 5HH, 5HT, 5TH, 5TT, 6H, 6T}.
11. The resumes of two male applicants for a college teaching position in chemistry are placed in the same file as
the resumes of two female applicants. Two positions become available, and the first, at the rank of assistant
professor, is filled by selecting one of the four applicants at random. The second position, at the rank of
instructor, is then filled by selecting at random one of the remaining three applicants. Using the notation
M2 F1 , for example, to denote the simple event that the first position is filled by the second male applicant
and the second position is then filled by the first female applicant,
Page 11
Chapter 2 Section 2.2
(c) list the elements of S corresponding to event B that exactly one of the two positions is filled by a male
applicant;
(d) list the elements of S corresponding to event C that neither position is filled by a male applicant;
(e) list the elements of S corresponding to the event A ∩ B;
(f) list the elements of S corresponding to the event A ∪ C;
(g) construct a Venn diagram to illustrate the intersections and unions of the events A, B, and C.
Solution:
(b) A = {M1 M2 , M1 F2 }
(c) B = {M1 F2 , F1 M2 } A
(d) C = {F1 F2 } C
(e) A ∩ B = {M1 F2 } B
(f) A ∪ C = {M1 M2 , M1 F2 , F1 F2 } S
Page 12
Chapter 2 Section 2.3
21. Registrants at a large convention are offered 6 sightseeing tours on each of 3 days. In how many ways can a
person arrange to go on a sightseeing tour planned by this convention?
Solution: The number of ways a person can arrange to go on a sightseeing tour planned by this convention
is
3 6
= × = 18.
1 1
23. If an experiment consists of throwing a die and then drawing a letter at random from the English alphabet,
how many points are there in the sample space?
30. In how many different ways can a true-false test consisting of 9 questions be answered?
Solution: Each question can be answered in exactly two ways. Therefore the required number is
9
= |2 × 2 ×
{z· · · × 2} = 2 = 512 ways .
9 times
34. (a) How many distinct permutations can be made from the letters of the word COLUMNS?
(b) How many of these permutations start with the letter M?
Solution: All seven letters in the word ‘COLUMNS’ are distinct. Therefore,
(a) the number of distinct permutations of the letters of the word COLUMNS is = 7! = 5040 .
(b) the number of distinct permutations of the letters of the word COLUMNS which starts with M is
= 6! = 720 .
36. (a) How many three-digit numbers can be formed from the digits 0, 1, 2, 3, 4, 5, and 6 if each digit can be
used only once?
(b) How many of these are odd numbers?
Page 13
Chapter 2 Section 2.3
Solution:
(a) In a three-digit number the first one must be non-zero. Therefore the required number is
= 6 × 6 × 5 = 180 .
(b) An odd three-digit number from the above collection must have 1,3, or 5 at its units place.
Thus the total count of such numbers is
= 3 × 5 × 5 = 75 .
(c) The total count of numbers greater than 330 and starting with 3 is = 3 × 5 = 15, and
the total count of numbers greater than 330 and not starting with 3 is = 3 × 6 × 5 = 90.
Therefore, the required number is, 15 + 90 = 105 .
Page 14
Chapter 2 Section 2.5
50. Suppose a green and a red die are rolled together and the outcomes are recorded as x, y respectively. Assuming
that all elements of S are equally likely to occur, find
(a) the probability of event A that sum is greater than 8;
(b) the probability of event C that a number greater than 4 comes up on the green die;
(c) the probability of event A ∩ C.
(a) A = {(3, 6), (4, 5), (4, 6), (5, 4), (5, 5), (5, 6), (6, 6)}. Therefore,
n(A) 7
P (A) = = .
n(S) 36
n(C) 12 1
P (C) = = = .
n(S) 36 3
(c) A ∩ C = {(5, 4), (5, 5), (5, 6), (6, 6)}. Therefore,
n(A ∩ C) 4 1
P (A ∩ C) = = = .
n(S) 36 9
53. The probability that an American industry will locate in Shanghai, China, is 0.7, the probability that it will
locate in Beijing, China, is 0.4, and the probability that it will locate in either Shanghai or Beijing or both is
0.8. What is the probability that the industry will locate
(a) in both cities?
(b) in neither city?
Page 15
Chapter 2 Section 2.5
Solution:
(a) Favourable outcomes = {(2, 6), (3, 5), (4, 4), (5, 3), (6, 2)}. Therefore
5
P (Sum = 8) = .
36
(b) Favourable outcomes = {(1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (4, 1)}. There-
fore
10 5
P (Sum ≤ 5) = = .
36 18
4 48 13 13
3 94 143
(a) P (3 aces) = 52
2 = . (b) P (4 hearts, 1 club) = 4
52
1
= .
5
10829 5
999600
64. Interest centers around the life of an electronic component. Suppose it is known that the probability that the
component survives for more than 6000 hours is 0.42. Suppose also that the probability that the component
survives no longer than 4000 hours is 0.04.
(a) What is the probability that the life of the component is less than or equal to 6000 hours?
(b) What is the probability that the life is greater than 4000 hours?
Solution: Let X denote the amount of hours the component survives. Then from the given data we have
P (X > 6000) = 0.42, and P (X ≤ 4000) = 0.04. Therefore, we have
Page 16
Chapter 2 Section 2.5
65. Consider the situation of Exercise 64. Let A be the event that the component fails a particular test and B be
the event that the component displays strain but does not actually fail. Event A occurs with probability 0.20,
and event B occurs with probability 0.35.
(a) What is the probability that the component does not fail the test?
(b) What is the probability that the component works perfectly well (i.e., neither displays strain nor fails the
test)?
(c) What is the probability that the component either fails or shows strain in the test?
(b) P [(A ∪ B)′ ] = 1 − P (A) − P (B) = 1 − 0.55 = 0.45. (∵ A and B are exclusive)
68. Interest centers around the nature of an oven purchased at a particular department store. It can be either a
gas or an electric oven. Consider the decisions made by six distinct customers.
(a) Suppose that the probability is 0.40 that at most two of these individuals purchase an electric oven. What
is the probability that at least three purchase the electric oven?
(b) Suppose it is known that the probability that all six purchase the electric oven is 0.007 while 0.104 is the
probability that all six purchase the gas oven. What is the probability that at least one of each type is
purchased?
Solution: Let X denote the number of customers opting for an electric oven. Then
(a) given P (X ≤ 2) = 0.40. Therefore, P (X ≥ 3) = 1 − P (X ≤ 2) = 1 − 0.40 = 0.60 .
Page 17
Chapter 2 Section 2.6
74. A class in advanced physics is composed of 10 juniors, 30 seniors, and 10 graduate students. The final grades
show that 3 of the juniors, 10 of the seniors, and 5 of the graduate students received an A for the course. If a
student is chosen at random from this class and is found to have earned an A, what is the probability that he
or she is a senior?
Solution: Let A1 , A2 , and A3 denote the events that a randomly selected student is a junior, a senior, or
a graduate respectively. Also let E denote the event that a randomly selected student has received an A
grade.
1 3 1 3 1 1
Given that, P (A1 ) = , P (A2 ) = , P (A3 ) = , and P (E|A1 ) = , P (E|A2 ) = , and P (E|A3 ) = .
5 5 5 10 3 2
Therefore the required probability is
75. A random sample of 200 adults are classified below by sex and their level of education attained. If a person is
picked at random from this group, find the probability that
(a) the person is a male, given that the person has a secondary education;
(b) the person does not have a college degree, given that the person is a female.
Solution: Let E, S, and C denote the events that a randomly selected adult has the education level
Elementary, Secondary, or College respectively. Also let M and F denote the events that a randomly
selected adult is a male, and a female respectively. Therefore,
P (M ∩ S) 28/200 14
(a) P (M |S) = = = .
P (S) 78/200 39
P (C ′ ∩ F ) 95/200 95
(b) P (C ′ |F ) = = = .
P (F ) 112/200 112
77. In the senior year of a high school graduating class of 100 students, 42 studied mathematics, 68 studied
psychology, 54 studied history, 22 studied both mathematics and history, 25 studied both mathematics and
Page 18
Chapter 2 Section 2.6
psychology, 7 studied history but neither mathematics nor psychology, 10 studied all three subjects, and 8 did
not take any of the three. Randomly select a student from the class and find the probabilities of the following
events.
Solution: Suppose M , P , and H denote the events that a randomly selected graduating student have
studied mathematics, psychology, and history respectively. Therefore,
5
P (M ∩ H ∩ P ) 10/100 5 M 15 P
(a) P (M ∩ H|P ) = = = .
P (P ) 68/100 34 10 18
P (M ∩ H ∩ P ′ ) 12/100 3 12 25
(b) P (M ∩ H|P ′ ) = ′
= = .
P (P ) 32/100 8 8
H
100 7
78. A manufacturer of a flu vaccine is concerned about the quality of its flu serum. Batches of serum are processed
by three different departments having rejection rates of 0.10, 0.08, and 0.12, respectively. The inspections by
the three departments are sequential and independent.
(a) What is the probability that a batch of serum survives the first departmental inspection but is rejected
by the second department?
(b) What is the probability that a batch of serum is rejected by the third department?
Solution: Let A, B, and C denote the event that a batch of serum is rejected by the first, second, and
third department respectively. Therefore,
80. The probability that an automobile being filled with gasoline also needs an oil change is 0.25; the probability
that it needs a new oil filter is 0.40; and the probability that both the oil and the filter need changing is 0.14.
(a) If the oil has to be changed, what is the probability that a new oil filter is needed?
(b) If a new oil filter is needed, what is the probability that the oil has to be changed?
Solution: Let A and B denote the events that oil change needed, and oil filter change needed respectively.
Therefore, given that P (A) = 0.25, P (B) = 0.40, and P (A ∩ B) = 0.14. Required probabilities are given
by,
Page 19
Chapter 2 Section 2.6
P (A ∩ B) 0.14
(a) P (B|A) = = = 0.56.
P (A) 0.25
P (A ∩ B) 0.14
(b) P (A|B) = = = 0.35.
P (B) 0.40
85. The probability that a doctor correctly diagnoses a particular illness is 0.7. Given that the doctor makes an
incorrect diagnosis, the probability that the patient files a lawsuit is 0.9. What is the probability that the
doctor makes an incorrect diagnosis and the patient sues?
Solution: Let A and B denote the events that the doctor make a correct diagnosis, and a patient files
a lawsuit respectively. Therefore, from the given data we have, P (A) = 0.7 and P (B|A′ ) = 0.9. The
required probability is
P (A′ ∩ B) = P (B|A′ )P (A′ ) = 0.9(1 − 0.7) = 0.27.
89. A town has two fire engines operating independently. The probability that a specific engine is available when
needed is 0.96.
Solution: Suppose that Ai denote the events that the ith fire engine is available when needed, for i = 1, 2.
Given that P (Ai ) = 0.96, for i = 1, 2. Now, as A1 , A2 are statistically independent, therefore,
(a) P (A′1 ∩ A′2 ) = P (A′1 ) · P (A′2 ) = (1 − 0.96)(1 − 0.96) = 0.0016.
(b) P (A1 ∪ A2 ) = P (A1 ) + P (A2 ) − P (A1 )P (A2 ) = 0.96 + 0.96 − (0.96)2 = 0.96 × 1.04 = 0.9984.
90. Pollution of the rivers in the United States has been a problem for many years. Consider the following events:
Assume P (A) = 0.3, P (B|A) = 0.75, P (B|A′ ) = 0.20, P (C|A ∩ B) = 0.20, P (C|A′ ∩ B) = 0.15, P (C|A ∩ B ′ ) =
0.80, and P (C|A′ ∩ B ′ ) = 0.90.
Page 20
Chapter 2 Section 2.6
P (A ∩ B ′ ∩ C) 0.060 5
P (A|B ′ ∩ C) = = = ≈ 0.1064 .
P (B ′ ∩ C) 0.564 47
91. Find the probability of randomly selecting 4 good quarts of milk in succession from a cooler containing 20
quarts of which 5 have spoiled, by using
(a) the first formula of Theorem 2.12 (i.e. product rule) on page 68;
n n!
(b) the formulas of Theorem 2.6 the formula = on page 50 and Rule 2.3 (the classical
r r!(n − r)!
definition of probability: P (A) = n(A)/n(S) ) on page 54, respectively.
Solution: Given that, 5 out of 20 quarts of milk are spoiled. Therefore, the probability of a randomly
5 1
selected quart to be spoiled is = .
20 4
Suppose that, Si , for i = 1, 2, 3, 4, denote the event that the ith quart of milk is spoiled.
Therefore, the required probability is,
Page 21
Chapter 2 Section 2.6
P (S1′ ∩ S2′ ∩ S3′ ∩ S4′ ) = P (S1′ )P (S2′ |S1′ )P (S3′ |S1′ ∩ S2′ )P (S4′ |S1′ ∩ S2′ ∩ S3′ )
15 14 13 12 91
= × × × = .
20 19 18 17 323
n
(b) by using the formula of and the classical definition,
r
15
4 15! 4! × 16! 15 × 14 × 13 × 12 91
P (S1′ ∩ S2′ ∩ S3′ ∩ S4′ ) = = × = = .
20 4! × 11! 20! 20 × 19 × 18 × 17 323
4
Page 22
Chapter 2 Section 2.7
95. In a certain region of the country it is known from past experience that the probability of selecting an adult
over 40 years of age with cancer is 0.05. If the probability of a doctor correctly diagnosing a person with cancer
as having the disease is 0.78 and the probability of incorrectly diagnosing a person without cancer as having
the disease is 0.06, what is the probability that an adult over 40 years of age is diagnosed as having cancer?
P (B) = P (A)P (B|A) + P (A′ )P (B|A′ ) = 0.05 × 0.78 + 0.95 × 0.06 = 0.039 + 0.057 = 0.096 .
96. Police plan to enforce speed limits by using radar traps at four different locations within the city limits. The
radar traps at each of the locations L1 , L2 , L3 , and L4 will be operated 40%, 30%, 20%, and 30% of the
time. If a person who is speeding on her way to work has probabilities of 0.2, 0.1, 0.5, and 0.2, respectively, of
passing through these locations, what is the probability that she will receive a speeding ticket?
Solution: The person will receive a speeding ticket if she is trapped at at least one of the radars at
locations L1 , L2 , L3 , or L4 . Let us describe the events as
Li : The person is passes by the radar at the ith location, for i = 1, 2, 3, 4.
and B: the person receives a speeding ticket,
then, from given data we have
and
P (B|L1 ) = 0.40, P (B|L2 ) = 0.30, P (B|L3 ) = 0.20, P (B|L4 ) = 0.30.
97. Referring to Exercise 95, what is the probability that a person diagnosed as having cancer actually has the
disease?
Page 23
Chapter 2 Section 2.7
98. If the person in Exercise 96 received a speeding ticket on her way to work, what is the probability that she
passed through the radar trap located at L2 ?
101. A paint-store chain produces and sells latex and semigloss paint. Based on long-range sales, the probability
that a customer will purchase latex paint is 0.75. Of those that purchase latex paint, 60% also purchase rollers.
But only 30% of semigloss paint buyers purchase rollers. A randomly selected buyer purchases a roller and a
can of paint. What is the probability that the paint is latex?
P (A ∩ B) P (A)P (B|A)
P (A|B) = =
P (B) P (A)P (B|A) + P (A′ )P (B|A′ )
0.75 × 0.60 6
= = ≈ 0.857 .
0.75 × 0.60 + 0.25 × 0.30 7
125. A survey of those using a particular statistical software system indicated that 10% were dissatisfied. Half of
those dissatisfied purchased the system from vendor A. It is also known that 20% of those surveyed purchased
from vendor A. Given that the software was purchased from vendor A, what is the probability that that
particular user is dissatisfied?
Solution: Let A be the event that a randomly selected system was purchased from vendor A, and B be
the event that the user of a randomly selected system is dissatisfied. Then from the given data, we have
1
P (A) = 0.20, P (B) = 0.10, and P (A ∩ B) = P (B) = 0.05.
2
Page 24
Chapter 2 Section 2.7
P (A ∩ B) 0.05
P (B|A) = = = 0.25 .
P (A) 0.20
127. There is a 50-50 chance that the queen carries the gene of hemophilia. If she is a carrier, then each prince
has a 50-50 chance of having hemophilia independently. If the queen is not a carrier, the prince will not have
the disease. Suppose the queen has had three princes without the disease. What is the probability the queen
is a carrier?
Solution: Let A be the event that the queen is a carrier, and Bi be the event that the ith prince has
hemophilia, for i = 1, 2, 3. Then from the given data, we have
1 1
P (A) = , P (Bi |A) = , and P (Bi |A′ ) = 0 for i = 1, 2, 3.
2 2
3
1 1
Also given that A ∩ B1 , A ∩ B2 , A ∩ B3 are independent, i.e., P (A ∩ B1 ∩ B2 ∩ B3 ) = = . Again
4 64
1
P (B1 ∩ B2 ∩ B3 ) = . Therefore, the required probability is
8
1/64 1
P (A|B1′ ∩ B2′ ∩ B3′ ) = = .
1/8 8
Page 25
Chapter 3 Section 3.3
3. Let W be a random variable giving the number of heads minus the number of tails in three tosses of a coin.
List the elements of the sample space S for the three tosses of the coin and to each sample point assign a value
w of W .
4. A coin is flipped until 3 heads in succession occur. List only those elements of the sample space that require
6 or less tosses. Is this a discrete sample space? Explain.
Solution: Let A denote the event that 3 heads in succession occur in at most six tosses. Therefore,
5. Determine the value c so that each of the following functions can serve as a probability distribution of the
discrete random variable X:
(a) f (x) = c(x2 + 4), for x = 0, 1, 2, 3;
(b) f (x) = c x2 3−x
3
, for x = 0, 1, 2.
Solution:
3
X 1
(a) c(x2 + 4) = 1 =⇒ c(4 + 5 + 8 + 13) = 1 =⇒ c = .
30
x=0
2
X 2 3 1
(b) c = 1 =⇒ c(1 + 6 + 3) = 1 =⇒ c = .
x 3−x 10
x=0
Page 26
Chapter 3 Section 3.3
6. The shelf life, in days, for bottles of a certain prescribed medicine is a random variable having the density
function
10, 000
3
, x > 0,
f (x) = (x + 100)
0,
elsewhere.
Find the probability that a bottle of this medicine will have a shell life of
(a) at least 200 days;
(b) anywhere from 80 to 120 days.
Solution: Here, X = shelf life, in days, for bottles of a certain prescribed medicine;
Z ∞ ∞
10000 1 10000 1
(a) P (X ≥ 200) = 3
dx = 10000 − 2
= = .
200 (x + 100) 2(x + 100) 200 180000 18
Z 120 120
10000 10000 1 1
(b) P (80 ≤ X ≤ 120) = dx = − = 5000 × −
80 (x + 100)3 2(x + 100)2 80 1802 2202
400 × 40 5 × 100 × 1 500
= 5000 × = = .
182 2
× 22 × 10000 2
9 × 112 9801
7. The total number of hours, measured in units of 100 hours, that a family runs a vacuum cleaner over a period
of one year is a continuous random variable X that has the density function
x, 0 < x < 1,
f (x) = 2 − x, 1 ≤ x < 2,
1, x ≥ 2.
Find the probability that over a period of one year, a family runs their vacuum cleaner
(a) less than 120 hours;
(b) between 50 and 100 hours.
Solution: So here X is the units of 100 hours a vacuum cleaner has run over a period of one year. Then,
the required probabilities are
Z 1.2 1 1.2 1 1.2
x2 x2
Z Z
(a) P (X < 1.2) = f (x)dx = xdx + (2 − x)dx = + 2x −
−∞ 0 1 2 0 2 1
= 0.5 + 0.4 − 0.22 = 0.68.
Z 1 2 1
x 3
(b) P (0.5 < X < 1) = xdx = = .
0.5 2 0.5 8
9. The proportion of people who respond to a certain mail-order solicitation is a continuous random variable X
that has the density function
2(x + 2) , 0 < x < 1,
f (x) = 5
0,
elsewhere.
Page 27
Chapter 3 Section 3.3
Solution:
1 1
2 (x + 2)2
2 9−4
Z
2
(a) LHS = P (0 < X < 1) = (x + 2)dx = = × = 1 = RHS.
0 5 5 2 0 5 2
0.5
2 1/2
4.75 × 0.25
Z
1 1 1 2
(b) P <X< = (x + 2)dx = (x + 2) = = 0.2375 .
4 2 5 1/4 5 0.25 5
10. Find a formula for the probability distribution of the random variable X representing the outcome when a
single die is rolled once.
Solution: Assuming the die is fair, the probability distribution of the random variable X is given by the
pmf 1
, x = 1, 2, 3, 4, 5, 6.
f (x) = 6
0, elsewhere.
11. A shipment of 7 television sets contains 2 defective sets. A hotel makes a random purchase of 3 of the sets. If
x is the number of defective sets purchased by the hotel, find the probability distribution of X. Express the
results graphically as a probability histogram.
2
Solution: The probability that a randomly selected TV from the shipment is defective is . Suppose X
7
is the number of defective sets purchased by the hotel. Therefore,
2 5
0 3 10 2
= = , x = 0, f (x)
7
35 7
3
2 5 histogram
1 2 20 4
P (X = x) = = = , x = 1,
7 35 7
3
2 5
2 1 5 1 x
= = , x = 2. 0 1 2
7 35 7
3
12. An investment firm offers its customers municipal bonds that mature after varying numbers of years. Given
that the cumulative distribution function of T , the number of years to maturity for a randomly selected bond,
Page 28
Chapter 3 Section 3.3
is
find
0, t < 1,
(a) P (T = 5);
1/4, 1 ≤ t < 3,
F (t) = 1/2, (b) P (T > 3);
3 ≤ t < 5,
3/4, 5 ≤ t < 7, (c) P (1.4 < T < 6);
t ≥ 7.
1,
(d) P (T ≤ 5|T ≥ 2).
Solution:
14. The waiting time, in hours, between successive speeders spotted by a radar unit is a continuous random variable
with cumulative distribution function
0, x < 0,
F (x) =
1 − e−8x , x ≥ 0.
Find the probability of waiting less than 12 minutes between successive speeders
Page 29
Chapter 3 Section 3.3
Solution:
1
2 3/2 1 2
Z 1
√ √
Z
1 3
(a) 1 = k xdx =⇒ = xdx = x = =⇒ k = .
0 k 0 3 0 3 2
3 x√ 3 2 3/2 x
Z
(b) F (x) = tdt = t = x3/2 , 0 < x < 1. Therefore,
2 0 2 3 0
23. Let W be a random variable giving the number of heads minus the number of tails in three tosses of a coin
assuming that the coin is biased so that a head is twice as likely to occur as a tail. Find the cumulative
distribution function of the random variable W . Using F (w), find
(a) P (W > 0);
(b) P (−1 ≤ W < 3).
2 1
Solution: Given that, P (H) = , and P (T ) = . Therefore, the probability distribution of W is given
3 3
by
w -3 -1 1 3
1 6 12 8
f (w)
27 27 27 27
20
(a) P (W > 0) = .
27
18 2
(b) P (−1 ≤ W < 3) = = .
27 3
27. The time to failure in hours of an important piece of electronic equipment used in a manufactured DVD player
has the density function 1
exp(−x/2000), x ≥ 0,
f (x) = 2000
0, x < 0.
Solution:
Z x Z x/2000
1
(a) F (x) = P (X ≤ x) = exp(−t/2000)dt = exp(−y)dy (taking y = t/2000)
0 2000 0
x/2000
= −e −y = 1 − exp(−x/2000), 0 < x < ∞.
0
Page 30
Chapter 3 Section 3.3
29. An important factor in solid missile fuel is the particle size distribution. Significant problems occur if the
particle sizes are too large. From production data in the past, it has been determined that the particle size
(in micrometers) distribution is characterized by
3x−4 , x > 1,
f (x) =
0, elsewhere.
Solution:
Z ∞ ∞ Z ∞
−4 −3
(a) 3x dx = − x = 1. Therefore, f (x) ≥ 0 and f (x)dx = 1.
1 1 −∞
Thus f (x) is indeed a valid density function.
Z x x
−4 −3 1
(b) F (x) = P (X ≤ x) = 3t dt = − t = 1 − 3.
1 1 x
(c) Required probability is
1 1
P (X > 4) = 1 − P (X ≤ 4) = 1 − F (4) = = .
43 64
30. Measurements of scientific systems are always subject to variation, some more than others. There are many
structures for measurement error, and statisticians spend a great deal of time modeling these errors. Suppose
the measurement error X of a certain physical quantity is decided by the density function
k(3 − x2 ), −1 ≤ x ≤ 1,
f (x) =
0, elsewhere.
Page 31
Chapter 3 Section 3.3
Z 1
Solution: f (x) is a valid density function if f (x) ≥ 0 for −1 ≤ x ≤ 1 and f (x)dx = 1. Thus, we must
−1
have, k > 0, and
1 1 1
x3
Z Z
2 1 2 16 3
(a) k(3 − x )dx = 1 =⇒ =2 (3 − x )dx = 2 3x − = =⇒ k = .
−1 k 0 3 0 3 16
(b) Now the f (x) is symmetric about x = 0. Therefore, the required probability is
Z 1/2 Z 1/2
3 1 3 1 3 3 1 99
P (X < 0.5) = (3 − x2 )dx = + (3 − x2 )dx = + − = .
16 −1 2 16 0 2 16 2 24 128
33. Suppose a certain type of small data processing firm is so specialized that some have difficulty making a profit
in their first year of operation. The probability density function that characterizes the proportion Y that make
a profit is given by
ky 4 (1 − y)3 , 0 ≤ y ≤ 1,
f (y) =
0, elsewhere.
(a) What is the value of k that renders the above a valid density function?
(b) Find the probability that at most 50% of the firms make a profit in the first year.
(c) Find the probability that at least 80% of the firms make a profit in the first year.
Z 1
Solution: f (y) is a valid density function if f (y) ≥ 0 for 0 ≤ y ≤ 1 and f (y)dy = 1. Thus, we must
0
have, k > 0, and
Z 1 Z 1 Z 1
4 3 1 4 3
y 4 − 3y 5 + 3y 6 − y 7 dy
(a) ky (1 − y) dy = 1 =⇒ = y (1 − y) dy =
0 k 0 0
1 1 3 3 1 22 5 176 − 175 1
=⇒ = − + − = − = = . Therefore, k = 280.
k 5 6 7 8 35 8 280 280
(b) Required probability is
Z 1/2 1/2
1 5 3 6 3 7 1 8 93
P (Y ≤ 0.50) = y 4 (1 − y)3 dy = y − y + y − y = ≈ 0.0013.
0 5 6 7 8 0 71680
Page 32
Chapter 3 Section 3.3
35. Suppose it is known from large amounts of historical data that X, the number of cars that arrive at a specific
intersection during a 20-second time period, is characterized by the following discrete probability function:
6x
f (x) = e−6 , for x = 0, 1, 2, . . . .
x!
(a) Find the probability that in a specific 20-second time period, more than 8 cars arrive at the intersection.
(b) Find the probability that only 2 cars arrive.
Solution:
Page 33
Chapter 3 Section 3.4
f (x, y) 0 1 2 3
2
X 1 2 3 6
(a) P (X ≤ 2, Y = 1) = f (x, 1) = + + = = 0.20.
30 30 30 30
x=0
7
(b) P (X > 2, Y ≤ 1) = f (3, 0) + f (3, 1) = .
30
18 3
(c) P (X > Y ) = f (1, 0) + f (2, 0) + f (3, 0) + f (2, 1) + f (3, 1) + f (3, 2) = = .
30 5
4
(d) P (X + Y = 4) = P (3, 1) + P (2, 2) = .
15
42. Let X and Y denote the lengths of life, in years, of two components in an electronic system. If the joint density
function of these variables is
e−(x+y) , x > 0, y > 0
f (x, y) =
0, elsewhere,
find P (0 < X < 1|Y = 2).
Page 34
Chapter 3 Section 3.4
43. Let X denote the diameter of an armored electric cable and Y denote the diameter of the ceramic mold that
makes the cable. Both X and Y are scaled so that they range between 0 and 1. Suppose that X and Y have
the joint density
1
, 0 < x < y < 1,
f (x, y) = y
0,
elsewhere,
y
= 2− dy + y = 0.5
=
2y 2
x
y=1/4 y = 0.25
1 1 1 1
= − ln 2 + = 1 − ln 2 . x=1
2 2 2 2
44. Each rear tire on an experimental airplane is supposed to be filled to a pressure of 40 pounds per square inch
(psi). Let X denote the actual air pressure for the right tire and Y denote the actual air pressure for the left
tire. Suppose that X and Y are random variables with the joint density function
k(x2 + y 2 ), 30 ≤ x < 50, 30 ≤ y < 50
f (x, y) =
0, elsewhere,
(a) Find k.
(b) Find P (30 ≤ X ≤ 40 and 40 ≤ Y < 50).
(c) Find the probability that both tires are underfilled.
Solution:
(a) From the properties of a density function we have,
50 Z 50 50 50 50
y3
Z Z Z
2 2 1 2 298000
k(x + y )dydx = 1 =⇒ = x y+ dx = 20x + dx
30 30 k 30 3 30 30 3
20 3 98000 50 20
1 98000
=⇒ = x + x = × 98000 + × 20
k 3 3 30 3 3
1 1960000 3
=⇒ = =⇒ k = .
k 3 1960000
Page 35
Chapter 3 Section 3.4
(c) Tire is underfilled if the pressure is below 40 psi. Therefore, the required probability is,
Z 40 Z 40
3
P (30 ≤ X ≤ 40, 30 ≤ Y < 40) = (x2 + y 2 )dydx
1960000 30 30
Z 40
3 2 37000
= 10x + dx
1960000 30 3
3 370000 370000 37
= + = .
1960000 3 3 98
49. Let X denote the number of times a certain numerical control machine will malfunction: 1, 2, or 3 times on
any given day. Let Y denote the number of times a technician is called on an emergency call. Their joint
probability distribution is given as
x
f (x, y)
1 2 3
1 0.05 0.05 0.10
y 3 0.05 0.10 0.35
5 0.00 0.20 0.10
Solution:
(a) The marginal distribution of X is given by (b) The marginal distribution of Y is given by
0.10, if x = 1
0.2, if y = 1
0.35,
if x = 2 0.5, if y = 3
g(x) = h(y) =
0.55, if x = 3
0.3, if y = 5
0,
otherwise. 0,
otherwise.
Page 36
Chapter 3 Section 3.4
50. Suppose that X and Y have the following joint probability distribution:
x
f (x, y)
2 4
1 0.10 0.15
y 3 0.20 0.30
5 0.10 0.15
Solution:
(a) The marginal distribution of X is given by (b) The marginal distribution of Y is given by
0.40, if x = 2
g(x) = 0.60, if x = 4
0.25, if y = 1
0.50,
if y = 3
0, otherwise.
h(y) =
(Recall that, column sums of the above table
0.25, if y = 5
give the marginal distribution of X.) 0,
otherwise.
and
1
−
y = 0.5
x
Z 1−y
h(y) = 6xdx = 3(1 − y)2 , for 0 < y < 1,
0
(0,0) (1,0)
and thus X and Y are not independent.
Page 37
Chapter 3 Section 3.4
Page 38
Chapter 4 Section 4.0
4 Mathematical Expectation
1. Solution:
Page 39