Introduction to Probability & Statistics

Assignment 2, 2025/26

Instructions

Submit your answers to the four questions marked Hand-in. You should upload your solutions to the VLE as a single pdf file. Marks will be awarded for clear, logical explanations, as well as for correctness of solutions.
Solutions to questions marked have been released at the same time as this assignment, in case you want to check your answers or need a hint.
You should also look at the other questions in preparation for your Week 5 seminar.

Tip

Make sure to justify your reasoning by making reference to any of the properties (P1)–(P7) covered in lectures, where you are using them in your answers.

Starters

These questions should help you to gain confidence with the basics.

S1. Let \(E\), \(F\) and \(G\) be three events. Here are five events built from these:

  1. \(E\cap F^c\cap G^c\)
  2. \((E\cup F) \cap G^c\)
  3. \(E\cup F\cup G\)
  4. \((E\cap F\cap G)^c\)
  5. \((E\cap F)^c \cap (E\cap G)^c \cap (F\cap G)^c\).

And here are verbal descriptions of the same five events, but in a different order:

  1. \(E\) or \(F\) occurs, but not \(G\)
  2. At most two of the events occur
  3. At most one of the events occurs
  4. At least one of the events occurs
  5. Only \(E\) occurs.

Match the expressions to the verbal descriptions.

Answer

a5, b1, c4, d2, e3

S2. Let \(C\) and \(D\) be events. Express the probability \(\mathbb{P}\left(C^c\cap D\right)\) in terms of \(\mathbb{P}\left(D\right)\) and \(\mathbb{P}\left(C\cap D\right)\).

Answer

We note that we can write the event \(D\) as the disjoint union of the two events \(C^c\cap D\) and \(C\cap D\). Therefore by additivity (P3) we have \[ \mathbb{P}\left(D\right)=\mathbb{P}\left(C^c\cap D\right)+\mathbb{P}\left(C\cap D\right)\,.\] Hence \(\mathbb{P}\left(C^c\cap D\right)=\mathbb{P}\left(D\right)-\mathbb{P}\left(C\cap D\right)\).

S3. Let \(E\) and \(F\) be two events for which we know that the probability that at least one of them occurs is 0.4. What is the probability that neither \(E\) nor \(F\) occurs?

Answer

The event “at least one of \(E\) and \(F\) occurs” is the event \(E \cup F\). We want the probability of the event that neither \(E\) nor \(F\) occurs, which is the event \(E^c \cap F^c\). According to the second De Morgan’s law this event can also be written as \((E \cup F )^c\). To calculate this we can use the property (P4) that for any event \(A\) we have \(\mathbb{P}\left(A^c\right)=1-\mathbb{P}\left(A\right)\). This gives us

\[ \mathbb{P}\left((E \cup F )^c\right) = 1-\mathbb{P}\left(E \cup F\right) =1-0.4 = 0.6. \]

S4. Calculate \(\mathbb{P}\left(B\right)\) if it is given that \(\mathbb{P}\left(A \cup B\right)=3/7\) and \(\mathbb{P}\left(A^c\,|\,B^c\right)=9/14\).

Answer

From the multiplication rule we know that \[ \mathbb{P}\left(A^c \cap B^c\right) = \mathbb{P}\left(A^c\,|\,B^c\right)\mathbb{P}\left(B^c\right). \] Recalling De Morgan’s law we know that \(A^c \cap B^c = (A \cup B)^c\) and hence \[ \mathbb{P}\left(A^c \cap B^c\right) = \mathbb{P}\left((A \cup B)^c\right)=1-\mathbb{P}\left(A \cup B\right). \] Combined this yields \[ \begin{split} \mathbb{P}\left(B\right) &=1-\mathbb{P}\left(B^c\right)=1-\frac{1-\mathbb{P}\left(A\cup B\right)}{\mathbb{P}\left(A^c\,|\,B^c\right)}\\ &=1-\frac{4/7}{9/14}=\frac{1}{9}. \end{split} \]

S5. Hand-in
When \(\mathbb{P}\left(A\right)=1/4, \mathbb{P}\left(B\right)=2/3\), and \(\mathbb{P}\left(A\cup B\right)=3/4\), calculate \(\mathbb{P}\left(A\cap B\right)\) and \(\mathbb{P}\left(A^c\cup B^c\right)\).

Answer

Solving the relation \(\mathbb{P}\left(A\cup B\right)=\mathbb{P}\left(A\right)+\mathbb{P}\left(B\right)-\mathbb{P}\left(A\cap B\right)\) (property (P6)) for \(\mathbb{P}\left(A\cap B\right)\) gives

\[ \mathbb{P}\left(A\cap B\right)=\mathbb{P}\left(A\right)+\mathbb{P}\left(B\right)-\mathbb{P}\left(A\cup B\right)=1/4+2/3-3/4=1/6 \] [2 marks]. Using De Morgan’s law, and then (P4), we get

