2.1 Discrete Random Variables
2.1.1 (a) Since
0.08 + 0.11 + 0.27 + 0.33 + P (X = 4) = 1 it follows that
P (X = 4) = 0.21.
(c) F (0) = 0.08 F (1) = 0.19 F (2) = 0.46 F (3) = 0.79 F (4) = 1.00
2.1.2
xi -4 -1 0 2 3 7
pi 0.21 0.11 0.07 0.29 0.13 0.19
2.1.3
xi 1 2 3 4 5 6 8 9 10
pi 361 362 362 363 362 364 362 361 362
F (xi) 361 363 365 368 1036 1436 1636 1736 1936
49
xi 12 15 16 18 20 24 25 30 36
pi 364 362 361 362 362 362 361 362 361
F (xi) 2336 2536 2636 2836 3036 3236 3336 3536 1
2.1.4 (a)
xi 0 1 2
pi 0.5625 0.3750 0.0625
(b)
xi 0 1 2
F (xi) 0.5625 0.9375 1.000
(c) The value x = 0 is the most likely.
Without replacement:
xi 0 1 2
pi 0.5588 0.3824 0.0588
F (xi) 0.5588 0.9412 1.000
Again, x = 0 is the most likely value.
2.1. DISCRETE RANDOM VARIABLES 51
2.1.5
xi -5 -4 -3 -2 -1 0 1 2 3 4 6 8 10 12
pi 361 361 362 362 363 363 362 365 361 364 363 363 363 363
F (xi) 361 362 364 366 369 1236 1436 1936 2036 2436 2736 3036 3336 1
2.1.6 (a)
xi -6 -4 -2 0 2 4 6
pi 18 18 18 28 18 18 18
(b)
xi -6 -4 -2 0 2 4 6
F (xi) 18 28 38 58 68 78 1
(c) The most likely value is x = 0.
2.1.7 (a)
xi 0 1 2 3 4 6 8 12
pi 0.061 0.013 0.195 0.067 0.298 0.124 0.102 0.140
(b)
xi 0 1 2 3 4 6 8 12
F (xi) 0.061 0.074 0.269 0.336 0.634 0.758 0.860 1.000
(c) The most likely value is 4.
P(not shipped) = P(X ≤ 1) = 0.074
is a possible set of probability values.
However, since P∞
i=11 i
does not converge, it follows that P (X = i) = ci
is not a possible set of probability values.
2.1.11 (a) The state space is {3, 4, 5, 6}.
(b) P (X = 3) = P (M M M ) = 36 ×25 ×14 = 201
P (X = 4) = P (M M T M ) + P (M T M M ) + P (T M M M ) = 203 P (X = 5) = P (M M T T M ) + P (M T M T M ) + P (T M M T M )
2.1. DISCRETE RANDOM VARIABLES 53
+ P (M T T M M ) + P (T M T M M ) + P (T T M M M ) = 206 Finally,
P (X = 6) = 12
since the probabilities sum to one, or since the final appointment made is equally likely to be on a Monday or on a Tuesday.
P (X ≤ 3) = 201 P (X ≤ 4) = 204 P (X ≤ 5) = 1020 P (X ≤ 6) = 1
2.2 Continuous Random Variables
2.2.1 (a) Continuous (b) Discrete
(c) Continuous (d) Continuous
(e) Discrete
(f) This depends on what level of accuracy to which it is measured.
It could be considered to be either discrete or continuous.
2.2.2 (b) R46x ln(1.5)1 dx = ln(1.5)1 × [ln(x)]64
= ln(1.5)1 × (ln(6) − ln(4)) = 1.0 (c) P (4.5 ≤ X ≤ 5.5) =R4.55.5 x ln(1.5)1 dx
= ln(1.5)1 × [ln(x)]5.54.5
= ln(1.5)1 × (ln(5.5) − ln(4.5)) = 0.495 (d) F (x) =R4x y ln(1.5)1 dy
= ln(1.5)1 × [ln(y)]x4
= ln(1.5)1 × (ln(x) − ln(4)) for 4 ≤ x ≤ 6
2.2.3 (a) Since R0
−2
15
64+64xdx = 167 and
R3 0
3
8 + cxdx = 98 +9c2 it follows that
7
16 +98+ 9c2 = 1 which gives c = −18.
(b) P (−1 ≤ X ≤ 1) =R−10 1564+64xdx +R0138 −x8dx
= 12869
2.2. CONTINUOUS RANDOM VARIABLES 55
(c) F (x) =R−2x 1564+64y dy
= 128x2 +15x64 +167 for −2 ≤ x ≤ 0
F (x) = 167 +R0x38 −y8dy
= −x162 +3x8 +167 for 0 ≤ x ≤ 3
2.2.4 (b) P (X ≤ 2) = F (2) = 14
(c) P (1 ≤ X ≤ 3) = F (3) − F (1)
= 169 −161 = 12 (d) f (x) = dF (x)dx = x8
for 0 ≤ x ≤ 4
2.2.5 (a) Since F (∞) = 1 it follows that A = 1.
Then F (0) = 0 gives 1 + B = 0 so that B = −1 and F (x) = 1 − e−x.
(b) P (2 ≤ X ≤ 3) = F (3) − F (2)
= e−2− e−3 = 0.0855 (c) f (x) = dF (x)dx = e−x
for x ≥ 0
2.2.6 (a) Since R0.5
0.125 A (0.5 − (x − 0.25)2) dx = 1 it follows that A = 5.5054.
(b) F (x) =R0.125x f (y) dy
= 5.5054x2 − (x−0.25)3 3 − 0.06315 for 0.125 ≤ x ≤ 0.5
(c) F (0.2) = 0.203
2.2.7 (a) Since
F (0) = A + B ln(2) = 0 and
F (10) = A + B ln(32) = 1
it follows that A = −0.25 and B = ln(16)1 = 0.361.
(b) P (X > 2) = 1 − F (2) = 0.5 (c) f (x) = dF (x)dx = 3x+21.08
for 0 ≤ x ≤ 10
2.2.8 (a) Since R10
0 A (e10−θ− 1) dθ = 1 it follows that
A = (e10− 11)−1= 4.54 × 10−5. (b) F (θ) =R0θf (y) dy
= e10−θ−ee10−1110−θ
for 0 ≤ θ ≤ 10 (c) 1 − F (8) = 0.0002
2.2.9 (a) Since F (0) = 0 and F (50) = 1
it follows that A = 1.0007 and B = −125.09.
(b) P (X ≤ 10) = F (10) = 0.964
(c) P (X ≥ 30) = 1 − F (30) = 1 − 0.998 = 0.002 (d) f (r) = dF (r)dr = (r+5)375.34
for 0 ≤ r ≤ 50
2.2.10 (a) F (200) = 0.1
(b) F (700) − F (400) = 0.65
2.2. CONTINUOUS RANDOM VARIABLES 57
2.2.11 (a) Since R11
10 Ax(130 − x2) dx = 1 it follows that
A =8194 .
(b) F (x) =R10x 4y(130−y819 2) dy
= 8194 65x2−x44 − 4000 for 10 ≤ x ≤ 11
(c) F (10.5) − F (10.25) = 0.623 − 0.340 = 0.283
2.3 The Expectation of a Random Variable
2.3.1 E(X) = (0 × 0.08) + (1 × 0.11) + (2 × 0.27) + (3 × 0.33) + (4 × 0.21)
= 2.48
2.3.2 E(X) =1 ×361+2 ×362 +3 ×362+4 ×363+5 ×362 +6 ×364 + 8 ×362+9 ×361+10 ×362 +12 ×364+15 ×362 +16 ×361 + 18 × 362+20 ×362 +24 × 362+25 ×361 +30 × 362+36 ×361
= 12.25
2.3.3 With replacement:
E(X) = (0 × 0.5625) + (1 × 0.3750) + (2 × 0.0625)
= 0.5
Without replacement:
E(X) = (0 × 0.5588) + (1 × 0.3824) + (2 × 0.0588)
= 0.5
2.3.4 E(X) =1 ×25+2 ×103+3 ×15+4 ×101
= 2
2.3.5
xi 2 3 4 5 6 7 8 9 10 15
pi 131 131 131 131 131 131 131 131 131 134
E(X) =2 ×131+3 ×131 +4 ×131+5 ×131+6 ×131 + 7 ×131+8 ×131+9 ×131 +10 × 131+15 ×134
= $8.77
If $9 is paid to play the game, the expected loss would be 23 cents.
2.3. THE EXPECTATION OF A RANDOM VARIABLE 59
2.3.6
xi 1 2 3 4 5 6 7 8 9 10 11 12
pi 726 727 728 729 1072 1172 726 725 724 723 722 721
E(X) =1 ×726+2 ×726 +3 ×726+4 ×726+5 ×726 +6 ×726 + 7 ×726+8 ×726+9 ×726 +10 × 726+11 ×726 +12 × 726
= 5.25
2.3.7 P (three sixes are rolled) = 16 ×16× 16
= 2161 so that
E(net winnings) =−$1 × 215216+$499 ×2161
= $1.31.
If you can play the game a large number of times then you should play the game as often as you can.
2.3.8 The expected net winnings will be negative.
2.3.9
xi 0 1 2 3 4 5
pi 0.1680 0.2816 0.2304 0.1664 0.1024 0.0512
E(payment) = (0 × 0.1680) + (1 × 0.2816) + (2 × 0.2304) + (3 × 0.1664) + (4 × 0.1024) + (5 × 0.0512)
= 1.9072
E(winnings) = $2 − $1.91 = $0.09
The expected winnings increase to 9 cents per game.
Increasing the probability of scoring a three reduces the expected value of the difference in the scores of the two dice.
2.3.10 (a) E(X) =R46x x ln(1.5)1 dx = 4.94 (b) Solving F (x) = 0.5 gives x = 4.90.
2.3.11 (a) E(X) =R04 x x8 dx = 2.67 (b) Solving F (x) = 0.5 gives x =√
8 = 2.83.
2.3.12 E(X) =R0.1250.5 x 5.5054 (0.5 − (x − 0.25)2) dx = 0.3095 Solving F (x) = 0.5 gives x = 0.3081.
2.3.13 E(X) =R010e10θ−11 (e10−θ − 1) dθ = 0.9977 Solving F (θ) = 0.5 gives θ = 0.6927.
2.3.14 E(X) =R050 375.3 r(r+5)4 dr = 2.44 Solving F (r) = 0.5 gives r = 1.30.
2.3.15 Let f (x) be a probability density function that is symmetric about the point µ, so that f (µ + x) = f (µ − x).
Then
E(X) =R−∞∞ xf (x) dx
which under the transformation x = µ + y gives E(X) =R−∞∞ (µ + y)f (µ + y) dy
= µ R−∞∞ f (µ + y) dy + R0∞ y (f (µ + y) − f (µ − y)) dy
= (µ × 1) + 0 = µ.
2.3.16 E(X) = (3 ×201) + (4 × 203) + (5 × 206) + (6 × 1020)
= 10520 = 5.25
2.3.17 (a) E(X) =R10114x2(130−x819 2) dx
= 10.418234
2.3. THE EXPECTATION OF A RANDOM VARIABLE 61
(b) Solving F (x) = 0.5 gives the median as 10.385.
2.3.18 (a) Since R3
2 A(x − 1.5)dx = 1 it follows that Ax2− 1.5x32= 1 so that A = 1.
(b) Let the median be m.
Then Rm
2 (x − 1.5)dx = 0.5 so that
x2− 1.5xm2 = 0.5 which gives
0.5m2− 1.5m + 1 = 0.5.
Therefore, m2− 3m + 1 = 0 so that
m = 3±
√5 2 .
Since 2 ≤ m ≤ 3 it follows that m = 3+
√5
2 = 2.618.
2.4 The Variance of a Random Variable
2.4. THE VARIANCE OF A RANDOM VARIABLE 63
and σ = 1.41.
A small variance is generally preferable if the expected winnings are positive.
2.4.5 (a) E(X2) =R46 x2x ln(1.5)1 dx = 24.66 Then E(X) = 4.94 so that
Var(X) = 24.66 − 4.942= 0.25.
(b) σ =√
0.25 = 0.5
(c) Solving F (x) = 0.25 gives x = 4.43.
Solving F (x) = 0.75 gives x = 5.42.
(d) The interquartile range is 5.42 − 4.43 = 0.99.
2.4.6 (a) E(X2) =R04x2 x8dx = 8 Then E(X) = 83 so that Var(X) = 8 −832 = 89.
(b) σ =q89 = 0.94
(c) Solving F (x) = 0.25 gives x = 2.
Solving F (x) = 0.75 gives x =√
12 = 3.46.
(d) The interquartile range is 3.46 − 2.00 = 1.46.
2.4.7 (a) E(X2) =R0.1250.5 x2 5.5054 (0.5 − (x − 0.25)2) dx = 0.1073 Then E(X) = 0.3095 so that
Var(X) = 0.1073 − 0.30952 = 0.0115.
(b) σ =√
0.0115 = 0.107
(c) Solving F (x) = 0.25 gives x = 0.217.
Solving F (x) = 0.75 gives x = 0.401.
(d) The interquartile range is 0.401 − 0.217 = 0.184.
2.4.8 (a) E(X2) =R010e10θ−112 (e10−θ− 1) dθ
= 1.9803
Then E(X) = 0.9977 so that Var(X) = 1.9803 − 0.99772 = 0.985.
(b) σ =√
0.985 = 0.992
(c) Solving F (θ) = 0.25 gives θ = 0.288.
Solving F (θ) = 0.75 gives θ = 1.385.
(d) The interquartile range is 1.385 − 0.288 = 1.097.
2.4.9 (a) E(X2) =R050 375.3 r(r+5)42 dr = 18.80 Then E(X) = 2.44 so that Var(X) = 18.80 − 2.442= 12.8.
(b) σ =√
12.8 = 3.58
(c) Solving F (r) = 0.25 gives r = 0.50.
Solving F (r) = 0.75 gives r = 2.93.
(d) The interquartile range is 2.93 − 0.50 = 2.43.
2.4.10 Adding and subtracting two standard deviations from the mean value gives:
P (60.4 ≤ X ≤ 89.6) ≥ 0.75
Adding and subtracting three standard deviations from the mean value gives:
P (53.1 ≤ X ≤ 96.9) ≥ 0.89
2.4.11 The interval (109.55, 112.05) is (µ − 2.5c, µ + 2.5c) so Chebyshev’s inequality gives:
P (109.55 ≤ X ≤ 112.05) ≥ 1 −2.512 = 0.84
2.4.12 E(X2) =32×201 +42× 203+52×206+62×1020
= 56720
Var(X) = E(X2) − (E(X))2
2.4. THE VARIANCE OF A RANDOM VARIABLE 65
= 56720 −105202 = 6380
The standard deviation isp63/80 = 0.887.
2.4.13 (a) E(X2) =R10114x3(130−x819 2) dx
= 108.61538 Therefore,
Var(X) = E(X2) − (E(X))2 = 108.61538 − 10.4182342 = 0.0758 and the standard deviation is√
0.0758 = 0.275.
(b) Solving F (x) = 0.8 gives the 80th percentile of the resistance as 10.69, and solving F (x) = 0.1 gives the 10th percentile of the resistance as 10.07.
2.4.14 (a) Since
1 =R23Ax2.5 dx = 3.5A × (33.5− 23.5) it follows that A = 0.0987.
(b) E(X) =R230.0987 x3.5 dx
= 0.09874.5 × (34.5− 24.5) = 2.58 (c) E(X2) =R230.0987 x4.5 dx
= 0.09875.5 × (35.5− 25.5) = 6.741 Therefore,
Var(X) = 6.741 − 2.582= 0.085 and the standard deviation is√
0.085 = 0.29.
(d) Solving
0.5 =R2x0.0987 y2.5 dy
= 0.09873.5 × (x3.5− 23.5) gives x = 2.62.
2.4.15 E(X) = (−1 × 0.25) + (1 × 0.4) + (4 × 0.35)
= $1.55
E(X2) = ((−1)2× 0.25) + (12× 0.4) + (42× 0.35)
= 6.25
Therefore, the variance is
E(X2) − (E(X))2= 6.25 − 1.552= 3.8475 and the standard deviation is√
3.8475 = $1.96. and the standard deviation is√
0.0834 = 0.289. and the standard deviation is√
0.7124 = 0.844.
2.4. THE VARIANCE OF A RANDOM VARIABLE 67
2.4.18 (a) E(X) =R−11 x(1−x)2 dx = −13 (b) E(X2) =R−11 x2(1−x)2 dx = 13
Therefore,
Var(X) = E(X2) − (E(X))2 = 13 −19 = 29 and the standard deviation is
√ 2
3 = 0.471.
(c) Solving Ry
−1 (1−x)
2 dx = 0.75 gives y = 0.
2.5 Jointly Distributed Random Variables
2.5. JOINTLY DISTRIBUTED RANDOM VARIABLES 69
(b) p1|X=2 = P (Y = 1|X = 2) = pp21
2+ = 0.080.24 = 248 p2|X=2 = P (Y = 2|X = 2) = pp22
2+ = 0.150.24 = 1524 p3|X=2 = P (Y = 3|X = 2) = pp23
2+ = 0.010.24 = 241 E(Y |X = 2) =1 ×248+2 ×1524+3 ×241
= 4124 = 1.7083
E(Y2|X = 2) =12×248+22×1524+32× 241
= 7724 = 3.2083
Var(Y |X = 2) = E(Y2|X = 2) − E(Y |X = 2)2
= 3.2083 − 1.70832= 0.290 σY |X=2 =√
0.290 = 0.538
2.5.3 (a) Since R3
x=−2
R6
y=4 A(x − 3)y dx dy = 1 it follows that A = −1251 . (b) P (0 ≤ X ≤ 1, 4 ≤ Y ≤ 5)
=Rx=01 Ry=45 (3−x)y125 dx dy
= 1009
(c) fX(x) =R46 (3−x)y125 dy = 2(3−x)25 for −2 ≤ x ≤ 3
fY(y) =R−23 (3−x)y125 dx = 10y for 4 ≤ x ≤ 6
(d) The random variables X and Y are independent since fX(x) × fY(y) = f (x, y)
and the ranges of the random variables are not related.
(e) Since the random variables are independent it follows that fX|Y =5(x) is equal to fX(x).
2.5.4 (a)
X\Y 0 1 2 3 pi+
0 161 161 0 0 162 1 161 163 162 0 166 2 0 162 163 161 166 3 0 0 161 161 162
p+j 2 16
6 16
6 16
2
16 1
(b) See the table above.
(c) The random variables X and Y are not independent.
For example, notice that
p0+× p+0 = 162 ×162 = 14 6= p00= 161 .
(d) E(X) =0 ×162 +1 ×166+2 ×166+3 ×162 = 32 E(X2) =02×162 +12× 166+22×166+32×162= 3
Var(X) = E(X2) − E(X)2= 3 −322= 34
The random variable Y has the same mean and variance as X.
(e) E(XY ) =1 × 1 ×163 +1 × 2 ×162+2 × 1 ×162
+ 2 × 2 × 163+2 × 3 ×161 +3 × 2 × 161+3 × 3 ×161
= 4416
Cov(X, Y ) = E(XY ) − (E(X) × E(Y ))
= 4416−32 ×32= 12
(f) P (X = 0|Y = 1) = pp01
+1 = (161) (166) = 16 P (X = 1|Y = 1) = pp11
+1 = (163) (166) = 12 P (X = 2|Y = 1) = pp21
+1 = (162) (166) = 13
2.5. JOINTLY DISTRIBUTED RANDOM VARIABLES 71
P (X = 3|Y = 1) = pp31
+1 = 0
(166) = 0
E(X|Y = 1) =0 ×16+1 ×12+2 ×13+ (3 × 0) = 76
E(X2|Y = 1) =02×16+12×12+22×13+ 32× 0= 116 Var(X|Y = 1) = E(X2|Y = 1) − E(X|Y = 1)2
= 116 −762 = 1736
2.5.5 (a) Since R2
x=1
R3
y=0 A(ex+y + e2x−y) dx dy = 1 it follows that A = 0.00896.
(b) P (1.5 ≤ X ≤ 2, 1 ≤ Y ≤ 2)
=Rx=1.52 Ry=12 0.00896 (ex+y + e2x−y) dx dy
= 0.158
(c) fX(x) =R03 0.00896 (ex+y + e2x−y) dy
= 0.00896 (ex+3− e2x−3− ex+ e2x) for 1 ≤ x ≤ 2
fY(y) =R12 0.00896 (ex+y + e2x−y) dx
= 0.00896 (e2+y+ 0.5e4−y− e1+y− 0.5e2−y) for 0 ≤ y ≤ 3
(d) No, since fX(x) × fY(y) 6= f (x, y).
(e) fX|Y =0(x) = f (x,0)f
Y(0) = ex28.28+e2x
2.5.6 (a)
X\Y 0 1 2 pi+
0 10225 10226 1026 10257 1 10226 10213 0 10239 2 1026 0 0 1026
p+j 10257 10239 1026 1
(b) See the table above.
(c) No, the random variables X and Y are not independent.
For example, p226= p2+× p+2.
(d) E(X) =0 ×10257+1 ×10239+2 ×1026 = 12 E(X2) =02×10257+12×10239+22× 1026 = 2134
Var(X) = E(X2) − E(X)2= 2134 −122= 2568
The random variable Y has the same mean and variance as X.
(e) E(XY ) = 1 × 1 × p11= 10213
Cov(X, Y ) = E(XY ) − (E(X) × E(Y ))
= 10213 −12 ×12= −20425
(f) Corr(X, Y ) = √ Cov(X,Y )
Var(X)Var(Y ) = −13 (g) P (Y = 0|X = 0) = pp00
0+ = 2557 P (Y = 1|X = 0) = pp01
0+ = 2657 P (Y = 2|X = 0) = pp02
0+ = 576 P (Y = 0|X = 1) = pp10
1+ = 23 P (Y = 1|X = 1) = pp11
1+ = 13
2.5. JOINTLY DISTRIBUTED RANDOM VARIABLES 73
P (Y = 2|X = 1) = pp12
1+ = 0 2.5.7 (a)
X\Y 0 1 2 pi+
0 164 164 161 169 1 164 162 0 166 2 161 0 0 161
p+j 169 166 161 1
(b) See the table above.
(c) No, the random variables X and Y are not independent.
For example, p226= p2+× p+2.
(d) E(X) =0 ×169 +1 ×166+2 ×161= 12 E(X2) =02×169 +12× 166+22×161= 58 Var(X) = E(X2) − E(X)2= 58 −122 = 38 = 0.3676
The random variable Y has the same mean and variance as X.
(e) E(XY ) = 1 × 1 × p11= 18
Cov(X, Y ) = E(XY ) − (E(X) × E(Y ))
= 18−12×12= −18
(f) Corr(X, Y ) = √ Cov(X,Y )
Var(X)Var(Y ) = −13 (g) P (Y = 0|X = 0) = pp00
0+ = 49 P (Y = 1|X = 0) = pp01
0+ = 49 P (Y = 2|X = 0) = pp02
0+ = 19 P (Y = 0|X = 1) = pp10
1+ = 23
P (Y = 1|X = 1) = pp11
1+ = 13 P (Y = 2|X = 1) = pp12
1+ = 0 2.5.8 (a) Since
R5 x=0
R5
y=0 A (20 − x − 2y) dx dy = 1 it follows that A = 0.0032
(b) P (1 ≤ X ≤ 2, 2 ≤ Y ≤ 3)
=Rx=12 Ry=23 0.0032 (20 − x − 2y) dx dy
= 0.0432
(c) fX(x) =Ry=05 0.0032 (20 − x − 2y) dy = 0.016 (15 − x) for 0 ≤ x ≤ 5
fY(y) =Rx=05 0.0032 (20 − x − 2y) dx = 0.008 (35 − 4y) for 0 ≤ y ≤ 5
(d) No, the random variables X and Y are not independent since f (x, y) 6= fX(x)fY(y).
(e) E(X) =R05 x 0.016 (15 − x) dx = 73 E(X2) =R05 x20.016 (15 − x) dx = 152 Var(X) = E(X2) − E(X)2= 152 −732= 3718
(f) E(Y ) =R05 y 0.008 (35 − 4y) dy = 136 E(Y2) =R05 y2 0.008 (35 − 4y) dy = 203 Var(Y ) = E(Y2) − E(Y )2= 203 −1362 = 7136
(g) fY |X=3(y) = f (3,y)f
X(3) = 17−2y60 for 0 ≤ y ≤ 5
(h) E(XY ) =Rx=05 Ry=05 0.0032 xy (20 − x − 2y) dx dy = 5 Cov(X, Y ) = E(XY ) − (E(X) × (EY ))
= 5 −73 ×136= −181
2.5. JOINTLY DISTRIBUTED RANDOM VARIABLES 75
(i) Corr(X, Y ) = √ Cov(X,Y )
Var(X)Var(Y ) = −0.0276
2.5.9 (a) P (same score) = P (X = 1, Y = 1) + P (X = 2, Y = 2) + P (X = 3, Y = 3) + P (X = 4, Y = 4)
= 0.80
(b) P (X < Y ) = P (X = 1, Y = 2) + P (X = 1, Y = 3) + P (X = 1, Y = 4) + P (X = 2, Y = 3) + P (X = 2, Y = 4) + P (X = 3, Y = 4)
= 0.07 (c)
xi 1 2 3 4
pi+ 0.12 0.20 0.30 0.38
E(X) = (1 × 0.12) + (2 × 0.20) + (3 × 0.30) + (4 × 0.38) = 2.94 E(X2) = (12× 0.12) + (22× 0.20) + (32× 0.30) + (42× 0.38) = 9.70 Var(X) = E(X2) − E(X)2= 9.70 − (2.94)2= 1.0564
(d)
yj 1 2 3 4
p+j 0.14 0.21 0.30 0.35
E(Y ) = (1 × 0.14) + (2 × 0.21) + (3 × 0.30) + (4 × 0.35) = 2.86 E(Y2) = (12× 0.14) + (22× 0.21) + (32× 0.30) + (42× 0.35) = 9.28 Var(Y ) = E(Y2) − E(Y )2= 9.28 − (2.86)2 = 1.1004
(e) The scores are not independent.
For example, p116= p1+× p+1.
The scores would not be expected to be independent since they apply to the two inspectors’ assessments of the same building. If they were independent it would suggest that one of the inspectors is randomly assigning a safety score without paying any attention to the actual state of the building.
(f) P (Y = 1|X = 3) = pp31
3+ = 301
P (Y = 2|X = 3) = pp32
3+ = 303 P (Y = 3|X = 3) = pp33
3+ = 2430 P (Y = 4|X = 3) = pp34
3+ = 302
(g) E(XY ) =P4i=1P4j=1 i j pij = 9.29 Cov(X, Y ) = E(XY ) − (E(X) × E(Y ))
= 9.29 − (2.94 × 2.86) = 0.8816 (h) Corr(X, Y ) = √Cov(X,Y )
VarX VarY = √1.0564×1.10040.8816 = 0.82
A high positive correlation indicates that the inspectors are consistent.
The closer the correlation is to one the more consistent the inspectors are.
2.5.10 (a) Rx=02 Ry=02 Rz=02 3xyz322 dx dy dz = 1 (b) Rx=01 Ry=0.51.5 Rz=12 3xyz322 dx dy dz = 647
(c) fX(x) =Rx=02 Ry=02 3xyz322 dy dz = x2 for 0 ≤ 2 ≤ x
2.6. COMBINATIONS AND FUNCTIONS OF RANDOM VARIABLES 77
2.6 Combinations and Functions of Random variables
2.6.1 (a) E(3X + 7) = 3E(X) + 7 = 13 Var(3X + 7) = 32Var(X) = 36 (b) E(5X − 9) = 5E(X) − 9 = 1
Var(5X − 9) = 52Var(X) = 100
(c) E(2X + 6Y ) = 2E(X) + 6E(Y ) = −14 Var(2X + 6Y ) = 22Var(X) + 62Var(Y ) = 88 (d) E(4X − 3Y ) = 4E(X) − 3E(Y ) = 17
Var(4X − 3Y ) = 42Var(X) + 32Var(Y ) = 82 (e) E(5X − 9Z + 8) = 5E(X) − 9E(Z) + 8 = −54
Var(5X − 9Z + 8) = 52Var(X) + 92Var(Z) = 667 (f) E(−3Y − Z − 5) = −3E(Y ) − E(Z) − 5 = −4
Var(−3Y − Z − 5) = (−3)2Var(Y ) + (−1)2Var(Z) = 25 (g) E(X + 2Y + 3Z) = E(X) + 2E(Y ) + 3E(Z) = 20
Var(X + 2Y + 3Z) = Var(X) + 22Var(Y ) + 32Var(Z) = 75 (h) E(6X + 2Y − Z + 16) = 6E(X) + 2E(Y ) − E(Z) + 16 = 14
Var(6X + 2Y − Z + 16) = 62Var(X) + 22Var(Y ) + (−1)2Var(Z) = 159
2.6.2 E(aX + b) =R(ax + b) f (x) dx
= aR x f (x) dx + bR f (x) dx
= aE(X) + b
Var(aX + b) = E((aX + b − E(aX + b))2)
= E((aX − aE(X))2)
= a2E((X − E(X))2)
= a2Var(X)
2.6.3 E(Y ) = 3E(X1) = 3µ Var(Y ) = 32Var(X1) = 9σ2
E(Z) = E(X1) + E(X2) + E(X3) = 3µ
Var(Z) = Var(X1) + Var(X2) + Var(X3) = 3σ2 The random variables Y and Z have the same mean but Z has a smaller variance than Y .
2.6.4 length = A1+ A2+ B
E(length) = E(A1) + E(A2) + E(B) = 37 + 37 + 24 = 98
Var(length) = Var(A1) + Var(A2) + Var(B) = 0.72+ 0.72+ 0.32= 1.07
2.6.5 Let the random variable Xi be the winnings from the ith game.
Then
E(Xi) =10 ×18+(−1) ×78= 38 and
E(Xi2) =102×18+(−1)2×78= 1078 so that
Var(Xi) = E(Xi2) − (E(Xi))2 = 84764.
The total winnings from 50 (independent) games is Y = X1+ . . . + X50
and
E(Y ) = E(X1) + . . . + E(X50) = 50 × 38 = 754 = $18.75 with
Var(Y ) = Var(X1) + . . . + Var(X50) = 50 ×84764 = 661.72 so that σY =√
661.72 = $25.72.
2.6.6 (a) E(average weight) = 1.12 kg
Var(average weight) =0.03252 = 3.6 × 10−5
2.6. COMBINATIONS AND FUNCTIONS OF RANDOM VARIABLES 79
The standard deviation is √0.03
25 = 0.0012 kg.
(b) It is required that 0.03√n ≤ 0.005 which is satisfied for n ≥ 36.
2.6.7 Let the random variable Xibe equal to 1 if an ace is drawn on the ithdrawing (which happens with a probability of 131) and equal to 0 if an ace is not drawn on the ith drawing (which happens with a probability of 1213).
Then the total number of aces drawn is Y = X1+ . . . + X10.
Notice that E(Xi) = 131 so that regardless of whether the drawing is performed with or without replacement it follows that
E(Y ) = E(X1) + . . . + E(X10) = 1013. Also, notice that E(Xi2) = 131 so that Var(Xi) = 131 −131 2= 16912.
If the drawings are made with replacement then the random variables Xi are inde-pendent so that
Var(Y ) = Var(X1) + . . . + Var(X10) = 120169.
However, if the drawings are made without replacement then the random variables Xi are not independent.
2.6.8 FX(x) = P (X ≤ x) = x2 for 0 ≤ x ≤ 1
(a) FY(y) = P (Y ≤ y) = P (X3 ≤ y) = P (X ≤ y1/3) = FX(y1/3) = y2/3 and so
fY(y) =23y−1/3 for 0 ≤ y ≤ 1
E(y) =R01 y fY(y) dy = 0.4 (b) FY(y) = P (Y ≤ y) = P (√
X ≤ y) = P (X ≤ y2) = FX(y2) = y4 and so
fY(y) = 4y3 for 0 ≤ y ≤ 1
E(y) =R01 y fY(y) dy = 0.8
(c) FY(y) = P (Y ≤ y) = P (1+X1 ≤ y) = P (X ≥ 1y − 1)
= 1 − FX(1y − 1) = 2y −y12
and so
2.6. COMBINATIONS AND FUNCTIONS OF RANDOM VARIABLES 81
Therefore,
FX(x) = x2(3L−2x)L3
for 0 ≤ x ≤ L.
(b) The random variable corresponding to the difference between the lengths of the two pieces of rod is
W = |L − 2X|.
Therefore,
FW(w) = PL2 −w2 ≤ X ≤ L2 +w2= FXL2 +w2− FXL2 −w2
= w(3L2L2−w3 2)
and
fW(w) = 3(L2L2−w3 2)
for 0 ≤ w ≤ L.
(c) E(W ) =R0L w fW(w) dw = 38L
2.6.11 (a) The return has an expectation of $100, a standard deviation of $20, and a variance of 400.
(b) The return has an expectation of $100, a standard deviation of $30, and a variance of 900.
(c) The return from fund A has an expectation of $50, a standard deviation of $10, and a variance of 100.
The return from fund B has an expectation of $50, a standard deviation of $15, and a variance of 225.
Therefore, the total return has an expectation of $100 and a variance of 325, so that the standard deviation is $18.03.
(d) The return from fund A has an expectation of $0.1x, a standard deviation of $0.02x,
and a variance of 0.0004x2.
The return from fund B has an expectation of $0.1(1000 − x), a standard deviation of $0.03(1000 − x),
and a variance of 0.0009(1000 − x)2.
Therefore, the total return has an expectation of $100 and a variance of 0.0004x2+ 0.0009(1000 − x)2.
This variance is minimized by taking x = $692, and the minimum value of the variance is 276.9 which corresponds to a standard deviation of $16.64.
This problem illustrates that the variability of the return on an investment can be reduced by diversifying the investment, so that it is spread over several funds.
2.6.12 The expected value of the total resistance is 5 × E(X) = 5 × 10.418234 = 52.09.
The variance of the total resistance is 5 × Var(X) = 5 × 0.0758 = 0.379 so that the standard deviation is√
0.379 = 0.616. so that the standard deviation isp95/3 = 5.63.
(b) The mean is so that the standard deviation is√
43.68 = 6.61.
2.6.14 1000 = E(Y ) = a + bE(X) = a + (b × 77) 102 = Var(Y ) = b2Var(X) = b2× 92
Solving these equations gives a = 914.44 and b = 1.11,
2.6. COMBINATIONS AND FUNCTIONS OF RANDOM VARIABLES 83
or a = 1085.56 and b = −1.11.
2.6.15 (a) The mean is µ = 65.90.
The standard deviation is √σ5 = 0.32√5 = 0.143.
(b) The mean is 8µ = 8 × 65.90 = 527.2.
The standard deviation is√
8σ =√
8 × 0.32 = 0.905.
2.6.16 (a) E(A) = E(X1)+E(X2 2) = W +W2 = W Var(A) = Var(X1)+Var(X2)
4 = 32+44 2 = 254 The standard deviation is 52 = 2.5.
(b) Var(B) = δ2Var(X1) + (1 − δ)2Var(X2) = 9δ2+ 16(1 − δ)2 This is minimized when δ = 1625 and the minimum value is 14425 so that the minimum standard deviation is 125 = 2.4.
2.6.17 When a die is rolled once the expectation is 3.5 and the standard deviation is 1.71 (see Games of Chance in section 2.4).
Therefore, the sum of eighty die rolls has an expectation of 80 × 3.5 = 280 and a standard deviation of√
80 × 1.71 = 15.3.
2.6.18 (a) The expectation is 4 × 33.2 = 132.8 seconds.
The standard deviation is√
4 × 1.4 = 2.8 seconds.
(b) E(A1+ A2+ A3+ A4− B1− B2− B3− B4)
= E(A1) + E(A2) + E(A3) + E(A4) − E(B1) − E(B2) − E(B3) − E(B4)
= (4 × 33.2) − (4 × 33.0) = 0.8
Var(A1+ A2+ A3+ A4− B1− B2− B3− B4)
= Var(A1) + Var(A2) + Var(A3) + Var(A4) + Var(B1) + Var(B2) + Var(B3) + Var(B4)
= (4 × 1.42) + (4 × 1.32) = 14.6 The standard deviation is√
14.6 = 3.82.
(c) EA1−A2+A33+A4
= E(A1) −E(A32) −E(A33)−E(A34) = 0 VarA1−A2+A33+A4
= Var(A1) +Var(A2)
9 +Var(A3)
9 +Var(A4) 9
= 43× 1.42= 2.613
The standard deviation is√
2.613 = 1.62.
2.6.19 Let X be the temperature in Fahrenheit and let Y be the temperature in Centigrade.
E(Y ) = E5(X−32)9 =5(E(X)−32)9 =5(110−32)9 = 43.33
The standard deviation is√
1.49 = 1.22.
2.6.20 Var(0.5Xα+ 0.3Xβ+ 0.2Xγ)
= 0.52Var(Xα) + 0.32Var(Xβ) + 0.22Var(Xγ)
= (0.52× 1.22) + (0.32× 2.42) + (0.22× 3.12) = 1.26 The standard deviation is√
1.26 = 1.12.
2.6.21 The inequality √56n ≤ 10 is satisfied for n ≥ 32.
2.6.22 (a) E(X1+ X2) = E(X1) + E(X2) = 7.74
Var(X1+ X2) = Var(X1) + Var(X2) = 0.0648 The standard deviation is√
0.0648 = 0.255.
(b) E(X1+ X2+ X3) = E(X1) + E(X2) + E(X3) = 11.61
Var(X1+ X2+ X3) = Var(X1) + Var(X2) + Var(X3) = 0.0972 The standard deviation is√
0.0972 = 0.312.
The standard deviation is√
0.0081 = 0.09.
2.6. COMBINATIONS AND FUNCTIONS OF RANDOM VARIABLES 85
(d) EX3−X1+X2 2= E(X3) −E(X1)+E(X2 2) = 0 VarX3−X1+X2 2= Var(X3) + Var(X1)+Var(X2)
4 = 0.0486
The standard deviation is√
0.0486 = 0.220.
2.8 Supplementary Problems
2.8. SUPPLEMENTARY PROBLEMS 87
Var(X) = E(X2) − E(X)2= 38330 −722 = 3160 (c)
xi 2 3 4 5
pi 2 10
3 10
3 10
2 10
E(X) =2 ×102+3 ×103 +4 ×103+5 ×102= 72 E(X2) =22×102 +32× 103+42×103+52×102= 13310 Var(X) = E(X2) − E(X)2= 13310 −722 = 2120
2.8.4 Let Xi be the value of the ith card dealt.
Then
E(Xi) =2 ×131+3 ×131 +4 ×131+5 ×131+6 ×131 + 7 ×131+8 ×131+9 ×131 +10 × 131+15 ×134 = 11413 The total score of the hand is
Y = X1+ . . . + X13 which has an expectation
E(Y ) = E(X1) + . . . + E(X13) = 13 × 11413 = 114.
2.8.5 (a) Since R11
1 A32xdx = 1
it follows that A = 1.5ln(1.5)11−1.5 = 209.61 .
(b) F (x) =R1x 209.61 32ydy
= 0.0117732x− 0.01765 for 1 ≤ x ≤ 11
(c) Solving F (x) = 0.5 gives x = 9.332.
(d) Solving F (x) = 0.25 gives x = 7.706.
Solving F (x) = 0.75 gives x = 10.305.
The interquartile range is 10.305 − 7.706 = 2.599.
2.8.6 (a) fX(x) =R124x(2 − y) dy = 2x for 0 ≤ x ≤ 1 (b) fY(y) =R014x(2 − y) dx = 2(2 − y) for 1 ≤ y ≤ 2
Since f (x, y) = fX(x) × fY(y) the random variables are independent.
(c) Cov(X, Y ) = 0 because the random variables are independent.
(d) fX|Y =1.5(x) = fX(x) because the random variables are independent.
2.8.7 (a) Since R10
5 Ax +x2dx = 1 it follows that A = 0.02572.
(b) F (x) =R5x 0.02572y +2ydy
= 0.0129x2+ 0.0514 ln(x) − 0.404 for 5 ≤ x ≤ 10
(c) E(X) =R510 0.02572 x x +x2dx = 7.759
(d) E(X2) =R510 0.02572 x2 x +2xdx = 62.21 Var(X) = E(X2) − E(X)2= 62.21 − 7.7592 = 2.01 (e) Solving F (x) = 0.5 gives x = 7.88.
(f) Solving F (x) = 0.25 gives x = 6.58.
Solving F (x) = 0.75 gives x = 9.00.
The interquartile range is 9.00 − 6.58 = 2.42.
(g) The expectation is E(X) = 7.759.
The variance is Var(X)
10 = 0.0201.
2.8.8 Var(a1X1+ a2X2+ . . . + anXn+ b)
= Var(a1X1) + . . . + Var(anXn) + Var(b)
= a21Var(X1) + . . . + a2nVar(Xn) + 0
2.8. SUPPLEMENTARY PROBLEMS 89
2.8.9 Y = 53X − 25
2.8.10 Notice that E(Y ) = aE(X) + b and Var(Y ) = a2Var(X).
Also,
Cov(X, Y ) = E( (X − E(X)) (Y − E(Y )) )
= E( (X − E(X)) a(X − E(X)) )
= aVar(X).
Therefore,
Corr(X, Y ) = √ Cov(X,Y )
Var(X)Var(Y ) = √ aVar(X)
Var(X)a2Var(X) = |a|a which is 1 if a > 0 and is −1 if a < 0.
2.8.11 The expected amount of a claim is E(X) =R01800 x 972,000,000x(1800−x) dx = $900.
Consequently, the expected profit from each customer is
$100 − $5 − (0.1 × $900) = $5.
The expected profit from 10,000 customers is therefore 10, 000 × $5 = $50, 000.
The profits may or may not be independent depending on the type of insurance and the pool of customers.
If large natural disasters affect the pool of customers all at once then the claims would not be independent.
2.8.12 (a) The expectation is 5 × 320 = 1600 seconds.
The variance is 5 × 632 = 19845 and the standard deviation is√
19845 = 140.9 seconds.
(b) The expectation is 320 seconds.
The variance is 63102 = 396.9 and the standard deviation is√
396.9 = 19.92 seconds.
2.8.13 (a) The state space is the positive integers from 1 to n, with each outcome having a probability value of n1. (b) E(X) =n1 × 1+n1 × 2+ . . . +1n× n= n+12
(c) E(X2) =n1 × 12+n1 × 22+ . . . +1n× n2= (n+1)(2n+1) 6
Therefore,
Var(X) = E(X2) − (E(X))2 = (n+1)(2n+1)
6 −n+12 2 = n212−1.
2.8.14 (a) Let XT be the amount of time that Tom spends on the bus and let XN be the amount of time that Nancy spends on the bus.
Therefore, the sum of the times is X = XT + XN and E(X) = E(XT) + E(XN) = 87 + 87 = 174 minutes.
If Tom and Nancy ride on different buses then the random variables XT and XN are independent so that
Var(X) = Var(XT) + Var(XN) = 32+ 32 = 18 and the standard deviation is√
18 = 4.24 minutes.
(b) If Tom and Nancy ride together on the same bus then XT = XN so that X = 2 × XT, twice the time of the ride.
In this case
E(X) = 2 × E(XT) = 2 × 87 = 174 minutes and
Var(X) = 22× Var(X1) = 22× 32 = 36 so that the standard deviation is√
36 = 6 minutes.
2.8.15 (a) Two heads gives a total score of 20.
One head and one tail gives a total score of 30.
Two tails gives a total score of 40.
Therefore, the state space is {20, 30, 40}.
(b) P (X = 20) = 14 P (X = 30) = 12 P (X = 40) = 14 (c) P (X ≤ 20) = 14 P (X ≤ 30) = 34 P (X ≤ 40) = 1
(d) E(X) =20 ×14+30 ×12+40 × 14= 30
(e) E(X2) =202×14+302× 12+402×14= 950 Var(X) = 950 − 302 = 50
2.8. SUPPLEMENTARY PROBLEMS 91
The standard deviation is√
50 = 7.07.
2.8.16 (a) Since R6
5 Ax dx = A2 × (62− 52) = 1 it follows that A = 112 .
(b) F (x) =R5x 2y11 dy = x211−25
(c) E(X) =R56 2x112 dx = 2×(6333−53) = 18233 = 5.52
(d) E(X2) =R56 2x113 dx = 6422−54 = 67122 = 30.5 Var(X) = 30.5 −182332 = 0.083
The standard deviation is√
0.083 = 0.29.
2.8.17 (a) The expectation is 3 × 438 = 1314.
The standard deviation is√
3 × 4 = 6.93.
(b) The expectation is 438.
The standard deviation is √4
8 = 1.41.
2.8.18 (a) If a 1 is obtained from the die the net winnings are (3 × $1) − $5 = −$2 If a 2 is obtained from the die the net winnings are $2 − $5 = −$3 If a 3 is obtained from the die the net winnings are (3 × $3) − $5 = $4 If a 4 is obtained from the die the net winnings are $4 − $5 = −$1 If a 5 is obtained from the die the net winnings are (3 × $5) − $5 = $10 If a 6 is obtained from the die the net winnings are $6 − $5 = $1 Each of these values has a probability of 16.
(b) E(X) =−3 × 16+−2 × 16+−1 ×16 + 1 ×16+4 ×16+10 × 16= 32
E(X2) =(−3)2× 16+(−2)2×16+(−1)2× 16 + 12× 16+42× 16+102×16= 1316
The variance is
131
6 −322 = 23512
and the standard deviation isq23512 = $4.43.
(c) The expectation is 10 ×32 = $15.
The standard deviation is√
10 × 4.43 = $13.99.
2.8.19 (a) False (b) True (c) True (d) True (e) True (f) False
2.8.20 E(total time) = 5 × µ = 5 × 22 = 110 minutes The standard deviation of the total time is √
5σ =√
5 × 1.8 = 4.02 minutes.
E(average time) = µ = 22 minutes
The standard deviation of the average time is √σ
5 = √1.8
5 = 0.80 minutes.
2.8.21 (a) E(X) = (0 × 0.12) + (1 × 0.43) + (2 × 0.28) + (3 × 0.17) = 1.50 (b) E(X2) = (02× 0.12) + (12× 0.43) + (22× 0.28) + (32× 0.17) = 3.08
The variance is 3.08 − 1.502 = 0.83 and the standard deviation is√
0.83 = 0.911.
(c) E(X1+ X2) = E(X1) + E(X2) = 1.50 + 1.50 = 3.00 Var(X1+ X2) = Var(X1) + Var(X2) = 0.83 + 0.83 = 1.66 The standard deviation is√
1.66 = 1.288.
2.8.22 (a) E(X) = (−22 × 0.3) + (3 × 0.2) + (19 × 0.1) + (23 × 0.4) = 5.1
(b) E(X2) = ((−22)2× 0.3) + (32× 0.2) + (192× 0.1) + (232× 0.4) = 394.7 Var(X) = 394.7 − 5.12= 368.69
The standard deviation is√
368.69 = 19.2.
2.8.23 (a) Since R4
2 f (x) dx =R24 xA2 dx = A4 = 1 it follows that A = 4.
2.8. SUPPLEMENTARY PROBLEMS 93
(b) Since
1
4 =R2yf (x) dx =R2y x42 dx =2 −4y it follows that y = 167 = 2.29.
2.8.24 (a) 100 = E(Y ) = c + dE(X) = c + (d × 250) 1 = Var(Y ) = d2Var(X) = d2× 16
Solving these equations gives d = 14 and c = 752 or d = −14 and c = 3252 .
(b) The mean is 10 × 250 = 1000.
The standard deviation is√
10 × 4 = 12.65.
2.8.25 Since
E(c1X1+ c2X2) = c1E(X1) + c2E(X2) = (c1+ c2) × 100 = 100 it is necessary that c1+ c2= 1.
Also,
Var(c1X1+ c2X2) = c21Var(X1) + c22Var(X2) = (c21× 144) + (c22× 169) = 100.
Solving these two equations gives c1= 0.807 and c2 = 0.193 or c1= 0.273 and c2 = 0.727.
2.8.26 (a) The mean is 3µA= 3 × 134.9 = 404.7.
The standard deviation is√
3 σA=√
3 × 0.7 = 1.21.
(b) The mean is 2µA+ 2µB= (2 × 134.9) + (2 × 138.2) = 546.2.
The standard deviation is√
0.72+ 0.72+ 1.12+ 1.12 = 1.84.
(c) The mean is 4µA+3µ7 B = (4×134.9)+(3×138.2)
7 = 136.3.
The standard deviation is
√0.72+0.72+0.72+0.72+1.12+1.12+1.12
7 = 0.34.