Kakashi
- 10
- 0
Consider a coin that is tossed n times, where heads occurs with probability p and tails with probability 1−p.
The sample space consists of all possible outcomes of the experiment. At the first stage there are two possible results H or T. For each possible result at the first stage there are 2 possible results at the second stage, and so on. Therefore, after n tosses the sample space contains 2^{n} possible outcomes.
I would like to clarify the meaning of permutations and combinations in this context.
Is a permutation picking one of the possible outcomes at the nth stage and then finding the number of different sequences we can form by rearranging the objects that make it?
For example, we want to determine the number of distinct sequences we can form from a nth element containing exactly k heads by rearranging the k-heads. If we temporarily label the heads, then the first head can be placed in n different positions, the second head in n−1 positions, and so on, until the k-th head can be placed in n−k+1 positions. This gives
$$ n(n-1)(n-2)..(n-k+1)=\frac{n!}{(n-k)!} $$ possible placements.
However, this overcounts the number of distinct sequences, because the heads are indistinguishable. For example, swapping the “first” and “second” head while keeping all positions fixed produces the same sequence. In fact, each distinct sequence has been counted k! times. Therefore, we divide by k! and the number of distinct sequences with k heads is $$\frac{n!}{(n-k)!k!} $$
Combinations are defined as the number of k-element subsets of a given n-element set. Using the same idea, we can form subsets by choosing elements one at a time: there are n choices for the first element of the subset, n−1 choices for the second element, and so on, until k elements are chosen. This gives
$$ n(n-1)(n-2)..(n-k+1)=\frac{n!}{(n-k)!} $$
possible selections, but since the order of elements in a subset does not matter, many of these selections represent the same subset. Therefore, we divide by k, which yield $$\frac{n!}{(n-k)!k!} $$
The sample space consists of all possible outcomes of the experiment. At the first stage there are two possible results H or T. For each possible result at the first stage there are 2 possible results at the second stage, and so on. Therefore, after n tosses the sample space contains 2^{n} possible outcomes.
I would like to clarify the meaning of permutations and combinations in this context.
Is a permutation picking one of the possible outcomes at the nth stage and then finding the number of different sequences we can form by rearranging the objects that make it?
For example, we want to determine the number of distinct sequences we can form from a nth element containing exactly k heads by rearranging the k-heads. If we temporarily label the heads, then the first head can be placed in n different positions, the second head in n−1 positions, and so on, until the k-th head can be placed in n−k+1 positions. This gives
$$ n(n-1)(n-2)..(n-k+1)=\frac{n!}{(n-k)!} $$ possible placements.
However, this overcounts the number of distinct sequences, because the heads are indistinguishable. For example, swapping the “first” and “second” head while keeping all positions fixed produces the same sequence. In fact, each distinct sequence has been counted k! times. Therefore, we divide by k! and the number of distinct sequences with k heads is $$\frac{n!}{(n-k)!k!} $$
Combinations are defined as the number of k-element subsets of a given n-element set. Using the same idea, we can form subsets by choosing elements one at a time: there are n choices for the first element of the subset, n−1 choices for the second element, and so on, until k elements are chosen. This gives
$$ n(n-1)(n-2)..(n-k+1)=\frac{n!}{(n-k)!} $$
possible selections, but since the order of elements in a subset does not matter, many of these selections represent the same subset. Therefore, we divide by k, which yield $$\frac{n!}{(n-k)!k!} $$