Bernoulli trial summation by hand

Click For Summary

Homework Help Overview

The discussion revolves around the expected number of successes in n Bernoulli trials, where the probability of success is denoted as p. The original poster seeks to understand how to derive the expected value formula, = np, by summing the relevant expression by hand.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster presents their understanding of the expected value and expresses uncertainty about how to perform the summation by hand. They inquire about the potential use of Stirling's formula to simplify the binomial coefficient.

Discussion Status

The discussion is ongoing, with participants exploring the original poster's question about summing the expression. Some guidance has been provided through a reference link, but there is no explicit consensus on the method to be used for the summation.

Contextual Notes

The original poster mentions having verified their result using WolframAlpha, indicating a reliance on computational tools rather than manual derivation. There is also a reference to a previous thread that may contain relevant information.

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.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
6K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K