Combinations With Repetitions - 11.7 | 11. Permutation and Combination | Discrete Mathematics - Vol 2
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.

Interactive Audio Lesson

Listen to a student-teacher conversation explaining the topic in a relatable way.

Understanding Permutations and Combinations

Unlock Audio Lesson

0:00
Teacher
Teacher

Today, we start with the basics of permutations and combinations. Can anyone remind me the difference between these two?

Student 1
Student 1

Isn't it that in permutations, the order matters but in combinations, it doesn’t?

Teacher
Teacher

Exactly! Permutations are about arrangement, while combinations focus on selection. Now can you tell me what combinations with repetitions mean?

Student 2
Student 2

It means I can pick the same item more than once.

Teacher
Teacher

Correct! This session will focus on calculating how many ways we can combine items when repetitions are allowed.

The Formula for Combinations With Repetitions

Unlock Audio Lesson

0:00
Teacher
Teacher

The formula for combinations with repetitions is C(n+r-1, r) where n is the different types of items and r is the number of selections. Can someone explain how this is derived?

Student 3
Student 3

Is it related to distributing r identical items into n distinct boxes?

Teacher
Teacher

Exactly! We visualize this using stars and bars. Each star represents an item and each bar represents a separator between different types. Who can provide an example of how we might calculate a scenario like this?

Student 4
Student 4

If I need to choose 3 kinds of candy from 2 types, I can use C(2+3-1, 3).

Teacher
Teacher

Great example! You’d find C(4, 3) which equals 4.

Practical Applications

Unlock Audio Lesson

0:00
Teacher
Teacher

Let’s consider the example of distributing bills in a cash box. How many ways can I select 3 bills from 4 different denominations?

Student 1
Student 1

I believe it's C(4+3-1, 3) = C(6, 3).

Teacher
Teacher

Exactly! This means there are 20 different ways to make that selection. Can anyone relate this to a real-world problem?

Student 2
Student 2

Like choosing ice cream flavors where I can have multiple scoops of the same flavor!

Teacher
Teacher

Exactly! That’s a perfect analogy which shows how combinations with repetitions work in everyday choices.

Introduction & Overview

Read a summary of the section's main ideas. Choose from Basic, Medium, or Detailed.

Quick Overview

This section discusses the concept of combinations with repetitions, defining the related terminology, formulas, and providing examples of their applications.

Standard

In this section, we explore combinations where repetitions of elements are allowed. We examine the essential formulas for calculating combinations with repetitions, the relationship to permutations, and practical applications through real-world examples.

Detailed

Detailed Summary

In this section, we delve into the concept of combinations with repetitions—the scenario where elements can be selected multiple times. This expands the basic idea of combinations, allowing for each element of the set to be chosen more than once. The notation used is C(n+r-1, r), where n is the number of distinct objects and r is the number of selections.

We also discuss how to derive this formula using visual aids such as stars and bars, which serve as a powerful means of conceptualizing the problem. The section highlights practical applications of combinations with repetitions, including solving equations where the total needs to be partitioned among various categories, and provides examples and exercises to reinforce understanding.

Youtube Videos

One Shot of Discrete Mathematics for Semester exam
One Shot of Discrete Mathematics for Semester exam

Audio Book

Dive deep into the subject with an immersive audiobook experience.

Introduction to Combinations with Repetitions

Unlock Audio Book

Signup and Enroll to the course for listening the Audio Book

Now we will consider the case where even in the selection the repetitions are allowed as well. So we are now interested to first find out the number of n-permutations of a set of objects where I am allowed to have repetitions. So for instance if I consider a set with 3 persons: person 1, person 2, and person 3.

Detailed Explanation

In this chunk, we introduce the concept of combinations with repetitions. This means that when selecting items (or people, in the example), we can choose the same item multiple times. For instance, if we draw 2 names from a group of 3 people, we might end up picking 'person 1' twice, which was not allowed in previous cases. This leads to a higher total number of possible selections.

Examples & Analogies

Imagine a fruit basket where there are 3 different kinds of fruits: apples, bananas, and cherries. If you're allowed to pick any fruit more than once, you could choose 2 apples, or 1 banana and 1 cherry, or even 2 bananas. Each of these combinations is unique as we can repeat our selections.

Counting n-Permutations with Repetition Allowed

Unlock Audio Book

Signup and Enroll to the course for listening the Audio Book

So now again if I want to find out the number of n-permutations of a set of k distinct elements where repetitions are allowed, then it turns out to be the product of k, n times. Because I have to fill n slots and the first slot can be occupied in k ways.

Detailed Explanation

When repetitions are allowed and we wish to find out how many ways we can select n items from k distinct items, the formula becomes k^n. This is because for each of the n slots we have k choices. The first choice can be any of the k items, and similarly for the second, third, and so on. Thus, we multiply the number of options available for each slot.

Examples & Analogies

