Definition 3.1.1
A factorial is the product of all positive integers less than or equal to a given positive integer. In other words,
Learn it:Definition 1.1.1 · FactorialSection 1.1 Factorials
Book p. 46
Factorials, permutations and combinations, counting strategies, stars and bars, binomial identities, probability, expected value and inclusion-exclusion.
Book pages 46–59 · 54 entries
A factorial is the product of all positive integers less than or equal to a given positive integer. In other words,
Learn it:Definition 1.1.1 · FactorialSection 1.1 Factorials
Book p. 46
The number of ways of arranging objects in a line is .
The number of ways of arranging objects in a circle, where rotations of the same arrangement aren't considered distinct, is .
The number of ways of arranging objects in a circle, where rotations and reflections of the same arrangement aren't considered distinct, is
Learn it:Theorem 1.2.2 · Number of Orderings of ObjectsRemark 1.2.3
Book p. 46Checked numerically
A combination is a possible arrangement in a collection of items where the order of the selection does not matter.
Learn it:Definition 1.5.1 · CombinationSection 1.5 Combinations
Book p. 47
The number of ways to choose objects out of a total of objects is
Learn it:Theorem 1.5.3 · Combinations Formula
Book p. 47Checked numerically
The second way of evaluating choosing expressions, , is faster for math contests.
Learn it:Theorem 1.5.3 · Combinations Formula
Book p. 47
Notice that
This is true because choosing the objects you take (left side) is the same as choosing the objects that will not be selected (right side).
Learn it:Remark 1.5.4Theorem 6.1.1 · Symmetry
Book p. 47Checked numerically
A permutation is a possible arrangement of objects in a set where the order of the objects matters.
Learn it:Definition 1.2.1 · PermutationSection 1.2 Permutations Basics
Book p. 47
The number of ways to order objects out of total objects is
Learn it:Theorem 1.2.4 · Permutations Formula
Book p. 47Checked numerically
Usually, the words "permute", "order does matter", etc. imply a permutation, while the words "choose", "select", "order does not matter", etc. imply a combination.
Learn it:Remark 1.5.2
Book p. 48
The number of subsets of a set of size is .
Learn it:Theorem 1.6.1 · Number of SubsetsSection 1.6 Subsets
Book p. 48Checked numerically
We have 2 choices for each element in the set: whether to include or not include the element in our subset. This means that one of our subsets is the empty subset, where we decide not to include any of the elements. If a problem asks you to count subsets, make sure to check whether the empty subset should count.
Learn it:Remark 1.6.2
Book p. 48
Casework can be a very useful strategy for combinatorics problems, especially when there is no other obvious approach.
Learn it:Concept 3.1.1 · Keep the Cases FewRemark 3.1.2Section 3.1 Casework
Book p. 49
Oftentimes, we have to use casework in conjunction with other techniques like complementary counting.
Learn it:Remark 4.0.5Section 3.1 Casework
Book p. 49
The number of ways to order a word is
where is the number of letters and are the number of times each letter that occurs more than once appears in the word.
Learn it:Theorem 1.4.1 · Word RearrangementsSection 1.4 Word Rearrangements
Book p. 49Checked numerically
This is not only true for words! The number of ways of arranging objects (or anything else) with repeats is given by the same formula.
Learn it:Remark 1.4.2
Book p. 50
The number of rectangles of all sizes in a rectangular grid of size is
Learn it:Theorem 7.2.1 · Rectangles in a GridSection 7.2 Rectangle Counting
Book p. 50Checked numerically
Each combination of two horizontal lines and two vertical lines creates a unique rectangle. An grid has lines one way and lines the other, so we have ways to choose two horizontal lines and ways to choose two vertical lines.
Learn it:Remark 7.2.2
Book p. 50Checked numerically
A similar application of combinatorics is the classic problem of how many intersection points the diagonals of a (convex) -gon have, assuming no three diagonals pass through one interior point. An intersection point is created by 2 diagonals, and each diagonal is determined by 2 vertices, so every intersection point comes from exactly 4 vertices. The number of intersection points is therefore the number of ways to choose 4 points out of :
Learn it:Section 7.1 Triangle Counting
Book p. 51Checked numerically
The number of ways to place identical objects into distinguishable bins is
Learn it:Theorem 5.1.1 · Stars and BarsSection 5.1 Stars and Bars Fundamentals
Book p. 51Checked numerically
The reason this is true is that we can think of placing bars among the objects (stars), which can be arranged in
ways. It's important to understand this, because problems may modify stars and bars a little.
Learn it:Section 5.1 Stars and Bars Fundamentals
Book p. 51Checked numerically
Stars and Bars is extremely useful, and can often be adapted based on situations. For example, if each bin has to have at least 1 object in it, we assign each bin 1 object to start off with and apply our formula with objects and distinguishable bins.
Learn it:Remark 5.1.2Concept 5.2.1 · Give the Minimums FirstSection 5.2 Stars and Bars With Constraints
Book p. 51Checked numerically
For non-negative ,
Learn it:Theorem 24.0.10 · Binomial TheoremSection 12.1 Binomial ExpansionsSection 6.1 Basic Identities
Book p. 52Checked numerically
The binomial theorem has many powerful applications. It's useful for expanding expressions like
Also, if we want to find the value of an expression like
(for integers and ), we can just expand the last terms of the binomial expansion: every other term contains or a higher power of .
The book prints the modulus as ; it must be (a power of one of the two terms). Modulo the terms with vanish, leaving the last terms. Modulo this fails: for , , , , , but the last term is .
Learn it:Theorem 24.0.10 · Binomial TheoremSection 24.0b Euler, Fermat, Wilson and the Binomial Theorem
Book p. 52Checked numerically
The binomial identity states that
Learn it:Theorem 6.1.2 · Binomial IdentityTheorem 1.6.1 · Number of Subsets
Book p. 52Checked numerically
Vandermonde's Identity states that
Learn it:Theorem 6.2.1 · Vandermonde's IdentityRemark 6.2.2Section 6.2 Vandermonde's Identity
Book p. 52Checked numerically
Learn it:Theorem 6.2.3 · Special Case of Vandermonde's Identity
Book p. 53Checked numerically
Pascal's triangle is pictured below (rows to ):
It can be represented in terms of combinations: row holds .
Learn it:Concept 6.3.1 · Pascal's TriangleSection 6.3 Pascal's and Hockey Stick Identity
Book p. 53
Pascal's identity states that
Learn it:Theorem 6.3.2 · Pascal's Identity
Book p. 53Checked numerically
The Hockey Stick Identity states
Learn it:Theorem 6.3.3 · Hockey Stick IdentityRemark 6.3.6
Book p. 54Checked numerically
Learn it:Theorem 6.3.4 · Hockey Stick Identity GeneralizationRemark 6.3.5
Book p. 54Checked numerically
This identity states (for )
Learn it:Theorem 6.1.3 · Choosing Odd Even Identity
Book p. 54Checked numerically
These identities can be helpful in combinatorics problems, but their applications may not always be straightforward, so a good approach to many combinatorics problems may be to just manipulate expressions.
Learn it:Remark 6.3.7
Book p. 54
If you have at least objects to distribute into groups, at least 1 group will have at least objects.
Book p. 55Checked numerically
Probability is the chance something occurs.
Learn it:Definition 2.1.1 · ProbabilitySection 2.1 Probability Basics
Book p. 55
When all outcomes are equally likely,
Learn it:Theorem 2.1.2 · Probability
Book p. 55
Expected value is the weighted average of outcomes.
Learn it:Definition 9.0.1 · Expected ValueSection 9.0 Expected Value and Linearity
Book p. 55
The expected value of some event is
where the are the possible values of and is the probability they occur.
Basically, the expected value is just the sum of the probability of each event happening times the number or amount of that event.
Learn it:Theorem 9.0.2 · Expected Value
Book p. 55
Oftentimes, in finding the expected value, we can just look for symmetry instead of summing each individual probability times number. For example, to calculate the expected value of a dice roll, rather than evaluating
we can see that since all rolls from 1 to 6 are equally likely, the expected value is just the average roll, which is the average of the 2 middle terms, . (See the arithmetic sequences section.)
Learn it:Remark 9.0.3
Book p. 55Checked numerically
For independent or dependent events,
Basically, the total expected value of events is just the sum of the expected values of each individual event.
Learn it:Theorem 9.0.4 · Linearity of Expectation
Book p. 56Checked numerically
This theorem is powerful as it allows us to find the expected value of the individual events rather than of the whole thing at once.
Learn it:Remark 9.0.5
Book p. 56
Geometric probability is a way to calculate probability by measuring the number of outcomes geometrically, in terms of length, area, or volume. The key to solving geometric probability is to:
Learn it:Definition 8.0.1 · Geometric ProbabilitySection 8.0 Probability as AreaSection 8.1 Geometric Probability in 3D
Book p. 56
Geometric probability can be useful when the number of possible outcomes is infinite.
Learn it:Remark 8.0.2
Book p. 57
The principle of inclusion and exclusion (PIE) is a counting technique that computes the number of elements that satisfy at least one of several properties while guaranteeing that elements satisfying more than one property are not counted twice.
Learn it:Definition 4.0.1 · Principle of Inclusion and ExclusionSection 4.0 Inclusion and Exclusion
Book p. 57
is the number of elements in the union of and : everything in or in (duplicates are only counted once).
Learn it:Definition 4.0.2 · Union Symbol
Book p. 57
is the number of elements in the intersection of and (only those elements which are in both sets).
Learn it:Definition 4.0.3 · Intersection Symbol
Book p. 57
Given two sets and ,
Basically, we count the number of possibilities in the 2 "things" and subtract the duplicates.
Learn it:Theorem 4.0.4 · Principle of Inclusion Exclusion for 2 Sets
Book p. 57Checked numerically
Given three sets , , ,
In this formula, we count the number of possibilities in the 3 "things", subtract the duplicates in all 3 pairs of sets, and add back the number of elements in all 3 sets.
Learn it:Theorem 4.0.6 · Principle of Inclusion Exclusion for 3 Sets
Book p. 57Checked numerically
If are finite sets, then
Learn it:Theorem 4.0.7 · Principle of Inclusion Exclusion Generalized
Book p. 58Checked numerically
A bijection is a one-to-one correspondence between the elements of two sets. Bijections can be useful because they allow you to convert difficult problems into ones that can be more easily calculated. When approaching a difficult problem that may involve bijections, start by trying examples and looking for patterns.
Learn it:Remark 7.4.2
Book p. 58
Recursion is the process of solving the problem for small values and writing a recurrence equation to iteratively calculate the values for larger values.
Steps to solve recursion problems:
Learn it:Definition 10.1.1 · RecursionConcept 10.2.1 · The recursion methodSection 10.1 Recursion Fundamentals
Book p. 58
Note that you can get the answer to many recursion problems by using engineering induction (see the meta-solving section).
Learn it:Remark 10.1.3 · Engineering induction
Book p. 58
We use states in problems when we are trying to find the probability of "a win" from different positions or turns. When encountering states problems, we use the following steps:
Learn it:Concept 11.0.1 · StatesSection 11.0 States
Book p. 59
Always be on the lookout for symmetry in states problems (positions you have an equal probability of winning from) to help simplify your equations.
Learn it:Concept 11.0.2 · Symmetry in States
Book p. 59
Oftentimes in states problems with a lot of states, you may have to write a state recursion equation.
Learn it:Remark 11.0.3Concept 11.1.1 · State TablesSection 11.1 States with Recursion
Book p. 59