Why is $ \sum_{k = 0}^{n}{n \choose k} (-p)^k(1-p)^{n-k} = (1 - 2p)^n $

57 Views Asked by At

As the title suggests, I am trying to see why this identity holds.

$$ \sum_{k = 0}^{n}{n \choose k} (-p)^k(1-p)^{n-k} = (1 - 2p)^n $$

2

There are 2 best solutions below

0
On BEST ANSWER

Write $(1-2p)$ as $(1-p-p)$ let $a=1-p$ and $b=-p$ and apply binomial theorem to $(a+b)^n$

0
On

binomial expansion of $$((-p)+(1-p))^n=(1-2p)^n $$