1 of 69

What is Mathematical induction?

and how to use it properly!

by Aditya Khanna and Nart Shalqini

Math Circle Feb 3 2024

2 of 69

Suppose you have a frog, Albert, who exhibits a rather strange behavior. Albert always likes to jump from one lily pad to the next turning its color red. Once he's done that, he continues jumping onto the next one, if possible.  

Albert, the Frog.

Albert

3 of 69

Infinitely Many Lily Pads?

Suppose you have infinitely many lily pads lined up in a row (rather strange, again). Albert jumps on Pad number 1, or P(1), and turns it red

   1                   2                         3      4        5      6     7     8

Next, P(2) turns red, then P(3) and P(4), and so on...

   1                   2                         3      4        5      6     7     8

qwark-qwark

   1                   2                         3      4        5      6     7     8

4 of 69

Will Pad 137 ever turn Red?

Yes! But why?

Answer: Induction! 

Albert does Induction

        133     134          135     136             137           138                139 

5 of 69

The Induction Hypothesis

  1. Base Case: P(1) is true (frog example: P(1) is Red)

2.  Induction Step: 

       Whenever P(k) is true, then P(k+1) is true.

Frog example: the frog always jumps from Pad k to Pad k+1.

Conclusion: P(n) is true for all n>0

6 of 69

How many of each color?

7 of 69

How many of each color?

1

8 of 69

How many of each color?

1

3

9 of 69

How many of each color?

1

3

5

10 of 69

How many of each color?

1

3

5

7

11 of 69

How many of each color?

1

3

5

7

ODD NUMBERS!

12 of 69

Add them up

1

3

5

7

+

4

13 of 69

Add them up 

1

3

5

7

+

4

+

9

14 of 69

Add them up 

1

3

5

7

+

4

+

9

+

16

15 of 69

Add them up 

1

3

5

7

+

4

+

9

+

16

Squares!

16 of 69

Is this always true?

Is it always true that the sum of first n odd numbers starting from 1 is a square number?

17 of 69

Is this always true?

Is it always true that the sum of first n odd numbers starting from 1 is a square number?

We can prove it by induction. What is our P(n)?

18 of 69

Using induction

P(n): The sum of first n odd numbers is equal to the square of n.

Let's do this with pictures!

19 of 69

Activity!

1

3

Can you make a 2x2 square using these?

20 of 69

Activity!

1

3

Can you make a 3x3 square using these?

5

21 of 69

n

22 of 69

n+1

23 of 69

24 of 69

25 of 69

Why do we need to check

 the base case?

26 of 69

Why do we need to check

 the base case?

Let P(n) be n > n + 1

27 of 69

Why do we need to check

 the base case?

Let P(n) be n > n + 1

If we add one on both sides, we get

n + 1 > n + 2

which is P(n+1)

28 of 69

Why do we need to check

 the base case?

Assuming P(n) we have shown P(n+1)

29 of 69

Why do we need to check

 the base case?

Assuming P(n) we have shown P(n+1)

This means, by induction, for all numbers n we have n > n+1.

30 of 69

Why do we need to check

 the base case?

But this is false!!!

That is because we did not check the base case which is P(1): 1 > 2 is false.

31 of 69

Why do we need to check

 the base case?

32 of 69

Why do we need to check

 the base case?

It has 6 corners and 6 sides

33 of 69

Why do we need to check

 the base case?

Let us take P(n) to be "A polygon has n corners and n+1 sides"

34 of 69

Why do we need to check

 the base case?

If we add a corner, we get n+1 corners

35 of 69

Why do we need to check

 the base case?

For sides, we add two sides and subtract 1. So, in total we add one side, giving a total of n+2

36 of 69

Why do we need to check

 the base case?

So, P(n) gives P(n+1)

37 of 69

Why do we need to check

 the base case?

But this is false because the base case is false!

38 of 69

All cats are the same color

39 of 69

All cats are the same color

We will now use induction to prove that all cats are the same color! So, let's get started.

What is the first thing that we do?

40 of 69

All cats are the same color

What is our P(n) here?

All cats are the same color

