Professional Documents
Culture Documents
2 Random variables
3.3 Solution:
The sample space S for the three tosses of the coin is:
S = {HHH, HHT, HT H, HT T, T HH, T HT, T T H, T T T }
Let W be a random variable giving the number of heads minus the number of
tails in three tosses of a coin, we assign a value of ω of W to each sample point
in the following way:
Sample points ω
HHH 3
HHT 1
HTH 1
HTT -1
THH 1
THT -1
TTH -1
TTT -3
3.8 Solution:
Since the coin is biased, the probability of getting a head for one toss is 2/3
and the prob. of getting a tail is 1/3. From 3.3, we can get the probability
distribution function (p.d.f.):
P(x=-1)=P(HTT)+P(THT)+P(TTH)=3·( 32 · 1
3 · 13 ) = 2
9
P(x=1)=P(HHT)+P(HTH)+P(THH)=3·( 23 · 2
3 · 31 ) = 4
9
P(x=-3)=P(TTT)= 13 · 1
3 · 1
3 = 1
27
P(x=3)=P(HHH)= 23 · 2
3 · 2
3 = 8
27
3.11 Solution:
If X is the number of defective sets purchased by the hotel, then X can be 0, 1,
2. The p.d.f. of X is:
(53)
P(X=0)= = 27
(73)
(2)(5) 4
P(X=1)= 1 7 2 = 7
(3)
5
()
P(X=2)= 17 = 17
(3)
1
3.12 Solution:
(a) P(T=5)=F(5)-F(4)=3/4 - 1/2=1/4
3.13 Solution:
Given the p.d.f of X
x 0 1 2 3 4
f(x) 0.41 0.37 0.16 0.05 0.01
The cumulative distribution function (c.d.f) is:
0 f orx < 0,
0.41 f or0 ≤ x < 1,
0.41 + 0.37 f or1 ≤ x < 2,
F (x) =
0.78 + 0.16 f or2 ≤ x < 3,
0.94 + 0.05 f or3 ≤ x < 4,
0.99 + 0.01 f orx ≥ 4
0 f orx < 0,
0.41 f or0 ≤ x < 1,
0.78 f or1 ≤ x < 2,
=
0.94 f or2 ≤ x < 3,
0.99 f or3 ≤ x < 4,
1 f orx ≥ 4
2
3.7 Solution: R1 R 1.2
(a)P (X < 1.2) = 0 xdx + 1 (2 − x)dx = 12 x2 |10 +[− 21 (2 − x)2 ] |1.2
1 = 0.68
R1 R1
(b)P (0.5 ≤ x ≤ 1) = 0.5
xdx + 1
(2 − x)dx = 12 x2 |10.5 +0 = 1
2 − 0.25
2 = 0.375
3.17 Solution:
Given p.d.f. of X:
(
1
f or1 ≤ x ≤ 3,
f (x) = 2
0 otherwise
(a)The area under the curve f(x) is :
R3 1
1 2
dx = 12 · (3 − 1) = 1
R 2.5 R 2.5 1
(b) P (2 < X < 2.5) = 2
f (x)dx = 2 2 dx = 12 x |22.5 = 0.25
R 1.6 R1 R 1.6 1
(c) P (X ≤ 1.6) = −∞
f (x)dx = −∞
0dx + 1 2 dx = 12 x |11.6 = 0.3
3.19 Solution:
Given p.d.f.
( of X:
1
f or1 ≤ x ≤ 3,
f (x) = 2
0 otherwise
We have R x
R−∞ 0dx R
f orx < 1,
1 x 1
F (x) = P (X ≤ x) = −∞
0dx + 1 2 dx f or1 ≤ x < 3,
R 3 1
1 2
dx f orx ≥ 3,
Then,
0
f orx < 1,
1
F (x) = P (X ≤ x) = (x − 1) f or1 ≤ x < 3,
2
1 f orx ≥ 3,
3.21 Solution:
R∞
(a) Since −∞ f (x)dx = 1
then R √
1 3
1 = k 0 xdx = 2k 2 1
3 x |0 =
2k
3
So
k=3/2.
3
R x
R−∞ 0dx R
f orx < 0,
0 x 3√
(b) F (x) = P (X ≤ x) = −∞
0dx + 0 2 xdx f or0 ≤ x < 1,
R 1 3 √
0 2
xdx f orx ≥ 1
then,
0
f orx < 0,
3 3
F (x) = P (X ≤ x) = t 2 |x0 = x 2 f or0 ≤ x < 1,
1 f orx ≥ 1,
3 3
So P (0.3 < X < 0.6) = F (0.6) − F (0.3) = 0.6 2 − 0.3 2 = 0.3004
3.38 Solution:
The joint distribution of (X,Y) is:
x
f(x,y) 0 1 2 3
0 0 1/30 2/30 3/30
y 1 1/30 2/30 3/30 4/30
2 2/30 3/30 4/30 5/30
39. Solution:
(a)The joint distribution of (X,Y) is:
x
f(x,y) 0 1 2 3
0 0 3/70 9/70 3/70
y 1 2/70 18/70 18/70 2/70
2 3/70 9/70 3/70 0
(21)
P (X = 0, Y = 1) = = 2/70
(84)
4
(32)
P (X = 0, Y = 2) = = 3/70
(84)
3
(1)
P (X = 1, Y = 0) = = 3/70
(84)
(1)(1)(32)
3 2
P (X = 1, Y = 1) = = 18/70
(84)
3 3
(1)(1)
P (X = 1, Y = 2) = = 9/70
(84)
3 3
(2)(2)
P (X = 2, Y = 0) = = 9/70
(84)
3 2 3
(2)(1)(1)
P (X = 2, Y = 1) = = 18/70
(84)
3
(2)
P (X = 2, Y = 2) = = 3/70
(84)
(31)
P (X = 3, Y = 0) = = 3/70
(84)
2
(1)
P (X = 3, Y = 1) = = 2/70
(84)
(b)P (X + Y ≤ 2) = P (X = 0, Y = 1) + P (X = 0, Y = 2) + P (X = 1, Y = 0) +
P (X = 1, Y = 1)+P (X = 2, Y = 0) = 3/70+9/70+2/70+18/70+3/70 = 1/2.
3.40 Solution:
3.41 Solution:
1 1
R 1/2 2 −y
R 1/2 −y R 1/2
dy·12yx2 |02 [12y( 21 −
R
(a)P (X+Y ≤ 1/2) = 0
dy 0
24xydx = 0
= 0
y)2 ]dy = 1/16.