I need to prove that for each natural n:
$$ 1^3+2^3+... +n^3 = (1 + 2+ ...+n)^2 $$
How do I do that? how do I know whether I should choose strong induction or simple induction?
I need to prove that for each natural n:
$$ 1^3+2^3+... +n^3 = (1 + 2+ ...+n)^2 $$
How do I do that? how do I know whether I should choose strong induction or simple induction?
Use induction on the right hand side :
$(1+2+...+n+(n+1))^2 = (1+2+...+n)^2 + 2(1+2+...+n)(n+1) + (n+1)^2$
$= 1^3 + 2^3 + ... + n^3 + 2\frac{n(n+1)}{2}(n+1) + (n+1)^2$
$= 1^3 + 2^3 + ... + n^3 + (n+1)^2(n+1)$
$= 1^3 + 2^3 + ... + n^3 + (n+1)^3$.
You can check the base case by plugging in $n=1$. The induction step is simplified by first noting that $(1+2+\cdots+n)=n(n+1)/2$. From this, you can proceed as follows $$ (1+2+\cdots+n)^2+(n+1)^3=\frac{(n+1)^2}{4}[n^2+4(n+1)]\\ =\frac{(n+1)^2}{4}[n^2+4n+4]=\left[\frac{(n+1)(n+2)}{2}\right]^2=[1+\cdots+n+(n+1)]^2. $$
Edit: to see $1+\cdots+n=n(n+1)/2$, let $S_n=1+\cdots+n$. Then $$ 2S_n=S_n+S_n=(1+\cdots+n)+(n+\cdots+1)\\ =(1+n)+(2+(n-1))+\cdots+(n+1)=\underbrace{(1+n)+\cdots+(1+n)}_{n\text{ times}}=n(n+1). $$
I propose neither of them.
Since both the LHS and the RHS are polynomials in $n$ having degree $4$, it is sufficient to check that the identity holds for $n\in\{0,1,2,3,4\}$ to be sure that it holds for any $n$ - since two polynomials with degree $d$ assuming the same values over $d+1$ points are the same polynomial.