Story Proofs
A story proof is a proof by interpretation. For counting problems, this often means counting the same thing in two different ways, rather than doing tedious algebra. A story proof often avoids messy calculations and goes further than an algebraic proof toward explaining why the result is true. The word ''story" has several meanings, some more mathematical than others, but a story proof (in the sense in which we're using the term) is a fully valid mathematical proof. Here are some examples of story proofs, which also serve as further examples of counting.
Example The Team Captain
For any positive integers and with ,
This is again easy to check algebraically, using the fact that for any positive integer , but a story proof is more insightful.
Story Proof: Consider a group of people, from which a team of will be chosen, one of whom will be the team captain. To specify a possibility, we could first choose the team captain and then choose the remaining team members; this gives the left-hand side. Equivalently, we could first choose the team members and then choose one of them to be captain; this gives the right-hand side.
Example Vandermonde's Identity
A famous relationship between binomial coefficients, called Vandermonde's identity, says that
This identity will come up several times in this course. Trying to prove it with a brute force expansion of all the binomial coefficients would be a nightmare. But a story proves the result elegantly and makes it clear why the identity holds.
Story Proof: Consider a group of peacocks and toucans, from which a set of size birds will be chosen. There are possibilities for this set of birds. If there are peacocks in the set, then there must be toucans in the set. The right-hand side of Vandermonde's identity sums up the cases for .
General Definition of Probability
We have now seen several methods for counting outcomes in a sample space, allowing us to calculate probabilities if the naive definition applies. But the naive definition can only take us so far, since it requires equally likely outcomes and can't handle an infinite sample space. We now give the general definition of probability. It requires just two axioms, but from these axioms it is possible to prove a vast array of results about probability.
Definition: General Definition of Probability
A probability space consists of a sample space and a probability function which takes an event as input and returns , a real number between 0 and 1, as output. The function must satisfy the following axioms:
1., .
2.If are disjoint events, then
(Saying that these events are disjoint means that they are mutually exclusive: for .)
In Pebble World, the definition says that probability behaves like mass: the mass of an empty pile of pebbles is 0, the total mass of all the pebbles is 1, and if we have non-overlapping piles of pebbles, we can get their combined mass by adding the masses of the individual piles. Unlike in the naive case, we can now have pebbles of differing masses, and we can also have a countably infinite number of pebbles as long as their total mass is 1.
Any function (mapping events to numbers in the interval ) that satisfies the two axioms is considered a valid probability function. However, the axioms don't tell us how probability should be interpreted; different schools of thought exist.
The frequentist view of probability is that it represents a long-run frequency over a large number of repetitions of an experiment: if we say a coin has probability of Heads, that means the coin would land Heads 50% of the time if we tossed it over and over and over.
The Bayesian view of probability is that it represents a degree of belief about the event in question, so we can assign probabilities to hypotheses like ''candidate A will win the election" or ''the defendant is guilty'' even if it isn't possible to repeat the same election or the same crime over and over again.
The Bayesian and frequentist perspectives are complementary, and both will be helpful for developing intuition in later chapters. Regardless of how we choose to interpret probability, we can use the two axioms to derive other properties of probability, and these results will hold for any valid probability function.
Theorem: Properties of Probability
Probability has the following properties, for any events and .
- If , then
Proof:
-
Since and are disjoint and their union is , the second axiom gives
-
If , then we can write as the union of and , where is the part of not also in . This is illustrated in the figure below.
Since and are disjoint, we can apply the second axiom:
Probability is nonnegative, so , proving that .
-
The intuition for this result can be seen using a Venn diagram like the one below.
The shaded region represents , but the probability of this region is not , because that would count the football-shaped intersection region twice. To correct for this, we subtract . This is a useful intuition, but not a proof.
For a proof using the axioms of probability, we can write as the union of the disjoint events and . Then by the second axiom,
So it suffices to show that . Since and are disjoint and their union is , another application of the second axiom gives us
So as desired.
The third property is a special case of inclusion-exclusion, a formula for finding the probability of a union of events when the events are not necessarily disjoint. We showed above that for two events and ,
For three events, inclusion-exclusion says
For intuition, consider a triple Venn diagram like the one below.
To get the total area of the shaded region , we start by adding the areas of the three circles, . The three football-shaped regions have each been counted twice, so we then subtract . Finally, the region in the center has been added three times and subtracted three times, so in order to count it exactly once, we must add it back again. This ensures that each region of the diagram has been counted once and exactly once.
Now we can write inclusion-exclusion for events.
Theorem: Inclusion-exclusion
For any events ,