Consider a password that is to be made using 3 letters from the English alphabet (let's say A, B, and C) and the same letter can be used more than once. For example, valid passwords could be 'AAA', 'AAB', 'ABC', 'BAC', etc. Since we can choose any letter for each of the 3 positions, we have 3 choices for the first letter, 3 for the second, and 3 for the third, resulting in 3^3 = 27 possible passwords.

Combinations with Repetitions

Unlock Audio Book

Signup and Enroll to the course for listening the Audio Book

Now let's try to find out number of n-combinations where repetitions are allowed and this is slightly tricky. So before going into the derivation of this formula, let me give you a motivating example.

Detailed Explanation

This chunk introduces the concept of counting combinations when items can be repeated. Unlike permutations where order matters, combinations focus on selection without regard to the order. We want to find out the number of ways to select a certain number of items from a set when it is permissible to select the same item multiple times. This situation is equivalent to placing items in separate categories, which we'll explore through examples.

Examples & Analogies

Consider a situation at an ice cream shop where you can choose 3 scoops of ice cream from 4 different flavors (vanilla, chocolate, strawberry, mint). Here, you can select the same flavor multiple times, like having three scoops of vanilla or two scoops of chocolate and one scoop of strawberry. The different selections represent combinations rather than permutations because it doesn't matter in which order the scoops are stacked. The formula to calculate these combinations is C(n+r-1, r), where n is the number of distinct flavors and r is the total number of scoops.

Derivation of the combinations formula

Unlock Audio Book

Signup and Enroll to the course for listening the Audio Book

This is because you can interpret this problem as follows. Consider the example of cash registers with slots for bills. You have 4 slots available: bills of 1 dollar, 2 dollars, 5 dollars, 10 dollars.

Detailed Explanation

Here, we derive the formula for combinations with repetitions allowed. The example uses a cash register analogy, where each bill represents distinct items (or types). To determine how many ways we can choose a set total from these denominations while allowing for repetitions, we can use a concept involving vertical lines separating groups of similar items. By treating each selection scenario as a series of crosses (picked items) and vertical dividers (between categories), we develop our counting framework.

Examples & Analogies

If you have a cash box with different denominations and you are tasked with selecting 3 total bills (like 1 dollar bills, 2 dollar bills, and so on) while keeping track of how many are picked, you can picture dividing them visually with lines. Each unique layout of chosen bills and dividers corresponds to a unique selection of bills. For instance, if you choose 2 one-dollar bills and 1 two-dollar bill, that can be represented as crossing off 2 lines under the 1 dollar category and 1 under the 2 dollar category.

General Formula for Combinations with Repetitions

Unlock Audio Book

Signup and Enroll to the course for listening the Audio Book

So that is why the general formula for n-combinations where repetitions are allowed is C(n+r-1, r).

Detailed Explanation

This chunk concludes the section by presenting the generalized formula for combinations when repetitions are allowed. It highlights the relationship between the number of items chosen and the allowance for selections without order and repetition. The formula C(n+r-1, r) establishes a systematic way to count the number of possible combinations through a combinatorial approach.

Examples & Analogies

Think of this as a situation where you want to distribute candies (r) in different flavors (n) but you can use each flavor multiple times without restriction. The formula helps us predict how many unique sets of candies can result when drawing from a variety of flavors where it's as if the candies belong to distinguishable groups.

Definitions & Key Concepts

Learn essential terms and foundational ideas that form the basis of the topic.

Key Concepts

  • Combinations with Repetitions: Selecting items where the same item may be chosen multiple times.

  • Stars and Bars Technique: A visualization that helps in calculating distributions of indistinguishable items.

Examples & Real-Life Applications

See how the concepts apply in real-world scenarios to understand their practical implications.

Examples

  • Choosing 3 scoops of ice cream from 5 available flavors with repetitions allowed.

  • Selecting fruits for a smoothie from a selection of 3 types where you can pick the same kind multiple times.

Memory Aids

Use mnemonics, acronyms, or visual cues to help remember key information more easily.

🎵 Rhymes Time

  • Combinations, repetitions, nothing's more; repeat or not, it's all in the score.

📖 Fascinating Stories

  • Imagine a candy store where you can take any number of one type of candy – that’s how combinations with repetitions work!

🧠 Other Memory Gems

  • C for Combinations! Repetitions allow us to select, don't forget!

🎯 Super Acronyms

CRR

  • Combinations
  • Repetition
  • and Result – helps you remember the concepts!

Flash Cards

Review key concepts with flashcards.

Glossary of Terms

Review the Definitions for terms.

  • Term: Combination

    Definition:

    A selection of items where the order does not matter.

  • Term: Permutation

    Definition:

    An arrangement of items where the order does matter.

  • Term: Combinations with Repetitions

    Definition:

    Selections that allow for the same item to be chosen more than once.

  • Term: Stars and Bars

    Definition:

    A combinatorial method used to visualize and solve problems of distributing indistinguishable objects into distinct boxes.