PT - Practice Assignment 2 (With Solutions)
PT - Practice Assignment 2 (With Solutions)
1. Determine the values of c so that the following functions represent joint probability
distributions of the random variables X and Y :
(a) f(x, y) = cxy, for x = 1, 2, 3; y = 1, 2, 3;
(b) f(x, y) = c|x - y|, for x = -2, 0, 2; y = -2, 3
2. From a sack of fruit containing 3 oranges, 2 apples, and 3 bananas, a random sample of 4
pieces of fruit is selected. If X is the number of oranges and Y is the number of apples in the
sample, find
(a) the joint probability distribution of X and Y ;
(b) P [(X, Y ) ∈ A], where A is the region that is given by {(x, y) | x + y ≤ 2}
3. A candy company distributes boxes of chocolates with a mixture of creams, toffees, and
cordials. Suppose that the weight of each box is 1 kilogram, but the individual weights of the
creams, toffees, and cordials vary from box to box. For a randomly selected box, let X and Y
represent the weights of the creams and the toffees, respectively, and suppose that the joint
density function of these variables is
(a) Find the probability that in a given box the cordials account for more than 1/2 of the
weight.
(b) Find the marginal density for the weight of the creams.
(c) Find the probability that the weight of the toffees in a box is less than 1/8 of a kilogram if
it is known that creams constitute 3/4 of the weight.
4. Let X denote the reaction time, in seconds, to a certain stimulus and Y denote the
temperature (◦F) at which a certain reaction starts to take place. Suppose that two random
variables X and Y have the joint density
Find
(a) P (0 ≤ X ≤ 1/2 and 1/4 ≤ Y ≤ 1/2);
(b) P (X < Y ).
5. The amount of kerosene, in thousands of liters, in a tank at the beginning of any day is a
random amount Y from which a random amount X is sold during that day. Suppose that the
tank is not resupplied during the day so that x ≤ y, and assume that the joint density function
of these variables is
6. Let X denote the number of times a certain numerical control machine will
malfunction: 1, 2, or 3 times on any given day. Let Y denote the number of times a technician
is called on an emergency call. Their joint probability distribution is given as
8. Consider an experiment of tossing a fair coin twice. Let (X, Y) be a bivariate r.v.,
where X is the number of heads that occurs in the two tosses and Y is the number of
tails that occurs in the two tosses.
a) What is the range RX of X?
b) What is the range RY of Y?
c) Find and sketch the range RXY of (X, Y).
d) Find P(X = 2, Y = 0), P(X = 0, Y = 2), and P(X = 1, Y = 1).
= p1 if 0 x < a, 0 y < b
= p2 if a x , 0 y < b
= p3 if 0 x < a, b y
=1 if ax,b y
10. Two fair dice are thrown. Consider a bivariate r.v. (X, Y). Let X = 0 or 1 according to
whether the first die shows an even number or an odd number of dots. Similarly, let Y = 0 or
1 according to the second die.
11. Consider an experiment of drawing randomly three balls from an urn containing two
red, three white, and four blue balls. Let (X, Y) be a bivariate r.v. where X and Y denote,
respectively, the number of red and white balls chosen.
a) Find the range of (X, Y).
b) Find the joint pmf's of (X, Y).
c) Find the marginaI pmf's of X and Y.
d) Are X and Y independent?
= 0 otherwise
where k is a constant.
13. A manufacturer has been using two different manufacturing processes to make
computer memory chips. Let (X, Y) be a bivariate r.v., where X denotes the time to failure of
chips made by process A and Y denotes the time to failure of chips rnade by process B.
Assuming that the joint pdf of (X, Y) is
= 0 otherwise
where a = 10-4 and b = l.2 (10-4), determine P(X > Y).
15. A salesperson for a medical device company has two appointments on a given day. At
the first appointment, he believes that he has a 70% chance to make the deal, from
which he can earn $1000 commission if successful. On the other hand, he thinks he
only has a 40% chance to make the deal at the second appointment, from which, if
successful, he can make $1500. What is his expected commission based on his own
probability belief? Assume that the appointment results are
independent of each other.
Solution
a) RX = {0, 1, 2}
b) RY = {0, 1, 2}
c) RXY = {(2, 0), (1, I), (0, 2)}
d) Since the coin is fair, we have
P(X = 2, Y = 0) = P{HH} = 1/4
= p3 if 0 x < a
= 1 if ax
= p2 if 0 y < b
= 1 if by
(b) For X and Y to be independent, we must have FXY (x,y) = FX(x)FY(y). Thus, for 0 x < a,
0 y < b, we must have p1 = p2 p3 for X and Y to be independent.
Thus
PXY(i,j)
i j
0 1 2 3
0 4/84 18/84 12/84 1/84
1 12/84 24/84 6/84 0
2 4/84 3/84 0 0
(c) The marginal pmf's of X are obtained from above Table by computing the row sums, and
the marginal pmf's of Y are obtained by computing the column sums. Thus
(d) Since
(c) Now pX (xi) pY (yj) pXY (xi , yj) ; hence X and Y are not independent.
13 P (X > Y) = 0.545
14 E(X) = e - 1 ; E(Y) = e - 1
15 E(X) = $1300.
------------------