in my current discrete mathmatics course I have this calculation at the end of a proof:
$$\frac {k(k+1)+2(k+1)}2=\frac {(k+1)(k+2)}2$$
I dont under stand why 2*k ends up being k? I guessing there is some calculations being abstracted away, can someone please exaplain?
Just factor out the $(k+1)$ term
or if you prefer expand and then factor:
$$\frac {k(k+1)+2(k+1)}2=\frac {k^2+3k+2}2=\frac {(k+1)(k+2)}2$$