# Connexions

You are here: Home » Content » Problems on Distribution and Density Functions

### Lenses

What is a lens?

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

#### Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
• Rice Digital Scholarship

This module is included in aLens by: Digital Scholarship at Rice UniversityAs a part of collection: "Applied Probability"

Click the "Rice Digital Scholarship" link to see all content affiliated with them.

#### Also in these lenses

• UniqU content

This module is included inLens: UniqU's lens
By: UniqU, LLCAs a part of collection: "Applied Probability"

Click the "UniqU content" link to see all content selected in this lens.

### Recently Viewed

This feature requires Javascript to be enabled.

# Problems on Distribution and Density Functions

Module by: Paul E Pfeiffer. E-mail the author

## Exercise 1

(See Exercises 3 and 4 from "Problems on Random Variables and Probabilities"). The class {Cj:1j10}{Cj:1j10} is a partition. Random variable X has values {1,3,2,3,4,2,1,3,5,2}{1,3,2,3,4,2,1,3,5,2} on C1 through C10, respectively, with probabilities 0.08, 0.13, 0.06, 0.09, 0.14, 0.11, 0.12, 0.07, 0.11, 0.09. Determine and plot the distribution function FX.

## Exercise 2

(See Exercise 6 from "Problems on Random Variables and Probabilities"). A store has eight items for sale. The prices are $3.50,$5.00, $3.50,$7.50, $5.00,$5.00, $3.50, and$7.50, respectively. A customer comes in. She purchases one of the items with probabilities 0.10, 0.15, 0.15, 0.20, 0.10 0.05, 0.10 0.15. The random variable expressing the amount of her purchase may be written

X = 3 . 5 I C 1 + 5 . 0 I C 2 + 3 . 5 I C 3 + 7 . 5 I C 4 + 5 . 0 I C 5 + 5 . 0 I C 6 + 3 . 5 I C 7 + 7 . 5 I C 8 X = 3 . 5 I C 1 + 5 . 0 I C 2 + 3 . 5 I C 3 + 7 . 5 I C 4 + 5 . 0 I C 5 + 5 . 0 I C 6 + 3 . 5 I C 7 + 7 . 5 I C 8
(1)

Determine and plot the distribution function for X.

## Exercise 3

(See Exercise 12 from "Problems on Random Variables and Probabilities"). The class {A,B,C,D}{A,B,C,D} has minterm probabilities

p m = 0 . 001 * [ 5 7 6 8 9 14 22 33 21 32 50 75 86 129 201 302 ] p m = 0 . 001 * [ 5 7 6 8 9 14 22 33 21 32 50 75 86 129 201 302 ]
(2)

Determine and plot the distribution function for the random variable X=IA+IB+IC+IDX=IA+IB+IC+ID, which counts the number of the events which occur on a trial.

## Exercise 4

Suppose a is a ten digit number. A wheel turns up the digits 0 through 9 with equal probability on each spin. On ten spins what is the probability of matching, in order, k or more of the ten digits in a, 0k100k10? Assume the initial digit may be zero.

## Exercise 5

In a thunderstorm in a national park there are 127 lightning strikes. Experience shows that the probability of of a lightning strike starting a fire is about 0.0083. What is the probability that k fires are started, k=0,1,2,3k=0,1,2,3?

## Exercise 6

A manufacturing plant has 350 special lamps on its production lines. On any day, each lamp could fail with probability p=0.0017p=0.0017. These lamps are critical, and must be replaced as quickly as possible. It takes about one hour to replace a lamp, once it has failed. What is the probability that on any day the loss of production time due to lamp failaures is k or fewer hours, k=0,1,2,3,4,5?k=0,1,2,3,4,5?

## Exercise 7

Two hundred persons buy tickets for a drawing. Each ticket has probability 0.008 of winning. What is the probability of k or fewer winners, k=2,3,4?k=2,3,4?

## Exercise 8

Two coins are flipped twenty times. What is the probability the results match (both heads or both tails) k times, 0k200k20?

## Exercise 9

Thirty members of a class each flip a coin ten times. What is the probability that at least five of them get seven or more heads?

## Exercise 10

For the system in Exercise 6, call a day in which one or more failures occur among the 350 lamps a “service day.” Since a Bernoulli sequence “starts over” at any time, the sequence of service/nonservice days may be considered a Bernoulli sequence with probability p1, the probability of one or more lamp failures in a day.

1. Beginning on a Monday morning, what is the probability the first service day is the first, second, third, fourth, fifth day of the week?
2. What is the probability of no service days in a seven day week?

## Exercise 11

For the system in Exercise 6 and Exercise 10 assume the plant works seven days a week. What is the probability the third service day occurs by the end of 10 days? Solve using the negative binomial distribution; repeat using the binomial distribution.

