MI2023.Chapter 2. Random Variables and Probability Distributions
MI2023.Chapter 2. Random Variables and Probability Distributions
MI2023.Chapter 2. Random Variables and Probability Distributions
Problem 2.1. A civil engineer is studying a left-turn lane that is long enough to hold 7 cars. Let
X be the number of cars in the lane at the end of a randomly chosen red light. The engineer
believes that the probability that X = x is proportional to (x + 1)(8 − x) for x = 0, 1, ..., 7.
Problem 2.2. A midterm test has 4 multiple choice questions with four choices with one cor-
rect answer each. If you just randomly guess on each of the 4 questions, what is the probabil-
ity that you get exactly 2 questions correct? Assume that you answer all and you will get (+5)
points for 1 question correct, (-2) points for 1 question wrong. Let X is number of points that
you get. Find the probability mass function of X and the expected value ofX.
c 1 2 , n = 0, 1, 2
2
Problem 2.3. The random variable N has the following pmf fN (n) =
0, otherwise
Problem 2.5. Suppose when a baseball player gets a hit, a single is twice as likely as a double
which is twice as likely as a triple which is twice as likely as a home run. Also, the player’s
batting average, i.e., the probability the player gets a hit, is 0.300. Let B denote the number of
bases touched safely during an at-bat. For example, B = 0 when the player makes an out, B =
1 on a single, and so on. What is the pmf of B?
Problem 2.6. There are two boxes, the first box consists of 7 red balls and 3 white balls, the
second box consists of 5 red balls and 2 white balls. Draw randomly 2 balls fron the first box
to second one, then continue to draw randomly 2 balls from the second one. Let X be the
number of white balls out of these 2 balls. Find the probability distribution of X.
1
Problem 2.7. When a conventional paging system transmits a message, the probability that
the message will be received by the pager it is sent to is p. To be confident that a message is
received at least once, a system transmits the message n times.
(a) Assuming all transmissions are independent, what is the pmf of K, the number of times
the pager receives the same message?
(b) Assume p = 0.8. What is the minimum value of n that produces a probability of 0.95 of
receiving the message at least once?
Problem 2.8. When a two-way paging system transmits a message, the probability that the
message will be received by the pager it is sent to is p. When the pager receives the message,
it transmits an acknowledgment signal (ACK) to the paging system. If the paging system does
not receive the ACK, it sends the message again.
(a) What is the pmf of N, the number of times the system sends the same message?
(b) The paging company wants to limit the number of times it has to send the same message.
It has a goal of P [N ≤ 3] ≥ 0.95. What is the minimum value of p necessary to achieve the
goal?
0, x ≤ −1,
0.2, −1 < x ≤ 0,
Problem 2.9. The random variable X has the following cdf: FX (x) =
0.7, 0 < x ≤ 1,
1, x > 1.
(b) Write fX (x), the pmf of X. Be sure to write the value of fX (x) for all x from −∞ to +∞.
Problem 2.11. In Problem 2.5, find and sketch the cdf of B, the number of bases touched
safely during an at-bat.
2
Problem 2.12. A shipment of 7 television sets contains 2 defective sets. A hotel makes a
random purchase of 3 of the sets. Let X be the number of defective sets purchased by the
hotel.
(a) Find the probability distribution of X.
3
2 Continuous Random Variables.
Problem 2.20. The cumulative distribution function of the continuous random variable V is
0, v ≤ −5,
FV (v) = c(v + 5)2 , −5 < x ≤ 7,
1, x>7
(a) What is c?
Problem
2.21. The random variable X has the following probability density function fX (x) =
cx, 0 ≤ x ≤ 2,
. Use the pdf to find
0, otherwise.
(b) P [0 ≤ X ≤ 1].
1 1
(c) P − ≤ X ≤ .
2 2
(d) the cdf FX (x).
4
Find the pdf fX (x) of X.
1/4, −1 ≤ x ≤ 3,
Problem 2.23. Continuous random variable X has the following pdf fX (x) = .
0, otherwise.
Define the random variable Y by Y = h(X) = X 2 .
(a) Find E[X] and V [X].
(b) Find h(E[X]) and E[h(X)].
(c) Find V [Y ].
0, x ≤ 0,
x
Problem 2.24. Random variable X has the following cdf FX (x) = , 0 < x ≤ 2, .
2
1, x > 2
(a) What is k?
h πi
(b) What is P 0 < x < ?
2
(c) What is E[X]?
Problem 2.27. The cumulative distribution function of the continuous random variable X is
0, x ≤ −a,
x
F (x) = A + B arcsin , −a < x < a,
a
1, x ≥ a.
5
(a) What are A and B?
Problem 2.28. The cumulative distribution function of the continuous random variable X is
Problem 2.29. The cumulative distribution function of the continuous random variable X is
1 1 x
F (x) = + arctan
2 π 2
1
What is the value of x1 such that P (X > x1 ) = ?
4
Problem 2.30. The continuous random variable X has probability density function
k sin 3x, x ∈ 0; π ,
f (x) = π 3
0, x ∈ / 0; .
3
Use the pdf to find
Problem 2.32. In a package of M&Ms, Y, the number of yellow M&Ms, is uniformly distributed
between 5 and 15.
6
Problem 2.33. The number of bits B in a fax transmission is a geometric (p = 2.5 × 10−5 )
random variable. What is the probability P [B > 500, 000] that a fax has over 500,000 bits?
Problem 2.34. X is a continuous uniform random variable with expected value µX = 7 and
variance V ar[X] = 3. What is the pdf of X?
Problem 2.35. In a package of M&Ms, Y, the number of yellow M&Ms, is uniformly distributed
between 5 and 15.
(b) What is P [µX −σX ≤ X ≤ µX +σX ], the probability that X is within one standard deviation
of the expected value?
Problem 2.37. Give examples of practical applications of probability theory that can be mod-
eled by the following pmf. In each case, state an experiment, the sample space, the range of
the random variable, the pmf of the random variable, and the expected value: (a) Bernoulli;(b)
Binomial; (c) Poisson. Make up your own examples.
Problem 2.38. X is a continuous uniform random variable on (−5, 5).
Problem 2.39. When a conventional paging system transmits a message, the probability that
the message will be received by the pager it is sent to is p. To be confident that a message is
received at least once, a system transmits the message n times.
(a) Assuming all transmissions are independent, what is the pmf of K, the number of times
the pager receives the same message?
(b) Assume p = 0.8. What is the minimum value of n that produces a probability of 0.95 of
receiving the message at least once?
7
Problem 2.40. When a two-way paging system transmits a message, the probability that the
message will be received by the pager it is sent to is p. When the pager receives the message,
it transmits an acknowledgment signal (ACK) to the paging system. If the paging system does
not receive the ACK, it sends the message again.
(a) What is the pmf of N, the number of times the system sends the same message?
(b) The paging company wants to limit the number of times it has to send the same message.
It has a goal of P [N ≤ 3] ≥ 0.95. What is the minimum value of p necessary to achieve the
goal?
Problem 2.41. The peak temperature T, as measured in degrees Fahrenheit, on a July day
in New Jersey is the Gaussian (85, 10) random variable. What is P [T > 100], P [T < 60], and
P [70 ≤ T ≤ 100]?
Problem 2.42. What is the pdf of Z, the standard normal random variable?
Problem 2.43. X is a Gaussian random variable with E[X] = 0 and P [|X| ≤ 10] = 0.1. What is
the standard deviation σX ?
Problem 2.44. Y is an exponential random variable with variance V [Y ] = 25.
(a) What is the pdf of Y ?
(b) What is E[Y 2 ]?
(c) What is P [Y > 5]?
5e−5x , x > 0,
Problem 2.45. X is an exponential random variable where the pdf is fX (x) = .
0, x ≤ 0.
(a) What is E[X]?
(b) What is P [0.4 < X < 1]?
Problem 2.46. X is a Gaussian random variable with E[X] = 0 and σX = 0.4.
(a) What is P [X > 3]?
(b) What is the value of c such that P [3 − c < X < 3 + c] = 0.9?
Problem 2.47. The peak temperature T, in degrees Fahrenheit, on a July day in Antarctica
1
is a Gaussian random variable with a variance of 225. With probability , the temperature
2
T exceeds 10 degrees. What is P [T > 32], the probability the temperature is above freezing?
What is P [T < 0]? What is P [T > 60]?
Problem 2.48. The voltage X across a 1Ω resistor is a uniform random variable with param-
eters 0 and 1. The instantaneous power is Y = X 2 . Find the cdf FY (y) and the pdf fY (y) of
Y.
Problem 2.49. X is uniform random variable with parameters 0 and 1. Find a function g(x)
3y 2 , 0 ≤ y ≤ 1,
such that the pdf of Y = g(X) is fY (y) =
0, otherwise.
8
Problem 2.50. Four microchips are to be placed in a computer. Two of the four chips are
randomly selected for inspection before assembly of the computer. Let X denote the num-
ber of defective chips found among the two chips inspected. Find the probability mass and
distribution function of X if
Problem 2.51. A four engine plane can fly if at least two engines work.
(a) If the engines operate independently and each malfunctions with probability q, what is
the probability that the plane will fly safely?
(b) A two engine plane can fly if at least one engine works and if an engine malfunctions with
probability q, what is the probability that plane will fly safely?
Problem 2.52. A rat maze consists of a straight corridor, at the end of which is a branch; at the
branching point the rat must either turn right or left. Assume 10 rats are placed in the maze,
one at a time.
(a) If each is choosing one of the two branches at random, what is the distribution of the
number that turn right?
(b) What is the probability at least 9 will turn the same way?
Problem 2.53. A student who is trying to write a paper for a course has a choice of two top-
ics, A and B. If topic A is chosen, the student will order 2 books through inter-library loan,
while if topic B is chosen, the student will order 4 books. The student feels that a good paper
necessitates receiving and using at least half the books ordered for either topic chosen.
(a) If the probability that a book ordered through inter-library loan actually arrives on time
is 0.9 and books arrive independently of one another, which 2 topics should the student
choose to maximize the probability of writing a good paper?
(b) What if, the arrival probability is only 0.5 instead of 0.9?
Problem 2.54. The number of phone calls at a post office in any time interval is a Poisson
random variable. A particular post office has on average 2 calls per minute.
(a) What is the probability that there are 5 calls in an interval of 2 minutes?
(b) What is the probability that there are no calls in an interval of 30 seconds?
(c) What is the probability that there are no less than one call in an interval of 10 seconds?
9
Problem 2.55. An airline sells 200 tickets for a certain flight on an airplane that has only 198
seats because, on the average, 1 percent of purchasers of airline tickets do not appear for
the departure of their flight. Determine the probability that everyone who appears for the
departure of this flight will have a seat.
Problem 2.56. Let X be an exponential random variable with parameter and define Y = [X],
the largest integer in X, (ie. [x] = 0 for 0 ≤ x < 1, [x] = 1 for 1 ≤ x < 2 etc.)
(d) Let Y represent the number of periods that a machine is in use before failure. What is the
probability that the machine is still working at the end of 10th period given that it does
not fail before 6th period?
Problem 2.57. Starting at 5:00 am, every half hour there is a flight from San Francisco airport
to Los Angeles International Airport. Suppose that none of these planes sold out and that
they always have room for passengers. A person who wants to fly LA arrives at the airport at a
random time between 8:45 - 9:45 am. Find the probability that she waits at most 10 minutes
and at least 15 minutes.
Problem 2.58. The probability of having a new born boy is 0.51. Take the survey of 1000 new
born babies in a hospital. Calculate the probability that the number of boys is smaller than
the number of girls.
10