Professional Documents
Culture Documents
Mat9004 Assignment 3
Mat9004 Assignment 3
MAT9004 Assignment 3
Please write up your solutions neatly! In particular, use notation and terminology correctly and include some
necessary comments. Partial marks will be given for showing that you know some aspects of the answer, even if your
solution is incomplete. The questions are NOT arranged in order of difficulty, so you should attempt every question.
Both handwritten and typed solutions are accepted. Please make sure you convert all your work into one single
pdf file as other types might not display properly on moodle.
f (x, y) = x3 + 2y 3 + 2x2 − y 2 + 1.
2. [16 points] Four clients requested appointments at a service station in a given week. Each appointment is on
one of the five working days (some appointments may be arranged during the same day). Answer the following
questions.
(a) [1 point] How many ways can one assign each of the four appointments to a day of the week.
(b) [4 points] How many arrangements from (a) are such that no day has more than one appointment? More
than two appointments?
(c) [5 points] How many arrangements from (a) are such that there is an appointment on Monday? There are
appointments on both Monday and Tuesday?
(d) [3 points] How many arrangements from (a) have exactly three days taken for appointments?
(e) [1 point] Let (x1 , x2 , x3 , x4 , x5 ) denote the workload profile, where xi is the number of appointments on
day i. How many different workload profiles are there for four appointments?
(f) [2 points] How many workload profiles from (e) are such that no day has more than two appointments?
3. [7 points] A gambler has in his pocket a fair coin and a two-headed coin (both sides are head).
(a) [3 points] He selects one of the coins at random, and when he flips it, it shows heads. What is the probability
that it is the fair coin?
(b) [2 points] Suppose that he flips the same coin a second time and again it shows heads. What is the probability
that it is the fair coin?
(c) [2 points] Suppose that he flips the same coin a third time and it shows head. What is now the probability
that it is the fair coin?
(|x| + 1)2
f (x) = , x = −1, 0, 1.
9
(a) [2 points] Compute E[X].
(b) [2 points] Compute var(X).
(c) [3 points] Compute E[3X 2 − 2X + 4] and var(−2X + 4)
5. [9 points] Let X be a random variable such that
Let ξ be a random variable which is independent of X and with the same probability distribution, that is
Define Y = ξX.
(a) [4 points] Determine the probability distribution of random variable Y .
(b) [3 points] Assume that p = 21 , are X and Y independent? Explain your answer.
(c) [2 points] Assume that p ̸= 12 , are X and Y independent? Explain your answer.
Total points: 55