Docsity

exam2 midterm2 test2, Exams of Mathematics

Toggle sidebar
bg1
Solutions to Math 461 Test 2, Fall 2024
1. (15 points) Suppose that Xis a Poisson random variable with parameter λ1= 1, Yis an
exponential random variable with parameter λ2= 2, Zis a geometric random variable with
parameter p= 1/2, and that X, Y , Z are independent. Find Cov(X+ 2Y+ 3Z, 2X−Y+Z).
Solution.
Cov(X+ 2Y+ 3Z, 2X−Y+Z)
=2Cov(X, X )−2Cov(Y , Y ) + 3Cov(Z, Z)
=2Var(X)−2Var(Y) + 3Var(Z)
=2 ·1−2·1
4+ 3 ·2 = 7.5
2. (15 points) Suppose that Xis an exponential random variable with parameter λ1= 1, Yis
an exponential random variable with parameter λ2= 2, and that Xand Yare independent.
Find the density of Z=X/Y .
Solution.Zis a positive random variable. For z > 0, we have
P(Z≤z) = P(X/Y ≤z) = P(X≤zY ) = Z∞
0Z∞
x/z
e−x2e−2ydydx
=Z∞
0
e−(1+ 2
z)xdx =z
2 + z.
Thus
fZ(z) = 2(2 + z)−2, z > 0
0,otherwise
3. (15 points) Suppose that Xis an absolutely continuous random variable with density
f(x) = 3
2x2, x ∈(−1,1)
0,otherwise
Find the density of Y=X6.
Solution. For y∈(0,1),
P(Y≤y) = P(X6≤y) = P(−y1/6≤X≤y1/6)=2P(0 < X ≤y1/6) = Zy1/6
0
3x2dx =y1/2.
Taking derivatives, we get that the density of Yis
fY(y) = 1
2y−1/2,0< y < 1,
0,otherwise.
1
pf3

Partial preview of the text

Download exam2 midterm2 test2 and more Exams Mathematics in PDF only on Docsity!

Solutions to Math 461 Test 2, Fall 2024

  1. (15 points) Suppose that X is a Poisson random variable with parameter λ 1 = 1, Y is an

exponential random variable with parameter λ 2 = 2, Z is a geometric random variable with

parameter p = 1/2, and that X, Y, Z are independent. Find Cov(X + 2Y + 3Z, 2 X − Y + Z).

Solution.

Cov(X + 2Y + 3Z, 2 X − Y + Z)

=2Cov(X, X) − 2Cov(Y, Y ) + 3Cov(Z, Z)

=2Var(X) − 2Var(Y ) + 3Var(Z)

  1. (15 points) Suppose that X is an exponential random variable with parameter λ 1 = 1, Y is

an exponential random variable with parameter λ 2 = 2, and that X and Y are independent.

Find the density of Z = X/Y.

Solution. Z is a positive random variable. For z > 0, we have

P(Z ≤ z) = P(X/Y ≤ z) = P(X ≤ zY ) =

Z ∞

0

Z ∞

x/z

e

−x 2 e

− 2 y dydx

Z ∞

0

e

−(1+ (^2) z )x dx =

z

2 + z

Thus

fZ (z) =

2(2 + z)−^2 , z > 0

0 , otherwise

  1. (15 points) Suppose that X is an absolutely continuous random variable with density

f (x) =

3 2 x

2 , x ∈ (− 1 , 1)

0 , otherwise

Find the density of Y = X

6 .

Solution. For y ∈ (0, 1),

P(Y ≤ y) = P(X

6 ≤ y) = P(−y

1 / 6 ≤ X ≤ y

1 / 6 ) = 2P(0 < X ≤ y

1 / 6 ) =

Z (^) y 1 / 6

0

3 x

2 dx = y

1 / 2 .

Taking derivatives, we get that the density of Y is

fY (y) =

1 2

y−^1 /^2 , 0 < y < 1 ,

0 , otherwise.

  1. (15 points) Suppose that U and V are independent random variables and both are

uniformly distributed in (0, 2). Define X = min(U, V ) and Y = max(U, V ). (a) Find (or

write down) the joint density of X and Y. (b) For y ∈ (0, 2), find the conditional density

fX|Y (x|y).

Solution. (a) The joint density of X and Y is

f (x, y) =

1 2

, 0 < x < y < 2

0 , otherwise

(b) For y ∈ (0, 2),

fY (y) =

Z (^) y

0

dx =

y

2

Thus

fX|Y (x|y) =

y ,^ x^ ∈^ (0, y) 0 , otherwise

  1. (20 points) Suppose that, on average, John makes 90% of his free throws and Michael

makes 80% of his free throws. Assume that John makes 100 attempts and Michael also make

100 attempts. Assume that results of all free throw attempts are independent. Use normal

approximation to find the probability that John and Michael together make at least 175 free

throws. (For this problem, you can use the following values of the distribution function Φ of

the standard normal distribution: Φ(0.9) = 0.8159, Φ(1) = 0.8413 and Φ(1.1) = 0.8643.)

Solution. Let X be the number of free throws that John made and Y be the number of

free throws that Michael made. X is a binomial random variable with parameters (100, 0 .9)

and Y is a binomial random variable with parameters (100, 0 .8). By normal approximation,

X is approximately normal with mean 90 and variance 9, and Y is approximately normal

with mean 80 and variance 16. So the X + Y is approximately normal with mean 170 and

variance 25. Thus

P(X + Y ≥ 170) = P(X + Y ≥ 174 .5) = P

X + Y − 170

  1. (20 points) There are n types of coupons. Each newly obtained coupon is, independently,

equally likely to be any of the n types. Let X be the number of distinct types contained in

a collection of k coupons. Find E[X] and Var(X).

Solution. For i = 1,... , n, let Xi = 1 if there is at least 1 type i coupon in the collection

and Xi = 0 otherwise. Then X = X 1 + · · · + Xn. For i = 1,... , n,

E[Xi] = P(Xi = 1) = 1 −

n − 1

n

k

, Var(Xi) = 1 −

n − 1

n

k!  n − 1

n

k

.

So

E[X] = n 1 −

n − 1

n

k!

.