A casino offers a game in which a random number in the range is chosen, and the player receives dollars. What, in dollars, is the maximum you should be willing to pay to play this game?
Details:
• Assume that it is possible to win a fraction of a cent.
• The value of each cent is the same, regardless of whether the person is rich or poor.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The question implicitly asks for the expected value of payout. This is equal to 1 − 0 1 ∫ [ 0 , 1 ] x 3 + 1 d x . The integral can evaluated with partial fractions like so:
1 − 0 1 ∫ [ 0 , 1 ] x 3 + 1 d x = ∫ 0 1 3 ( x 2 − x + 1 ) 2 − x + 3 ( x + 1 ) 1 d x = 3 1 ∫ 0 1 x 2 − x + 1 2 − x d x + 3 1 ∫ 0 1 x + 1 d x = 3 1 ∫ 0 1 x 2 − x + 1 2 − x d x + 3 1 [ ln ( 1 + 1 ) − ln ( 0 + 1 ) ] = 3 1 ∫ 0 1 x 2 − x + 1 2 − x d x + 3 ln 2
We wish to turn the denominator of the first integrand into some quadratic of the form u 2 + 1 , where u is a linear function of x , to invoke a trigonometric substitution. Solving ( a x + b ) 2 + 1 = a 2 ( x 2 − x + 1 ) (with the factor of x 2 − x + 1 necessarily a 2 ), we get u = 3 2 x − 1 as a solution. Thus, using u-substitution, we get
∫ 0 1 x 2 − x + 1 2 − x d x = ∫ − 1 / 3 1 / 3 3 ( u 2 + 1 ) / 4 2 − ( 3 u + 1 ) / 2 2 / 3 d u = ∫ − 1 / 3 1 / 3 u 2 + 1 3 − u d u
We are now prepared to invoke the trigonometric substitution; namely, we let θ = tan − 1 u , and thus,
∫ − 1 / 3 1 / 3 u 2 + 1 3 − u d u = ∫ − π / 6 π / 6 u 2 + 1 3 − tan θ 1 / ( u 2 + 1 ) d θ = ∫ − π / 6 π / 6 3 − tan θ d θ
Note that tan is an odd function, and so
∫ − π / 6 π / 6 3 − tan θ d θ = 3 ∫ − π / 6 π / 6 d θ = 3 [ 6 π − ( − 6 π ) ] = 3 3 π
Putting it altogether, we finally have
1 − 0 1 ∫ [ 0 , 1 ] x 3 + 1 1 d x = 3 1 ∫ 0 1 x 2 − x + 1 2 − x d x + 3 1 ∫ 0 1 x + 1 d x = 3 1 3 3 π + 3 ln 2 ≈ 0 . 8 3 5 6