Combinations count the number of ways to choose a certain number of items from a larger set without considering the order in which they are chosen.
Combinations can be written as
Suppose you have 4 colours,
-
$red$ and$green$ -
$red$ and$blue$ -
$red$ and$yellow$ -
$blue$ and$yellow$ -
$blue$ and$green$ -
$yellow$ and$green$
In the above example, we'd say that
To caulcate this value we can do:
Suppose three people are in a room. What is the probability that at least two people share a birthday?
First, we can calculate the probability that there are no repeating birthdays:
How do we calculate that? Well, if there were 3 people, the first person could have any birthday, i.e
If we multiple those together, we get the probability of none of the 3 people sharing a birthday.
Since:
Then the formula can be simplified to:
To find the chance that someone does share a birthday, we want the opposite of that, or the
In the example above, that gives:
Therefor, the probability that of 4 people selected at random, at least one birthday is shared is
NOTE:
Suppose you have a fair dice with 6 sides, consider the following events:
-
$P(no\space6)$ : no$6$ appears within$12$ dice as$(\frac{5}{6})^{12}$ -
$P(one\space6)$ : the probability that only one$6$ appears as${12\choose1}\cdot(\frac{1}{6})\cdot(\frac{5}{6})^{11}$ . The reason for multiply by${12\choose1}$ is that there are$12$ occurances where the$6$ could occur.
In summary, the formula for this can be simplified to:
Essentially, what we are doing in summing the probabilities that