Community

Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
Login Register Memberlist Search AoPS Blogs Contests Galleries Forum Index
The time now is Fri Nov 27, 2009 10:01 pm
All times are UTC - 8
View posts since last visit
View unanswered posts
find the expected number of turns
Moderators: College Playground Moderators
Post new topic   Reply to topic View previous topicView next topic
11 Posts • Page 1 of 1
Author Message
grobber
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 07 Apr 2003
Posts: 7862
Location: Romania
Romania

To rate posts you must be logged in
#1
find the expected number of turns
Newman Seminar - taken from Kalva

I don't know if this is the right place to post this, but I'm sure it will be moved if it's not Smile.

A player wins at each turn an amout uniformly distributed in [0,1], and stops when he has won a cumulative total of at least 1. What's the expected number of turns that the game lasts?

PostPosted: Sun Dec 12, 2004 1:06 pm  Back to top 
  ProfilePM
TripleM
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 26 May 2003
Posts: 1577
Location: New Zealand

To rate posts you must be logged in
#2
I doubt this is correct but..
Let f(b) = the expected number of turns to get a cumulative total at least b. Then

f(b)=(1-b) + \int^b_0 (f(b-x) + 1) dx

= 1+\int^b_0 f(b-x) dx

= 1+\int^b_0 f(x) dx

So
F'(b) = 1 + F(b) - F(0)
F(b) = e^b + C

So f(b) = e^b and the answer is f(1) = e.
_________________
Stephen
Last edited by TripleM on Sun Dec 12, 2004 2:20 pm; edited 1 time in total 
PostPosted: Sun Dec 12, 2004 1:25 pm  Back to top 
  ProfilePMMSN
grobber
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 07 Apr 2003
Posts: 7862
Location: Romania
Romania

To rate posts you must be logged in
#3
I got the same answer, but I'll have to read this carefully. What is f exactly? The expected number of turns when you start from 0 and stop at b, or the expected number of turns when you have b and you want to reach 1?

PostPosted: Sun Dec 12, 2004 1:39 pm  Back to top 
  ProfilePM
TripleM
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 26 May 2003
Posts: 1577
Location: New Zealand

To rate posts you must be logged in
#4
The latter. The first formula for f just comes (hopefully) from the fact that you have a (1-b) probability of getting over 1 next turn, otherwise you get a value of x, and the expected value will be 1 (this turn) + f(b-x).
_________________
Stephen

PostPosted: Sun Dec 12, 2004 1:56 pm  Back to top 
  ProfilePMMSN
grobber
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 07 Apr 2003
Posts: 7862
Location: Romania
Romania

To rate posts you must be logged in
#5
But if you have the probability 1-b of getting over 1, why do you add this probability to the expected number of turns?

Besides, if you define f(b) as the expected number of turns if you have b and want to reach 1, then f(1) should be 0, don't you think?

PostPosted: Sun Dec 12, 2004 2:13 pm  Back to top 
  ProfilePM
TripleM
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 26 May 2003
Posts: 1577
Location: New Zealand

To rate posts you must be logged in
#6
Gah, edited. I did mean that f(b) is the expected number of turns to get a total of b, not the other one. Then expected total is (1-b) * 1 + other probabilities * turns in those cases.
_________________
Stephen

PostPosted: Sun Dec 12, 2004 2:21 pm  Back to top 
  ProfilePMMSN
grobber
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 07 Apr 2003
Posts: 7862
Location: Romania
Romania

To rate posts you must be logged in
#7
But with this new definition of f, why are you interested in the probability of getting over 1, which is 1-b? Aren't you interested in getting a total of at least b? What does 1 have to do with this case? I'm sorry if I start to ask stupid questions, I'm a bit tired right now (it's past my bed time Smile).

PostPosted: Sun Dec 12, 2004 2:31 pm  Back to top 
  ProfilePM
TripleM
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 26 May 2003
Posts: 1577
Location: New Zealand

To rate posts you must be logged in
#8
If b = 0.7, say, then you get over b if you get anything from 0.7 to 1, which is a probability of 1-b. Note that I'm "translating everything backwards" after each turn, ie if you first turn is 0.3, then you assume after that you start from 0 and are aiming to get to 0.7.
_________________
Stephen

PostPosted: Sun Dec 12, 2004 2:35 pm  Back to top 
  ProfilePMMSN
grobber
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 07 Apr 2003
Posts: 7862
Location: Romania
Romania

To rate posts you must be logged in
#9
I got it. Yes, everything seems to be falling into place now Smile.

PostPosted: Sun Dec 12, 2004 2:36 pm  Back to top 
  ProfilePM
Kent Merryfield
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 11 Jun 2004
Posts: 11387
Location: Long Beach, CA
United States

To rate posts you must be logged in
#10
I have an extension of this, and will start a new thread for it, which will be titled "Expected number of turns (2)."

As for the right forum for this? This seems as good as any, so let's keep it here.

PostPosted: Mon Dec 13, 2004 9:20 am  Back to top 
  ProfilePM
Kent Merryfield
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer

Offline
Joined: 11 Jun 2004
Posts: 11387
Location: Long Beach, CA
United States

To rate posts you must be logged in
#11
I'm going to go ahead and move this to "solved." TripleM's approach is correct, and his function, f(b) is indeed e^b. The answer to the original question is e. This approach can be generalized considerably, which is what the "Number of turns (2)" topic is about.

PostPosted: Wed Dec 22, 2004 11:00 pm  Back to top 
  ProfilePM
Display posts from previous:   Sort by:   
11 Posts • Page 1 of 1
Post new topic   Reply to topic View previous topicView next topic
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
You cannot post calendar events in this forum


© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us