You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

Counting principles are the building blocks of combinatorics. They help us figure out how many ways we can do things or arrange stuff. These tools are super useful for solving real-world problems and understanding probability.

In this section, we'll learn about addition and multiplication principles, inclusion-exclusion, and the difference between ordered and unordered arrangements. These concepts are key to tackling more complex counting problems in combinatorics.

Counting with Disjoint Sets

Addition Principle for Disjoint Sets

Top images from around the web for Addition Principle for Disjoint Sets
Top images from around the web for Addition Principle for Disjoint Sets
  • The addition principle states that if there are a ways to do something and b ways to do another thing, and these two things cannot be done at the same time, then there are a + b ways to choose one of the actions
  • Applies to disjoint sets, also known as mutually exclusive sets, which have no elements in common
    • The intersection of disjoint sets is always the empty set
  • When solving counting problems involving disjoint sets, the total number of ways to choose an element from either set equals the sum of the number of elements in each set
    • Example: If Set A has 5 elements and Set B has 7 elements, and A and B are disjoint, then there are 5 + 7 = 12 ways to choose an element from either set

Extending the Addition Principle

  • The addition principle extends to more than two disjoint sets
  • If A1, A2, ..., An are disjoint sets with |A1|, |A2|, ..., |An| elements respectively, then the number of ways to choose an element from any of these sets is |A1| + |A2| + ... + |An|
    • Example: If Set A has 4 elements, Set B has 6 elements, and Set C has 3 elements, and A, B, and C are pairwise disjoint, then there are 4 + 6 + 3 = 13 ways to choose an element from any of the three sets

Multiplication Principle for Counting

Multiplication Principle for Independent Tasks

  • The multiplication principle states that if there are a ways to do something and b ways to do another thing, and these two things are independent of each other, then there are a × b ways to do both things
  • Applies to independent tasks, where the choice made for one task does not affect the choices available for the other tasks
  • When solving counting problems involving a series of independent tasks, the total number of ways to perform all tasks equals the product of the number of ways to perform each individual task
    • Example: If there are 3 choices for the first task and 4 choices for the second task, and the tasks are independent, then there are 3 × 4 = 12 ways to perform both tasks

Generalizing the Multiplication Principle

  • The multiplication principle generalizes to more than two tasks
  • If there are n1 ways to perform task 1, n2 ways to perform task 2, ..., and nk ways to perform task k, then there are n1 × n2 × ... × nk ways to perform all k tasks in succession
    • Example: If there are 2 ways to perform task 1, 5 ways to perform task 2, and 3 ways to perform task 3, and the tasks are independent, then there are 2 × 5 × 3 = 30 ways to perform all three tasks in succession

Inclusion-Exclusion Principle for Counting

Principle of Inclusion-Exclusion for Two Sets

  • The principle of inclusion-exclusion determines the number of elements in the union of two or more sets, accounting for elements that may be counted more than once due to being in the intersection of the sets
  • For two sets A and B, the principle states that |A ∪ B| = |A| + |B| - |A ∩ B|
    • |A ∪ B| represents the number of elements in the union of A and B
    • |A ∩ B| represents the number of elements in the intersection of A and B
  • Example: If Set A has 10 elements, Set B has 8 elements, and their intersection has 3 elements, then the number of elements in the union of A and B is 10 + 8 - 3 = 15

Extending the Principle of Inclusion-Exclusion

  • The principle of inclusion-exclusion extends to three sets A, B, and C: |A ∪ B ∪ C| = |A| + |B| + |C| - |A ∩ B| - |A ∩ C| - |B ∩ C| + |A ∩ B ∩ C|
  • In general, for n sets, the principle alternates between adding and subtracting the cardinalities of intersections of increasing size, with the sign determined by the parity of the number of sets in each intersection
    • Example: For three sets A, B, and C, if |A| = 6, |B| = 8, |C| = 5, |A ∩ B| = 2, |A ∩ C| = 1, |B ∩ C| = 3, and |A ∩ B ∩ C| = 1, then the number of elements in the union of A, B, and C is 6 + 8 + 5 - 2 - 1 - 3 + 1 = 14

Ordered vs Unordered Arrangements

Ordered Arrangements (Permutations)

  • Ordered arrangements, also known as , are arrangements where the order of elements matters
    • In an ordered arrangement, different orderings of the same elements are considered distinct
  • The number of ordered arrangements (permutations) of n distinct objects taken r at a time is denoted as P(n, r) or nPr and is calculated using the formula: P(n,r)=[n!](https://www.fiveableKeyTerm:n!)(nr)!P(n, r) = \frac{[n!](https://www.fiveableKeyTerm:n!)}{(n - r)!}
    • n! represents the of n
  • Example: The number of ways to arrange 3 books on a shelf, where the order matters, is P(3, 3) = 3! / (3 - 3)! = 6

Unordered Arrangements (Combinations)

  • Unordered arrangements, also known as , are arrangements where the order of elements does not matter
    • In an unordered arrangement, different orderings of the same elements are considered identical
  • The number of unordered arrangements (combinations) of n distinct objects taken r at a time is denoted as C(n, r), nCr, or (n choose r) and is calculated using the formula: C(n,r)=n!r!×(nr)!C(n, r) = \frac{n!}{r! \times (n - r)!}
  • Example: The number of ways to choose a committee of 3 people from a group of 5, where the order does not matter, is C(5, 3) = 5! / (3! × (5 - 3)!) = 10

Determining the Type of Arrangement

  • When solving counting problems, it is crucial to determine whether the arrangement is ordered or unordered, as this will dictate the appropriate formula or approach to use
  • Ordered arrangements (permutations) are used when the order of elements is significant, while unordered arrangements (combinations) are used when the order is not important
    • Example: Forming a 4-digit PIN code is an ordered arrangement, as different orderings of the same digits result in different PIN codes. Choosing 3 toppings for a pizza from a list of 10 is an unordered arrangement, as the order of the toppings does not matter.
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary