MAI 102 Assignment 4
MAI 102 Assignment 4
(1) Let A, B and C be three events associated with an experiment such that
P (A) = 0.7, P (B) = 0.5, P (C) = 0.4, P (A ∩ B) = P (B ∩ C) = P (A ∩ C) = 0.2, and
P (A ∪ (B ∩ C)) = 0.8. What is the probability that at least one of A, B and C occurs?
(2) One integer is chosen at random from the integers 1, 2, . . . , 1000. What is the probability
that the chosen integer is divisible by 6 or 8?
(3) A problem is given to two students A and B. The (conditional) probability that A can
solve the problem given that B can solve it is 73 and the (conditional) probability that B
can solve the problem given that A cannot solve it is 17 . If the probability that B can solve
1
the problem is 10 , then what is the probability that A can solve it?
(4) There are three coins in a box. One of the coins is a two-headed coin (one head on each
side), another is a fair coin, and the third one is a biased coin that comes up heads 75
percent of the time.
(a) If a coin is drawn from the box at random and flipped, what is the probability of
getting a head?
(b) If a coin drawn at random from the box shows head when flipped, what is the proba-
bility that the coin drawn was the two-headed coin?
(5) Suppose a certain computer program operates using either of two subroutines A and B,
depending on the problem. It is known that subroutine A is used 40 percent of the time
and B is used 60 percent of the time. If A is used, then there is a 75% chance that the
program will run before its time limit is exceeded; and if B is used there is a 50% chance
that it will do so.
(a) What is the probability that the program will run without exceeding the time limit?
(b) If for some random problem, it is known that the program has exceeded its time limit,
what is the probability that subroutine B was used?
(6) Suppose that A and B are two independent events associated with an experiment. If the
probability that A or B occurs equals 0.6, while the probability that A occurs equals 0.4,
determine the probability that B does not occur.
(7) A problem is given to three students whose probabilities of solving (independently) it are
1 1
, and 14 . What is the probability that (a) only one of them solves the problem (b) the
2 3
problem is solved?
(8) A coin is known to come up heads three times as often as tails. This coin is tossed three
times. Let X be the number of heads that appear. Write the probability mass function
(pmf) and the cumulative distribution function (cdf) of X.
(9) Consider an urn which contains slips of paper each with one number 1, 2, . . . , 100 on it.
Suppose there are i slips with the number i on them for i = 1, 2, . . . , 100. The slips are
identical except for the numbers. Suppose one slip is drawn at random and let X be the
number on the slip. Then
1
2
(10) A fair coin is tossed four times. Let X denote the number of times a head is followed
immediately by a tail. Find the pmf of X.
α+3β α−β α−4β
(11) Suppose a random variable X assumes only four values with probabilities 4α
, 4α , 4α ,
and α+2β
4α
, where α > 0. Determine all such possible α, β.
(12) Let the probability density function (pdf) of a continuous random variable X be
αx , 0 ≤ x < 1,
α, 1 ≤ x < 2,
f (x) =
3α − αx , 2 ≤ x ≤ 3,
0 otherwise .
(14) (a) Two distinct integers are chosen at random and without replacement from the first six
positive integers. Let X be the absolute value of the difference of these two numbers.
Compute the mean and the variance of X.
(b) Let a random variable X has the pdf f (x) = 83 x2 , 0 < x < 2, zero elsewhere. Consider
a random rectangle whose sides are X and 2 − X. Determine the expected value of
the area of the rectangle.
(15) Five devices are subjected to successive reliability tests. Each device is tested only if the
preceding one passes the reliability test. Determine the expected number of reliability tests
done if the probability of passing the reliability test is 0.9 for each device.
(16) Let X be a mixed type (continuous and discrete) random variable with the cdf
0, x < 0,
(x + 1)/6 , 0 ≤ x < 1,
F (x) = 7
, 1 ≤ x < 2,
121 ,
x≥2.
Determine the mean and the variance of X.
(17) Let X be a random variable with the pdf f (x) = 12 e−|x| , −∞ < x < ∞. Determine the
moment generating function (mgf) of X.
(18) (a) The moment generating function (mgf) of random variable X is MX (t) = (1 − t)−3 ,
|t| < 1. Find the first four moments of X about origin. Also determine the mean and
variance of X.
2et
(b) The mgf of a discrete random variable X is 3−e t , t < log 3. Determine the pmf of X.
2
(c) Given that the mgf of a random variable X is MX (t) = e3t+8t . Find the mgf of the
random variable Z = 14 (X − 3). Use it to determine the mean and variance of Z.
3
(19) (a) If X is a random variable such that E(X) = 3 and E(X 2 ) = 13, use Chebyshev’s
inequality to find (a) a lower bound for P [−2 < X < 8] (b) an upper bound for
P [|X − 3| ≥ 7].
(b) Does there exist a random variable X with mean 5 and variance 9 such that
P [−1 < X < 11] = 0.6? Explain.
(20) Let X be a discrete random variable with pmf P [X = −1] = 81 , P [X = 0] = 34 ,
P [X = 1] = 81 , zero elsewhere. Verify that Chebyshev’s inequality gives an exact bound
for P [|X − µ| ≥ 2σ].
ANSWERS
(8) Pmf:
x : 0 1 2 3
1 9 27 27
f (x) : 64 64 64 64
Cdf:
0, for x<0
1/64 , for 0≤x<1
F (x) = 10/64 , for 1≤x<2
37/64 , for 2≤x<3
1, for x≥3.
(9) (a) Cdf:
0, for x < 1,
bxc(bxc+1)
F (x) = 10100
, for 1 ≤ x < 100,
1, for x ≥ 100.
19
(b) 101
(10) Pmf:
x : 0 1 2
5 10 1
f (x) : 16 16 16
(11) α > 0, − α3 < β < α4 .
(12) (a) α = 21
Cdf:
0, for x<0
2
x /4 , for 0≤x<1
F (x) = (2x − 1)/4 , for 1≤x<2
2
(6x − x − 5)/4 , for 2≤x<3
1, for x≥3.
(b) 38
(13) (a) Cdf: (
0, for x < 0
F (x) =
x
x2 +4x+8 −2
1− 8
e , for x ≥ 0
148 − 25
(b) 1 − 53
e
(15) 4.0951
4