## Fair Probability

Probability is the study of the likelihood of certain events occurring in a random experiment. A simple example is a coin flip. There are two outcomes: heads (H) or tails (T). If the coin is fair, then the probability of each outcome is , written . Another example is a roll of a standard die. There are six outcomes: 1 through 6. If the die is fair then the probability of each outcome is .

In these types of problems, one can find the probability of an event occurring by counting the number of desired outcomes and dividing by the total number of outcomes.

**Example**

What is the probability that a pair of dice sums to seven or eleven?

By listing the desired outcomes, one finds that are the possible pairings which give 7, and and are the possible pairings which give 11. So there are 8 desired outcomes. The total number of outcomes is (six outcomes for the first die paired with each of the six outcomes for the other die). So the probability is

**Example**

Alice and Bob play a game where they take turns flipping a fair coin, with Alice going first. The first player to get heads wins. What is the probability that Alice wins?

Hint: find the probability that Alice wins on her first flip, and the probability that she wins on her second flip, and the probability that she wins on her third flip, etc. Add up all these (infinitely many) probabilities to find the probability that she wins.

Second hint: For Alice to win on her second flip, it means that both Alice and Bob got tails on their respective first flips (otherwise the game would have ended in the first round). So the probability of Alice winning on her second flip is

Proceeding as the hint suggests, we look for a pattern.

And then

Next,

In general, for Alice to win on the th flip, she must get a head on that flip, *and* both Alice and Bob must have gotten tails on each of their previous flips. Thus, there are a total of coin flips that must come out in a precise way, and the probability of each of these is , so we have

Adding these up for all , and using the geometric series, gives

## Uniform distribution

The above examples refer to a fair coin and a fair die. A discrete experiment (i.e. the possible outcomes can be listed) is said to have the *uniform distribution* if the experiment is fair in the sense that every outcome is equally likely.

What about experiments which are not discrete? For instance, a spinner gives a point along the circumference of a circle, and the individual points of the circle cannot be enumerated. Throwing a dart at a circular dartboard likewise has as many outcomes as there are points in the interior of the disk. What does it mean for such an experiment to be *fair*, i.e., what does the uniform distribution mean in an experiment with continuous outcomes?

To answer this question, consider the probability of a range of outcomes of the experiment. So, for instance, what is the probability of the spinner landing in the first quarter of the circle? If the experiment is fair, then this probability should be the same as landing in any other quarter of the circle: :

Thus an experiment is *fair* (i.e. has the *uniform distribution*) if for any set of outcomes ,

Here "volume" depends on the dimension of the experiment. For instance, the spinner has dimension 1 (where volume is really just the length) since any point on the circumference can be specified by a single value (say, the angle of the arrow relative to the positive -axis). So a spinner is considered fair if the probability of the arrow landing in a certain range along the circumference equals the length of that range divided by the total circumference of the circle.

### Length

**Example**

Find the probability that a randomly chosen angle has ?

We can visualize the sine of the angle by considering a unit circle, and noting that sine is the -coordinate of a point on the circle:

Then one finds that the angles for which are

The length of this portion of the circumference of the circle is , and so the probability of a random angle satisfying is

**Example**

Find the probability that a randomly chosen angle has .

Note that tangent is positive when sine and cosine have the same sign, i.e. if sine and cosine are both positive or if sine and cosine are both negative. This corresponds to the first and third quadrants of the unit circle:

The length of each these arcs is , and so the probability that is

### Area

In two dimensions, volume is really area, and so when computing the probability that a randomly chosen point in a region in the plane lies within the region , we have

**Example**

A dartboard is circular with radius 9 inches:

The bullseye is a small circle at the center of the board. Find the radius of the bullseye so that the probability of hitting it is (assuming a throw hits the board uniformly at random).

Ignoring the unnecessary detail of the dartboard, let the radius of the bull's eye be . Then

Setting equal to and solving gives inches. (In reality, the bullseye is much smaller, but the numbers worked out nicer in this example).

**Example**

Find the probability that a randomly chosen point in a square lies within the circle inscribed in the square:

If the radius of the circle is , then the side length of the square is . Thus, the area of the circle is and the area of the square is . And so the probability that a point chosen at random within the square also lies within the circle is

**Example**

Find the probability that a randomly chosen point in a circle lies in the equilateral triangle inscribed in the circle:

Hint: the area of an equilateral triangle of side length is

By doing a little bit of right triangle trigonometry:

we find that the side length of the triangle is

Therefore, the area of the triangle is

And so the probability of a point within the circle being within the triangle is the ratio of the areas:

There are some probability problems that do not seem geometric in nature but can be solved by graphing the possible outcomes and taking the ratio of the areas.

**Example**

Xander and Yolanda want to meet up to study calculus. Each friend will arrive at the library at some random time between 5 pm and 6pm, wait 20 minutes for the other person, and then leave if the other person does not arrive in that time. Find the probability that the friends successfully meet up.

Hint: Let be the number of minutes after 5 pm that Xander arrives and be the number of minutes after 5 pm that Yolanda arrives. Now plot the possible arrival times as a region in the plane and determine the region which corresponds to them successfully meeting up.

The possible outcomes form a square for and . For the friends to meet, we must have that Yolanda arrives no later than 20 minutes after Xander *and* that Xander arrives no later than 20 minutes after Yolanda arrives. Mathematically,

The two will successfully meet if and only if these two conditions are met. Graphing these inequalities, the points they have in common are shown below in dark blue:

So the probability of them meeting is the area of the dark blue region divided by the total area of the square. It is easier to determine the area of the region we do not want and subtract. There are two isosceles right triangles of side length 40, so the area of the region we do not want is

Therefore, the probability of the friends meeting is

### Volume

Finally, in dimension 3, volume is volume as we traditionally know it. In this case, we imagine picking a point from within a 3D region and know the probability that the point lies within some subset of that region.

**Example**

Find the probability that a randomly chosen point from within a cube lies within the inscribed sphere:

If is the radius of the inscribed sphere, then the side length of the cube is . Therefore, the volume of the sphere is and the volume of the cube is . So the probability that a random point within in the cube lies within the sphere is

**Example**

What is the probability that a randomly chosen point in a ball lies within 10% of the boundary (as measured by radius)?

Let be the radius of the ball. Then the volume of the ball (the volume of all the possible outcomes) is .

To find the volume of the desired outcomes, consider the volume of the undesired outcomes: those points which lie within 90% of the center. These points form a ball of radius , hence their volume is . So the desirable outcomes have the complementary volume

Thus, the probability of a point being within 10% of the boundary is

## Buffon needle problem

The Buffon needle problem, named after the Count of Buffon, asks for the probability that a needle of length , dropped uniformly at random onto a sheet with parallel lines spaced units apart, will cross a line.

To simplify the problem, consider two parameters which determine whether the needle crosses:

- , the distance from the left tip of the needle to the next line to its right
- , the angle that the needle makes with a vertical line:

Note that and . Now, for what values of and is there a crossing? Note that by right triangle trigonometry, the horizontal distance from the left end of the needle to the right end of the needle is :

Thus, there is a crossing if , and there is no crossing if . Graphing this inequality shows that the region below the curve (shown in purple) is where a crossing occurs. The region above the curve is where a crossing does not occur.

Dropping a needle at random is like randomly picking a point in this rectangle. Thus, the probability of a random needle creating a crossing equals the probability of randomly picking a point below the curve in the above rectangle. That probability is given by dividing the area under the curve by the area of the entire rectangle.