Combinatorix
Combinatorix
1. Counting Principles
2. Permutations
A permutation is an arrangement of objects in a specific order. The number of permutations
of nn distinct objects is:
If only rr objects are selected and arranged from a set of nn, the number of permutations is
given by:
P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!}
3. Combinations
A combination is a selection of objects where order does not matter. The number of ways
to choose rr objects from a set of nn is:
Applications of Combinatorics
4. Game Theory: Combinatorics helps analyze possible moves and outcomes in strategic
games.
1. Graph Theory: The study of graphs, consisting of vertices and edges, is a major area
within combinatorics. It has applications in networking, transportation, and scheduling.
Example Problem
How many ways can 5 people be seated in a row if two specific people must sit next to
each other?
Treat the two specific people as a single "block." Now, there are 4 "blocks" to arrange,
which can be done in 4!=244! = 24 ways. Within their block, the two people can switch places in
2!=22! = 2 ways. Thus, the total number of arrangements is:
Conclusion