I was looking at an example problem:
Please prove the following statement: if n is a natural number then $\displaystyle2|( n^2 + 3n + 2)$
In the example solution it showed:
Proof: P(n) be $\displaystyle2|(n^2 + 3n + 2)$
Bases Step: let n = 1 so: $2|(1^2 + 3(1) + 2)$ ->$ 2|6$, thus it holds for n
Induction Hypothesis: for some $n \geq 1, 2|( n^2 + 3n + 2)$
Induction Step:
$2|( n^2 + 3n + 2)$ by hypothesis and $2|2(n+2)$
->$2|(n^2 + 2n + 1 + 3n + 2)$
->$2|[(n + 1)^2 + 2(n+1)+ 2]$
proving that:
$\displaystyle2|( n^2 + 3n + 2)$
I'm confused at how:
$\displaystyle2|( n^2 + 3n + 2)$
got to:
$2|(n^2 + 2n + 1 + 3n + 2)$
Also how come we are using $2|2(n+2)$ can't we just use $2|2n$ or $2|2(n+1)$
I think that after you realize that $2|(n^2+3n+2)$ and $2|2(n+2)$, you should get that $$ 2|[n^2+3n+2+2(n+2)] $$ which is equivalent to $$ 2|[n^2+2n+1+3(n+1)+2] $$ which is equivalent to $$ 2|[(n+1)^2+3(n+1)+2] $$ In the end you wanted this last identity to complete the induction, not $$ 2|[(n+1)^2+2(n+1)+2] $$ as you wrote.