I'm trying to prove $\sum_{i=1}^{N} i^3 = (\sum_{i=1}^{N} i)^2$ but I got stuck along the way. This is what I have so far:
The base case is true when $N =1$.
Then for the inductive step I did:
Assume $\sum_{i=1}^{N} i^3 = (\sum_{i=1}^{N} i)^2$ is true for $1 \leq k \leq N$.
Prove $\sum_{i=1}^{N+1} i^3 = (\sum_{i=1}^{N+1} i)^2$.
$LHS = \sum_{i=1}^{N+1} i^3$
$\hspace{25pt}= (\sum_{i=1}^{N} i^3) + (N+1)^3$
$\hspace{25pt} = (\sum_{i=1}^{N} i)^2 + (N+1)^3$ (by induction)
$\hspace{25pt} = \hspace{5pt}?$
From there I'm not sure how to do the proper conversions into equation/sigma notation to prove the right side. Can anyone help me on how to do this? Thanks.
\begin{align} \\ k = N \\ Assume \sum_{i=1}^{N} i^3 = (\sum_{i=1}^{N} i)^2 \\ \\ k = N+1 \\ LHS = \sum_{i=1}^{N+1} i^3 \\ = (\sum_{i=1}^{N} i^3) + (N+1)^3 \\ \\ RHS = (\sum_{i=1}^{N+1} i)^2 \\ = [\sum_{i=1}^{N} i +(N+1)]^2 \\ = (\sum_{i=1}^{N} i)^2+2(\sum_{i=1}^{N} i)(N+1)+(N+1)^2 \\ = (\sum_{i=1}^{N} i)^2+2({N(N+1) \over 2})(N+1)+(N+1)^2 \\ = (\sum_{i=1}^{N} i)^2+N(N+1)^2+(N+1)^2 \\ = (\sum_{i=1}^{N} i)^2+(N+1)^2(N+1) \\ = (\sum_{i=1}^{N} i)^2+(N+1)^3 \\ = LHS \end{align}
Prove by induction.