111 Math Midterm PDF
111 Math Midterm PDF
111 Math Midterm PDF
g
k Q@ Q@ <@ .
Midterm 1 - Solution
Name (Printed)
Section
Student ID
Your Signature
Total Points
Exercise 1
Exercise 2
Exercise 3
Total
20
Score
gQ@
<@
k Q@
.
Instructions.
Your exam should contain 5 Pages total and 3 Exercises . Please check your test for
completeness.
Read instructions for each problem Carefully.
NO book, NO notes but you may use a calculator which does not graph and which is not
programmable.
Show all your work to get full credit. You must explain how you get your answers using
techniques developed in this class so far. Answer with no supporting work, obtained by guessand-check, or via other methods will result in little or no credit, even correct.
Place a box around Your Final Answer to each question.
Answer the equation in the space provided on the question sheets. If you need more room
(space), use the backs of the pages and indicate to the reader that you have done so.
If you are not sure what a question means, raise your hand and ask me.
Check your work!
Exercise 1 (5 Marks)
If S = {x|0 < x < 12}, M = {x|1 < x < 9} and N = {x|0 < x < 5}, find
1. M N
Solution: Since we have
M = (1, 9)
and
N = (0, 5) .
Then, we get
M N = (0, 9) = {x|0 < x < 9} .
2. M N
Solution: We have
M N = (0, 9) .
3. M c N c
Solution: Since the universal set is S = (0, 12), then we have
M = (0, 1] [9, 12)
and
N = (0, 5) .
Exercise 2 (8 Marks)
How many different linear arrangements are there of the letters A, B, C, D, E, F for
which
1. A and B are next to each other;
2. A is before B;
5. A and B are next to each other and C and D are also next to each other;
Exercise 3 (7 Marks)
A president, treasurer, and secretary, all different, are to be chosen from a club consisting
of 10 people, denoted by A, B, C, D, E, F , G, H, I and J, respectively. How many different
choices of officers are possible if
1. there are no restrictions;
4. E must be an officer;
. <@ ZA @
J
JAK.
Good Luck!
Solutions - Midterm 2
Instructors: Dr. A. Grine and Dr. A. Ben Ghorbal
Sections: 170, 171, 172, 173
Total Marks
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Total
20
Score
Exercise 1 (6 Marks)
Suppose that A, B and C are independent events in an experiment with P (A) = 0.3,
P (B) = 0.5 and P (C) = 0.8. Express each of the following events in set and find its the
probability
1. None of the three events occurs.
P (Ac ) P (B c ) P (C c )
[1 P (A)] [1 P (B)] [1 P (C)]
(1 0.3) (1 0.5) (1 0.8)
0.7 0.5 0.2 = 0.07
Exercise 2 (7 Marks)
A supermarket in Riyadh buys its eggs from three different chicken ranches. They buy 1/3
of their eggs from EggsR Us, 1/2 of their eggs from Al Mazraah, and 1/6 of their eggs from
Cheap Eggs. The supermarket determines that 1% = 0.01 of the eggs from EggsR Us are
cracked, 2% = 0.02 of the eggs from the Al Mazraah are cracked, and 5% = 0.05 of the eggs
from Cheap Eggs are cracked. What is the probability that an egg chosen at random is from
Cheap Eggs, given that the egg is cracked?
Solution: We have the following tree diagram
We have
P (cracked)
= P (cracked | EggsR Us) P (EggsR Us) + P (cracked | Al Mazraah) P (Al Mazraah)
+P (cracked | Cheap Eggs) P (Cheap Eggs)
1
1
1
2
1
5
=
+
+
3 100 2 100 6 100
13
=
600
and so,
P (Cheap Eggs cracked)
P (Cheap Eggs | cracked) =
P (cracked)
P (cracked | Cheap Eggs) P (Cheap Eggs)
=
P (cracked)
1
5
= 10013 6
600
5
=
13
6
Exercise 3 (6 Marks)
Let X be a random variable with probability density function
c
for 0 < x < 1
x
fX (x) =
0
otherwise
1. Find the value of the constant c.
Solution: Since fX is the probability density function of a given random variable then
we need to choose c such that the sum of probability distribution function is equal to 1, i.e.
Z +
fX (x)dx = 1
0
and so we have
2c = 1 = c =
1
= 0.5.
2
Therefore, the continuous random variable X has the probability density function
1
for 0 < x < 1
2 x
fX (x) =
0
otherwise
fX (t)dt
fX (t)dt +
fX (t)dt
= 0+
1
dt
2 t
h ix
t = x
fX (t)dt
fX (t)dt +
= 0+
fX (t)dt +
fX (t)dt
1
dt + 0
2 t
= 1
Therefore, the continuous random variable X has the cumulative distribution function
0
for x 6 0
x for 0 < x < 1
FX (x) =
1
for x > 1
3. Find P
1
3
1
2
<X <
,P X=
and P X >
.
2
4
8
5
Solution: We have
3
3
1
1
<X<
= P X6
P X 6
P
2
4
4
2
3
1
= F
F
4
2
r
r
3
1
=
4
2
3 2
=
2
Since X is a continuous random variable
1
P X=
=0
8
By using the same arguments as above we get
2
2
P X>
= 1P X 6
5
5
2
= 1F
5
r
2
= 1
5
5 2
=
5
Solution: Using the definition of the the expectation of a given continuous random
variable we get
Z +
E[X] =
xfX (x)dx
Z 0
Z 1
Z
=
xfX (x)dx +
xfX (x)dx +
xfX (x)dx
0
0
Z 1
1
= 0+
x dx + 0
2 x
0
Z 1
1
=
xdx
2 0
" 3 #1
1
x2
=
1
2 2 +1
0
1
=
3
Now using the definition of the variance we get
Var[X] = E X 2 (E[X])2
2
Z +
1
2
=
x fX (x)dx
3
Z 0
Z 1
Z
1
2
2
=
x fX (x)dx +
x fX (x)dx +
x2 fX (x)dx
9
0
0
Z 1
1
= 0+
x2 dx + 0
2 x
0
Z 1
3
1
1
=
x 2 dx
2 0
9
" 5 #1
1
x2
1
=
3
2 2 +1
9
0
1 1
=
5 9
95
4
=
=
45
45
Therefore,
Y =
Var[X] =
10
4
2
=
45
3 5
Exercise 4 (4 Marks)
Let X be a random variable defined as follows. An urn contains three balls numbered 1, 2
and 3. A fair coin is flipped; if the coin comes up heads, a ball is drawn from the urn and X
is the number on the ball; if the coin comes up tails two balls are drawn without replacement
from the urn and X is the sum of the numbers on the balls.
1. Compute the probability mass function.
P ({s})
X(s)
H, 1
1/6
H, 2
1/6
H, 3
1/6
T , 1, 2
1/12
T , 1, 3
1/12
T , 2, 1
1/12
T , 2, 3
1/12
T , 3, 1
1/12
T , 3, 2
1/12
fX (x) = P (X = x)
1
6
1
6
1
1
1
1
+
+
=
6 12 12
3
1
1
1
+
=
12 12
6
1
1
1
+
=
12 12
6
11
Solution: Using the definition of the expectation of a discrete random variable we get
E[X] = 1
1
1
1
1
1
+2 +3 +4 +5 =3
6
6
3
6
6
1
1
1
1
1
+ 22 + 32 + 42 + 52
6
6
3
6
6
1 + 4 + 18 + 16 + 25
6
64
32
=
6
6
Therefore,
Var[X] = E X 2 (E [X])2
=
32
32
3
5
32 27
=
3
3
12
Solution Midterm 2
Total Points
Exercise 1
Exercise 2
Exercise 3
Total
20
Score
Solution: If we assume that all 5 dice are distinguishable (as suggested) then there are
N = 65 = 7776 possible Yahtzee hands. If all 5 dice are to have different values then there
are 6 ways we can select the first number, 5 ways to select the second, 4 ways to select the
third, 3 ways to select the fourth and 2 ways to select the fifth distinct number. Thus there
are
n = 6 5 4 3 2 = 6! = 720
possible hands with all 5 numbers being distinct and so
P (5distinct) =
720
= 0.0926.
7776
Solution: To get a single pair, we first select what number the pair will be. There
are
5
6 ways to do this. Now we decide on which 2 dice the will pair appear. There are
2
ways to select the dice. Finally we need to select the numbers on the three remaining dice.
There are 543 ways to do that.
5
n=6
5 4 3 = 6 10 5 4 3 = 3600
2
The required probability is then
P (one pair) =
3600
= 0.4630.
7776
Solution:
4 = 15 10 3 4 = 1800
2
2
2
The probability of two pairs is then
P (two pairs) =
1800
= 0.2315.
7776
Solution:
300
= 0.0386.
7776
Exercise 2 (8 Marks)
Suppose that the probability of exposure to the flu virus during flu season is 0.4 = 40%.
People can get a flu vaccine which prevents the vaccinated person getting the flu, if exposed, in
0.75 = 75% of cases. People who are not vaccinated get the flu 0.8 = 80% of the time if they
are exposed to the virus. It is impossible for a person to get the flu if they are not exposed to
the virus. Suppose that two friends, Scott and Kevin spend flu season in different places and
are not in physical contact with the same people. Scott received the flu vaccine but Kevin did
not.
1. What is the probability that exactly one of these two will get the flu?
Solution: Let
A1 be the event that Scott is exposed to the flu virus,
B1 that Scott gets the flu and
C1 the event that Scott gets the vaccine.
Similarly define A2 , B2 and C2 for Kevin;
A2 be the event that Kevin is exposed to the flu virus,
B2 that Kevin gets the flu and
C2 the event that Kevin gets the vaccine.
The information in the question tells us that
P (Ai ) = 0.4 for i = 1, 2
P (Bic | Ai Ci ) = 0.75 for i = 1, 2
P (Bi | Ai Cic ) = 0.8 for i = 1, 2
Note that a person cannot get the flu unless exposed so
P (Bi |Aci ) = 0 for i = 1, 2.
Another way of putting this is that Bi Ai . Since the two friends are not in contact with
each other or the same people we can also assume that the events for Scott are independent
of those for Kevin. We wish to find
P ((B1 B2c ) (B1c B2 ) | C1 C2c ) .
Since the two events are mutually exclusive we can write
P ((B1 B2c ) (B1c B2 ) | C1 C2c ) = P (B1 B2c |C1 C2c ) + P (B1c B2 |C1 C2c ) .
Furthermore due to the independence of the events we can write
P (B1 B2c |C1 C2c ) = P (B1 |C1 ) P (B2c |C2c )
P (B1c B2 |C1 C2c ) = P (B1c B2 |C1 ) P (B2 |C2c )
Hence we have
P (Exactly one gets the flu) = 0.1 0.68 + 0.9 0.32 = 0.356
2. If exactly one of them does get the flu, what is the probability it is Kevin?
Solution: We have
=
=
=
=
Exercise 3 (7 Marks)
A supermarket in Riyadh buys its eggs from three different chicken ranches. They buy 1/3
of their eggs from EggsR Us, 1/2 of their eggs from Al Mazraah, and 1/6 of their eggs from
Cheap Eggs. The supermarket determines that 1% = 0.01 of the eggs from EggsR Us are
cracked, 2% = 0.02 of the eggs from the Al Mazraah are cracked, and 5% = 0.05 of the eggs
from Cheap Eggs are cracked. What is the probability that an egg chosen at random is from
Cheap Eggs, given that the egg is cracked?
Solution: We have the following tree diagram
We have
P (cracked)
= P (cracked | EggsR Us) P (EggsR Us) + P (cracked | Al Mazraah) P (Al Mazraah)
+P (cracked | Cheap Eggs) P (Cheap Eggs)
1
1
1
2
1
5
=
+
+
3 100 2 100 6 100
13
=
600
and so,
P (Cheap Eggs cracked)
P (Cheap Eggs | cracked) =
P (cracked)
P (cracked | Cheap Eggs) P (Cheap Eggs)
=
P (cracked)
5
1
= 10013 6
5
=
13
600
Exercise 4 (7 Marks)
A discrete random variable, Y , has probability mass function (p.m.f.)
fY (y) = P (Y = y) = c (y 3)
for y = 2, 1, 0, 1, 2.
fY (y)
25c
16c
9c
4c
We need to choose c such that the sum of the probability mass function is equal to 1. The
sum of the probability mass function is
2
X
P (Y = y) = 55c
y=2
and so we have
55c = 1 = c =
1
0.0182.
55
Therefore, the discrete random variable, Y , has probability mass function (p.m.f.)
fY (y) = P (Y = y) =
1
(y 3)
55
for y = 2, 1, 0, 1, 2.
Solution: First we will write the probability mass function with the appropriate value of
c.
y
fY (y)
25
55
16
55
9
55
4
55
1
55
25
55
41
55
F (y) =
50
55
54
55
1
function
for y < 2
for 2 6 y < 1
for 1 6 y < 0
for 0 6 y < 1
for 1 6 y < 2
for y > 2
E[Y ] = (2)
Var(Y ) = E (Y E[Y ])2 = E Y 2 (E[Y ])2
where
25
16
9
4
1
E Y 2 = (2)2
+ (1)2 + 02
+ 12
+ 22
55
55
55
55
55
25
16
9
4
1
= 4
+1 +0
+1
+4
55
55
55
55
55
100 + 16 + 0 + 4 + 4
=
55
124
=
2.2545
55
Exercise 5 (7 Marks)
Let X be a random variable with probability density function
c
for 0 < x < 1
x
fX (x) =
0
otherwise
1. Give the cumulative distribution function of X.
10
2. Find P
1
3
1
2
<X<
,P X=
and P X >
.
2
4
8
5
11
12
SEMESTER: FIRST
YEAR:
1428/1429
COURSE:
Math 301
DATE:
25/10/1428
DURATION: 2 HOURS
Midterm 1 - SOLUTION
Instructor: Dr. A. S. Ben Ghorbal
SEC T IO N S: 171 - 174
Name ______________________________
Section _____
Student ID_______________
05
EXER C ISE 2
03
EXER C ISE 3
04
EXER C ISE 4
04
EXER C ISE 5
04
TOTAL
20
SCOR E
Page 1 of 8
SEMESTER: FIRST
YEAR:
1428/1429
COURSE:
Math 301
DATE:
25/10/1428
DURATION: 2 HOURS
Midterm 1
Instructor: Dr. A. Ben Ghorbal
SEC T IO N S: 171 - 174
Instructions:
Your exam should contain 08 Pages total (including the first page) and 5 Exercises
Please check your test for completeness.
Read instructions for each problem carefully.
NO book, NO notes but you may use a calculator which does not graph and which is
not programmable.
Show all your work to get full credit. You must explain how you get your answers
using techniques developed in this class so far. Answer with no supporting work,
obtained by guess-and-check, or via other methods will result in little or no credit,
even correct.
Place a box around Your Final Answer to each question.
Answer the equation in the space provided on the question sheets. If you need more
room (space), use the backs of the pages and indicate to the reader that you have
done so.
If you are not sure what a question means, raise your hand and ask me.
Check your work!
Good Luck!
Dr. A. S. BEN GHORBAL
Page 2 of 8
EXERCISE 1.
Page 3 of 8
EXERCISE 2.
Page 4 of 8
5. Which of the following is used as a divisor in the sample variance s 2 , where n is the
sample size?
A. n+1
B. n
C. n-1
D. n-2
ANSWER: C
6. Given that n 10,
A. 7.012
B. 6.704
C. 7.067
D. None of the above answers is correct
ANSWER: C
Page 5 of 8
EXERCISE 3.
.41
.55
.35
.46
.42
.58
.36
.46
.42
.62
.36
.47
.42
.66
.37
.48
.42
.66
.38
.48
.42
.67
.40
.48
.43
.68
.40
.51
.44
.75
.40
.54
Construct a stem-and-leaf display using repeated stems and comment on any interesting
features of the display.
ANSWER:
By reordering the data we get the following data table
.31
.41
.45
.54
.35
.41
.46
.55
.36
.42
.46
.58
.36
.42
.47
.62
.37
.42
.48
.66
.38
.42
.48
.66
.40
.42
.48
.67
.40
.43
.51
.68
.40
.44
.54
.75
Using the normal stem-and Leaf where leaf is hundredths and stem is
tenths
3
1 5 6 6 7 8
4L
0 0 0 1 1 2 2 2 2 2 3 4 5 6 6 7 8 8 8
5L
1 4 4 5 8
6L
2 6 6 7 8
7H 5
Another method of denoting the pairs of stems having equal values is
to denote the stem by L, for low and the second stem by H, for
high. Using this notation, the stem-and-leaf display would appear
as follows:
3L
1
stem: tenths
3H
56678
leaf: hundredths
4L
000112222234
4H
5L
144
5H
58
6L
2
6H
6678
7L
7H 5
The stem-and-leaf display on the previous page shows that .45 is a good
representative value for the data. In addition, the display is not
symmetric and appears to be positively skewed. The spread of the data
is .75 - .31 = .44, which is .44/.45 = .978 or about 98% of the typical
value of .45. This constitutes a reasonably large amount of variation
in the data. The data value .75 is a possible outlier.
Dr. A. S. BEN GHORBAL
Page 6 of 8
EXERCISE 4.
relative frequency for a particular class interval are the sum of frequencies and relative
frequencies, respectively, for that interval and all intervals lying below it. Compute the
cumulative frequencies and cumulative relative frequencies for the following data:
75
89
80
93
64
67
72
70
66
85
89
81
81
71
74
82
85
63
72
81
81
95
84
81
80
70
69
66
60
83
85
98
84
68
90
82
69
72
87
88
ANSWER:
Cumulative
Frequency
Cumulative
Relative
Frequency
Class
Frequency
Relative
Frequency
60 under 65
.075
.075
65 under 70
.15
.225
70 under 75
.175
16
.40
75 under 80
.025
17
.425
80 under 85
12
.30
29
.725
85 under 90
.175
36
.90
90 under 95
.05
38
.95
95 under 100
.05
40
1.0
Page 7 of 8
EXERCISE 5.
4.4 33.1 66.7 81.5 22.2 40.4 16.4 73.7 36.6 109.9
ANSWER:
a. The sum of the n = 11 data points is 514.90, so
514.90/11 = 46.81.
Q1?
c.
Q2?
The second quartile Q2 is equal to the median
Q2 = 36.6.
Q3?
The position of the upper quartile Q2 is
0.75(n + 1) = 0.75(11 + 1) = 0.7512 = 9.
Then the lower is the 9th value and is equal to 73.7.
IQR?
Page 8 of 8
SOLUTIONS MIDTERM 1
SEMESTER: SECOND
YEAR: 1429/1430
DURATION: 2 HOURS
TOTAL MARKS
IMAMU
EXERCISE 1
06.00
EXERCISE 2
03.00
EXERCISE 3
04.00
EXERCISE 4
03.00
EXERCISE 5
04.00
EXERCISE 6
03.00
TOTAL
23.00
SCORE
Page 1 of 11
EXERCISE 1.
(6 MARKS)
A sample of 36 mice was used to investigate the use of iron in Fe+ form as a
dietary supplement. The iron was given orally and was radioactively labeled
so that the exact percentage of iron retained could be measured accurately.
The measurements were
7.6 1.2 4.9 5.7 13.0 1.0 3.4 0.2 10.8 1.0 2.4
12.3 0.7 1.1 0.7
0.9 6.5 1.6 4.0 29.1 0.2 0.1
9.2 11.9 0.3 14.4
1.8 9.9 3.4 3.8
9.9 4.1 4.1
24.0 21.0 11.9
1) Find the mean, variance and standard deviation of this data.
SOLUTIONS: We have
xi - x
7.60
1.20
4.90
5.70
13.00
1.00
3.40
0.20
10.80
1.00
2.40
12.30
0.70
1.10
0.70
0.90
6.50
0.10
0.20
0.20
0.30
0.70
0.70
0.90
1.00
1.00
1.10
1.20
1.60
1.80
2.40
3.40
3.40
3.80
-6.51
-6.41
-6.41
-6.31
-5.91
-5.91
-5.71
-5.61
-5.61
-5.51
-5.41
-5.01
-4.81
-4.21
-3.21
-3.21
-2.81
42.38
41.09
41.09
39.82
34.93
34.93
32.60
31.47
31.47
30.36
29.27
25.10
23.14
17.72
10.30
10.30
7.90
4.00
-2.61
6.81
xi
1.60
xi - x
continued
xi
xi
xi - x
( x - x)
4.00
29.10
0.20
0.10
9.20
11.90
0.30
14.40
1.80
9.90
3.40
3.80
9.90
4.10
4.10
24.00
21.00
11.90
4.10
4.10
4.90
5.70
6.50
7.60
9.20
9.90
9.90
10.80
11.90
11.90
12.30
13.00
14.40
21.00
24.00
29.10
-2.51
-2.51
-1.71
-0.91
-0.11
0.99
2.59
3.29
3.29
4.19
5.29
5.29
5.69
6.39
7.79
14.39
17.39
22.49
6.30
6.30
2.92
0.83
0.01
0.98
6.71
10.82
10.82
17.56
27.98
27.98
32.38
40.83
60.68
207.07
302.41
505.80
xi
So we get
Mean: x = 6.61
0.50
0.50
Page 2 of 11
2)
SOLUTIONS:
1st METHOD: We have
1.50
0 000000011111123334444567999
1 011234
2 149
Since the data is so skewed, a sensible approach is to round to the nearest
whole number, and draw a double stem-leaf plot, the first value corresponds
to leaf values of 0-4, and the second values corresponds to values of 5-9
0 000000011111123334444
0 567999
1 011234
1
2 14
2 9
2nd METHOD: We have (Note: the first four zeroes correspond to the
values 0.1, 0.2, 0.2 and 0.3;
1.50
the 0.7 is represented as a 1.)
0 0000111111122233444456789
1 00122234
2 149
Since the data is so skewed, a sensible approach is to round to the nearest
whole number, and draw a double stem-leaf plot, the first value corresponds
to leaf values of 0-4, and the second values corresponds to values of 5-9
0 00001111111222334444
0 56789
1 00122234
1
2 14
2 9
IMAMU
Page 3 of 11
the data at 18th and 19th positions (after arranging the data in the increasing
way!)
4.00 + 4.10
= 4.05
2
0.25
Q1 =
1.00 + 1.10
= 1.05
2
0.25
Q3 =
4)
0.50
Q2 = 4.05
n + 1 37
=
= 9.25 ) so
4
4
9.90 + 10.80
= 10.35
2
3 ( n + 1)
= 27.75 ) so
4
0.50
Find IQR
SOLUTIONS: We have
1.50
There are 3 outliers (21.00, 24.00, and 29.10) in the data set.
IMAMU
Page 4 of 11
EXERCISE 2.
(3 MARKS)
47
84
123
322
50
85
136
388
59
89
139
405
61
91
141
470
65
93
148
513
SOLUTIONS:
0.50
0.50
0.75
0.50 + 0.50
Class Interval
Frequency
Relative
Frequency
Cumulative
Frequency
Cumulative Relative
Frequency
[0, 50)
9
= 0.17
52
0.17
[50, 100)
19
19
= 0.36
52
28
0.53
[100, 150)
11
11
= 0.21
52
39
0.74
[150, 200)
3
= 0.06
52
42
0.80
[200, 250)
2
= 0.04
52
44
0.84
[250, 300)
2
= 0.04
52
46
0.88
[300, 350)
1
= 0.02
52
47
0.90
[350, 400)
2
= 0.04
52
49
0.94
[400, 450)
2
= 0.02
52
50
0.96
[450, 500)
2
= 0.02
52
51
0.98
[500, 550)
2
= 0.02
52
52
1.00
TOTAL
52
1.00
IMAMU
Page 5 of 11
EXERCISE 3.
(4 MARKS)
PART A
A jar contains 2 red, 2 green and 1 blue beads. Two beads are drawn without
replacement. Use a tree diagram to illustrate the outcomes and figure out the
probability of drawing at least one red bead.
SOLUTIONS
Here is a "tree diagram" for this problem. The fractions in parentheses give the
probabilities a bead of the indicated color being drawn at each stage. For example, the
figure (2/5) after "Red" in the "First Draw" column comes from the fact that at this stage
there are 2 red beads out of 5 beads all together in the jar. The figure (1/4) in the top
box in the "Second Draw" column comes from the fact that now, after one red has been
removed, there is only 1 red of 4 beads.
0.25 + 0.50 +0.25 + 0.25
First Draw
Red (2/5)
Green (2/5)
Blue (1/5)
Second Draw
Outcome
Probability
Red (1/4)
RR
(2/5)(1/4)=1/10
Green (2/4)
RG
(2/5)(2/4)=1/5
Blue (1/4)
RB
(2/5)(1/4)=1/10
Red (2/4)
GR
(2/5)(2/4)=1/5
Green (1/4)
GG
(2/5)(1/4)=1/10
Blue (1/4)
GB
(2/5)(1/4)=1/10
Red (2/4)
BR
(1/5)(2/4)=1/10
Green (2/4)
BG
(1/5)(2/4)=1/10
The event "at least one bead is red" is the sum of the probabilities of the
outcomes in this event is 7/10, in fact
1 2 1 2 1
7
+ + + + =
10 10 10 10 10 10
0.50
Page 6 of 11
PART B
A jar contains 2 red, 2 green and 1 blue beads. Two beads are drawn with
replacement. Use a tree diagram to illustrate the outcomes and figure out the
probability of drawing at least one red bead.
SOLUTIONS:
Here is the "tree diagram" for this problem.
First Draw
Red (2/5)
Green (2/5)
Blue (1/5)
0.25
0.50 + 0.25
+ 0.25
Second Draw
Outcome
Probability
Red (2/5)
RR
2 2 4
=
5 5 25
Green (2/5)
RG
2 2 4
=
5 5 25
Blue (1/5)
RB
2 1 2
=
5 5 25
Red (2/5)
GR
2 2 4
=
5 5 25
Green (2/5)
GG
2 2 4
=
5 5 25
Blue (1/5)
GB
2 1 2
=
5 5 25
Red (2/5)
BR
1 2 2
=
5 5 25
Green (2/5)
BG
1 2 2
=
5 5 25
Blue (1/5)
BB
1 1 1
=
5 5 25
The event "at least one bead is red" is the following sum
4
4
2
4 2 16
+ + + + =
25 25 25 25 10 25
0.50
Page 7 of 11
EXERCISE 4.
(3 MARKS)
. Suppose that
P ( A B ) = 0.25
1) Compute the probability that the selected individual has at least one of
the two types of cards).
SOLUTIONS:
We have
P ( The selected individual has at least one of the two types of cards )
= P ( A B)
1.50
= P ( A) + P ( B ) - P ( A B )
= 0.50 + 0.40 - 0.25 = 0.65
2) Find the probability that the selected individual has neither type of card.
SOLUTIONS:
We have
= P ( A B)
= 1- P ( A B)
1.50
= 1 - 0.65 = 0.35
IMAMU
Page 8 of 11
EXERCISE 5.
(4 MARKS)
A box in a certain supply room contains four 40-W light bulbs, five 60-W
light bulbs, and six 75-W light bulbs. Suppose that three light bulbs are
randomly selected.
1.
Find the probability that exactly two of the selected light bulbs are
rated 75-W.
SOLUTIONS:
We have
1.00
6 9
2
1
3 5 9 27
= =
=
0.2967
5 7 13 91
15
3
2.
Find the probability that all three of the selected light bulbs have the
same rating.
SOLUTIONS:
We have
P ( All three of the selected light bulbs have the same rating )
= P ( Three 40-W light bulbs ) + P ( Three 60-W light bulbs )
+ P ( Three 75-W light bulbs )
4 5 6
+ +
3
3
3
4 + 10 + 20 34
= =
=
0.0747
15
455
455
3
IMAMU
1.00
Page 9 of 11
3.
Find the probability that one light bulb of each type is selected.
SOLUTIONS:
We have
1.00
Suppose now that light bulbs are to be selected one by one until a 75W is found. Find the probability it is necessary to examine at least six
light bulbs.
SOLUTIONS:
To examine exactly one, a 75 watt bulb must be chosen first. (6 ways to
accomplish this). To examine exactly two, we must choose another wattage
first, then a 75 watt. ( 9 6 ways). Following the pattern, for exactly three, 9
8 6 ways; for four, 9 8 7 6; for five, 9 8 7 6 6.
1.00
IMAMU
Page 10 of 11
EXERCISE 6.
(3 MARKS)
A single fair die is rolled and then a fair coin is flipped twice.
1) Describe a sample space S giving all outcomes from this experiment.
SOLUTIONS:
We have
( n ( S ) = 6 2 2 = 24 )
(1, H , H ) ; ( 2, H , H ) ; ( 3, H , H ) ; ( 4, H , H ) ; ( 5, H , H ) ; ( 6, H , H ) ;
H
T
H
T
H
T
H
T
H
T
H
T
1,
,
;
2,
,
;
3,
,
;
4,
,
;
5,
,
;
6,
,
;
(
)
(
)
(
)
(
)
(
)
(
)
0.75
=
T
H
T
H
T
H
T
H
T
H
T
H
1,
,
;
2,
,
;
3,
,
;
4,
,
;
5,
,
;
6,
,
;
(
)
(
)
(
)
(
)
(
)
(
)
1, T , T ; 2, T , T ; 3, T , T ; 4, T , T ; 5, T , T ; 6, T , T ;
)(
)(
)(
)(
)(
)
(
2) Assume all outcomes in question 1) have the same probability. Find the
probability of the following events:
A: 6 is rolled and at least one head turns up;
SOLUTIONS: We have A = {( 6, H , H ) ; ( 6, H , T ) ; ( 6, T , H )} n ( A ) = 3 .
n ( A) 3 1
P
A
=
=
=
(
)
Then,
0.75
n S
24 8
( )
n( B) 6 1
P
B
=
=
=
(
)
Then,
n ( S ) 24 4
0.75
(1, H , H ) ; ( 2, H , H ) ; ( 3, H , H ) ; ( 4, H , H ) ; (1, H , T ) ; ( 2, H , T ) ;
C=
( 3, H , T ) ; ( 4, H , T ) ; (1, T , H ) ; ( 2, T , H ) ; ( 3, T , H ) ; ( 4, T , H ) ;
n ( C ) 12 1
P
C
=
=
=
(
)
0.75
Then,
n ( S ) 24 2
IMAMU
Page 11 of 11