Learn on PengiOpenStax Algebra and TrigonometryChapter 13: Sequences, Probability, and Counting Theory

Lesson 13.5: Counting Principles

New Concept Learn the fundamental rules for counting possibilities. We'll explore when to add choices (Addition Principle) versus when to multiply them (Multiplication Principle), and apply these skills to solve problems involving arrangements (permutations) and selections (combinations).

Section 1

📘 Counting Principles

New Concept

Learn the fundamental rules for counting possibilities. We'll explore when to add choices (Addition Principle) versus when to multiply them (Multiplication Principle), and apply these skills to solve problems involving arrangements (permutations) and selections (combinations).

What’s next

Now that you have the foundation, you'll tackle interactive examples and practice cards to master applying these principles to solve complex counting problems.

Section 2

The Addition Principle

Property

According to the Addition Principle, if one event can occur in mm ways and a second event with no common outcomes can occur in nn ways, then the first or second event can occur in m+nm+n ways.

Examples

  • A coffee shop offers 8 types of coffee and 5 types of tea. A customer can choose a drink in 8+5=138 + 5 = 13 ways.
  • A bookstore has 10 new fiction books and 6 new non-fiction books. You can choose one new book to read in 10+6=1610 + 6 = 16 ways.
  • In a car lot, there are 12 sedans and 9 SUVs available. The total number of vehicle options is 12+9=2112 + 9 = 21.

Explanation

Think of this as the 'or' rule. When you have to choose from one group OR another, and the groups are separate (no overlap), you simply add the number of choices from each group to get the total number of options.

Section 3

The Multiplication Principle

Property

According to the Multiplication Principle, if one event can occur in mm ways and a second event can occur in nn ways after the first event has occurred, then the two events can occur in m×nm \times n ways. This is also known as the Fundamental Counting Principle.

Examples

  • A restaurant meal special includes one of 4 main courses, one of 3 side dishes, and one of 2 drinks. The total number of different meal combinations is 4×3×2=244 \times 3 \times 2 = 24.
  • To create a user ID, you must choose two letters and then three digits. The number of possible user IDs is 26×26×10×10×10=676,00026 \times 26 \times 10 \times 10 \times 10 = 676,000.
  • A student is choosing their schedule, with 5 options for a math class and 4 options for a science class. They can create a schedule with one of each in 5×4=205 \times 4 = 20 ways.

Explanation

This is the 'and' rule for sequential choices. When you have to perform one task AND then another, you multiply the number of options for each task to find the total number of possible outcomes or combinations.

Section 4

Permutations of n Distinct Objects

Property

An ordering of objects is called a permutation. Given nn distinct objects, the number of ways to select rr objects from the set in order is

P(n,r)=n!(nr)!P(n, r) = \frac{n!}{(n - r)!}

To solve, first determine the total number of options, nn. Then determine the number of options being selected, rr. Finally, substitute these values into the formula and evaluate.

Examples

  • In a race with 8 runners, the number of ways to award gold, silver, and bronze medals is P(8,3)=8!(83)!=336P(8, 3) = \frac{8!}{(8-3)!} = 336.
  • A manager needs to schedule 4 out of 7 employees for four different shifts. The number of ways she can assign them is P(7,4)=7!(74)!=840P(7, 4) = \frac{7!}{(7-4)!} = 840.
  • A child has 6 different toy cars and wants to line up 3 of them on a shelf. The number of possible arrangements is P(6,3)=6!(63)!=120P(6, 3) = \frac{6!}{(6-3)!} = 120.

Explanation

Permutations count arrangements where the order of selection is important. Think of it like awarding 1st, 2nd, and 3rd place ribbons in a race—who gets which ribbon matters. The formula calculates all possible ordered arrangements.

Section 5

Combinations of n Distinct Objects

Property

Given nn distinct objects, the number of ways to select rr objects from the set is

C(n,r)=n!r!(nr)!C(n, r) = \frac{n!}{r!(n - r)!}

To find the number of combinations, identify the total number of items, nn, and the number you are choosing, rr. Then, replace the variables in the formula with the given values and evaluate.

Examples

  • An art teacher wants to choose 4 students from her class of 20 to go on a field trip. The number of ways she can choose the group is C(20,4)=20!4!(204)!=4,845C(20, 4) = \frac{20!}{4!(20-4)!} = 4,845.
  • From a deck of 52 cards, the number of different 5-card hands you can be dealt is C(52,5)=52!5!(525)!=2,598,960C(52, 5) = \frac{52!}{5!(52-5)!} = 2,598,960.
  • A student must answer 5 out of 8 questions on an exam. The number of ways to choose which questions to answer is C(8,5)=8!5!(85)!=56C(8, 5) = \frac{8!}{5!(8-5)!} = 56.

Explanation

Combinations count selections where order does not matter. Think of picking a team from a group of players—it doesn't matter if you were picked first or last, you're still on the team. This formula finds the number of unique groups.

