<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>4718</id>
  <path>/www/nrich/html/content/id/4718/</path>
  <resourceTypeID>3</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Quite often in mathematics we find ourselves wanting to prove a statement that we &lt;span style=&quot;font-style: italic;&quot;&gt;think&lt;/span&gt; is true for every natural number $n$.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;For example, you may have met the formula $\frac{1}{6}n(n+1)(2n+1)$ for the sum $$ \sum_{i=1}^n i^2=1^2+2^2+\ldots+n^2. $$ We can try some values of $n$, and see that the formula seems to be right: \begin{eqnarray} n=1: &amp;amp; &amp;amp; \sum_{i=1}^n i^2 = 1^2 = 1;\\ &amp;amp; &amp;amp; \frac{1}{6}n(n+1)(2n+1) = \frac{1}{6}\times 1\times 2\times 3 = 1\\ \\ n=2: &amp;amp; &amp;amp; \sum_{i=1}^n i^2 = 1^2 + 2^2 =
1+4 = 5;\\ &amp;amp; &amp;amp; \frac{1}{6}n(n+1)(2n+1) = \frac{1}{6}\times 2\times 3\times 5 = 5\\ \\ n=3: &amp;amp; &amp;amp; \sum_{i=1}^n i^2 = 1^2 + 2^2 + 3^2 = 1+4+9 = 14;\\ &amp;amp; &amp;amp; \frac{1}{6}n(n+1)(2n+1) = \frac{1}{6}\times 3\times 4\times 7 = 14.\\ \end{eqnarray} But we want to &lt;span style=&quot;font-style: italic;&quot;&gt;prove&lt;/span&gt; that this is true for &lt;span style=&quot;font-style: italic;&quot;&gt;all&lt;/span&gt; positive
integers $n$, and it&amp;#39;s going to be impossible if we try to do this by putting in all possible values! Instead, we&amp;#39;re going to have to be a bit more cunning$\ldots$&lt;/div&gt;
&lt;table style=&quot;&quot; border=&quot;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;dominoes up&quot; height=&quot;314&quot; src=&quot;DSCN0500.jpg&quot; width=&quot;228&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt;
&lt;div&gt;Have you ever played that game with dominoes where you line them up on end and then, by knocking over the first one, knock over the whole lot? You can think of proof by induction as the mathematical equivalent (although it does involve infinitely many dominoes!).&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Suppose that we have a statement $P(n)$, and that we want to show that it&amp;#39;s true for all $n$. So in our example above, $P(n)$ is: $$&quot;\sum_{i=1}^n i^2 = \frac{1}{6}n(n+1) (2n+1)&quot;.$$ Think of each $P(n)$ as a domino. If we can show that $P(1)$ is true (that is, we can knock over the first domino)and that if $P(n)$ is true then so is $P(n+1)$ (knocking over one domino means the next one will
also fall over), do you agree that we&amp;#39;ve then shown that $P(n)$ is true for all $n\geq 1$ (because all of the dominoes will fall over)?&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style=&quot;&quot; border=&quot;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div&gt;We&amp;#39;ll know that $P(1)$ is true,&lt;/div&gt;
&lt;div&gt;so we&amp;#39;ll know that $P(1+1)=P(2)$ is true,&lt;/div&gt;
&lt;div&gt;so we&amp;#39;ll know that $P(2+1)=P(3)$ is true,&lt;/div&gt;
&lt;div&gt;so we&amp;#39;ll know that $P(3+1)=P(4)$ is true,&lt;/div&gt;
&lt;div&gt;$\ldots$&lt;/div&gt;
&lt;div&gt;You get the idea.&lt;/div&gt;
&lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;dominoes down&quot; height=&quot;231&quot; src=&quot;DSCN0507.jpg&quot; width=&quot;308&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div&gt;Let&amp;#39;s go back to our example from above, about sums of squares, and use induction to prove the result. We know that $P(1)$ is true (we did that before!). Now let&amp;#39;s see what would happen &lt;span style=&quot;font-style: italic;&quot;&gt;if&lt;/span&gt; we knew that $P(n)$ is true. Then we&amp;#39;d know that $\sum_{i=1}^n i^2 = \frac{1}{6}n(n+1)(2n+1)$. So what can we say about $\sum_{i=1}^{n+1} i^2$? Well,
\begin{eqnarray} \sum_{i=1}^{n+1} i^2 &amp;amp; = &amp;amp; (n+1)^2 + \sum_{i=1}^n i^2\\ &amp;amp; = &amp;amp; (n+1)^2 + \frac{1}{6}n(n+1)(2n+1)\quad\textrm{(by the inductive hypothesis)}\\ &amp;amp; = &amp;amp; \frac{1}{6}(n+1)\left[6(n+1)+n(2n+1)\right]\\ &amp;amp; = &amp;amp; \frac{1}{6}(n+1)\left[6n+6+2n^2+n\right]\\ &amp;amp; = &amp;amp; \frac{1}{6}(n+1)\left[2n^2+7n+6\right]\\ &amp;amp; = &amp;amp; \frac{1}{6}(n+1)(n+2)(2n+3).
\end{eqnarray} This looks familiar; what &lt;span style=&quot;font-weight: bold;&quot;&gt;is&lt;/span&gt; $P(n+1)$? Well, let&amp;#39;s substitute $n+1$ in place of $n$ in our statement of $P(n)$. So we&amp;#39;re aiming for $$ \sum_{i=1}^{n+1} i^2 = \frac{1}{6}(n+1)(n+2)(2(n+1)+1)=\frac{1}{6}(n+1)(n+2)(2n+3), $$ which is exactly what we&amp;#39;ve just got! (Working out what you&amp;#39;re aiming for can often give you an idea of how to manipulate
the algebra.) So we&amp;#39;ve shown that &lt;span style=&quot;font-style: italic;&quot;&gt;if&lt;/span&gt; $P(n)$ is true, &lt;span style=&quot;font-style: italic;&quot;&gt;then&lt;/span&gt; $P(n+1)$ is true. Since we also know that $P(1)$ is true, we know that $P(2)$ is true, so $P(3)$ is true, so $P(4)$ is true, so $\ldots$ In other words, we&amp;#39;ve shown that $P(n)$ is true for all $n\geq 1$, by mathematical induction.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Warning:&lt;/span&gt; When encountering induction for the first time, people usually remember to show &quot;if $P(n)$ is true then $P(n+1)$ is true&amp;#39;&amp;#39;, because that&amp;#39;s what induction is really about, but a common mistake is to forget to show that $P(1)$ is true. Proof by induction is a two-stage process, even if one stage is usually very easy. The
dominoes won&amp;#39;t fall over unless you knock over the first one!&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Don&amp;#39;t forget that your first domino doesn&amp;#39;t have to be $P(1)$. It could be $P(2)$, or $P(19)$, or $P(1000000)$. For example, we can use induction to show $3^n&amp;amp;gt; n^3$ for $n\geq 4$ (see the exercises below)&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;One last thing: induction is only a method of &lt;span style=&quot;font-style: italic;&quot;&gt;proof&lt;/span&gt; . For example, if you&amp;#39;re trying to sum a list of numbers and have a guess for the answer, then you may be able to use induction to prove it. But you can&amp;#39;t use induction to find the answer in the first place. Also, there are often other methods of proof: I&amp;#39;ve given some examples below of things that
you might like to try to prove by induction, but several of them can be proved at least as easily by other methods (indeed, you&amp;#39;ve probably seen some proved by other methods).&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Don&amp;#39;t forget that if you get stuck with these, you can ask for help on Ask NRICH. You can also consult the Hints if you need to.&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Prove by induction that $$ \sum_{i=1}^n i^3 = \frac{1}{4}n^2(n+1)^2\textrm{ for }n\geq 1. $$&lt;/li&gt;
&lt;li&gt;Use induction to show that $$ \sum_{i=1}^n r^{i-1}=\frac{r^n - 1}{r-1}\textrm{ for }n\geq 1\textrm{ and }r\neq 1. $$&lt;/li&gt;
&lt;li&gt;Use induction to show that $3^n&amp;amp;gt; n^3$ for $n\geq 4$. (Note that you have to start at $n=4$ as the result isn&amp;#39;t true for $n=3$!)&lt;/li&gt;
&lt;li&gt;Use induction to show that $$ \left(\begin{array}{c}n+1\\r\end{array}\right) = \left(\begin{array}{c}n\\r\end{array}\right) + \left(\begin{array}{c}n\\r-1\end{array}\right)\textrm{ for }n\geq 1 $$ (where $\left(\begin{array}{c}n\\r\end{array}\right)$ is the binomial coefficient). (You will need to use induction on $n$ and keep $r$ fixed). Remark: This is rather fiddly; starting with the
right-hand side will make things easier. This example is an excellent lesson in why you should not always use induction: thinking about counting things will help you prove the result much more easily. Can you see how?&lt;/li&gt;
&lt;li&gt;Use induction to show that $4^n+6n$ is divisible by 6 for $n\geq 1$. [No this is not a misprint. What part of the argument works? What part fails?]&lt;/li&gt;
&lt;li&gt;Use induction to show that $4^n + 6n -1$ is divisible by 9 for $n\geq 1$.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Vicky finished a degree in Maths at Cambridge last summer and is now doing a fourth year course studying Combinatorics, Number Theory and Algebra, still at Trinity College, Cambridge.&lt;/span&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
Note 1:&lt;br&gt;&lt;/br&gt;
&quot;By the inductive hypothesis&amp;#39;&amp;#39; is just a fancy way of saying &quot;using P(n) since we&amp;#39;re assuming it at the moment&amp;#39;&amp;#39;.&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;(3) Prove: $3^n&amp;gt; n^3$ for $n\geq 4$.&lt;br&gt;&lt;/br&gt;
Hint: $3k^3 - (k+1)^3 = (k-1)^3 + k(k^2-6)$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
(4) The left-hand side is the number of ways of choosing $r$ balls
from $n+1$. Suppose one ball is coloured blue (and the others
aren't). Now explain why the right-hand side is the number of ways
of picking $r$ balls including the blue one plus the number of ways
of picking $r$ balls excluding the blue one.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
(5) OK, this isn't true. But the inductive step works. So what's
gone wrong? It's not true for $n=1$. This is why it's absolutely
vital that you check the starting point!&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
(6) The inductive hypothesis is that $4^k + 6k - 1$ is divisible by
9. That is, $4^k+6k-1=9m$ for some integer $m$. Now use this to get
an expression for $4^k$ that you can substitute into
$4^{k+1}+6(k+1)-1$. Alternatively, what is $4(4^k+6k-1)-18k+9$?
This is more elegant, but perhaps harder to spot without
practice!&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML/>
  <end_user_role>5</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Mathematical Induction</title>
  <description>
This article gives an introduction to mathematical induction, a powerful method of mathematical proof.

</description>
  <spec_group>Advanced Algebra
    <specifier>Summation of series</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Mathematical induction</specifier>
  </spec_group>
</resource>