## Exercise 12

A residential College plans to raise money by selling “chances” on a board. Fifty chances are sold. A player pays $10 to play; he or she wins$30 with probability p=0.2p=0.2. The profit to the College is

X = 50 · 10 - 30 N , where N is the number of winners X = 50 · 10 - 30 N , where N is the number of winners
(3)

Determine the distribution for X and calculate P(X>0)P(X>0), P(X200)P(X200), and

P(X300)P(X300).

## Exercise 13

A single six-sided die is rolled repeatedly until either a one or a six turns up. What is the probability that the first appearance of either of these numbers is achieved by the fifth trial or sooner?

## Exercise 14

Consider a Bernoulli sequence with probability p=0.53p=0.53 of success on any component trial.

1. The probability the fourth success will occur no later than the tenth trial is determined by the negative binomial distribution. Use the procedure nbinom to calculate this probability .
2. Calculate this probability using the binomial distribution.

## Exercise 15

Fifty percent of the components coming off an assembly line fail to meet specifications for a special job. It is desired to select three units which meet the stringent specifications. Items are selected and tested in succession. Under the usual assumptions for Bernoulli trials, what is the probability the third satisfactory unit will be found on six or fewer trials?

## Exercise 16

The number of cars passing a certain traffic count position in an hour has Poisson (53) distribution. What is the probability the number of cars passing in an hour lies between 45 and 55 (inclusive)? What is the probability of more than 55?

## Exercise 17

Compare P(Xk)P(Xk) and P(Yk)P(Yk) for XX binomial(5000, 0.001) and YY Poisson (5), for 0k100k10. Do this directly with ibinom and ipoisson. Then use the m-procedure bincomp to obtain graphical results (including a comparison with the normal distribution).

## Exercise 18

Suppose XX binomial (12, 0.375), YY Poisson (4.5), and ZZ exponential (1/4.5). For each random variable, calculate and tabulate the probability of a value at least k, for integer values 3k83k8.

## Exercise 19

The number of noise pulses arriving on a power circuit in an hour is a random quantity having Poisson (7) distribution. What is the probability of having at least 10 pulses in an hour? What is the probability of having at most 15 pulses in an hour?

## Exercise 20

The number of customers arriving in a small specialty store in an hour is a random quantity having Poisson (5) distribution. What is the probability the number arriving in an hour will be between three and seven, inclusive? What is the probability of no more than ten?

## Exercise 21

Random variable XX binomial (1000, 0.1).

1. Determine P(X80),P(X100),P(X120)P(X80),P(X100),P(X120)
2. Use the appropriate Poisson distribution to approximate these values.

## Exercise 22

The time to failure, in hours of operating time, of a televesion set subject to random voltage surges has the exponential (0.002) distribution. Suppose the unit has operated successfully for 500 hours. What is the (conditional) probability it will operate for another 500 hours?

## Exercise 23

For XX exponential (λ)(λ), determine P(X1/λ)P(X1/λ), P(X2/λ)P(X2/λ).

## Exercise 24

Twenty “identical” units are put into operation. They fail independently. The times to failure (in hours) form an iid class, exponential (0.0002). This means the “expected” life is 5000 hours. Determine the probabilities that at least k, for k=5,8,10,12,15k=5,8,10,12,15, will survive for 5000 hours.

## Exercise 25

Let TT gamma (20, 0.0002) be the total operating time for the units described in Exercise 24.

1. Use the m-function for the gamma distribution to determine P(T100,000)P(T100,000).
2. Use the Poisson distribution to determine P(T100,000)P(T100,000).

## Exercise 26

The sum of the times to failure for five independent units is a random variable XX gamma (5,0.15)(5,0.15). Without using tables or m-programs, determine P(X25)P(X25).

## Exercise 27

Interarrival times (in minutes) for fax messages on a terminal are independent, exponential (λ=0.1λ=0.1). This means the time X for the arrival of the fourth message is gamma(4, 0.1). Without using tables or m-programs, utilize the relation of the gamma to the Poisson distribution to determine P(X30)P(X30).

## Exercise 28

Customers arrive at a service center with independent interarrival times in hours, which have exponential (3) distribution. The time X for the third arrival is thus gamma (3,3)(3,3). Without using tables or m-programs, determine P(X2)P(X2).

## Exercise 29

Five people wait to use a telephone, currently in use by a sixth person. Suppose time for the six calls (in minutes) are iid, exponential (1/3). What is the distribution for the total time Z from the present for the six calls? Use an appropriate Poisson distribution to determine P(Z20)P(Z20).

## Exercise 30

