Try small cases first

When a question looks too general to start, compute the first few terms by hand. Patterns appear quickly, and then you prove them.

Level: STEP 2. Uses A-level Mathematics only.

The idea

Faced with a sequence defined by a strange rule, or a function applied 2027 times, many students stare at the general case and get nowhere. Strong candidates do something humbler: they work out the first few cases by hand. Five minutes of calculation often shows the whole structure of the problem.

There are two halves to this technique, and both matter. First, experiment until you see a pattern. Second, prove the pattern, because a pattern in a few cases is not an argument. In a STEP answer, the experiment is your rough work and the proof is what earns the marks.

Example 1: a sequence that repeats

A sequence starts with u1=au_1=a and u2=bu_2=b, where aa and bb are positive, and continues by the rule

un+2=1+un+1un.u_{n+2}=\frac{1+u_{n+1}}{u_n}.

Find u100u_{100}.

Nothing about the rule suggests an answer, so compute. Simplify each term fully before moving on:

u3=1+ba,u4=1+u3u2=a+b+1ab,u5=1+u4u3=(a+1)(b+1)ab⋅ab+1=a+1b.\begin{aligned}u_3&=\frac{1+b}{a},\\[6pt]u_4&=\frac{1+u_3}{u_2}\\&=\frac{a+b+1}{ab},\\[6pt]u_5&=\frac{1+u_4}{u_3}\\&=\frac{(a+1)(b+1)}{ab}\cdot\frac{a}{b+1}\\&=\frac{a+1}{b}.\end{aligned}

The next two terms are the surprise:

u6=1+u5u4=a+b+1b⋅aba+b+1=a,u7=1+u6u5=(1+a) ba+1=b.\begin{aligned}u_6&=\frac{1+u_5}{u_4}\\&=\frac{a+b+1}{b}\cdot\frac{ab}{a+b+1}\\&=a,\\[6pt]u_7&=\frac{1+u_6}{u_5}\\&=\frac{(1+a)\,b}{a+1}\\&=b .\end{aligned}

Now the proof is immediate. Each term depends only on the two before it, and u6,u7u_6,u_7 equal u1,u2u_1,u_2, so the whole sequence repeats with period 5. Since 100=5×20100=5\times 20, the term u100u_{100} is the same as u5u_5:

u100=a+1b.u_{100}=\frac{a+1}{b}.

Example 2: a function applied many times

Let f(x)=x−1x+1f(x)=\dfrac{x-1}{x+1}. Find ff applied 2027 times to xx.

Apply ff twice and simplify:

f(f(x))=x−1x+1−1x−1x+1+1=(x−1)−(x+1)(x−1)+(x+1)=−1x.\begin{aligned}f(f(x))&=\frac{\frac{x-1}{x+1}-1}{\frac{x-1}{x+1}+1}\\&=\frac{(x-1)-(x+1)}{(x-1)+(x+1)}\\&=-\frac1x .\end{aligned}

Applying this twice more, −1/x-1/x goes to −1/(−1/x)=x-1/(-1/x)=x. So four applications of ff give back xx. Since 2027 leaves remainder 3 when divided by 4, applying ff 2027 times is the same as applying it three times, which is the same as undoing one application:

f2027(x)=f−1(x)=1+x1−x.\begin{aligned}f^{2027}(x)&=f^{-1}(x)\\&=\frac{1+x}{1-x}.\end{aligned}

The experiment took two lines. Without it, the question is hopeless.

When to reach for it

  • A recurrence, or a repeated function, with a large index such as 100 or 2027.
  • Any question where you cannot see how to start. Small cases give you something concrete to look at.
  • Questions that say "conjecture" or "show that ... for all nn": the conjecture comes from small cases, and the proof is often by induction.

Keep the experiments tidy and fully simplified. A pattern hidden inside an unsimplified fraction is easy to miss.

Try this

A sequence has x1=2x_1=2 and

xn+1=11−xn.x_{n+1}=\frac{1}{1-x_n}.

Find x100x_{100}. Then show that, for any starting value other than 0 and 1, the sequence repeats with period 3.

Hint

Compute x2x_2, x3x_3 and x4x_4. For the general case, let g(x)=11−xg(x)=\dfrac1{1-x} and simplify g(g(x))g(g(x)) and then g(g(g(x)))g(g(g(x))).

Solution

The terms are x1=2x_1=2, x2=−1x_2=-1, x3=12x_3=\tfrac12, x4=2x_4=2, so the sequence repeats with period 3. Since 100 leaves remainder 1 when divided by 3, x100=x1=2x_{100}=x_1=2.

In general, with g(x)=11−xg(x)=\dfrac1{1-x},

g(g(x))=11−11−x=1−x−x=x−1x,g(g(g(x)))=11−x−1x=x.\begin{aligned}g(g(x))&=\frac{1}{1-\frac{1}{1-x}}\\&=\frac{1-x}{-x}\\&=\frac{x-1}{x},\\[6pt]g(g(g(x)))&=\frac{1}{1-\frac{x-1}{x}}\\&=x .\end{aligned}

So applying the rule three times always returns the starting value, as long as no term is 0 or 1 (where the rule breaks down). That never happens if the start is not 0 or 1: the second term 11−x\frac{1}{1-x} is never 0, and is 1 only when x=0x=0; the third term x−1x\frac{x-1}{x} is never 1, and is 0 only when x=1x=1.

Want more like this? STEP Module 2: Proof and bounding teaches ideas of this kind in depth, with exercises and a full STEP question. The STEP Starter Pack has all four modules and three practice papers. Or start free with the STEP sample question.