Evaluate the following sum:
\[\sum_{k=0}^{n} k(n-k)\left(\begin{matrix}n \\ k\end{matrix}\right)\]
use the definition of \({n\choose k}\) to simplify
and the fact that \[\sum_{k=0}^{m}{m\choose k}=2^m\]
@zarkon, does it simplify to \[\sum \frac{n!}{(k-1)!(n-k-1)!}\] or am i way off?
yes
also notice that \[\sum_{k=0}^{n} k(n-k)\left(\begin{matrix}n \\ k\end{matrix}\right)\] \[=\sum_{k=1}^{n-1} k(n-k)\left(\begin{matrix}n \\ k\end{matrix}\right)\]
\(n\) is fixed right? so is this the same as \[n\sum\dbinom{n-1}{k-1}\]?
n is fixed...but you are a little off
\[n-1-(k-1)=n-k\ne n-k-1\]
oh yes a am off
just factor out n-1
in addition to the n you already factored out
\[n(n-1)\sum_{}^{} \left(\begin{matrix}n-2 \\ k-1\end{matrix}\right) \ \ \ \ ?\]
yes
let \(w=k-1\) then you get \[n(n-1)\sum_{w=0}^{n-2}{n-2\choose w}\]
the ans is \[n(n-1)2^{n-2} \]:) Thank you!
yep
Join our real-time social learning platform and learn together with your friends!