Permutations and combinations are fundamental concepts in combinatorics, which is the branch of mathematics focused on counting, arrangement, and selection. They are used to solve problems involving the arrangement and selection of objects.
A permutation is an arrangement of objects in a specific order. When the order of the objects matters, we use permutations. The number of permutations of a set of objects depends on the total number of objects and whether or not repetition is allowed.
The number of ways to arrange distinct objects in a sequence is called the factorial of , denoted as .
The formula for is:
For example:
If we want to arrange objects out of distinct objects, the number of permutations is given by:
Where:
Example: How many ways can you arrange 3 objects out of 5 distinct objects?
So, there are 60 ways to arrange 3 objects from 5 distinct objects.
If repetition is allowed, the number of ways to arrange objects from distinct objects is:
Where:
Example: How many ways can you form a 3-digit number if repetition of digits is allowed and the digits range from 0 to 9?
So, there are 1000 possible 3-digit numbers.
A combination is a selection of objects where the order does not matter. When the order is irrelevant, we use combinations to count the number of ways to choose objects from distinct objects.
The number of ways to choose objects from distinct objects (without regard to order) is given by the binomial coefficient:
Where:
This formula counts the ways to choose objects from objects without considering the order of selection.
Example: How many ways can you choose 3 objects from a set of 5 distinct objects?
So, there are 10 ways to choose 3 objects from 5 distinct objects.
If repetition of elements is allowed, the formula for combinations changes. The number of ways to choose objects from distinct objects, where repetition is allowed, is given by:
This is sometimes called the "stars and bars" formula, and it's used when you want to count the number of ways to distribute identical objects into distinct bins.
Example: How many ways can you choose 3 objects (with repetition allowed) from 5 distinct objects?
So, there are 35 ways to choose 3 objects from 5 distinct objects if repetition is allowed.
Factorial properties:
Symmetry property of combinations:
This means that choosing objects from objects is the same as choosing the remaining objects.
Pascal's Triangle: The binomial coefficients can be arranged in a triangular array, known as Pascal's Triangle, where each number is the sum of the two directly above it:
Pascal’s Triangle is helpful for quick reference and also for expanding binomials.
Binomial Theorem: The binomial theorem gives the expansion of :
This uses combinations to find the coefficients in the expansion.
Counting arrangements: Permutations are used to count how many ways objects can be arranged in order. This is useful in problems where order matters, such as seating arrangements, scheduling, and password generation.
Selecting groups: Combinations are used to count how many ways you can select a group of objects from a larger set, where the order does not matter. This is useful in problems like choosing committees, team selections, and lottery numbers.
Probability: Permutations and combinations are essential in probability theory. For example, they are used to calculate the probability of certain events in games of chance, like drawing cards from a deck or rolling dice.
Optimization problems: In optimization and game theory, permutations and combinations are used to find the best arrangement or selection out of many possibilities.
Discrete structures: In computer science, especially in algorithms and data structures, permutations and combinations are applied in areas such as hashing, cryptography, and network design.
Permutations and combinations are core concepts in combinatorics, providing methods to count the number of ways objects can be arranged or selected. Permutations are used when the order of selection matters, while combinations are used when the order is not important. These concepts have broad applications in various fields, including mathematics, computer science, probability, and optimization. Mastery of these techniques is essential for solving counting problems efficiently.
Open this section to load past papers