Proving the Average Winning Amount in a Game with n Moves and Probability p

  • Thread starter Thread starter trenekas
  • Start date Start date
  • Tags Tags
    Mean
trenekas
Messages
61
Reaction score
0
Hello. I have a problem with one task. The task is:

Suppose that you playing the game. You have n moves. on each move you win the game with probability p. Your winning amount is equal to move number. For example if you win in first move your winning amount is 1, if you win in n move, your winning amount is equal to n, and if you not win, your winning amount is 0. Need to prove that average winning amount is: (1+n(1-p)^n+1-(n+1)(1-p)^n)/p

My try:

1/n \sum k*p(1-p)^k-1, for k=1 to n.
And tryed to do something but nothing goes on. For example:
1/n(n*p*(1-p)^n-1+(n-1)*p*(1-p)^n-2+...+(n-n+1)*p*(1-p)n-n
but can't get the right answer.
Thanks for helping.
 
Physics news on Phys.org
hello trenekas! :smile:

(try using the X2 button just above the Reply box :wink:)

what is ∑ kak-1 ? :smile:

(and why are you dividing by n ?)
 
ok i don't need divide by n :) :D but later ill try to solve that because now I'm in the university lol. when i'll back home :D
 
tiny-tim said:
what is ∑ kak-1 ? :smile:

what does kak-1 remind you of? :wink:
 
derivative of a^k:D ok thanks. now ill try myself.
 
Last edited:
ok. its time to ask the help :D
after few rearrangements:
p * Ʃ k(1-p)k-1
So k(1-p)k-1=((1-p)k)'
First of all i calculated the sum of ((1-p)k)
Ʃ((1-p)k)= (1-(1-p)n+1)/p
When calculated derivative of that:
-(n+1)(1-p)n*p-1(1-(1-p)n+1)/p2
And all this multiply by p.
And i got:
-(n+1)(1-p)n*p-1(1-(1-p)n+1)/p=-(n+1)(1-p)n*p-1+(1-p)n+1)/p
but it is different than i need to get. Where is mistake? Or no mistake? Thanks
 
hi trenekas! :smile:

it's a bit difficult to tell, because you're using 1-p instead of a,

but i think if you replace the p in …
trenekas said:
-(n+1)(1-p)n*p

by p-1, and then adjust the rest to make up for it, you'll get the same as wolfram
 
tiny-tim said:
hi trenekas! :smile:

it's a bit difficult to tell, because you're using 1-p instead of a,

but i think if you replace the p in …


by p-1, and then adjust the rest to make up for it, you'll get the same as wolfram
but i can't replace because of rules of composition functions. maybe somwhere else is mistake. :confused:
 
  • #10
yes you can, just subtract (n+1)(1-p)n from the first part, and add it to the second part (total zero)
 
  • #11
oh :D thanks!
 
Back
Top