Given that $\sum_{a=1}^{b}a=\frac{a(a+1)}{6}$ prove through induction that $$\sum_{a=1}^{b}a(b-a)=\frac{b(b-1)(b+6)}{6}$$ Normally I would start by showing that this statement is true for $b=1$ and move on to show that this statement is true for $b=a+1$, but I'm having trouble in this because in my previous induction proves there was only $b$ or only $a$ but now there is $a$ and $b$.
What is the method here?
Notice that $a(b-a)=ab-a^2$. Then the sum $S$ becomes:
$$ S=\sum_{a=1}^{b}a(b-a)=\sum_{a=1}^{b}ab-\sum_{a=1}^{b}a^2=b\sum_{a=1}^{b}a-\sum_{a=1}^{b}a^2 $$
By hypothesis $\displaystyle\sum_{a=1}^{b}a=\frac{b(b+1)}{6}$. By induction you can prove that $\displaystyle\sum_{a=1}^{b}a^2 = \frac{1}{6}(2b+1)b(b+1)$. Finally:
$$ b\left(\frac{b(b+1)}{6}\right)-\frac{1}{6}(2b+1)b(b+1) = \frac{-1}{6}b(b+1)^2 $$