Bernoulli trial summation by hand

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
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: [tex]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}[/tex]

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: [tex]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}[/tex]

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.