Riddler Express
Riddler Nation is competing against Conundrum Country at an Olympic archery event. Each team fires three arrows toward a circular target meters away. Hitting the bull’s-eye earns a team points, while regions successively farther away from the bull’s-eye are worth fewer and fewer points.
Whichever team has more points after three rounds wins. However, if the teams are tied after each team has taken three shots, both sides will fire another three arrows. (If they remain tied, they will continue firing three arrows each until the tie is broken.)
For every shot, each archer of Riddler Nation has a one-third chance of hitting the bull’s-eye (i.e., earning points), a one-third chance of earning points and a one-third chance of earning points.
Meanwhile, each archer of Conundrum Country earns points with every arrow.
Which team is favored to win?
Extra credit: What is the probability that the team you identified as the favorite will win?
Solution
Let be the probability of Riddler Nation winning. Riddler Nation either wins the first time with a probability of or Riddler Nation draws with a probability of and then wins with a probability . Therefore we have,
Calculating probabilities
There are a couple of ways by which and can be calculated.
One approach is to use brute-force enumeration of all the -tuples of the points earned in each of the shots and count the number of tuples whose sum is greater or equal to . The Python code for counting the tuples is given below:
from itertools import product
sum([1 for p in product(*[[10,9,5]]*3) if sum(p) > 24])
The other approach is to use i.e the coefficient of in gives the count of the number of cases where the sum of the scores of the three shots is .
Computational Solution
From the simulation below, we see that the is favoured to win and the probability of win is .
from random import random
def shot_pts_riddler():
p = random()
if p < 0.33333333:
return 10
elif p > 0.33333333 and p < 0.66666666:
return 9
else:
return 5
def shot_pts_conundrum():
return 8
def prob_win_riddler(runs=1000000):
total_wins = 0
for _ in range(runs):
pts_riddler, pts_conundrum = 0, 0
while pts_riddler == pts_conundrum:
pts_riddler = sum([shot_pts_riddler() for _ in range(3)])
pts_conundrum = sum([shot_pts_conundrum() for _ in range(3)])
if pts_riddler > pts_conundrum:
total_wins += 1
return total_wins/runs
print(prob_win_riddler())
Riddler Classic
Suppose you have a chain with infinitely many flat (i.e., one-dimensional) links. The first link has length , and the length of each successive link is a fraction of the previous link’s length. As you might expect, is less than . You place the chain flat on a table and some ink at the very end of the chain (i.e., the end with the infinitesimal links).
Initially, the chain forms a straight line segment, and the longest link is fixed in place. From there, the links are constrained to move in a very specific way: The angle between each chain and the next, smaller link is always the same throughout the chain. For example, if the link and the link form a degree clockwise angle, then so do the link and the link.
After you move the chain around as much as you can, what shape is drawn by the ink that was at the tail end of the chain?
Solution
The lengths of the links in the chain for a geometric progression .
Using the properties of , the position for of the end point of each link in the chain can be represented as a complex function of (the angle between each chain link measured anticlockwise). We have,
If and are the coordinates of the end point of the last link in the chain, we have
Eliminating from the above using brute force, we get
which is the equation of a circle centered at and radius .
Using Möbius transformation
The mapping is a Möbius Transformation of a complex number on the unit circle centered at the origin.
Here are a couple of fundamental results related to Möbius Transformations that we will use:
- Möbius transformations map circles to circles
- If two points symmetric with respect to a circle, then their images under a Möbius transformation are symmetric to the image circle. This is called the “Symmetry Principle”.
Two end points of a diameter and of the unit circle get mapped to the two end points and of a diameter of the mapped circle by the symmetry principle. Therefore the centre of the mapped circle is at
The radius of the circle is given by