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)

  1. 0 is a natural number
    (Some systems start from 0)

  2. Every natural number has a successor

    • Successor means next number

    • Example: Successor of 3 is 4, Successor of 10 is 11

  3. 0 is not the successor of any number

    • No number comes before 0

  4. Different numbers have different successors

    • If two numbers are different, their next numbers will also be different

  5. 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

  1. Base Case – Check for the smallest value
  2. Induction Hypothesis – Assume the statement is true for all values less than n
  3. 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:

  1. Verify the base case (e.g., n = 3)
  2. Assume the statement is true for n
  3. 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 

TopicKey Idea
Natural NumbersCounting numbers
Peano’s AxiomsBasic rules of natural numbers
Mathematical InductionProves statements for all n
Strong InductionUses all previous cases
Non-Zero Base InductionBase 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:

an=an1+2

If:

  • a1=3a_1 = 3

Then:

  • a2=5a_2 = 5

  • a3=7a_3 = 7

  • a4=9a_4 = 9

Parts of a Recurrence Relation:

  1. Formula (relation between terms)
  2. 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:

an=c1an1+c2an2++ckank​

Where c1,c2,... are constants.

Example:

an=3an1+2an2​

Here:

  • Coefficients: 3 and 2 (constants)

Fibonacci Example:

Fn=Fn1+Fn2​

(B) Linear Recurrence Relation Without Constant Term

Meaning:

  • Linear combination of previous terms
  • No standalone constant number

General Form:

an=c1an1+c2an2​

(No extra +5, +7, etc.)

Example:

an=2an1an2​

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:

an=an1+3=an2+6=an3+9

Finally:

an=a1+3(n1)

When to use:

  • Simple recurrences
  • First-order relations

Method 2: Characteristic Equation Method

Used for:

  • Linear recurrence relations
  • Constant coefficients
  • Homogeneous equations

Steps:

  1. Assume solution an=rna_n = r^n

  2. Substitute into recurrence

  3. Get characteristic equation

  4. Solve for rr

  5. Write general solution

Example:

an=5an16an2​

Characteristic equation:

r25r+6=0r^2 - 5r + 6 = 0
(r2)(r3)=0

Roots:

r=2,3

General solution:

an=A(2n)+B(3n)

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:

a0,a1,a2,a3,

Then its generating function is:

G(x)=a0+a1x+a2x2+a3x3+

Simple Example:

Sequence: 1, 1, 1, 1, …

G(x)=1+x+x2+x3+G(x)=11x​

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

PropertyExplanation
LinearitySum of sequences → sum of generating functions
ShiftingMultiplying by x shifts the sequence
DifferentiationHelps generate new sequences
MultiplicationUsed for convolution of sequences

Example of Shifting:

If:

G(x)=a0+a1x+a2x2+

Then:

xG(x)=a0x+a1x2+a2x3+

Example of Linearity:

G1(x)+G2(x)=Generating function of (an+bn)

Solving Recurrence Using Generating Functions (Basic Idea)

Steps:

  1. Write generating function G(x)G(x)

  2. Multiply recurrence by xnx^n

  3. Sum for all n

  4. Simplify equation

  5. Find closed-form G(x)G(x)

  6. Expand to get ana_n

Example:

an=an1​

Generating function:

G(x)=a01x

Summary Table (Quick Revision)

TopicKey Point
Recurrence RelationDefines sequence using previous terms
Constant CoefficientsCoefficients are fixed
Linear RecurrenceTerms appear linearly
HomogeneousNo constant term
Iteration MethodStep-by-step substitution
Characteristic EquationAssume rnr^n
Generating FunctionPower 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:

Total ways=m+n

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:

Total ways=m×n

Example:

  • 3 shirts and 4 trousers
  • Total outfits = 3 × 4 = 12

(C) Permutations (Arrangement)

Permutations deal with arrangement, where order matters.

Formula:

nPr=n!(nr)!​

Example:

Number of ways to arrange 3 students from 5:

5P3=5×4×3=60

(D) Combinations (Selection)

Combinations deal with selection, where order does not matter.

Formula:

nCr=n!r!(nr)!​

Example:

Choose 3 students from 5:

5C3=10

(E) Factorial Notation

n!=n×(n1)××1n! = n \times (n - 1) \times \dots \times 1Example:5!=120

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:

Nk objects

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:

  1. Group of symmetries
  2. Permutations
  3. Cycles
  4. 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)

Number of distinct colorings=1GNumber of colorings fixed by each symmetry

Where:

  • GG = group of symmetries

  • G|G|= number of symmetry operations

Applications:

  • Chemistry (molecular structures)
  • Computer graphics
  • Pattern design
  • Network labeling problems

Comparison Table (Quick Revision)

TopicKey Idea
CombinatoricsSystematic counting
PermutationArrangement (order matters)
CombinationSelection (order doesn’t matter)
Pigeonhole PrincipleMore objects than boxes
Polya’s TheoremCounting unique patterns