41 of 69

All cats are the same color

What is our P(n) here?

We have P(n) being "all n cats in the group have the same color"

All cats are the same color

42 of 69

All cats are the same color

What is our P(n) here?

We have P(n) being "all n cats in the group have the same color"

For n = 5

All cats are the same color

43 of 69

All cats are the same color

Let's do the base case! What would P(n = 1) be?

All cats are the same color

44 of 69

All cats are the same color

Let's do the base case! What would P(n = 1) be?

"One cat in the group has the same color".

All cats are the same color

45 of 69

All cats are the same color

Let's do the base case! What would P(n = 1) be?

"One cat in the group has the same color". A cat has the same color as itself!

All cats are the same color

46 of 69

All cats are the same color

Let's do the induction step now! If we believe in P(n), can we argue that P(n+1) is true?

All cats are the same color

47 of 69

All cats are the same color

Let's do the induction step now! If we believe in P(n), can we argue that P(n+1) is true?

If "n cats in a group have the same color, then n+1 cats have the same color"

All cats are the same color

48 of 69

All cats are the same color

Let's do the induction step now! If we believe in P(n), can we argue that P(n+1) is true?

If "n cats in a group have the same color, then n+1 cats have the same color"

All cats are the same color

49 of 69

All cats are the same color

Let's prove it. Suppose we have n+1 cats

All cats are the same color

50 of 69

All cats are the same color

Let's prove it. Suppose we have n+1 cats

All cats are the same color

51 of 69

All cats are the same color

Let's prove it. Suppose we have n+1 cats

We leave one cat and pick the remaining n cats. Are these cats the same color?

All cats are the same color

52 of 69

All cats are the same color

Let's prove it. Suppose we have n+1 cats

Yes! Because P(n) is true. So, these n cats are the same color.

All cats are the same color

53 of 69

All cats are the same color

Similarly, these n cats are the same color.

So, what can we say from this?

All cats are the same color

54 of 69

All cats are the same color

Similarly, these n cats are the same color.

So, what can we say from this?

All cats are the same color

55 of 69

All cats are the same color

All n+1 cats are the same color!

So, by induction it means "any collection of n cats have the same color", but wait!

All cats are the same color

56 of 69

All cats are the same color

Take these three cats...

… which are all of different colors, so P(3) is false??? What is happening here? Where did we go wrong?

All cats are the same color

57 of 69

All cats are the same color

Let us do the induction step on just two cats

All cats are the same color

58 of 69

All cats are the same color

Let us do the induction step on just two cats

This cat is the same color as itself … 

All cats are the same color

59 of 69

All cats are the same color

Let us do the induction step on just two cats

... and this cat is the same color as itself... 

All cats are the same color

60 of 69

All cats are the same color

Let us do the induction step on just two cats

But there is no overlap between the circles, so we cannot say that they are the same color!

All cats are the same color

61 of 69

All cats are the same color

What this means is that we cannot go from P(1) to P(2)

All cats are the same color

62 of 69

All cats are the same color

In frog jumping terms, this means that

All cats are the same color

63 of 69

All cats are the same color

In frog jumping terms, this means that

The frog cannot jump from Lilypad 1 to Lilypad 2

All cats are the same color

1

2

64 of 69

Strong Induction

Suppose your friend says to you:

Every square can be tiled with 6 or more squares.

 P(n): A square can be tiled with n squares

P(4)

P(6)

65 of 69

Strong Induction

We can now do something nice

P(6)

66 of 69

Is P(n) true for all n>5?

P(6)

P(9)

P(12)

This does not cover all the cases. But we can be clever!

P(7)

P(10)

P(13)

67 of 69

What about 8, 11, 14..?

68 of 69

Strong Induction continued...

Three base cases: 

               

P(6)

P(7)

P(8)

Induction Step: 

               

Some squares

Some squares

Some squares

Some squares

P(k)

P(k+3)

69 of 69

Three base cases: 

               

P(6)

P(7)

P(8)

Induction Step: 

               

Some squares

Some squares

Some squares

Some squares

P(k)

P(k+3)

Strong Induction continued...