I want to prove by induction that $\sum_{i=1}^{n} = \frac{i(i+1)}{2}$
I'm getting stuck as to whether this can be done. My base case of 1 says no.
I want to prove by induction that $\sum_{i=1}^{n} = \frac{i(i+1)}{2}$
I'm getting stuck as to whether this can be done. My base case of 1 says no.
For n=1, we get:
$\sum_{i=1}^1 i=1=\frac{1\cdot 2}{2}=1\checkmark$
For the inductive step $n\mapsto n+1$:
$\sum_{i=1}^{n+1} i=\sum_{i=1}^n i+(n+1)=\frac{n(n+1)}{2}+(n+1)$ by assumption.
We obtain: $\frac{n(n+1)+2(n+1)}{2}=\frac{(n+1)(n+2)}{2}\checkmark$