From the binomial theorem, we have
(1)
Differentiating (1) reveals
(2)
Setting in (2) yields
And we are done!
Deegan Mullen
Beginner2022-01-26Added 12 answers
We have
RizerMix
Skilled2022-01-27Added 437 answers
Proof without derivatives:
Alternate proof via probability theory:
Toss a fair coin n times, find the expected no of heads. Let N be the random variable denoting the number of heads. Then because N is the sum of n bernoulli random variables with probability 1/2. But we also know that N has a binomial distribution. Hence
Rearrange to get your answer.