M362K Practice 2nd Midterm (with solutions below)

Originally given April 14, 1992


Note: This is for practice only. The actual exam will not cover random variables (problems 4 and 5). For extra practice on combinatorics, look at the practice first exams. You may want to save problems 4 and 5 to help you practice for the third exam.

Problem 1: A baseball team needs to win 4 (or more) of their last 6 games to win the pennant. Assuming they're a good team team, and have a 60% chance of winning any given game, what is the probability of their winning the pennant?

Problem 2: There are 5 blue balls, 3 red balls and one white ball in an urn.

a) If you pick 4 balls without replacement, what is the probability of drawing (exactly) 2 blue balls?

b) If you draw 4 balls WITH replacement, what is the probability of drawing (exactly) 2 blue balls?

Problem 3: A standard bridge hand consists of 13 cards. a) What is the probability of being dealt a hand with exactly 4 spades, 4 hearts and 4 diamonds (and one club)? b) What is the probability of being dealt 4 spades OR 4 hearts OR 4 diamonds? (For both parts, write down an exact expression but do not attempt to simplity).

Problem 4: X and Y are discrete random variables. Their joint probability density function is: tex2html_wrap_inline52tex2html_wrap_inline54tex2html_wrap_inline56tex2html_wrap_inline58tex2html_wrap_inline60tex2html_wrap_inline62tex2html_wrap_inline64tex2html_wrap_inline66tex2html_wrap_inline68 . a) Compute the marginal probability densities tex2html_wrap_inline70 and tex2html_wrap_inline72 . b) Are the variables X and Y independent? c) What is the (conditional) probability that X=2 given that Y=1? d) Are the events X=1 and Y=0 independent?

Problem 5: a) X and Y are continuous random variables with the joint density function tex2html_wrap_inline90 if 0 < y < x and 0 otherwise. Compute the density function tex2html_wrap_inline94 and the probability that X < 0.4. b) Let Z be a continuous random variable with density function tex2html_wrap_inline100 for z > 1. Compute the cumulative distribution function tex2html_wrap_inline104 and the mean E(Z).

Solutions


Problem 1: The number of games won is given by a binomial distribution with n=6 and p=0.6. We care about k=4,5,6. The answer is tex2html_wrap_inline114

Problem 2a. This is hypergeometric. There are 5 blue balls and 4 non-blue balls, so the answer is tex2html_wrap_inline116 . You can also get the same answer by adding the probability of (2 blue, 1 white, 1 red) to the probability of (2 blue, 2 red).

Problem 2b. This is binomial. tex2html_wrap_inline118 .

Problem 3a. You must choose 4 of the 13 spades, 4 of the 13 hearts, 4 of the 13 diamonds, and 1 of the 13 clubs. The number of ways of doing this is tex2html_wrap_inline120 . Dividing by the number of hands, tex2html_wrap_inline122 , we get our answer.

Problem 3b. By the inclusion/exclusion principle, P(4S OR 4H OR 4D) = P(4S)+ P(4H) + P(4D) - P(4S AND 4H) - P(4S AND 4D) - P(4H AND 4D) + P(4S AND 4H AND 4D) = 3P(4S) - 3P(4S AND 4H) + P(4S AND 4H AND 4D), which totals

displaymath124

Problem 4. a. Adding rows and columns we get tex2html_wrap_inline126tex2html_wrap_inline128tex2html_wrap_inline130tex2html_wrap_inline132tex2html_wrap_inline134tex2html_wrap_inline136 .

b. No. Since tex2html_wrap_inline138 , (one of many possible examples), X and Y are not independent.

c. tex2html_wrap_inline144 .

d. Since tex2html_wrap_inline146 , the two events ARE independent.

Problem 5a. tex2html_wrap_inline148tex2html_wrap_inline150 .

5b. tex2html_wrap_inline152tex2html_wrap_inline154 .