SM 316 - Spring 2019 Homework 4
SM 316 - Spring 2019 Homework 4
Homework 4
4.12: If a dealers profit, in units of $5000, on a new automobile can be looked upon as a
random variable X having the density function
2(1 − x), 0 < x < 1,
f (x) =
0, elsewhere.
x −2 3 5
f (x) 0.3 0.2 0.5
Find the standard deviation of X.
Solution: Note the standard deviation is the square root of the variance of X. First we must
find the mean. X
E[X] = xf (x) = −2 · 0.3 + 3 · 0.2 + 5 · 0.5 = 2.5.
all x
The variance is
X
E[(X − µ)2 ] = (x − 2.5)2 f (x) = (−2 − 2.5)2 · 0.3 + (3 − 2.5)2 · 0.2 + (5 − 2.5)2 · 0.5 = 9.25.
all x
Thus the standard deviation of X is
p
σX = E[(X − µ)2 ] = 3.041.
We know the mean is 2 and the variance is 3. We can find E[X 2 ] by noting
= E[X 2 ] − µ2 .
Thus
Var(X) = 3 = E[X 2 ] − (2)2
7 = E[X 2 ].
Therefore,
E[(X − 1)2 ] = E[X 2 ] − 2E[X] + 1 = 7 − 2 · 2 + 1 = 4.
and X 1 1 1
E[Y ] = yf (y) = −10 + 0 + 10 = 0.
4 2 4
all y
The variance is
1 1 1 1
Var(X) = E[(X − µ)2 ] = E[X 2 ] = (−1)2 + 02 + (1)2 = ,
4 2 4 2
and
1 1 1
Var(Y ) = E[(Y − µ)2 ] = E[Y 2 ] = (−10)2 + 02 + (10)2 = 50.
4 2 4
Thus the variance of Y is much higher than X. We can imagine X is a game where we win $1
with probability 0.25, lose $1 with probability 0.25 and tie with probability 0.5. Y is a similar
game where we lose or win $10. Both games are mean 0, but Y you are risking 10 times as
much much (with the chance of a ×10 payout).
4. The length of time, in minutes, for an airplane to obtain clearance for takeoff at a certain
airport is a random variable Y = 3X − 2, where X has the density function
1 −x/4
4
e , x>0
f (x) =
0, elsewhere.
The variance is
= 9 · 16 = 144.