Square dartboard puzzle
Poll
| 2 votes (50%) | ||
| No votes (0%) | |||
| 2 votes (50%) | ||
| No votes (0%) | |||
| 2 votes (50%) | ||
| No votes (0%) | |||
| 2 votes (50%) | ||
| 1 vote (25%) | ||
| 1 vote (25%) | ||
| No votes (0%) |
4 members have voted
Let z = round(x/y)*. In other words, z = x/y, rounded to the nearest integer.
What is the probability that z is even?
Usual rules:
- Please don't just plop a URL to a solution elsewhere until a winner here has been declared.
- All those who have won a beer previously are asked to not post answers or solutions for 24 after this posting. Past winners who must chime in early, may PM me.
- Beer to the first satisfactory answer and solution, subject to rule 2.
- Please put answers and solutions in spoiler tags.
Notes:
* corrected. Previous formula incorrect.
I'll have a go, but I suspect it involves calculus (integration) .I'm rubbish at that, though.Quote: Wizard
What is the probability that z is even?
Quote: OnceDearI'll have a go, but I suspect it involves calculus (integration) .I'm rubbish at that, though.
I solved it without calculus.
Quote: WizardThere is a square dartboard of dimensions 1 by 1. A dart is thrown at it such that it can land anywhere with equal probability. Let the coordinates of where is lands be (x,y), where both x and y are uniformly and independently distributed from 0 to 1.
Let z = (int)(x/y). In other words, z = x/y, rounded to the nearest integer.
What is the probability that z is even?
I object to misdirection tactic: The Int() function does not round to the nearest integer: It always rounds down!
Function Round(,0) rounds nearest!
1 x 1 array of squares hit in the middle.
x=y therefore z=1 = odd with 0% probability of even.
2 x 2 array each hit in the middle
x1=0.25, y1=0.25, z=1 is odd
x2=0.25, y2=0.75, z=0 is even
x3=0.75, y3=0.25, z=3 is odd
x4=0.75, y4=0.75, z=1 is odd
z is even 1/4 of the time therefore 25% probability
3x3 array
x1=1/6, y1=1/6, z=1 is odd
x2=1/6, y2=3/6, z=0 is even
x3=1/6, y3=5/6, z=0 is even
x4=3/6, y1=1/6, z=3 is odd
x5=3/6, y2=3/6, z=1 is odd
x6=3/6, y3=5/6, z=0 is even
x7=5/6, y1=1/6, z=5 is odd
x8=5/6, y2=3/6, z=1 is odd
x9=5/6, y3=5/6, z=1 is odd
z is even 3/9 of the time therefore 33.3% probability
4 x 4 array
Trust me and Excel
z is even 6/16 of the time therefore 37.5% probability
HMMM Are we converging on 50%?
10 x 10 array
Trust me and Excel
z is even 43/100 of the time therefore 43% probability
HMMM Are we converging on 50%?
100 x 100 array
Trust me and Excel
z is even 4606/10000 of the time therefore 46.06% probability
HMMM Are we converging on 50%?
1000 x 1000 array
Trust me and Excel
z is even 464220/1000000 of the time therefore 46.42% probability
HMMM Are we converging SLOWLY on 50%
I'm going to guess 50% will be the eventual answer.
Damned if I can do integration though
Quote: OnceDearI object to misdirection tactic: The Int() function does not round to the nearest integer: It always rounds down!
You're absolutely right. I meant z=round(x/y).
Quote: ssho88P(z=even) = 0.4646 ?
Fun problem.
I get (5-pi)/4
Not trying to win a beer, just having fun.
Quote: CrystalMath
Fun problem.
I get (5-pi)/4
Not trying to win a beer, just having fun.
To win the beer, one must show their work. Lacking a solution, all except past beer winners are still eligible to win.
The even values of z are: 0, 2, 4, 6, etc.
The part of the board with z equal to 0 is the region bounded by the lines with equations x=0, y=1, and x=y/2. The area of this region is (1/2)(1/2) = 1/4
The part of the board with z equal to 2 is the region bounded by the lines with equations of x = 3y/2, x =5y/2, and x=1. Its area is half its base times its height, which is (1/2)(2/3-2/5)=1/3 – 1/5.
Likewise, the area with z = 4, is the region between x=7y/2, x=9y/2, and x=1. Its area is 1/7 – 1/9.
The area of the region z=6 is 1/11 – 1/13.
You can see the pattern. Call the sum of the areas P. Then P = ¼ + (1/3 – 1/5 + 1/7 – 1/9 + 1/11 – 1/13 + 1/15 – 1/17+…).
The above expression can be approximated with a calculator or Excel, but we can use a famous series:
pi/4 = 1 – 1/3 + 1/5 – 1/7 + 1/9 – 1/11 + 1/13 – 1/15 + 1/17 - …
to find an exact expression for the probability:
P = ¼ + (1/3 – 1/5 + 1/7 – 1/9 + 1/11 – 1/13 + 1/15 – 1/17+…) = ¼ + (1-pi/4) = (5-pi)/4, which is about 0.464602.
Quote: gordonm888I believe (unofficially) that Chester beat us all to the answer.
Yes, let's make it official. CD, I owe you another beer. I lost count how many we're at.
Yes, the key to this one is knowing Leibniz formula for π.
Join the discussion
Log in or create a free account to reply to this thread.