Section 6

Number of Subsets of a Set

Property

A set containing nn distinct objects has 2n2^n subsets. This is because for each of the nn objects, we have two choices: either include it in the subset or not. This gives a total of 2×2××22 \times 2 \times \dots \times 2 (nn times) possible subsets.

Examples

  • A pizza place offers 8 different toppings. The total number of different pizzas that can be made (including a plain pizza) is 28=2562^8 = 256.
  • A survey contains 10 true/false questions. The total number of ways a person can fill out the survey is 210=1,0242^{10} = 1,024.
  • A company has 6 project add-on features a client can choose. The number of possible feature packages, including choosing none, is 26=642^6 = 64.

Explanation

This formula calculates every possible grouping that can be formed from a set of items, including taking no items (the empty set) or all items. For each item, you simply make a 'yes' or 'no' choice to include it.

Section 7

Permutations of n Non-Distinct Objects

Property

If there are nn elements in a set and r1r_1 are alike, r2r_2 are alike, r3r_3 are alike, and so on through rkr_k, the number of permutations can be found by

n!r1!r2!rk!\frac{n!}{r_1! r_2! \cdots r_k!}

Examples

  • Find the number of distinct arrangements of the letters in the word 'MISSISSIPPI'. There are 11 letters total, with 4 I's, 4 S's, and 2 P's. The number is 11!4!4!2!=34,650\frac{11!}{4!4!2!} = 34,650.
  • A decorator is arranging 10 balloons in a line. If 5 are red, 3 are blue, and 2 are white, the number of unique arrangements is 10!5!3!2!=2,520\frac{10!}{5!3!2!} = 2,520.
  • How many different ways can you arrange the letters in the word 'STATISTICS'? There are 10 letters, with 3 S's, 3 T's, and 2 I's. The number of ways is 10!3!3!2!=50,400\frac{10!}{3!3!2!} = 50,400.

Explanation

When arranging items that include duplicates, you must correct for overcounting. This formula finds the number of unique arrangements by dividing the total permutations (n!n!) by the permutations of each group of identical items.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 13: Sequences, Probability, and Counting Theory

  1. Lesson 1

    Lesson 13.1: Sequences and Their Notations

  2. Lesson 2

    Lesson 13.2: Arithmetic Sequences

  3. Lesson 3

    Lesson 13.3: Geometric Sequences

  4. Lesson 4

    Lesson 13.4: Series and Their Notations

  5. Lesson 5Current

    Lesson 13.5: Counting Principles

  6. Lesson 6

    Lesson 13.6: Binomial Theorem

  7. Lesson 7

    Lesson 13.7: Probability

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

📘 Counting Principles

New Concept

Learn the fundamental rules for counting possibilities. We'll explore when to add choices (Addition Principle) versus when to multiply them (Multiplication Principle), and apply these skills to solve problems involving arrangements (permutations) and selections (combinations).

What’s next

Now that you have the foundation, you'll tackle interactive examples and practice cards to master applying these principles to solve complex counting problems.

Section 2

The Addition Principle

Property

According to the Addition Principle, if one event can occur in mm ways and a second event with no common outcomes can occur in nn ways, then the first or second event can occur in m+nm+n ways.

Examples

  • A coffee shop offers 8 types of coffee and 5 types of tea. A customer can choose a drink in 8+5=138 + 5 = 13 ways.
  • A bookstore has 10 new fiction books and 6 new non-fiction books. You can choose one new book to read in 10+6=1610 + 6 = 16 ways.
  • In a car lot, there are 12 sedans and 9 SUVs available. The total number of vehicle options is 12+9=2112 + 9 = 21.

Explanation

Think of this as the 'or' rule. When you have to choose from one group OR another, and the groups are separate (no overlap), you simply add the number of choices from each group to get the total number of options.

Section 3

The Multiplication Principle

Property

According to the Multiplication Principle, if one event can occur in mm ways and a second event can occur in nn ways after the first event has occurred, then the two events can occur in m×nm \times n ways. This is also known as the Fundamental Counting Principle.

Examples

  • A restaurant meal special includes one of 4 main courses, one of 3 side dishes, and one of 2 drinks. The total number of different meal combinations is 4×3×2=244 \times 3 \times 2 = 24.
  • To create a user ID, you must choose two letters and then three digits. The number of possible user IDs is 26×26×10×10×10=676,00026 \times 26 \times 10 \times 10 \times 10 = 676,000.
  • A student is choosing their schedule, with 5 options for a math class and 4 options for a science class. They can create a schedule with one of each in 5×4=205 \times 4 = 20 ways.

Explanation

This is the 'and' rule for sequential choices. When you have to perform one task AND then another, you multiply the number of options for each task to find the total number of possible outcomes or combinations.

Section 4

Permutations of n Distinct Objects

Property

An ordering of objects is called a permutation. Given nn distinct objects, the number of ways to select rr objects from the set in order is