\[ \mathbb{P}\left(A^c\cup B^c\right)=\mathbb{P}\left((A\cap B)^c\right) =1-\mathbb{P}\left(A\cap B\right)=1-1/6=5/6. \] [3 marks]

Mains

These are important, and cover some of the most substantial parts of the course.

M1. Hand-in
Let \(E\) and \(F\) be two events. Prove that if \(E\subseteq F\) then \[ \mathbb{P}\left(F\cap E^c \right) =\mathbb{P}\left(F\right)-\mathbb{P}\left(E\right). \]

Answer

Since \(E\subseteq F\), we can write \(F\) as the disjoint union \(F=( F\cap E^c ) \cup E\). [2 marks] This gives \[ \mathbb{P}\left(F\right) =\mathbb{P}\left(( F\cap E^c ) \cup E\right) \stackrel{(P3)}=\mathbb{P}\left( F\cap E^c \right)+\mathbb{P}\left(E\right)\,. \] Rearranging gives the required result. [3 marks]

M2. Hand-in
Calculate \(\mathbb{P}\left(A \cup B\right)\) if it is given that \(\mathbb{P}\left(B\right)=1/5\) and \(\mathbb{P}\left(A\,|\,B^c\right)=1/3\).

Answer

We use our usual trick of rewriting a union in terms of the union of disjoint events. In this case the best is to write \(A \cup B =B \cup (A \cap B^c)\) and thus, by (P3), \(\mathbb{P}\left(B\cup A\right) =\mathbb{P}\left(B\right) + \mathbb{P}\left(A \cap B^c\right)\). We can then use that by the multiplication rule \[ \mathbb{P}\left(A \cap B^c\right) = \mathbb{P}\left(A|B^c\right)\mathbb{P}\left(B^c\right) \] [2 marks]. Furthermore \(\mathbb{P}\left(B^c\right)=1-\mathbb{P}\left(B\right)\), by (P4). Putting everything together gives \[ \begin{split} \mathbb{P}\left(B \cup A\right) &= \mathbb{P}\left(B\right) + \mathbb{P}\left(A\,|\,B^c\right)(1-\mathbb{P}\left(B\right)) \\ &=\frac{1}{5}+\frac{1}{3}(1-1/5)=\frac{7}{15}. \end{split} \] [3 marks]

M3. Show that if an event occurs with probability \(0\) then it is independent of all other events.

Answer

Suppose that \(A\) satisfies \(\mathbb{P}\left(A\right)=0\), and let \(B\) be any other event. Then \(\mathbb{P}\left(A\cap B\right)\leq \mathbb{P}\left(A\right)=0\), since \(A\cap B\subseteq A\) (P7). So, \(0=\mathbb{P}\left(A\cap B\right)=\mathbb{P}\left(A\right)\mathbb{P}\left(B\right)\), and hence \(A\) is independent of \(B\).

M4. Prove that, for any events \(A,B,C\) for which the following probabilities are all defined, \[ \mathbb{P}\left(A\cap B\cap C\right) = \mathbb{P}\left(A\right)\mathbb{P}\left(B\,|\,A\right)\mathbb{P}\left(C\,|\,A\cap B\right) \,. \]

Answer

Expanding the RHS using the definition of conditional probability, we obtain \[ \mathbb{P}\left(A\right)\mathbb{P}\left(B\,|\,A\right)\mathbb{P}\left(C\,|\,A\cap B\right) = \mathbb{P}\left(A\right)\,\frac{\mathbb{P}\left(A\cap B\right)}{\mathbb{P}\left(A\right)}\,\frac{\mathbb{P}\left(A\cap B \cap C\right)}{\mathbb{P}\left(A\cap B\right)} = \mathbb{P}\left(A\cap B \cap C\right) \,. \]

M5. Hand-in
Let \(A, B,\) and \(C\) be events. Prove that if \[ \mathbb{P}\left(A\,|\,C\right) >\mathbb{P}\left(B\,|\,C\right) \text{ and } \mathbb{P}\left(A\,|\,C^c\right) >\mathbb{P}\left(B\,|\,C^c\right) \] then \(\mathbb{P}\left(A\right)>\mathbb{P}\left(B\right)\).

Answer

We can use the partition theorem [2 marks]: \[ \mathbb{P}\left(A\right)=\mathbb{P}\left(A\,|\,C\right)\mathbb{P}\left(C\right)+\mathbb{P}\left(A\,|\,C^c\right)\mathbb{P}\left(C^c\right)>\mathbb{P}\left(B\,|\,C\right)\mathbb{P}\left(C\right)+\mathbb{P}\left(B\,|\,C^c\right)\mathbb{P}\left(C^c\right)=\mathbb{P}\left(B\right). \] [3 marks]

M6. Show that if an event \(A\) is independent of itself, then either \(\mathbb{P}\left( A\right) =0\) or \(\mathbb{P}\left( A\right) =1\).

Answer