A random number generator produces a sequence of numbers between 0 and 1. Each of these can be considered an observed value of a random variable uniformly distributed on the interval [0, 1]. They assume their values independently. A sequence of 35 numbers is generated. What is the probability 25 or more are less than or equal to 0.71? (Assume continuity. Do not make a discrete adjustment.)

## Exercise 31

Five “identical” electronic devices are installed at one time. The units fail independently, and the time to failure, in days, of each is a random variable exponential (1/30). A maintenance check is made each fifteen days. What is the probability that at least four are still operating at the maintenance check?

## Exercise 32

Suppose XN(4,81)XN(4,81). That is, X has gaussian distribution with mean μ=4μ=4 and variance σ2=81σ2=81.

1. Use a table of standardized normal distribution to determine P(2<X<8)P(2<X<8) and P(|X-4|5)P(|X-4|5).
2. Calculate the probabilities in part (a) with the m-function gaussian.

## Exercise 33

Suppose XN(5,81)XN(5,81). That is, X has gaussian distribution with μ=5μ=5 and σ2=81σ2=81. Use a table of standardized normal distribution to determine P(3<X<9)P(3<X<9) and P(|X-5|5)P(|X-5|5). Check your results using the m-function gaussian.

## Exercise 34

Suppose XN(3,64)XN(3,64). That is, X has gaussian distribution with μ=3μ=3 and σ2=64σ2=64. Use a table of standardized normal distribution to determine P(1<X<9)P(1<X<9) and P(|X-3|4)P(|X-3|4). Check your results with the m-function gaussian.

## Exercise 35

Items coming off an assembly line have a critical dimension which is represented by a random variable N(10, 0.01). Ten items are selected at random. What is the probability that three or more are within 0.05 of the mean value μ.

## Exercise 36

The result of extensive quality control sampling shows that a certain model of digital watches coming off a production line have accuracy, in seconds per month, that is normally distributed with μ=5μ=5 and σ2=300σ2=300. To achieve a top grade, a watch must have an accuracy within the range of -5 to +10 seconds per month. What is the probability a watch taken from the production line to be tested will achieve top grade? Calculate, using a standardized normal table. Check with the m-function gaussian.

## Exercise 37

Use the m-procedure bincomp with various values of n from 10 to 500 and p from 0.01 to 0.7, to observe the approximation of the binomial distribution by the Poisson.

## Exercise 38

Use the m-procedure poissapp to compare the Poisson and gaussian distributions. Use various values of μ from 10 to 500.

## Exercise 39

Random variable X has density fX(t)=32t2,-1t1fX(t)=32t2,-1t1 (and zero elsewhere).

1. Determine P(-0.5X<0,8)P(-0.5X<0,8), P(|X|>0.5)P(|X|>0.5), P(|X-0.25|0.5)P(|X-0.25|0.5).
2. Determine an expression for the distribution function.
3. Use the m-procedures tappr and cdbn to plot an approximation to the distribution function.

## Exercise 40

Random variable X has density function fX(t)=t-38t2,0t2fX(t)=t-38t2,0t2 (and zero elsewhere).

1. Determine P(X0.5)P(X0.5), P(0.5X<1.5)P(0.5X<1.5), P(|X-1|<1/4)P(|X-1|<1/4).
2. Determine an expression for the distribution function.
3. Use the m-procedures tappr and cdbn to plot an approximation to the distribution function.

## Exercise 41

Random variable X has density function

f X ( t ) = ( 6 / 5 ) t 2 for 0 t 1 ( 6 / 5 ) ( 2 - t ) for 1 < t 2 = I [ 0 , 1 ] ( t ) 6 5 t 2 + I ( 1 , 2 ] ( t ) 6 5 ( 2 - t ) f X ( t ) = ( 6 / 5 ) t 2 for 0 t 1 ( 6 / 5 ) ( 2 - t ) for 1 < t 2 = I [ 0 , 1 ] ( t ) 6 5 t 2 + I ( 1 , 2 ] ( t ) 6 5 ( 2 - t )
(26)
1. Determine P(X0.5)P(X0.5), P(0.5X<1.5)P(0.5X<1.5), P(|X-1|<1/4)P(|X-1|<1/4).
2. Determine an expression for the distribution function.
3. Use the m-procedures tappr and cdbn to plot an approximation to the distribution function.

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

### Reuse / Edit:

Reuse or edit module (?)

#### Check out and edit

If you have permission to edit this content, using the "Reuse / Edit" action will allow you to check the content out into your Personal Workspace or a shared Workgroup and then make your edits.

#### Derive a copy

If you don't have permission to edit the content, you can still use "Reuse / Edit" to adapt the content by creating a derived copy of it and then editing and publishing the copy.