To prove the sum formula that we used in Problem 7 , namely:
$$
1^{2}+2^{2}+3^{2}+\cdots+k^{2}=\frac{k(k+1)(2 k+1)}{6}
$$
we will consider two sums:
$$
T_{k}=2^{3}+3^{3}+4^{3}+\cdots+k^{3}+(k+1)^{3}
$$
and
$$
U_{k}=1^{3}+2^{3}+3^{3}+\cdots+k^{3}
$$
Notice that these sums have exactly the same number of terms.
(a) Explain, by comparing which terms show up in both sums, why:
$$
T_{k}-U_{k}=(k+1)^{3}-1^{3}
$$
(b) Form the difference between the two sums by subtracting the first term of $U_{k}$ from the first term of $T_{k}$, the second term of $U_{k}$ from the second term of $T_{k}$, and so on. Then: