Can someone please check this for me? Like the wordings and working. Thanks
The question is:
Use Mathematical Induction to prove that $$\sum_{i=1}^{n}i2^i=(n-1)2^{n+1}+2.$$
My answer:
$$\sum_{i=1}^{n}i2^i=(n-1)2^{n+1}+2.$$
My answer:
let $P(n)=\sum_{i=1}^{n}i2^i=(n-1)2^{n+1}+2.$
Basis Step: $P(1)$ true $1*2^1=(1-1)2^{1+1}+2$, which gives $2=2$.
Inductive Step: $P(k)$ true
$k*2^k=(k-1)2^{k+1}+2$
Then $P(k+1)$ true
$\begin{array}{rcl} k*2^k+k+1*2^{k+1}&=&k2^{k+2}+2\\ (k-1)2^{k+1}+2+(k+1)2^{k+1}&=&k2^{k+2}+2 \\ 2^{k+1} k-2^{k+1}+2^{k+1} k+2^{k+1}+2 &&\\ 2^{k+1} k+2^{k+1} k+2 &&\\ 2*2^{k+1} k+2 &&\\ 2^{k+2}k+2 &&\\ k2^{k+2}+2&=&\text{RHS} \end{array}$
$∴P(n)$ is true for all nonnegative integers $n$.