4.1.10 problem 10

The probability that the game lasts rounds is .

Thus, if the winnings for rounds is , we must compute .

We know that . Deriving both sides with respect to x gives . Multiplying by both sides gives . Plugging in gives the answer .

For the second part of the problem we need to find .

We know . Deriving both sides with respect to x again, using the quotient rule, gives . Multiplying both sides by gives . Plugging in gives the answer of .