Let \(\mathbb{P}\left(A\right) = p\). Since \(A\cap A=A\), if \(A\) is independent of itself we have \(\mathbb{P}\left(A\cap A\right)=\mathbb{P}\left(A\right)= p\) and \(\mathbb{P}\left(A\cap A\right)=\mathbb{P}\left(A\right)\mathbb{P}\left(A\right)=p^2\). So, \[ p=p^2\iff p(p-1)=0\iff p=0\text{ or }p=1. \]

M7. In a card game involving four players, each player is dealt four cards (face down), and the player with the highest Diamond wins (Ace counts high). Upon receiving your four cards you see that your highest Diamond is the Queen of Diamonds. What is the probability that another player has the King or Ace of Diamonds, and hence that you lose the game?

Answer

You can see four cards, meaning that there are 48 cards whose positions are unknown to you. Twelve of these cards have been dealt to the other players. The number of ways of choosing these twelve cards from the remaining 48 is \(C^{48}_{12}\). The number of ways in which the King and Ace of Diamonds are not dealt out is equal to the number of ways in which twelve cards can be chosen from 46 (the 48 unseen cards minus the King and Ace), i.e. \(C^{46}_{12}\). Therefore the probability that the King and Ace are not dealt (and that you win) is given by \(C^{46}_{12}/C^{48}_{12} = (35\cdot 36)/(47\cdot 48) = 0.559\). So the required probability is 0.441.

M8. Consider a sample space \(\Omega =\left\{ \omega_{1},\omega_{2},\omega_{3},\omega_{4}\right\}\) consisting of four equiprobable elements. Let \(A_{1}=\left\{ \omega_{1},\omega_{2}\right\}\), \(A_{2}=\left\{ \omega_{1},\omega_{3}\right\}\), \(A_{3}=\left\{\omega_{1},\omega _{4}\right\}\). Show that \(A_{1}\) and \(A_{2}\) are independent, \(A_{1}\) and \(A_{3}\) are independent, and \(A_{2}\) and \(A_{3}\) are independent. Are \(A_{1},A_{2},A_{3}\) independent?

Answer

Note that \(\mathbb{P}\left(A_1\right)=\mathbb{P}\left(A_2\right)=\mathbb{P}\left(A_3\right)=1/2\) and \(\mathbb{P}\left(A_1\cap A_2\right)=\mathbb{P}\left(A_1\cap A_3\right)=\mathbb{P}\left(A_2\cap A_3\right)=1/4=(1/2)\cdot(1/2)\), and so the three pairs of events (\(A_1\) and \(A_2\), etc) are independent. However, \[ \mathbb{P}\left(A_1\cap A_2\cap A_3\right)=\mathbb{P}\left(\{\omega_1\}\right)=1/4\neq \mathbb{P}\left(A_1\right)\mathbb{P}\left(A_2\right)\mathbb{P}\left(A_3\right)=1/8. \]

Desserts

Still hungry for more? Try these if you want to push yourself further. (These are mostly harder than I’d expect you to answer in an exam, or involve non-examinable material.)

D1. Given a sample space \(\Omega\), let \(\mathbb{Q}\) be some function satisfying \[ \mathbb{Q}\left( A_{1}\cup A_{2}\right) =\mathbb{Q}\left( A_{1}\right) +\mathbb{Q}\left( A_{2}\right) \] for any two disjoint subsets \(A_{1}\) and \(A_{2}\) of \(\Omega\).

Show by induction that if \(A_{1},...,A_{n}\) are \(n\ge 2\) disjoint subsets of \(\Omega\) then \[ \mathbb{Q}\left( A_{1}\cup ...\cup A_{n}\right) =\mathbb{Q}\left( A_{1}\right) +...+\mathbb{Q}\left( A_{n}\right)\,. \]

Answer

The base case is when \(n=2\); this case is clearly true - it’s exactly what we’ve been told in the question about \(\mathbb{Q}\).

Now suppose that the result holds for some particular value of \(n\ge 2\), and suppose that we have disjoint sets \(A_1,\dots,A_{n+1}\). Then we can write \[ A_1\cup\dots\cup A_{n+1}=(\cup_{i=1}^nA_i)\cup A_{n+1}\,. \] This is a disjoint union of two sets: \((\cup_{i=1}^nA_i)\) and \(A_{n+1}\), and so we know that \[ \mathbb{Q}((\cup_{i=1}^nA_i)\cup A_{n+1})=\mathbb{Q}(\cup_{i=1}^nA_i) + \mathbb{Q}(A_{n+1}) \,. \] But by our inductive hypothesis, \[ \mathbb{Q}(\cup_{i=1}^nA_i)) = \mathbb{Q}(A_1)+ \mathbb{Q}(A_2) + \dots \mathbb{Q}(A_n)\,. \] It follows that \[ \mathbb{Q}\left( A_{1}\cup ...\cup A_{n+1}\right) =\mathbb{Q}\left( A_{1}\right) +...+\mathbb{Q}\left( A_{n}\right) + \mathbb{Q}\left( A_{n+1}\right) \] and so the required result holds for any value of \(n\ge2\), by the principle of mathematical induction.