CSC165 · 2075 · 5 marks
List any two applications of conditions of probability. You have 9 families you would like to incite to a wedding. Unfortunately, you can only invite 6 families. How many different sets of invitations could you write?
List any two applications of conditions of probability. You have 9 families you would like to incite to a wedding. Unfortunately, you can only invite 6 families. How many different sets of invitations could you write? [5]
Applications of Conditional Probability and Combination Problem
Given Data
- Total families available: $n = 9$
- Families to be invited: $r = 6$
- Order does not matter (a set of invitations), so this is a combination problem.
Part 1: Two Applications of Conditional Probability
Conditional probability $P(A|B)$ is the probability of event $A$ occurring given that event $B$ has already occurred. Two applications:
-
Medical Diagnosis: Determining the probability that a patient actually has a disease given a positive test result, i.e., $P(\text{Disease} \mid \text{Positive Test})$. This is often computed using Bayes' theorem.
-
Spam Email Filtering: Classifying an email as spam given the presence of certain words, i.e., $P(\text{Spam} \mid \text{Keywords})$. Bayesian spam filters rely on this.
(Other valid examples: weather forecasting, risk assessment in insurance, fault diagnosis in machines.)
Part 2: Combination Problem
Formula
The number of ways to choose $r$ families from $n$ families, without regard to order:
$$C(n, r) = \binom{n}{r} = \frac{n!}{r!,(n-r)!}$$
Solution
$$C(9, 6) = \frac{9!}{6!,(9-6)!} = \frac{9!}{6!,\cdot,3!}$$
Expanding and cancelling $6!$:
$$= \frac{9 \times 8 \times 7 \times 6!}{6! \times (3 \times 2 \times 1)} = \frac{9 \times 8 \times 7}{6} = \frac{504}{6} = 84$$
Conclusion
There are $\boxed{84}$ different sets of invitations that could be written when choosing 6 families out of 9.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.