Permutations and combinations
Permutations and Combinations Permutations and combinations are fundamental concepts in combinatorics that deal with arranging and selecting objects. 1. Permutations (Order Matters) A permutation is an arrangement of objects in a specific order. Formula for Permutations The number of ways to arrange r r r objects from a set of n n n distinct objects: P ( n , r ) = n ! ( n − r ) ! P(n, r) = \frac{n!}{(n-r)!} P ( n , r ) = ( n − r )! n ! Example of Permutation How many ways can 3 people (A, B, and C) be arranged in 2 seats? P ( 3 , 2 ) = 3 ! ( 3 − 2 ) ! = 3 ! 1 ! = 3 × 2 × 1 1 = 6 P(3,2) = \frac{3!}{(3-2)!} = \frac{3!}{1!} = \frac{3 \times 2 \times 1}{1} = 6 P ( 3 , 2 ) = ( 3 − 2 )! 3 ! = 1 ! 3 ! = 1 3 × 2 × 1 = 6 Arrangements: (AB, BA, AC, CA, BC, CB) 2. Combinations (Order Doesn’t Matter) A combination is a selection of objects where order does not matter. Formula for Combinations The number of ways to choose r r r objects from n n n distinct objects: C ( n , r ...