I'm trying to solve a complicated summation problem where there are two multiplication problems that both have $i$. I'm entirely lost. I would be thankful for any help.
How is it possible to possible to find the sum of this expression (with a proof)?
$$\sum_{i=1}^{n} i(2^i)$$
You can evaluate this sum by rearranging the terms:
\begin{align*} \sum_{i=1}^n i(2^i) &= 2^1 + 2\cdot2^2 + 3\cdot 2^3 + \cdots + n\cdot 2^n\\ &= \sum_{i=1}^n 2^i + \sum_{i=2}^n 2^i + \sum_{i=3}^n 2^i +\cdots + 2^n\\ &= (2^{n+1} - 2^1) + (2^{n+1}-2^2) + (2^{n+1} - 2^3) + \cdots + (2^{n+1} - 2^n)\\ &= n2^{n+1} - \sum_{i=1}^n 2^i = n2^{n+1} - (2^{n+1} - 2) = (n-1)2^{n+1} + 2 \end{align*}
If you participate in a lot of math competitions, this trick is a handy one to know.