Bernoulli trial summation by hand

eprparadox
Messages
133
Reaction score
2

Homework Statement


Show that the expected number of successes in n Bernoulli trials w probability p of success is <x> = np


Homework Equations





The Attempt at a Solution



So I get the right answer which is this: E\left( x\right) =\sum _{x=0}^{n}x\left( \begin{matrix} n\\ x\end{matrix} \right) p^{x}\left( 1-p\right) ^{n-x}

I know it's right, though, because I inputted it into wolframalpha and get <x> = np.

My question is how do I try to sum this by hand. I really have no idea where to start and I'm curious as to how this is done. Do I maybe use Stirling's formula to simplify the C(n, x)?
 
Physics news on Phys.org
excellent, thanks!
 
eprparadox said:

Homework Statement


Show that the expected number of successes in n Bernoulli trials w probability p of success is <x> = np


Homework Equations





The Attempt at a Solution



So I get the right answer which is this: E\left( x\right) =\sum _{x=0}^{n}x\left( \begin{matrix} n\\ x\end{matrix} \right) p^{x}\left( 1-p\right) ^{n-x}

I know it's right, though, because I inputted it into wolframalpha and get <x> = np.

My question is how do I try to sum this by hand. I really have no idea where to start and I'm curious as to how this is done. Do I maybe use Stirling's formula to simplify the C(n, x)?

This was already answered for you in another thread: see post #5 in your thread on the expected number of 5's in tossing a die.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top