Permutations
- n! is equal to
- When order is important
- Think of it as arranging items
- Notation is
- Where we are arranging r objects from n objects
- This equation can be written as:
- Therefore, 0! is equal to 1
- If we are replacing the items, then the equation is
- E.g., if we have 5 digits, and we make a code of 3 digits, using those 5 digits (with repeating allowed), the amount of codes we can make is
- If we have 3 letters: A, B, C - We have 6 permutations of these letters
- 3! = 6
- If we want to write them out, we have ABC, ACB, BAC, BCA, CAB, CBA
- Thus they have multiple permutations
If we are arranging n objects, and there are p repeating objects, q repeating objects and m repeating objects:
Combinations
- Order is not important
- Here, we are selecting items
- Notation is , or
- We are selecting r objects from n objects
- This equation can be written as:
- Again, this confirms that 0! is equal to 1
- If we have 3 letters: A, B, C - We have 1 combination of these letters
- If we want to write them out, we have ABC, ACB, BAC, BCA, CAB, CBA
- These all contain the same letters
- Therefore, it only has 1 combination
- Can be used in probability
- E.g., how many ways are there where out of 10 boys and 5 girls, 1 boy is selected?