Please see the detailed homework policy document for information about homework formatting, submission, and grading.

Exercise 1

The label on a small package of Bertie Bott’s Every Flavour Beans claims that 3 beans are caramel flavored, 6 are butterscotch, and 4 are earwax. Unable to tell them apart just by looking at them, Ron Weasley selects 5 beans at random. Find the probability that Ron ends up with \(\ldots\)

(a) \(\ldots\) 1 caramel flavored, 2 butterscotch, and 2 earwax beans.

(b) \(\ldots\) no earwax flavored beans.

(c) \(\ldots\) at least 2 caramel flavored beans.

Exercise 2

Let \(X\) denote the number of times Ron Weasley manages to irritate Professor Snape in one day. Then \(X\) has the following probability distribution:

\(x\) \(f(x)\)
0 0.15
1 0.20
2 0.20
3 0.30
4 0.15

(a) Find the probability that Ron will get in trouble with Professor Snape at least two times in one day.

(b) Find the expected number of times Ron will get in trouble with Professor Snape, \(\text{E}[X]\).

(c) Find the standard deviation of the number of times Ron will get in trouble with Professor Snape, \(\text{SD}[X]\).

(d) Each day, Professor Snape takes 20 points from Gryffindor, simply because he can. Additionally, Professor Snape takes 10 points from Gryffindor each time Ron Weasley irritates him. If these are the only two sources of point deductions for Gryffindor, what is the expected point loss for Gryffindor each day?

(e) What is the standard deviation of points lost for Gryffindor each day?

Exercise 3

Consider a random variable \(X\) with the probability mass function

\[ f(x) = \frac{6}{3^x}, \quad x = 2, 3, 4, 5, \ldots \]

Calculate the expected value of \(X\).

Exercise 4

Consider a random variable \(Y\) with the probability mass function

\[ f(y) = c \cdot \frac{2^y}{y!}, \quad y = 2, 3, 4, 5, \ldots \]

where \(c = \displaystyle\frac{1}{e^2 - 3}\).

Calculate the expected value of \(Y\).