Feb 21 Homework Solutions Math 151, Winter 2012 Chapter 5 ...

Feb 21 Homework Solutions

Math 151, Winter 2012

Chapter 5 Problems (pages 224-227)

Problem 5

A filling station is supplied with gasoline once a week. If its weekly volume of sales in

thousands of gallons is a random variable with probability density function



5(1 ? x)4 0 < x < 1,

f (x) =

0

otherwise

what must the capacity of the tank be so that the probability of the supply¡¯s being exhausted

in a given week is .01?

We want to find the capacity a so that P {X ¡Ü a} ¡Ý 1 ? .01 = .99. For 0 ¡Ü a ¡Ü 1, we

have

Z a

P {X ¡Ü a} =

5(1 ? x)4 dx = 1 ? (1 ? a)5 ,

0

Hence we need

P {X ¡Ü a} ¡Ý .99

=?1 ? (1 ? a)5 ¡Ý .99

=?(1 ? a)5 ¡Ü .01

=?a ¡Ý 1 ? (.01)1/5 ¡Ö 0.6019

So the capacity of the tank must be at least 6019 gallons.

Problem 6

Compute E[X] if X has a density function given by

(a)



f (x) =

Z

¡Þ

E[X] =

Z

¡Þ

xf (x)dx =

?¡Þ

0

1

xe?x/2

4

x>0

otherwise

0



1

1 2 ?x/2

xe

dx = ? x2 ? 2x ? 4 e?x/2

4

2

¡Þ

0

= 4.

(b)



f (x) =

Z

c(1 ? x2 ) ?1 < x < 1

0

otherwise.

¡Þ

E[X] =

Z

1

xf (x)dx =

?¡Þ

cx(1 ? x2 )dx = 0

?1

since f (x) is an even function. Note that the solution does not depend on c.

1

(c)

5x?2 x > 5

0

x¡Ü5



f (x) =

Z

¡Þ

Z

xf (x)dx =

E[X] =

?¡Þ

5

¡Þ

5x?1 dx = 5 log(x)

¡Þ

5

= ¡Þ.

Problem 10

Trains headed for destination A arrive at the train station at 15-minute intervals starting

at 7 a.m., whereas trains headed for destination B arrive at 15-minute intervals starting

at 7:05 a.m.

(a) If a certain passenger arrives at the station at a time uniformly distributed between

7 and 8 a.m. and then gets on the first train that arrives, what proportion of the

time does he or she go to destination A?

The passenger takes the train to destination A if he arrives between 7:05 and 7:15

a.m, between 7:20 and 7:30 a.m, between 7:35 and 7:45 a.m, or between 7:50 and

8 a.m. Thus the passenger takes the train to destination A with probability (10 +

10 + 10 + 10)/60 = 40/60 = 2/3. In other words, the passenger takes the train to

destination A two-thirds of the time.

(b) What if the passenger arrives at a time uniformly distributed between 7:10 and 8:10

a.m.?

The passenger takes the train to destination A if he arrives between 7:10 and 7:15

a.m, between 7:20 and 7:30 a.m, between 7:35 and 7:45 a.m, between 7:50 and 8 a.m,

or between 8:05 and 8:10 a.m. Thus the passenger takes the train to destination

A with probability (5 + 10 + 10 + 10 + 5)/60 = 40/60 = 2/3. In other words, the

passenger still takes the train to destination A two-thirds of the time.

Problem 11

A point is chosen at random on a line segment of length L. Interpret this statement, and

find the probability that the ratio of the shorter to the longer segment is less than 1/4.

A point is chosen at random on this line means that we can represent the chosen point

by a continuous random variable X taking values between 0 and L. So X is the distance

from a fixed endpoint of the line segment to the chosen point. The random variable X

has a uniform probability density function f (x) = 1/L for 0 ¡Ü x ¡Ü L. If we chose the

point at X, the line is divided into two pieces of length X and L ? X. The ratio of the

shorter to the longer segment is the smaller number of X/(L ? X) or (L ? X)/X. We

have X/(L ? X) < 1/4 ? X < L/5 and (L ? X)/X < 1/4 ? X > 4L/5. Note that the

events X < L/5 and X > 4L/5 are disjoint. Hence the probability that the ratio of the

2

shorter to the longer segment is less than 1/4 is

P {X/(L ? X) < 1/4 or (L ? X)/X < 1/4} = P {X < L/5 or X > 4L/5}

= P {X < L/5} + P {X > 4L/5}

Z L

Z L/5

(1/L)dx

(1/L)dx +

=

0

4L/5

= 1/5 + 1/5

= 2/5.

Problem 15

If X is a normal random variable with parameters ? = 10 and ¦Ò 2 = 36, compute

(a) P {X > 5}.

Recall that P {X ¡Ü a} = ¦µ((a??)/¦Ò) = ¦µ((a?10)/6) where ¦µ(x) is the cumulative

distribution function of the standard normal random variable. Using Table 5.1 on

page 201, we have

P {X > 5} = 1 ? P {X < 5} = 1 ? ¦µ(?5/6) = ¦µ(5/6) ¡Ö ¦µ(.83) ¡Ö .7967.

(b) P {4 < X < 16}.

P {4 < X < 16} = P {X < 16}?P {X ¡Ü 4} = ¦µ(1)?¦µ(?1) = 2¦µ(1)?1 ¡Ö 2(.8413)?1 = .6826.

(c) P {X < 8}.

P {X < 8} = ¦µ(?1/3) = 1 ? ¦µ(1/3) ¡Ö 1 ? ¦µ(.33) ¡Ö 1 ? .6293 = .3707

