How to prove $$\sum_{r=1}^{n} r^{2}\binom {n} {r} = n(n+1)2^{n-2}$$ By using binomial theorem?
2026-02-22 20:15:11.1771791311
On
How to prove $\sum_{r=1}^{n} r^{2}\binom {n} {r} = n(n+1)2^{n-2}$?
71 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
On
$$\sum_{r=1}^n r^2\binom {n}{r}=n\sum_{r=1}^n r \binom {n-1}{r-1}$$ $$=n\sum_{r=1}^n (r-1+1)\binom {n-1}{r-1}$$ $$=n\left[\sum_{r=1}^n (r-1)\binom {n-1}{r-1} + \sum_{r=1}^n \binom {n-1}{r-1}\right]$$ $$=n\left[(n-1) \sum_{r=2}^n \binom {n-2}{r-2}+ \sum_{r=1}^n \binom {n-1}{r-1}\right]$$ $$=n\left[(n-1).2^{n-2} + 2^{n-1}\right]$$ $$=n(n+1).2^{n-2}$$
You have $$ \sum_{r=0}^n{n\choose r}x^r=(1+x)^n. $$ If you differentiate, $$\tag1 \sum_{r=1}^nr{n\choose r}x^{r-1}=n(1+x)^{n-1}.$$ Differentiate again: $$\tag2 \sum_{r=1}^nr(r-1){n\choose r}x^{r-2}=n(n-1)(1+x)^{n-2}. $$ If you evaluate $(1)$ at $x=1$, $$\tag3 \sum_{r=1}^nr{n\choose r}=n\,2^{n-1} $$ If you evaluate $(2)$ at $x=1$, $$\tag4 \sum_{r=1}^nr(r-1){n\choose r}=n(n-1)\,2^{n-2}. $$ If you add $(3)$ and $(4)$, $$ \tag5 \sum_{r=1}^nr^2{n\choose r}=n\,2^{n-1}+n(n-1)2^{n-2}=(2n+n(n-1))\,2^{n-2}=n(n+1)\,2^{n-2}. $$