Difference between revisions of "User:DVO"
Line 14: | Line 14: | ||
− | == Random Math | + | == Random Math Problems == |
+ | |||
+ | The following problems are part of a discussion I'm having with someone I know. Please don't comment about them, and most importantly please don't correct any errors or give any hints about better solutions. | ||
Suppose you have a fair six-sided die and you're going to roll the die again and again indefinitely. What's the expected number of rolls until a <math>1</math> comes up on the die? | Suppose you have a fair six-sided die and you're going to roll the die again and again indefinitely. What's the expected number of rolls until a <math>1</math> comes up on the die? |
Revision as of 02:03, 28 June 2006
Personal info
Name: Daniel O'Connor
(full name: Daniel Verity O'Connor)
Location: Los Angeles
Contributions
- Created Chain Rule article
- Created Fundamental Theorem of Calculus article
Random Math Problems
The following problems are part of a discussion I'm having with someone I know. Please don't comment about them, and most importantly please don't correct any errors or give any hints about better solutions.
Suppose you have a fair six-sided die and you're going to roll the die again and again indefinitely. What's the expected number of rolls until a comes up on the die?
The probability that it will take one roll is .
The probability that it will take two rolls is .
The probability that it will take three rolls is .
The probability that it will take four rolls is .
And so on.
So, the expected number of rolls that it will take to get a is:
.
What's the sum of this infinite series? It looks kind of like an infinite geometric series, but not exactly. Factoring out a makes it look a bit more like an infinite geometric series:
This is similar to a geometric series, which we know how to sum. But we have those annoying factors of , , , etc. to worry about. Maybe we could play around with the formula for a geometric series to get a formula for this series. The formula for a geometric series is:
.
Differentiating both sides of this with respect to , we find:
.
So, we find that
.
Which seems like a very reasonable answer, given that the die has six sides.