(d) P {X < 20}.

P {X < 20} = ¦µ(5/3) ¡Ö ¦µ(1.67) = .9525.

(e) P {X > 16}.

P {X > 16} = 1 ? P {X < 16} = 1 ? ¦µ(1) ¡Ö 1 ? .8413 = .1587.

Problem 16

The annual rainfall (in inches) in a certain region is normally distributed with ? = 40

and ¦Ò = 4. What is the probability that, starting with this year, it will take over 10

years before a year occurs having a rainfall of over 50 inches? What assumptions are you

making?

Assume the annual rainfall in different years are independent. Let X denote the annual

rainfall in a given year and recall that P {X ¡Ü a} = ¦µ((a ? ?)/¦Ò) = ¦µ((a ? 40)/4) where

¦µ(x) is the cumulative distribution function of the standard normal random variable.

The probability that it will take over 10 years before a year occurs having a rainfall of

over 50 inches is

(P {X ¡Ü 50})10 = (¦µ((50 ? 40)/4))10 = (¦µ(2.5))10 ¡Ö (.9938)10 ¡Ö .9397.

3

Problem 23

One thousand independent rolls of a fair die will be made. Compute an approximation

to the probability that the number 6 will appear between 150 and 200 times inclusively.

If the number 6 appears exactly 200 times, find the probability that number 5 will appear

less than 150 times.

Let X be the number of times the number 6 appears. Then X is a binomial random

variable with p = 1/6 and n = 1000. By the DeMoivre-Laplace limit theorem,

)

(

X ? np

200 ? np

150 ? np

¡Üp

¡Üp

P {150 ¡Ü X ¡Ü 200} = P p

np(1 ? p)

np(1 ? p)

np(1 ? p)

(

)

150 ? 1000/6

X ? np

200 ? 1000/6

p

=P

¡Üp

¡Ü p

1250/9

np(1 ? p)

1250/9

(

)

X ? np

¡Ö P ?1.4142 ¡Ü p

¡Ü 2.8284

np(1 ? p)

¡Ö ¦µ(2.8284) ? ¦µ(?1.4142)

¡Ö .9977 ? (1 ? .9207)

= .9184.

Given that the number 6 appears exactly 200 times, the number 5 appears less than

150 times if it does so in the remaining 800 trials. Represent the number of times the

number 5 appears in the remaining 800 trials by a binomial random variable Y with

p = 1/5 and n = 800, since in the remaining 800 trials only the numbers between 1 and

5 appear. Thus, given that the number 6 appears exactly 200 times, the probability that

the number 5 will appear less than 150 times is

P {Y < 150} = P {0 ¡Ü Y < 150}

)

(

Y ? np

150 ? np

0 ? np

¡Üp

¡Üp

=P p

np(1 ? p)

np(1 ? p)

np(1 ? p)

(

)

0 ? 160

Y ? np

150 ? 160

¡Ì

=P

¡Üp

¡Ü ¡Ì

128

128

np(1 ? p)

(

)

Y ? np

¡Ü ?.8839

= P ?14.1421 ¡Ü p

np(1 ? p)

¡Ö ¦µ(?.8839) ? ¦µ(?14.1421)

¡Ö (1 ? .8106) ? 0

= .1894.

Problem 34

Jones figures that the total number of thousands of miles that an auto can be driven before it would need to be junked is an exponential random variable with parameter 1/20.

Smith has a used car that he claims has been driven only 10,000 miles. If Jones purchases

the car, what is the probability that she would get at least 20,000 additional miles out of

4

it? Repeat under the assumption that the lifetime mileage of the car is not exponentially

distributed but rather is (in thousands of miles) uniformly distributed over (0, 40).

Let X denote the total number of thousands of miles that the auto is driven before

it needs to be junked. We want to compute P ({X ¡Ý 30}|{X ¡Ý 10}). Assuming X is an

exponential random variable with parameter 1/20, we have

Z ¡Þ

Z ¡Þ

1 ?x/20

e?t dt = e?3/2 ,

e

dx =

P {X ¡Ý 30} =

20

3/2

30

Z ¡Þ

Z ¡Þ

1 ?x/20

e?t dt = e?1/2 ,

e

dx =

P {X ¡Ý 10} =

20

1/2

10

P ({X ¡Ý 30}|{X ¡Ý 10}) = P {X ¡Ý 30}/P {X ¡Ý 10} = e?3/2 /e?1/2 = e?1 ¡Ö .3678.

Note that we could have saved some work here by using the memoryless property of the

exponential random variable.

Assuming X is uniformly distributed over (0, 40), we have

Z 40

1

P {X ¡Ý 30} =

dx = 1/4,

40

30

Z 40

1

P {X ¡Ý 10} =

dx = 3/4,

40

10

P ({X ¡Ý 30}|{X ¡Ý 10}) = P {X ¡Ý 30}/P {X ¡Ý 10} = (1/4)/(3/4) = 1/3.

Problem 35

The lung cancer hazard rate ¦Ë(t) of a t-year-old male smoker is such that

¦Ë(t) = .027 + .00025(t ? 40)2 for t ¡Ý 40.

Assuming that a 40-year-old male smoker survives all other hazards, what is the probability

that he survives without contracting lung cancer to

(a) age 50?

Let X denote the life-time of the smoker. Then

P ({X > 50}|{X > 40}) =

1 ? F (50)

.

1 ? F (40)

We know from equation (5.4) on page 213 that

 Z x



F (x) = 1 ? exp ?

¦Ë(t)dt .

0

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download