The video game Schmark Schmouls is an excellent video game with the latest graphics and cutting-edge gameplay and will be a surefire hit when it releases sometime in the near future (Soon™). Also, Schmark Schmouls has no relation to Dark Souls... please don't sue.
In the game, the player starts at checkpoint , and must pass through the checkpoints , , and in order. After passing checkpoint , the player wins the game. To pass each checkpoint (except for the starting checkpoint ), the player must defeat a boss.
Each time a player attempts to defeat a boss, the following outcomes could occur:
The probability that a player wins the game of Schmark Schmouls can be expressed as , where and are positive co-prime integers. Find .
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.
I will define P ( B ∣ A ) to be the probability that a player eventually passes checkpoint B , given that they are starting from checkpoint A . All other conditional probabilities that I list in this solution will be defined in a similar way.
When player starts at checkpoint A , he will either pass checkpoint B with 3 1 probability, get another chance with 3 1 probability, or quit. Thus, P ( B ∣ A ) can be defined recursively as:
P ( B ∣ A ) = 3 1 + 3 1 P ( B ∣ A )
Solving this equation for P ( B ∣ A ) yields P ( B ∣ A ) = 2 1 .
Now that the player is at checkpoint B , he will attempt to pass checkpoint C . The player will either pass checkpoint C with 3 1 probability, get sent back to a previous checkpoint with 3 1 probability, or quit. If he gets sent back to a previous checkpoint, then he will either get sent back to checkpoint A with 2 1 probability or checkpoint B with 2 1 probability. Once again, we will use recursion to define P ( C ∣ B ) :
P ( C ∣ B ) = 3 1 + 3 1 [ 2 1 P ( C ∣ A ) + 2 1 P ( C ∣ B ) ]
Using Bayes' Theorem, we can define P ( C ∣ A ) :
P ( C ∣ A ) = P ( B ∣ A ) × P ( C ∣ B ) = 2 1 P ( C ∣ B )
We can then substitute and solve for P ( C ∣ B ) . This yields P ( C ∣ B ) = 9 4 and P ( C ∣ A ) = 9 2
Once a player passes checkpoint C , he will attempt to pass checkpoint D . This equation is set up in much the same way before. The only exception is that if the player is sent back, he has an equal 3 1 chance to be sent back to A , B , or C :
P ( D ∣ C ) = 3 1 + 3 1 [ 3 1 P ( D ∣ A ) + 3 1 P ( D ∣ B ) + 3 1 P ( D ∣ C ) ]
We can use Bayes' Theorem to get P ( D ∣ A ) and P ( D ∣ B ) in terms of P ( D ∣ C ) :
P ( D ∣ A ) = 9 2 P ( D ∣ C )
P ( D ∣ B ) = 9 4 P ( D ∣ C )
We can then solve for P ( D ∣ C ) . This yields P ( D ∣ C ) = 2 2 9 . Then we can obtain P ( D ∣ A ) = 9 2 × 2 2 9 = 1 1 1 . Thus the answer to the problem is 1 + 1 1 = 1 2 .