Method stop · When and why do we use it?

Choosing What to Induct On

In the Chinese book: 选择恰当的归纳对象

Several variables? See which smaller cases the step needs, then choose.

📖 Chapter 12 of 《数列与数学归纳法》M3 Mathematical Induction line

Before this stop, visit:Choosing the Right Step Size (Method)

One idea, one pictureFor the lattice-path statement, choose “Induct on m” and click the cell . Does the induction hypothesis give you both cells it needs? Then try a different thing to induct on.

Loading figure…

In one sentence

When a statement has two (or more) variables , lay out all the cases as a grid. To prove one cell, the inductive step uses some other cells — whatever it uses, the induction hypothesis must cover. The possible things to induct on:

  • induct on (any ): assume every cell with , which covers whole columns to the left;
  • induct on (any ): covers whole rows below;
  • induct on : covers the triangle down and to the left;
  • double induction ( first, then ): the whole columns to the left, plus the cells below in the same column.

What you induct on need not be one of the letters in the problem either: the number of variables, the sum of two numbers, an area… Induct on whatever really gets smaller at every step.

One grid, four inductions

Step 1 / 7
Loading figure…
  1. What the step needs

    Walking from to , the last step is either right or up, so the number of paths paths to paths to . You need to know both circled cells first.

Predict first

The “binomial sum” statement: . Its inductive step is “add one more term on the left”. What is it most natural to induct on?

Choose an answer first; then you can see the result.

Stop 1 · Counting: lattice paths

above is itself a good example: induct on . The base cases are the edges or (only one path, ); the inductive step is the Pascal's triangle recurrence . Here “” is exactly the total number of steps walked — what you induct on is often a meaningful quantity in the problem.

Stop 2 · Inequalities: induct on the number of variables

Example Let . Prove that .

There is no second letter here, but two things vary: the number of variables and their values. The values vary continuously, so you cannot induct on them; on the number you can.

Induction on the number of variables

Step 1 / 4
  1. Base case

    For the two sides are equal.

Stop 3 · Number theory: induct on the sum of two numbers

Example The greatest common divisor of positive integers can be written as with integers .

One problem, several solutions

Prove that for any positive integers there are integers with .

Induct on m+n

If , then ; take . Assume the statement for all pairs with a sum less than . If , take . If , then and , so by the hypothesis , that is . The case is the same.

CostNatural: one subtraction step of the Euclidean algorithm makes the sum smaller.

Induct on min(m, n)

We may assume . If , then . Otherwise with , , and . By the hypothesis ; substituting gives .

CostFaster: one division with remainder makes the smaller number smaller, but it needs strong induction.

Both choices are right: each step makes smaller, or makes the smaller of the two numbers smaller. Any quantity that strictly decreases at every step can be what you induct on.

Practice

Exercise 1Basic

Starting at and moving one unit right or up at each step, in how many ways can you reach ?

Exercise 2Basic

Compute .

Exercise 3Advanced

The inductive step for a statement () uses only , and every case with has been checked directly. Which of , , should you induct on? (Type m, n or m+n.)

Exercise 4Challenge

An chocolate bar is made of small squares. Each move, you pick up one piece and break it into two along a grid line. Prove that, however you break it, it takes exactly breaks to get small squares.

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Inducting on m, but “freezing” n as well

The wrong step: Induct on to prove . Induction hypothesis: . Then
What went wrong? Think first, then open

Diagnosis The step needs : the second variable has changed from to . If the hypothesis only says “true for this ”, it is of no use.

The right step: Put the other variable into the hypothesis, and make it arbitrary: “for every , ”. Then use it at : .

“Induct on one variable, and let the hypothesis cover every value of the other”

Exhibit

Inducting on m+n when the step does not make the sum smaller

The wrong step: The inductive step for uses . Induct on : is a smaller case, so it holds by the induction hypothesis.
What went wrong? Think first, then open

Diagnosis : the sum has not decreased, so this case is not in the hypothesis “”. Inducting on only works if every case the step uses has a smaller sum.

The right step: Look for the quantity that really decreases in this step: here it is . Induct on , assuming the statement for and every .

“Whatever you induct on must get smaller at every step”