Aloha :)
Für eine binomialverteilte Zufallsvariable \(X\) bestimmen wir zunächst \(\left<X\right>\) und \(\left<X^2\right>\):
$$\left<X\right>=\sum\limits_{k=0}^nk\cdot\binom{n}{k}\,p^k(1-p)^{n-k}=\sum\limits_{k=1}^nk\cdot\binom{n}{k}\,p^k(1-p)^{n-k}$$$$\phantom{\left<X\right>}=\sum\limits_{k=0}^{n-1}(k+1)\pink{\binom{n}{k+1}}p^{k+1}(1-p)^{n-(k+1)}=\sum\limits_{k=0}^{n-1}(k+1)\pink{\frac{n}{k+1}\binom{n-1}{k}}\,p^{k+1}(1-p)^{n-k-1}$$$$\phantom{\left<X\right>}=\sum\limits_{k=0}^{n-1}n\binom{n-1}{k}\,p\,p^{k}(1-p)^{(n-1)-k}=np\sum\limits_{k=0}^{n-1}\binom{n-1}{k}p^{k}(1-p)^{(n-1)-k}$$$$\phantom{\left<X\right>}=np\,(p+(1-p))^{n-1}=np$$
$$\left<X^2\right>=\sum\limits_{k=0}^nk^2\cdot\binom{n}{k}\,p^k(1-p)^{n-k}=\sum\limits_{k=1}^nk^2\cdot\binom{n}{k}\,p^k(1-p)^{n-k}$$$$\phantom{\left<X^2\right>}=\sum\limits_{k=0}^{n-1}(k+1)^2\pink{\binom{n}{k+1}}p^{k+1}(1-p)^{n-(k+1)}=\sum\limits_{k=0}^{n-1}(k+1)^2\pink{\frac{n}{k+1}\binom{n-1}{k}}\,p^{k+1}(1-p)^{n-k-1}$$$$\phantom{\left<X^2\right>}=\sum\limits_{k=0}^{n-1}(\green{k+1})n\binom{n-1}{k}\,p^{k+1}(1-p)^{(n-1)-k}$$$$\phantom{\left<X^2\right>}=\sum\limits_{k=0}^{n-1}n\binom{n-1}{k}\,\green k\,p^{k+1}(1-p)^{(n-1)-k}\green+\sum\limits_{k=0}^{n-1}n\binom{n-1}{k}\cdot\green1\cdot\,p^{k+1}(1-p)^{(n-1)-k}$$$$\phantom{\left<X^2\right>}=\sum\limits_{k=1}^{n-1}n\binom{n-1}{k}\,k\,p^{k+1}(1-p)^{(n-1)-k}+np\sum\limits_{k=0}^{n-1}\binom{n-1}{k}\,p^{k}(1-p)^{(n-1)-k}$$$$\phantom{\left<X^2\right>}=\sum\limits_{k=0}^{n-2}n\pink{\binom{n-1}{k+1}}\,(k+1)\,p^{(k+1)+1}(1-p)^{(n-1)-(k+1)}+np\,(p+(1-p))^{n-1}$$$$\phantom{\left<X^2\right>}=\sum\limits_{k=0}^{n-2}n\,\pink{\frac{n-1}{k+1}\binom{n-2}{k}}\,(k+1)\,p^{k+2}(1-p)^{(n-2)-k}+np\cdot1$$$$\phantom{\left<X^2\right>}=n(n-1)\,p^2\sum\limits_{k=0}^{n-2}\binom{n-2}{k}\,p^{k}(1-p)^{(n-2)-k}+np$$$$\phantom{\left<X^2\right>}=n(n-1)\,p^2\cdot(p+(1-p))^{n-2}+np$$$$\phantom{\left<X^2\right>}=n(n-1)\,p^2+np$$
Damit haben wir die Varianz der binomialverteilten Zufallsvariablen \(X\) gefunden:$$\operatorname{Var(X)}=\left<X^2\right>-\left<X\right>^2=n(n-1)\,p^2+np-(np)^2=n^2p^2-np^2+np-n^2p^2$$$$\operatorname{Var(X)}=np(1-p)$$