Mathematical Expectation Explained
Mathematical Expectation Explained
Mathematical Expectation
4.1 µ = E(X) = (0)(0.41) + (1)(0.37) + (2)(0.16) + (3)(0.05) + (4)(0.01) = 0.88.
∑
3
4.2 E(X) = x f (x) = (0)(27/64) + (1)(27/64) + (2)(9/64) + (3)(1/64) = 3/4.
x=0
4.4 Assigning wrights of 3w and w for a head and tail, respectively. We obtain P (H) = 3/4 and
P (T ) = 1/4. The sample space for the experiment is S = {HH, HT, T H, T T }. Now if X
represents the number of tails that occur in two tosses of the coin, we have
x 0 1 2
f (x) 9/16 3/8 1/16
y 5−c 3−c −c
f (y) 2/13 2/13 9/13
41
42 Chapter 4 Mathematical Expectation
4.9 For the insurance of $200,000 pilot, the distribution of the claim the insurance company would
have is as follows:
Hence the insurance company should charge a premium of $6, 400 + $500 = $6, 900.
∑
4.10 µX = ∑ xg(x) = (1)(0.17) + (2)(0.5) + (3)(0.33) = 2.16,
µY = yh(y) = (1)(0.23) + (2)(0.5) + (3)(0.27) = 2.04.
∫1 x
4.11 E(X) = π4 0 1+x ln 4
2 dx = π .
∫1
4.12 E(X) = 0 2x(1 − x) dx = 1/3. So, (1/3)($5, 000) = $1, 667.67.
∫1 ∫2
4.13 E(X) = 0 x2 dx + 1 x(2 − x) dx = 1. Therefore, the average number of hours per year is
(1)(100) = 100 hours.
∫1
4.14 E(X) = 0 2x(x+2)
5 dx = 158
.
√
∫ a ∫ a2 −y2 [( 2 2 ) ( 2 2 )]
a −y
4.15 E(X) = πa1 2 −a √ 2 2 x dx dy = πa1 2 2 − a −y
2 dy = 0.
− a −y
x −3 6 9
f (x) 1/6 1/2 1/3
g(x) 25 169 361
x 0 1 2 3
f (x) 1/10 3/10 2/5 1/5
y = g(x) 0 1150 2200 3150
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
Solutions for Exercises in Chapter 4 43
∑∑
4.23 (a) E[g(X, Y )] = E(XY 2 ) = xy 2 f (x, y)
x y
= (2)(1)2 (0.10) + (2)(3)2 (0.20) + (2)(5)2 (0.10) + (4)(1)2 (0.15) + (4)(3)2 (0.30)
+ (4)(5)2 (0.15) = 35.2.
(b) µX = E(X) = (2)(0.40) + (4)(0.60) = 3.20,
µY = E(Y ) = (1)(0.25) + (3)(0.50) + (5)(0.25) = 3.00.
∑
3 ∑
2
4.24 (a) E(X 2 Y − 2XY ) = (x2 y − 2xy)f (x, y) = (1 − 2)(18/70) + (4 − 4)(18/70) + · · · +
x=0 y=0
(8 − 8)(3/70) = −3/7.
x 0 1 2 3 y 0 1 2
(b)
g(x) 5/70 30/70 30/70 5/70 h(y) 15/70 40/70 15/70
µX = E(X) = (0)(5/70) + (1)(30/70) + (2)(30/70) + (3)(5/70) = 3/2,
µY = E(Y ) = (0)(15/70) + (1)(40/70) + (2)(15/70) = 1.
Hence µX − µY = 3/2 − 1 = 1/2.
∑
3 ∑
3
4.25 µX+Y = E(X +Y ) = (x+y)f (x, y) = (0+0)(1/55)+(1+0)(6/55)+· · ·+(0+3)(1/55) =
x=0 y=0
2.
√ ∫1∫1 √ ∫1
4.26 E(Z) = E( X 2 + Y 2 ) = 0 0 4xy x2 + y 2 dx dy = 43 0 [y(1 + y 2 )3/2 − y 4 ] dy
= 8(23/2 − 1)/15 = 0.9752.
1
∫∞ ∫∞
4.27 E(X) = 2000 0 x exp(−x/2000) dx = 2000 0 y exp(−y) dy = 2000.
23.75 26.25
∫
2 26.25
(b) E(X) = 5 23.75 x dx = 15 (26.252 − 23.752 ) = 25.
(c) The mean is exactly in the middle of the interval. This should not be surprised due to
the symmetry of the density at 25.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
44 Chapter 4 Mathematical Expectation
2
f(x)
0.4
0.3
f(x)
0.2
0.1
1 2 3 4 5
x
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
Solutions for Exercises in Chapter 4 45
4.41 It is known
∑ µg(X) = E[(2X + 1)2 ] = 209. Hence
2
σg(X) = [(2X + 1)2 − 209]2 g(x)
x
= (25 − 209)2 (1/6) + (169 − 209)2 (1/2) + (361 − 209)2 (1/3) = 14, 144.
√
So, σg(X) = 14, 144 = 118.9.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
46 Chapter 4 Mathematical Expectation
∫1 ∫1
4.47 g(x) = 23 0 (x + 2y) dy = 23 (x + 1), for 0 < x < 1, so µX = 23 0 x(x + 1) dx = 95 ;
∫1 ( ) ∫1 ( )
h(y) = 23 0 (x + 2y) dx = 23 12 + 2y , so µY = 23 0 y 12 + 2y dy = 11 18 ; and
∫ ∫
2 1 1 1
E(XY ) = 3 0 0 xy(x + 2y) dy dx(=) 3(. )
So, σXY = E(XY ) − µX µY = 13 − 59 11 18 = −0.0062.
y
0 1 2 fX (x)
1 3 1
0 0 35 70 14
3 9 9 3
x 1 70 35 70 7
9 9 3 3
2 70 35 70 7
3 1 1
3 70 35 0 14
3 4 3
fX (x) 14 7 14
3 9 15 3
Hence, E(X) = 2, E(Y ) = 1, E(XY ) = 7, V ar(X) = 28 , and V ar(Y ) = 7. Finally,
ρXY = − √15 .
4.52 Since fX (x) = 2(1 − x), for 0 < x < 1, and fY (y) = 2y, for 0 < y < 1, we obtain E(X) = 13 ,
E(Y ) = 32 , V ar(X) = V ar(Y ) = 18
1
, and E(XY ) = 14 . Hence, ρXY = 12 .
4.53 Previously we found µ = 4.11 and σ 2 = 0.74, Therefore,
µg(X) = E(3X − 2) = 3µ − 2 = (3)(4.11) − 2 = 10.33 and σg(X) = 9σ 2 = 6.66.
4.54 Previously we found µ = 1 and σ 2 = 1. Therefore,
µg(X) = E(5X + 3) = 5µ + 3 = (5)(1) + 3 = 8 and σg(X) = 25σ 2 = 25.
4.55 Let X = number of cartons sold and Y = profit.
We can write Y = 1.65X + (0.90)(5 − X) − 6 = 0.75X − 1.50. Now
E(X) = (0)(1/15) + (1)(2/15) + (2)(2/15) + (3)(3/15) + (4)(4/15) + (5)(3/15) = 46/15,
and E(Y ) = (0.75)E(X) − 1.50 = (0.75)(46/15) − 1.50 = $0.80.
∫∞
4.56 µX = E(X) = 14 0 xe−x/4 dx = 4.
Therefore, µY = E(3X
∫ − 2) = 3E(X) − 2 = (3)(4) − 2 = 10.
2 1 ∞ 2 −x/4 2 = E(X 2 ) − µ2 = 32 − 16 = 16.
Since E(X ) = 4 0 x e dx = 32, therefore, σX X
2 2
Hence σY = 9σX = (9)(16) = 144.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
Solutions for Exercises in Chapter 4 47
4.59 The equations E[(X − 1)2 ] = 10 and E[(X − 2)2 ] = 6 may be written in the form:
4.63 σZ2 = σ−2X+4Y −3 = 4σX + 16σY − 16σXY = (4)(5) + (16)(3) − (16)(1) = 52.
2 2 2
∫1∫∞
4.64 E(Z) = E(XY ) = E(X)E(Y ) = 0 2 16xy(y/x3 ) dx dy = 8/3.
4.65 It is easy to see that the expectations of X and Y are both 3.5. So,
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
48 Chapter 4 Mathematical Expectation
V ar(P ) = 502 V ar(I 2 ) = 502 (2µI )2 σI2 = 502 (30)2 (0.03) = 67500.
∑
∞ ∑
∞
4.69 For 0 < a < 1, since g(a) = ax = 1
1−a , g ′ (a) = xax−1 = 1
(1−a)2
and
x=0 x=1
∑
∞
g ′′ (a) = x(x − 1)ax−2 = 2
(1−a)3
.
x=2
∑
∞ ∑
∞
(a) E(X) = (3/4) x(1/4)x = (3/4)(1/4) x(1/4)x−1 = (3/16)[1/(1 − 1/4)2 ]
x=1 x=1
= 1/3, and E(Y ) = E(X) = 1/3.
∑
∞
E(X 2 ) − E(X) = E[X(X − 1)] = (3/4) x(x − 1)(1/4)x
x=2
∑
∞
= (3/4)(1/4)2 x(x − 1)(1/4)x−2 = (3/43 )[2/(1 − 1/4)3 ] = 2/9.
x=2
So, V ar(X) = E(X 2 ) − [E(X)]2 = [E(X 2 ) − E(X)] + E(X) − [E(X)]2
2/9 + 1/3 − (1/3)2 = 4/9, and V ar(Y ) = 4/9.
(b) E(Z) = E(X) + E(Y ) = (1/3) + (1/3) = 2/3, and
V ar(Z) = V ar(X + Y ) = V ar(X) + V ar(Y ) = (4/9) + (4/9) = 8/9, since X and Y are
independent (from Exercise 3.79).
∫1
4.70 (a) g(x) = 32 0 (x2 + y 2 ) dy = 12 (3x2 + 1) for 0 < x < 1 and
h(y) = 21 (3y 2 + 1) for 0 < y < 1.
Since f (x, y) ̸= g(x)h(y), X and Y are not independent.
∫1 2
(b) E(X + Y ) = E(X) + E(Y ) = 2E(X) = 0 x(3x ( + 1) )dx = 3/4 + 1/2 = 5/4.
∫
3 1 1
∫ 2 2
∫
3 1 1 y2
E(XY ) = 2 0 0 xy(x + y ) dx dy = 2 0 y 4 + 2 dy
[( ) ( ) ( ) ( )]
= 23 14 12 + 12 14 = 83 .
∫1 ( )2
(c) V ar(X) = E(X 2 ) − [E(X)]2 = 12 0 x2 (3x2 + 1) dx − 85 = 157
− 25 73
64 = 960 , and
( ) 2
73
V ar(Y ) = 960 . Also, Cov(X, Y ) = E(XY ) − E(X)E(Y ) = 83 − 58 = − 64 1
.
73
(d) V ar(X + Y ) = V ar(X) + V ar(Y ) + 2Cov(X, Y ) = 2 960 − 2 64
1
= 29
240 .
∫∞
4.71 (a) E(Y ) = 0 ye−y/4 dy = 4.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
Solutions for Exercises in Chapter 4 49
∫∞
(b) E(Y 2 ) = 0 y 2 e−y/4 dy = 32 and V ar(Y ) = 32 − 42 = 16.
0 7 8
x
∫8
(b) E(Y ) = 7 y dy = 12 [82 − 72 ] = 15
2 = 7.5,
∫8 2 ( 15 )2
E(Y ) = 7 y dy = 3 [8 − 7 ] = 169
2 1 3 3
3 , and V ar(Y ) =
169
3 − 2 = 1
12 .
Using the approximation, since g(y) = ey , so g ′′ (y) = ey . Hence, using the approximation
formula,
( )
σY2 1
E(e ) ≈ e
Y µY
+e µY
= 1+ e7.5 = 1883.38.
2 24
e(2)(7.5)
V ar(eY ) = (eµY )2 V ar(Y ) = = 272418.11.
12
The approximation is not so close to each other. One reason is that the first order approxi-
mation may not always be good enough.
1
P (µ − kσ < X < µ + kσ) ≥ 1 − ,
k2
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
50 Chapter 4 Mathematical Expectation
Since 1000(0.0625) = 62.5, we claim that at most 63 applicants would have a score as 84 or
higher. Since there will be 70 positions, the applicant will have the job.
4.79 Define I1 = {xi | |xi − µ| < kσ} and I2 = {xi | |xi − µ| ≥ kσ}. Then
∑ ∑ ∑
σ 2 = E[(X − µ)2 ] = (x − µ)2 f (x) = (xi − µ)2 f (xi ) + (xi − µ)2 f (xi )
x xi ∈I1 xi ∈I2
∑ ∑
≥ (xi − µ) f (xi ) ≥ k σ
2 2 2
f (xi ) = k σ P (|X − µ| ≥ kσ),
2 2
xi ∈I2 xi ∈I2
which implies
1
P (|X − µ| ≥ kσ) ≤ .
k2
Hence, P (|X − µ| < kσ) ≥ 1 − k12 .
∫1∫1 ∫1∫1
4.80 E(XY ) = 0 0 xy(x + y) dx dy = 31 , E(X) = 0 0 x(x + y) dx dy = 12 7
and E(Y ) = 127
.
( )
7 2
Therefore, σXY = E(XY ) − µX µY = 3 − 12 = − 144 .
1 1
∫1∫y ∫1
4.81 E(Y − X) = 0 0 2(y − x) dx dy = 0 y 2 dy = 13 . Therefore, the average amount of kerosene
left in the tank at the end of each day is (1/3)(1000) = 333 liters.
∫∞
4.82 (a) E(X) = 0 x5 e−x/5 dx = 5.
∫∞ 2
(b) E(X 2 ) = 0 x5 e−x/5 dx = 50, so V ar(X) = 50 − 52 = 25, and σ = 5.
(c) E[(X + 5)2 ] = E{[(X − 5) + 10]2 } = E[(X − 5)2 ] + 102 + 20E(X − 5)
= V ar(X) + 100 = 125.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
Solutions for Exercises in Chapter 4 51
∫ 1 ∫ 1−y ∫1
4.83 E(XY ) = 24 0 0 x2 y 2 dx dy = 8 0 y 2 (1 − y)3 dy = 15 2
,
∫ 1 ∫ 1−y 2 2
∫ ∫
1 1−y 2
µX = 24 0 0 x y dx dy = 5 and µY = 24 0 0 xy 2 dx dy = 5. Therefore, σXY =
( )2
E(XY ) − µX µY = 15 2
− 25 = − 752
.
∫ 1 ∫ 1−y
4.84 E(X + Y ) = 0 0 24(x + y)xy dx dy = 45 .
∫ ∞ x −x/900
4.85 (a) E(X) = 0 900 e dx = 900 hours.
∫ ∞ x
e−x/900 dx = 1620000 hours2 .
2
(b) E(X 2 ) = 0 900
(c) V ar(X) = E(X 2 ) − [E(X)]2 = 810000 hours2 and σ = 900 hours.
4.86 It is known g(x) = 23 (x + 1), for 0 < x < 1, and h(y) = 13 (1 + 4y), for 0 < y < 1.
∫1 ∫1
(a) µX = 0 23 x(x + 1) dx = 59 and µY = 0 13 y(1 + 4y) dy = 11 18 .
(b) E[(X + Y )/2] = 12 [E(X) + E(Y )] = 7
12 .
2 = 5 and σ 2 = 3, we have ρ =
4.90 Since σXY = 1, σX Y
σXY
σX σY =√ 1
= 0.2582.
(5)(3)
Using Chebyshev’s theorem, the probability of this event should be larger than 0.75,
which is true.
∫1
(c) P (profit > $500) = P (X > 0.1) = 0.1 2(1 − x) = 0.81.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
52 Chapter 4 Mathematical Expectation
4.92 Since g(0)h(0) = (0.17)(0.23) ̸= 0.10 = f (0, 0), X and Y are not independent.
x1 0 1 2 3 4
fX1 (x1 ) 0.13 0.21 0.31 0.23 0.12
x2 0 1 2 3 4
fX2 (x2 ) 0.10 0.30 0.39 0.15 0.06
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.
Solutions for Exercises in Chapter 4 53
x 0 1 2
4 5 30
fX|Y =2 (x|2) 39 39 39
4.99 The profit is 8X + 3Y − 10 for each trip. So, we need to calculate the average of this quantity.
The marginal densities of X and Y are, respectively,
x 0 1 2 y 0 1 2 3 4 5
g(x) 0.34 0.32 0.34 h(y) 0.05 0.18 0.15 0.27 0.19 0.16
2 (
∑ )2
∂eb0 +b1 k1 +b2 k2
V ar(Ŷ ) ≈ σb2i = e2(β0 +k1 β1 +k2 β2 ) (σ02 + k12 σ12 + k22 σ22 ).
∂bi
i=0 bi =βi , 0≤i≤2
∫1 1 ∫1
4.101 (a) E(Y ) = 10 0 y(1 − y)9 dy = − y(1 − y)10 0
+ 0 (1 − y)10 dy = 1
11 .
(b) E(1 − Y ) = 1 − E(Y ) = 10
11 .
(c) V ar(Z) = V ar(1 − Y ) = V ar(Y ) = E(Y 2 ) − [E(Y )]2 = 10
112 ×12
= 0.006887.
Copyright ⃝2012
c Pearson Education, Inc. Publishing as Prentice Hall.