Counting principles
This chapter introduces the fundamental principles of counting, which are indispensable for quantifying arrangements and selections in discrete mathematics. Mastery of factorials, permutations, and combinations, alongside the multiplication and addition principles, is critical for success in solving a wide array of combinatorial problems frequently encountered in examinations.
---
Chapter Contents
|
| Topic |
|---|-------| | 1 | Factorials | | 2 | Multiplication principle | | 3 | Addition principle | | 4 | Permutations | | 5 | Combinations |---
We begin with Factorials.
Part 1: Factorials
Factorials
Overview
Factorials appear everywhere in counting. They give a compact way to write long products such as and they naturally count arrangements of distinct objects. In CMI-style combinatorics, factorials are not just notation; they are tools for simplifying products, counting permutations, and transforming expressions into standard forms. ---Learning Objectives
After studying this topic, you will be able to:
- Define correctly and use the convention .
- Simplify factorial expressions efficiently.
- Interpret factorials as counting arrangements of distinct objects.
- Recognize factorial patterns in permutations and products.
- Avoid common algebraic mistakes involving factorial notation.
Core Definition
For a positive integer ,
Also, by convention,
Basic Identities
For positive integers :
- for
Why
From
we must have
This makes the factorial identities and counting formulas consistent.
Factorials as Counting
The number of ways to arrange distinct objects in a line is
Reason:
- choices for the first position
- for the second
- for the third
- and so on
So the total number of arrangements is
Standard Counting Uses
- Number of arrangements of distinct objects:
- Number of ordered selections of objects from distinct objects:
Simplification Strategy
When simplifying a factorial expression:
- Expand only as much as needed.
- Cancel common factors quickly.
- Use
repeatedly.
- Avoid expanding very large factorials completely unless necessary.
Minimal Worked Examples
Example 1 Simplify Write So --- Example 2 How many ways can distinct books be arranged on a shelf? The answer is So the number of arrangements is . ---High-Value Observations
- Factorials grow very fast.
- is defined only for non-negative integers in this school-level setting.
- If , then divides .
- Quotients like
should be simplified by cancellation, not brute-force expansion.
Common Mistakes
- ❌ Thinking
- ❌ Writing
- ❌ Expanding every factorial fully
- ❌ Using factorials for non-integers in basic counting problems
CMI Strategy
- If the expression is a quotient of factorials, cancel structurally.
- If the problem involves arranging distinct objects, think of immediately.
- If only a few terms survive after cancellation, do not expand more than needed.
- Always remember the convention .
Practice Questions
:::question type="MCQ" question="The value of is" options=["","","",""] answer="C" hint="Expand only enough to cancel." solution="We write So Hence the correct option is ." ::: :::question type="NAT" question="How many ways can distinct books be arranged on a shelf?" answer="120" hint="Arrangements of distinct objects are counted by ." solution="The number of arrangements of distinct objects is Therefore the answer is ." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["",""," for ",""] answer="A,B,C" hint="Use the basic factorial identities." solution="1. True.Summary
- is the product of the first positive integers.
- The convention is essential.
- Factorials count arrangements of distinct objects.
- The identity is the key simplification tool.
- Expand only as much as needed when simplifying factorial expressions.
---
Proceeding to Multiplication principle.
---
Part 2: Multiplication principle
Multiplication Principle
Overview
The multiplication principle is the most basic and most powerful counting tool in combinatorics. Whenever a task is completed in stages, and each stage has a certain number of choices, the total number of outcomes is usually found by multiplying the numbers of choices stage by stage. In CMI-style problems, this principle appears in passwords, arrangements, digit-formation, path counting, and many disguised counting situations. ---Learning Objectives
After studying this topic, you will be able to:
- Apply the multiplication principle to multi-stage counting problems.
- Separate a counting problem into correct stages.
- Handle restrictions such as “without repetition” and “first digit cannot be zero”.
- Distinguish when multiplication is needed and when addition is needed.
- Use the multiplication principle as a foundation for permutations and factorial-based counting.
Core Idea
If a process has two stages, where:
- the first stage can be done in ways, and
- for each choice of the first stage, the second stage can be done in ways,
then the total number of ways to perform the whole process is
More generally, if a process has stages with choices respectively, then the total number of outcomes is
Why It Works
The multiplication principle works when the final outcome is formed by making one choice after another.
So if an outcome is built as
- stage
- then stage
- then stage
the total count is found by multiplying the number of valid choices at each stage.
Standard Formula
If there are:
- choices for stage
- choices for stage
- choices for stage
then total number of outcomes is
When Repetition Is Allowed
If a symbol can be reused, then the number of choices often stays the same at each stage.
Example:
Number of -letter strings formed using letters with repetition allowed:
When Repetition Is Not Allowed
If a chosen object cannot be reused, the number of available choices decreases after each stage.
Example:
Number of ways to arrange distinct books on a shelf:
Important Restrictions
- No repetition
The number of choices decreases.
- Leading digit cannot be zero
The first stage has fewer choices than the others.
- Last digit must satisfy a condition
It is often easier to choose the last stage first.
- Certain positions are fixed
Count the fixed stage first, then multiply the remaining choices.
Minimal Worked Examples
Example 1 How many -letter codes can be formed from the letters if repetition is allowed? There are- choices for the first letter
- choices for the second letter
- choices for the third letter
- choices for the first digit
- choices for the second digit
- choices for the third digit
Multiplication vs Addition
Use the multiplication principle when the task happens in stages.
Use the addition principle when you are choosing between disjoint alternatives.
CMI Strategy
- Break the task into stages.
- Decide the number of valid choices at each stage.
- Check whether repetition is allowed.
- Check whether any position has a special restriction.
- Multiply carefully.
- If the problem seems difficult, try choosing the most restricted stage first.
Common Mistakes
- ❌ Multiplying when the cases should be added
- ❌ Forgetting that repetition is not allowed
- ❌ Allowing zero as the first digit in a number
- ❌ Treating all positions equally when one position has a special condition
Practice Questions
:::question type="MCQ" question="How many -digit numbers can be formed from the digits without repetition?" options=["","","",""] answer="B" hint="Choose the digits stage by stage." solution="There are choices for the first digit, for the second, and for the third. So the total number is . Hence the correct option is ." ::: :::question type="NAT" question="How many -letter strings can be formed from the letters if repetition is allowed?" answer="625" hint="Each stage has the same number of choices." solution="At each of the positions, there are choices. Hence the total number of strings is . Therefore the answer is ." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If a task has stages with choices respectively, then the total number of outcomes is ","If repetition is not allowed, the number of choices may decrease from stage to stage","The multiplication principle is used for disjoint either-or cases","To count -digit numbers, the first digit cannot be zero"] answer="A,B,D" hint="Separate sequential counting from case-wise counting." solution="1. True, by the multiplication principle.Summary
- The multiplication principle counts multi-stage processes.
- Total count is found by multiplying valid choices at each stage.
- Restrictions such as no repetition or no leading zero must be built into the stage count.
- Harder counting problems often become easy once the stages are chosen correctly.
- The multiplication principle is the basis for permutations, factorials, and many later counting formulas.
---
Proceeding to Addition principle.
---
Part 3: Addition principle
Addition Principle
Overview
The addition principle is the first major rule of counting. It is used when a task can happen through different non-overlapping cases, and the total number of ways is the sum of the counts of those cases. In CMI-style counting, the main difficulty is not the formula itself, but checking whether the cases are really disjoint. ---Learning Objectives
After studying this topic, you will be able to:
- State and apply the addition principle correctly.
- Recognize when cases are mutually exclusive.
- Split a counting problem into clean non-overlapping cases.
- Distinguish addition principle from multiplication principle.
- Avoid double counting when cases overlap.
Core Idea
If a task can be done in:
- ways by one method
- ways by another method
and the two methods cannot happen together, then the total number of ways is
More generally, if a task can be done through several mutually exclusive cases, then the total number of ways is the sum of the numbers of ways in those cases.
The cases must be disjoint.
If the same outcome is counted in two different cases, then simple addition gives overcounting.
Addition vs Multiplication
- Addition principle: choose one case out of different disjoint cases
- Multiplication principle: perform one step and then another step
- choosing a card that is either a king or a queen add
- choosing a shirt and then a trouser multiply
Standard Examples
Example 1 How many integers from to are divisible by or equal to ? Numbers divisible by from to : Also is not divisible by , so it gives one extra number. Total: So the answer is . --- Example 2 A student can choose either a Mathematics book from books or a Physics book from books. In how many ways can the student choose one book? These are disjoint choices:- choose a Mathematics book: ways
- choose a Physics book: ways
When Addition Principle Applies
Use the addition principle when:
- the word “or” appears in a counting problem
- the valid outcomes are split into separate cases
- each final outcome belongs to exactly one case
- one choice is made from one among several categories
When It Does Not Apply Directly
If two cases overlap, then simple addition is wrong.
For two sets and ,
So when cases overlap, subtract the overlap.
Casework Structure
If a problem can be split into disjoint cases , then
- even / odd
- contains a fixed element / does not contain it
- first digit chosen from one set / first digit chosen from another set
- exactly objects of a certain type
Minimal Worked Examples
Example 3 How many positive integers less than are either one-digit or multiples of ? One-digit positive integers: Multiples of less than : so there are such numbers. These two cases are disjoint, so total: Hence the answer is . --- Example 4 How many letters in the English alphabet are vowels or consonants? Vowels: Consonants: Since every letter is exactly one of these, total: ---Common Mistakes
- ❌ Adding counts of overlapping cases directly
- ❌ Using addition where multiplication is needed
- ❌ Poor case splitting
- ❌ Missing one of the cases
CMI Strategy
- Search for the word “or”.
- Split the problem into cases.
- Check that the cases do not overlap.
- Count each case separately.
- Add the counts.
- If overlap exists, subtract the repeated count.
Practice Questions
:::question type="MCQ" question="A number is chosen from the set . The number of ways to choose an even number or the number is" options=["","","",""] answer="B" hint="Count disjoint cases." solution="Even numbers are , so there are choices. Also is one extra choice and is not even. Hence total ways are So the correct option is ." ::: :::question type="NAT" question="A student can choose either one of pens or one of pencils. In how many ways can the student choose one item?" answer="10" hint="Use the addition principle." solution="Choose a pen in ways or a pencil in ways. These cases are disjoint. So the total number of ways is Hence the answer is ." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If two cases are disjoint, total count is the sum of the counts","Addition principle is usually used when the word 'or' appears","If cases overlap, simple addition may overcount","Addition principle and multiplication principle are always the same"] answer="A,B,C" hint="Think about disjoint case counting." solution="1. True.Summary
- The addition principle counts outcomes split into disjoint cases.
- The total is the sum of the counts of those cases.
- The most important check is whether the cases overlap.
- “Or” often suggests addition, while “and then” usually suggests multiplication.
- Clean casework is the heart of successful basic counting.
---
Proceeding to Permutations.
---
Part 4: Permutations
Permutations
Overview
A permutation is an arrangement in which order matters. This topic is one of the foundations of counting, and it appears in direct counting, restricted arrangements, ranking arguments, and word problems. In CMI-style questions, the key is to separate selection from arrangement and to know when factorial language is the correct model. ---Learning Objectives
After studying this topic, you will be able to:
- Distinguish between combinations and permutations.
- Count arrangements of all objects and arrangements of selected objects.
- Use factorial notation efficiently.
- Solve restricted permutation problems using blocks or complements.
- Handle arrangements with repeated identical objects when needed.
Core Idea
A permutation is an arrangement in which the order of objects matters.
Examples:
- arranging books on a shelf
- assigning ranks
- forming ordered strings without repetition
- arranging letters in a word
Factorial Notation
For a positive integer ,
Also,
Permutations of Distinct Objects
The number of ways to arrange distinct objects in a row is
The number of ways to choose and arrange objects from distinct objects is
- first place: choices
- second place: choices
- continue until places are filled
Selection Versus Arrangement
If a problem asks:
- “which objects?” → selection
- “in what order?” → arrangement
A permutation often has two parts:
- choose the objects
- arrange them
Restricted Permutations
If two or more objects must stay together, treat them as one block first.
Example:
Arrange with and together.
Treat as one unit along with :
ways
Inside the block, can switch:
ways
Total:
If two objects must not be together, count:
Repeated Objects
If among total objects,
- are identical of one kind
- are identical of another kind
- etc.
then the number of distinct arrangements is
Standard Patterns
- Arrangements of all distinct objects:
- Arrangements of selected from :
- Two specified objects together:
use blocks
- Two specified objects not together:
total minus together
- Repeated letters:
divide by factorials of multiplicities
Minimal Worked Examples
Example 1 How many ways can 5 distinct students stand in a line? --- Example 2 How many ways can 3 out of 6 distinct books be arranged on a shelf? ---Common Mistakes
- ❌ Using combinations when order matters
- ❌ Using when only positions are being filled
- ❌ Forgetting internal arrangement inside a block
- ❌ Forgetting to divide by repeated identical objects
CMI Strategy
- First ask: are all objects used, or only some of them?
- Then ask: are all objects distinct?
- If a restriction says “together”, use a block.
- If a restriction says “not together”, use complement.
- If repeated letters appear, divide by factorials of multiplicities.
Practice Questions
:::question type="MCQ" question="The number of ways to arrange 4 distinct books on a shelf is" options=["","","",""] answer="C" hint="All 4 distinct objects are arranged." solution="The number of arrangements of 4 distinct objects in a row is . Hence the correct option is ." ::: :::question type="NAT" question="Find ." answer="60" hint="Use the formula ." solution="Using the permutation formula, . Hence the answer is ." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["The number of permutations of distinct objects is ","","If two specified objects must be together, block method is often useful","The number of arrangements of the letters of the word AAB is "] answer="A,B,C" hint="Watch the repeated-letter case carefully." solution="1. True.- repeats 2 times
- repeats 2 times
- occurs once
Summary
- Permutations are arrangements where order matters.
- Arrange all distinct objects using .
- Arrange of distinct objects using .
- Use block method for “together” restrictions.
- Use complement for “not together” restrictions.
- Use division by factorials when identical repeated objects appear.
---
Proceeding to Combinations.
---
Part 5: Combinations
Combinations
Overview
Combinations are used when we need to select objects without caring about order. This topic is one of the most important counting tools because many harder counting problems reduce to choosing positions, choosing people, or choosing subsets. In CMI-style problems, the real test is not the formula itself, but knowing when order matters and when it does not. ---Learning Objectives
After studying this topic, you will be able to:
- Recognize when a problem is a combinations problem.
- Use the formula for correctly.
- Distinguish combinations from permutations.
- Apply symmetry and standard identities to simplify counting.
- Solve medium-level selection and committee questions cleanly.
Core Idea
A combination is a selection of objects where order does not matter.
For example, choosing the team is the same as choosing .
So combinations count selections, not arrangements.
The number of ways to choose objects from distinct objects is
where .
Why the Formula Works
If we first arrange objects from , we get But in each group of selected objects, the internal orders are all counted separately. So,Permutation = selection with order
Combination = selection without order
Standard Values
- if
Choosing objects to include is the same as choosing objects to exclude.
Pascal Identity
Reason:
Take one special object. A selection of objects either:
- does not contain it, giving possibilities
- contains it, giving possibilities
Typical Situations Where Combinations Appear
Use combinations when the task says:
- choose
- select
- form a committee
- pick a subset
- choose positions for identical objects
- choose which cases happen
and the final outcome does not depend on order.
Minimal Worked Examples
Example 1 How many ways are there to choose students from students? So the answer is . --- Example 2 How many diagonals does a polygon with vertices have? Choose any vertices to form a segment: But of these are sides. So number of diagonals is Hence the answer is . ---Common Patterns
- Choosing people from :
- Choosing positions of identical objects among total places:
choose the positions of one type, then the rest are fixed
- Committee with restrictions:
split into valid cases, then use combinations in each case
- Choosing at least / at most:
sum several combination values
Common Mistakes
- ❌ Using permutations when order does not matter
- ❌ Forgetting symmetry
- ❌ Treating identical objects as distinct
- ❌ Missing restrictions like “at least one” or “exactly two”
CMI Strategy
- Decide first whether order matters.
- If order does not matter, think immediately.
- Use symmetry when it simplifies the arithmetic.
- For restrictions, split the problem into clean cases.
- For geometric or word problems, convert the situation into a selection problem.
Practice Questions
:::question type="MCQ" question="The number of ways to choose students from students is" options=["","","",""] answer="B" hint="Use ." solution="We need the number of ways to choose from : So the correct option is ." ::: :::question type="NAT" question="Find the value of ." answer="9" hint="Use symmetry." solution="By symmetry, Hence the answer is ." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["","","",""] answer="A,B,D" hint="Recall standard identities." solution="1. True.Summary
- Combinations count selections where order does not matter.
- The main formula is .
- Symmetry is extremely useful.
- Many counting problems are combinations in disguise.
- The main skill is recognizing when the situation is about selection, not arrangement.
---
Chapter Summary
- Fundamental Principles: The Multiplication Principle applies when tasks are sequential, while the Addition Principle is used for mutually exclusive alternative tasks. These form the bedrock of all combinatorial counting.
- Factorials: represents the number of distinct arrangements (permutations) of unique items, serving as a basis for more complex permutation calculations.
- Permutations: calculates the number of ordered arrangements of items selected from distinct items, where the sequence of selection matters.
- Combinations: calculates the number of unordered selections of items from distinct items, where the sequence of selection does not matter.
- Distinction is Key: A critical step in solving counting problems is to correctly identify whether order is important (permutations) or not (combinations), often by careful reading of the problem statement.
- Repetitions and Restrictions: Techniques exist to handle permutations with identical items (e.g., dividing by factorials of counts of repeated items) and combinations with replacement, as well as problems with specific constraints or conditions.
- Systematic Problem Solving: Complex counting scenarios often require breaking down the problem into smaller, manageable parts, applying the appropriate principle(s) to each part, and then combining the results using the Multiplication or Addition Principle.
---
Chapter Review Questions
:::question type="MCQ" question="How many distinct 4-letter codes can be formed using the letters A, B, C, D, E, F if no letter can be repeated?" options=["120","360","720","1440"] answer="360" hint="Consider the number of choices for each position sequentially, or use the permutation formula." solution="This is a permutation problem since the order of letters in the code matters, and letters cannot be repeated. We need to choose 4 letters from 6 distinct letters and arrange them.
The number of ways to choose the first letter is 6.
The number of ways to choose the second letter is 5 (since one letter is already used).
The number of ways to choose the third letter is 4.
The number of ways to choose the fourth letter is 3.
Using the Multiplication Principle, the total number of codes is .
Alternatively, using the permutation formula: ."
:::
:::question type="NAT" question="A committee of 3 men and 2 women is to be formed from a group of 7 men and 5 women. How many different committees can be formed?" answer="350" hint="Committees are unordered selections. Calculate the number of ways to choose men and women separately, then combine." solution="This problem involves combinations because the order in which individuals are chosen for a committee does not matter.
Number of ways to choose 3 men from 7 men: .
Number of ways to choose 2 women from 5 women: .
Since the selection of men and women are independent tasks, we use the Multiplication Principle to find the total number of committees: ."
:::
:::question type="MCQ" question="How many distinct arrangements can be made from the letters of the word 'MISSISSIPPI'?" options=["11520","34650","69300","77760"] answer="34650" hint="This is a permutation with repetition problem. Identify the total number of letters and the frequency of each distinct letter." solution="The word 'MISSISSIPPI' has 11 letters in total.
Let's count the frequency of each distinct letter:
M: 1
I: 4
S: 4
P: 2
The formula for permutations with repetition is , where is the total number of items, and is the frequency of each distinct item.
Number of distinct arrangements = ."
:::
:::question type="NAT" question="From a group of 10 students (6 boys, 4 girls), a team of 5 is to be chosen. How many teams can be formed if there must be at least 3 boys?" answer="186" hint="Break this into mutually exclusive cases based on the number of boys, then sum the results." solution="The condition 'at least 3 boys' means we can have teams with 3 boys, 4 boys, or 5 boys. The remaining members of the team will be girls.
Case 1: 3 boys and 2 girls
Number of ways to choose 3 boys from 6: .
Number of ways to choose 2 girls from 4: .
Total for Case 1: .
Case 2: 4 boys and 1 girl
Number of ways to choose 4 boys from 6: .
Number of ways to choose 1 girl from 4: .
Total for Case 2: .
Case 3: 5 boys and 0 girls
Number of ways to choose 5 boys from 6: .
Number of ways to choose 0 girls from 4: .
Total for Case 3: .
Since these cases are mutually exclusive, we sum the results to find the total number of teams: ."
:::
---
What's Next?
Having mastered the fundamental counting principles, you are now equipped to tackle more advanced topics in combinatorics and discrete mathematics. These foundational techniques are indispensable for understanding Probability Theory, where calculating favorable outcomes and total sample spaces relies heavily on permutations and combinations. Furthermore, they serve as a prerequisite for exploring concepts in Graph Theory (e.g., counting paths, cycles), Discrete Probability Distributions, and the development of Recurrence Relations and Generating Functions, which offer sophisticated methods for solving complex counting problems and analyzing sequences.