Unit 5: Natural Number
Natural Numbers
Natural numbers are the numbers we use for counting objects in daily life.
Examples:
- 1, 2, 3, 4, 5, …
- Some books include 0 as a natural number, while some start from 1.
Uses in real life:
- Counting students in a class
- Numbering pages
- Counting money, items, days, etc.
Properties of Natural Numbers:
- They are positive whole numbers
- No fractions or decimals
- They go on forever (infinite)
Peano’s Axioms (Basics of Natural Numbers)
Peano’s axioms are basic rules that define natural numbers formally.
Think of them as the foundation rules of counting.
Peano’s Axioms (Explained Simply)
-
0 is a natural number
(Some systems start from 0) -
Every natural number has a successor
-
Successor means next number
-
Example: Successor of 3 is 4, Successor of 10 is 11
-
-
0 is not the successor of any number
-
No number comes before 0
-
-
Different numbers have different successors
-
If two numbers are different, their next numbers will also be different
-
-
Induction Axiom (Very Important)
-
If something is true for 0
-
And true for the next number whenever it is true for a number
-
Then it is true for all natural numbers
-
Why Peano’s Axioms are important:
- They give a logical base to mathematics
- Used to prove formulas and rules
Mathematical Induction
Mathematical induction is a method to prove statements that are true for all natural numbers.
Example:
Like climbing a ladder:
- If you can step on the first rung
- And from any rung you can go to the next rung
- Then you can climb the entire ladder
Steps of Mathematical Induction
Step 1: Base Case
Check whether the statement is true for the first number (usually 1 or 0).
Step 2: Induction Hypothesis
Assume the statement is true for some number n.
Step 3: Induction Step
Prove that if the statement is true for n, then it is also true for n + 1.
If all three steps work, the statement is true for all natural numbers.
Example:
Prove:
1 + 2 + 3 + … + n = n(n + 1)/2
- Base case: n = 1 → True
- Assume true for n
- Prove for n + 1
- Result: Statement is true for all n
Strong Mathematical Induction
Strong induction is similar to normal induction, but stronger.
Difference from Normal Induction
- In normal induction, we assume the statement is true for one number (n)
- In strong induction, we assume it is true for all numbers less than n
When to use Strong Induction?
-
When a problem depends on multiple previous values
Used in:
- Factorization
- Fibonacci series
- Recursion problems
Steps of Strong Induction
- Base Case – Check for the smallest value
- Induction Hypothesis – Assume the statement is true for all values less than n
- Induction Step – Prove it is true for n
Simple Understanding:
To reach step 10:
- You assume you can reach steps 1, 2, 3, … 9
- Then you prove you can reach step 10
Induction with Non-Zero Base Case
What does Non-Zero Base Case mean?
Sometimes, a statement does not start from 0 or 1.
It may start from 2, 3, or any other number.
Example: Prove something is true for n ≥ 3
Here:
-
Base case is n = 3, not 1
Steps:
- Verify the base case (e.g., n = 3)
- Assume the statement is true for n
- Prove it is true for n + 1
Why it is needed:
-
Some formulas or conditions do not work for small numbers
Common in:
- Inequalities
- Series
- Algorithm analysis
Difference Summary
| Topic | Key Idea |
|---|---|
| Natural Numbers | Counting numbers |
| Peano’s Axioms | Basic rules of natural numbers |
| Mathematical Induction | Proves statements for all n |
| Strong Induction | Uses all previous cases |
| Non-Zero Base Induction | Base case starts from n ≠ 0 or 1 |
Recurrence Relation
A recurrence relation is an equation that defines a sequence using its previous terms.
In simple words:
“To find the next value, we use the previous values.”
Daily Life Example:
- Salary increases every year based on last year’s salary
- Population growth depends on last year’s population
- Fibonacci series (very common example)
Example:
If:
Then:
Parts of a Recurrence Relation:
- Formula (relation between terms)
- Initial condition(s) (starting value)
Types of Recurrence Relations
(A) Simple Recurrence Relation with Constant Coefficients
Meaning:
- Coefficients are fixed numbers
- Relation involves previous terms
General Form:
Where
Example:
Here:
-
Coefficients: 3 and 2 (constants)
Fibonacci Example:
(B) Linear Recurrence Relation Without Constant Term
Meaning:
- Linear combination of previous terms
- No standalone constant number
General Form:
(No extra +5, +7, etc.)
Example:
This is:
- Linear
- Constant coefficients
- Without constant term
Important Note:
If a constant term exists, it is called non-homogeneous.
If no constant term exists, it is called homogeneous.
Methods of Solving Recurrence Relations
Method 1: Iteration Method
Meaning: Keep replacing previous terms until a pattern appears.
Example:
Finally:
When to use:
- Simple recurrences
- First-order relations
Method 2: Characteristic Equation Method
Used for:
- Linear recurrence relations
- Constant coefficients
- Homogeneous equations
Steps:
-
Assume solution
-
Substitute into recurrence
-
Get characteristic equation
-
Solve for
-
Write general solution
Example:
Characteristic equation:
Roots:
General solution:
Method 3: Generating Function Method
Used when:
- Recurrence is complex
- Sequence pattern is difficult to see
This method converts sequences into power series.
Generating Functions
A generating function is a power series where coefficients represent sequence terms.
Definition:
If a sequence is:
Then its generating function is:
Simple Example:
Sequence: 1, 1, 1, 1, …
Why Generating Functions are Useful:
- Solve recurrence relations
- Find closed-form formulas
- Used in counting problems
- Helpful in computer science and algorithms
Properties of Generating Functions
| Property | Explanation |
|---|---|
| Linearity | Sum of sequences → sum of generating functions |
| Shifting | Multiplying by x shifts the sequence |
| Differentiation | Helps generate new sequences |
| Multiplication | Used for convolution of sequences |
Example of Shifting:
If:
Then:
Example of Linearity:
Solving Recurrence Using Generating Functions (Basic Idea)
Steps:
-
Write generating function
-
Multiply recurrence by
-
Sum for all n
-
Simplify equation
-
Find closed-form
-
Expand to get
Example:
Generating function:
Summary Table (Quick Revision)
| Topic | Key Point |
|---|---|
| Recurrence Relation | Defines sequence using previous terms |
| Constant Coefficients | Coefficients are fixed |
| Linear Recurrence | Terms appear linearly |
| Homogeneous | No constant term |
| Iteration Method | Step-by-step substitution |
| Characteristic Equation | Assume |
| Generating Function | Power series representation |
Combinatorics
Combinatorics is the branch of mathematics that deals with counting, arranging, and selecting objects systematically.
In simple words:
“Combinatorics helps us count possibilities without missing or repeating anything.”
Daily Life Examples:
- Number of possible passwords
- Arranging students in a classroom
- Selecting team members
- Counting possible outcomes in games or exams
Why Combinatorics is Important?
- Used in computer science (algorithms, data structures)
- Used in probability
- Used in cryptography
- Used in decision-making problems
Counting Techniques
Counting techniques are rules that help count large numbers of possibilities easily.
Addition Principle (Sum Rule)
If:
- One task can be done in m ways
- Another task can be done in n ways
- And both tasks cannot be done together
Then:
Example:
- Choose tea (2 types) or coffee (3 types)
- Total choices = 2 + 3 = 5
Multiplication Principle (Product Rule)
If:
- One task can be done in m ways
- Another task can be done in n ways
Then:
Example:
- 3 shirts and 4 trousers
- Total outfits = 3 × 4 = 12
(C) Permutations (Arrangement)
Permutations deal with arrangement, where order matters.
Formula:
Example:
Number of ways to arrange 3 students from 5:
(D) Combinations (Selection)
Combinations deal with selection, where order does not matter.
Formula:
Example:
Choose 3 students from 5:
(E) Factorial Notation
Example:Pigeonhole Principle
If more objects are placed into fewer boxes, then at least one box will contain more than one object.
Simple Statement:
“If n + 1 objects are put into n boxes, at least one box has two or more objects.”
Daily Life Example:
-
13 students and 12 months → at least two students have birthdays in the same month
Mathematical Example:
If 10 socks are placed into 9 drawers, one drawer will contain at least 2 socks.
General Form:
If N objects are distributed among k boxes, then at least one box contains:
Applications:
- Computer science (hashing)
- Data storage
- Networking
- Proofs and logic problems
Polya’s Counting Theorem
Sometimes objects look different, but due to symmetry, many arrangements are actually the same.
Polya’s theorem helps count distinct arrangements when:
-
Rotations or reflections are allowed
Example Situation:
- Coloring vertices of a square
- Coloring faces of a cube
- Designing patterns
Basic Idea (Layman View):
“Polya’s theorem avoids counting repeated designs that look the same after rotation or reflection.”
Key Concepts Used:
- Group of symmetries
- Permutations
- Cycles
- Colorings
Very Simple Example:
Coloring the four sides of a square using two colors.
- Without considering rotation → many cases
- With rotation → fewer unique designs
Polya’s theorem gives the exact number of unique colorings.
Polya’s Counting Formula (No Memorization Required)
Where:
-
= group of symmetries
-
= number of symmetry operations
Applications:
- Chemistry (molecular structures)
- Computer graphics
- Pattern design
- Network labeling problems
Comparison Table (Quick Revision)
| Topic | Key Idea |
|---|---|
| Combinatorics | Systematic counting |
| Permutation | Arrangement (order matters) |
| Combination | Selection (order doesn’t matter) |
| Pigeonhole Principle | More objects than boxes |
| Polya’s Theorem | Counting unique patterns |