1

I'm trying to understanding proof by induction.

But how do I check if that is correct? How do I know what I need to show? Any help would be great. Just trying to get my head around this. enter image description here

So I have altered my base step to $0$, then with the induction step we assume that LHS = true. With grouping of the terms to get the final formula to show its true. Answer = $(2^{k+2}-1)$

N. F. Taussig
  • 76,571
  • Your base step should be for $n=0$ since you want to prove the statement for $n\geq0$. In your base step, you wrote $3$ instead of $4$ for $2^{1+1}$. You lost me at your inductive step (not "set") at $2^k+2^{2k}$. We have $2^{k+1}-1+2^{k+1}=2\cdot2^{k+1}-1=2^{k+2}-1$. Otherwise it's OK. – Guest May 04 '15 at 07:05
  • You can check @MagicMan's (and other) detailed answer for this post: http://math.stackexchange.com/questions/1253956/proof-writing-how-to-write-a-clear-induction-proof . It gives quite a lot of details about what happens at each step of the proof, that should help. – Alexandre Halm May 04 '15 at 08:39

2 Answers2

2

How do I know what I need to show?

This comment makes it sound like you do not really understand what all goes into proving something by induction, and that is perfectly fine--induction is a very tricky proof technique if you do not have much experience with it or are simply encountering it for the first time. Per Alexandre's comment, you may find this post helpful for writing up your induction proofs in the future (note how my proof below is reflective of the template offered in that post), but I would encourage you to read this post first because it explains why mathematical induction is a valid proof technique. Until you understand why induction is valid, you cannot reasonably expect to be able to "know what you need to show." That being said, please do read the two posts linked to above and then read my proof below to see if it makes sense. If you have a question(s) about any step(s) after reading those posts and my proof, then simply let me know.


Problem: Prove that $\sum_{i=0}^n 2^i = 2^{n+1}-1$ for all $n\geq 0$.

Solution: For any integer $n\geq 0$, let $S(n)$ denote the statement $$ S(n) : \sum_{i=0}^n 2^i = 2^{n+1}-1. $$ Base step ($n=0$): $S(0)$ says that $\sum_{i=0}^0 2^i = 2^0 = 1 = 2^{0+1}-1$, and this is true.

Inductive step $S(k)\to S(k+1)$: Fix some $k\geq 0$. Assume that $$ S(k) : \color{blue}{\sum_{i=0}^k 2^i = 2^{k+1}-1} $$ holds ($S(k)$ is called the inductive hypothesis). To be proved (i.e., "what you need to show") is that $$ S(k+1) : \color{green}{\sum_{i=0}^{k+1} 2^i = 2^{k+2}-1} $$ follows. Beginning with the left-hand side of $S(k+1)$, \begin{align} \color{green}{\sum_{i=0}^{k+1} 2^i} &= \color{blue}{\sum_{i=0}^k 2^i}+2^{k+1}\tag{by defn. of $\Sigma$}\\[1em] &= \color{blue}{(2^{k+1}-1)}+2^{k+1}\tag{by $S(k)$, the ind. hyp.}\\[1em] &= 2\cdot2^{k+1}-1\tag{simplify}\\[1em] &= \color{green}{2^{k+2}-1}, \end{align} one arrives at the right-hand side of $S(k+1)$, thereby showing $S(k+1)$ is also true, completing the inductive step.

Conclusion: By mathematical induction, it is proved that for all $n\geq 0$, the statement $S(n)$ is true. $\Box$

0

You need to prove 1: the Base step (the property is true for a particular $n=n_0$) and 2: the Inductive step (if the property is true for some $n=k$, then it is true for $n=k+1$), that's it.

Then by application of the the Base and repetitive Inductive steps, the property necessarily holds true for $n_0,n_0+1,n_0+2,\cdots$.