P(n,r)=n!(nr)!P(n, r) = \frac{n!}{(n - r)!}

To solve, first determine the total number of options, nn. Then determine the number of options being selected, rr. Finally, substitute these values into the formula and evaluate.

Examples

  • In a race with 8 runners, the number of ways to award gold, silver, and bronze medals is P(8,3)=8!(83)!=336P(8, 3) = \frac{8!}{(8-3)!} = 336.
  • A manager needs to schedule 4 out of 7 employees for four different shifts. The number of ways she can assign them is P(7,4)=7!(74)!=840P(7, 4) = \frac{7!}{(7-4)!} = 840.
  • A child has 6 different toy cars and wants to line up 3 of them on a shelf. The number of possible arrangements is P(6,3)=6!(63)!=120P(6, 3) = \frac{6!}{(6-3)!} = 120.

Explanation

Permutations count arrangements where the order of selection is important. Think of it like awarding 1st, 2nd, and 3rd place ribbons in a race—who gets which ribbon matters. The formula calculates all possible ordered arrangements.

Section 5

Combinations of n Distinct Objects

Property

Given nn distinct objects, the number of ways to select rr objects from the set is

C(n,r)=n!r!(nr)!C(n, r) = \frac{n!}{r!(n - r)!}

To find the number of combinations, identify the total number of items, nn, and the number you are choosing, rr. Then, replace the variables in the formula with the given values and evaluate.

Examples

  • An art teacher wants to choose 4 students from her class of 20 to go on a field trip. The number of ways she can choose the group is C(20,4)=20!4!(204)!=4,845C(20, 4) = \frac{20!}{4!(20-4)!} = 4,845.
  • From a deck of 52 cards, the number of different 5-card hands you can be dealt is C(52,5)=52!5!(525)!=2,598,960C(52, 5) = \frac{52!}{5!(52-5)!} = 2,598,960.
  • A student must answer 5 out of 8 questions on an exam. The number of ways to choose which questions to answer is C(8,5)=8!5!(85)!=56C(8, 5) = \frac{8!}{5!(8-5)!} = 56.

Explanation

Combinations count selections where order does not matter. Think of picking a team from a group of players—it doesn't matter if you were picked first or last, you're still on the team. This formula finds the number of unique groups.

Section 6

Number of Subsets of a Set

Property

A set containing nn distinct objects has 2n2^n subsets. This is because for each of the nn objects, we have two choices: either include it in the subset or not. This gives a total of 2×2××22 \times 2 \times \dots \times 2 (nn times) possible subsets.

Examples

  • A pizza place offers 8 different toppings. The total number of different pizzas that can be made (including a plain pizza) is 28=2562^8 = 256.
  • A survey contains 10 true/false questions. The total number of ways a person can fill out the survey is 210=1,0242^{10} = 1,024.
  • A company has 6 project add-on features a client can choose. The number of possible feature packages, including choosing none, is 26=642^6 = 64.

Explanation

This formula calculates every possible grouping that can be formed from a set of items, including taking no items (the empty set) or all items. For each item, you simply make a 'yes' or 'no' choice to include it.

Section 7

Permutations of n Non-Distinct Objects

Property

If there are nn elements in a set and r1r_1 are alike, r2r_2 are alike, r3r_3 are alike, and so on through rkr_k, the number of permutations can be found by

n!r1!r2!rk!\frac{n!}{r_1! r_2! \cdots r_k!}

Examples

  • Find the number of distinct arrangements of the letters in the word 'MISSISSIPPI'. There are 11 letters total, with 4 I's, 4 S's, and 2 P's. The number is 11!4!4!2!=34,650\frac{11!}{4!4!2!} = 34,650.
  • A decorator is arranging 10 balloons in a line. If 5 are red, 3 are blue, and 2 are white, the number of unique arrangements is 10!5!3!2!=2,520\frac{10!}{5!3!2!} = 2,520.
  • How many different ways can you arrange the letters in the word 'STATISTICS'? There are 10 letters, with 3 S's, 3 T's, and 2 I's. The number of ways is 10!3!3!2!=50,400\frac{10!}{3!3!2!} = 50,400.

Explanation

When arranging items that include duplicates, you must correct for overcounting. This formula finds the number of unique arrangements by dividing the total permutations (n!n!) by the permutations of each group of identical items.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 13: Sequences, Probability, and Counting Theory

  1. Lesson 1

    Lesson 13.1: Sequences and Their Notations

  2. Lesson 2

    Lesson 13.2: Arithmetic Sequences

  3. Lesson 3

    Lesson 13.3: Geometric Sequences

  4. Lesson 4

    Lesson 13.4: Series and Their Notations

  5. Lesson 5Current

    Lesson 13.5: Counting Principles

  6. Lesson 6

    Lesson 13.6: Binomial Theorem

  7. Lesson 7

    Lesson 13.7: Probability