Calculus in casinos

Calculus Level 5

A casino offers a game in which a random number x x in the range [ 0 , 1 ] [0,1] is chosen, and the player receives 1 x 3 + 1 \dfrac{1}{x^3+1} 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.


The answer is 0.836.

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.

1 solution

Jake Lai
Nov 18, 2015

The question implicitly asks for the expected value of payout. This is equal to 1 1 0 [ 0 , 1 ] d x x 3 + 1 \displaystyle \frac{1}{1-0} \int_{[0,1]} \frac{dx}{x^3+1} . The integral can evaluated with partial fractions like so:

1 1 0 [ 0 , 1 ] d x x 3 + 1 = 0 1 2 x 3 ( x 2 x + 1 ) + 1 3 ( x + 1 ) d x = 1 3 0 1 2 x x 2 x + 1 d x + 1 3 0 1 d x x + 1 = 1 3 0 1 2 x x 2 x + 1 d x + 1 3 [ ln ( 1 + 1 ) ln ( 0 + 1 ) ] = 1 3 0 1 2 x x 2 x + 1 d x + ln 2 3 \begin{aligned} \frac{1}{1-0} \int_{[0,1]} \frac{dx}{x^3+1} &= \int_0^1 \frac{2-x}{3(x^2-x+1)}+\frac{1}{3(x+1)} \ dx \\ &= \frac{1}{3} \int_0^1 \frac{2-x}{x^2-x+1} \ dx + \frac{1}{3} \int_0^1 \frac{dx}{x+1} \\ &= \frac{1}{3} \int_0^1 \frac{2-x}{x^2-x+1} \ dx + \frac{1}{3}[\ln(1+1) - \ln(0+1)] \\ &= \frac{1}{3} \int_0^1 \frac{2-x}{x^2-x+1} \ dx + \frac{\ln 2}{3} \end{aligned}

We wish to turn the denominator of the first integrand into some quadratic of the form u 2 + 1 u^2+1 , where u u is a linear function of x x , to invoke a trigonometric substitution. Solving ( a x + b ) 2 + 1 = a 2 ( x 2 x + 1 ) (ax+b)^2+1 = a^2(x^2-x+1) (with the factor of x 2 x + 1 x^2-x+1 necessarily a 2 a^2 ), we get u = 2 x 1 3 u = \frac{2x-1}{\sqrt 3} as a solution. Thus, using u-substitution, we get

0 1 2 x x 2 x + 1 d x = 1 / 3 1 / 3 2 ( 3 u + 1 ) / 2 3 ( u 2 + 1 ) / 4 d u 2 / 3 = 1 / 3 1 / 3 3 u u 2 + 1 d u \int_0^1 \frac{2-x}{x^2-x+1} \ dx = \int_{-1/\sqrt 3}^{1/\sqrt 3} \frac{2-(\sqrt 3u+1)/2}{3(u^2+1)/4} \ \frac{du}{2/\sqrt 3} = \int_{-1/\sqrt 3}^{1/\sqrt 3} \frac{\sqrt 3-u}{u^2+1} \ du

We are now prepared to invoke the trigonometric substitution; namely, we let θ = tan 1 u \theta = \tan^{-1} u , and thus,

1 / 3 1 / 3 3 u u 2 + 1 d u = π / 6 π / 6 3 tan θ u 2 + 1 d θ 1 / ( u 2 + 1 ) = π / 6 π / 6 3 tan θ d θ \int_{-1/\sqrt 3}^{1/\sqrt 3} \frac{\sqrt 3-u}{u^2+1} \ du = \int_{-\pi/6}^{\pi/6} \frac{\sqrt 3-\tan \theta}{u^2+1} \ \frac{d\theta}{1/(u^2+1)} = \int_{-\pi/6}^{\pi/6} \sqrt 3-\tan \theta \ d\theta

Note that tan \tan is an odd function, and so

π / 6 π / 6 3 tan θ d θ = 3 π / 6 π / 6 d θ = 3 [ π 6 ( π 6 ) ] = 3 π 3 \int_{-\pi/6}^{\pi/6} \sqrt 3-\tan \theta \ d\theta = \sqrt 3 \int_{-\pi/6}^{\pi/6} \ d\theta = \sqrt 3 \left[ \frac{\pi}{6}-\left(-\frac{\pi}{6}\right)\right] = \frac{\sqrt 3 \pi}{3}

Putting it altogether, we finally have

1 1 0 [ 0 , 1 ] 1 x 3 + 1 d x = 1 3 0 1 2 x x 2 x + 1 d x + 1 3 0 1 d x x + 1 = 1 3 3 π 3 + ln 2 3 0.8356 \begin{aligned} \frac{1}{1-0} \int_{[0,1]} \frac{1}{x^3+1} \ dx &= \frac{1}{3} \int_0^1 \frac{2-x}{x^2-x+1} \ dx + \frac{1}{3} \int_0^1 \frac{dx}{x+1} \\ &= \frac{1}{3} \frac{\sqrt 3 \pi}{3} + \frac{\ln 2}{3} \\ & \approx \boxed{0.8356} \end{aligned}

Nicely done! +1!

Kartik Sharma - 5 years, 6 months ago

Basically average value of payout.. Isnt it?

Arunava Das - 3 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...