Combinatorics and Probability
Combinatorics is the branch of mathematics focused on counting, arranging, and combining sets of elements. It forms the foundation for probability theory, which quantifies the likelihood of events occurring in random experiments. These concepts are essential for solving complex engineering optimization problems and understanding statistical distributions.
The Fundamental Counting Principle
The Fundamental Counting Principle (or Multiplication Rule) provides a method for finding the total number of ways a sequence of events can occur without listing them all.
Multiplication Rule
-
If one event can occur in ways and a second event can occur in ways, then the two events can occur in sequence in ways.
-
This principle extends to any number of sequential events (e.g., ).
Factorials
A factorial is the product of all positive integers less than or equal to a given positive integer . It is denoted by .
Factorial Definition
The mathematical definition of a factorial.
Variables
| Symbol | Description | Unit |
|---|---|---|
| n factorial | - | |
| A non-negative integer | - |
Zero Factorial
By definition, . This convention is necessary for the formulas of permutations and combinations to work when arranging zero items.
Permutations
A permutation is an arrangement of objects in a specific order. When dealing with permutations, the sequence of the items matters (e.g., a lock combination 1-2-3 is different from 3-2-1).
Permutation Formula
The number of ways to arrange r objects from a set of n distinct objects.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Number of permutations (also written as {}^nP_r) | - | |
| Total number of items in the set | - | |
| Number of items to arrange | - |
Special Cases
-
Arranging all objects: The number of ways to arrange all distinct objects is . (e.g., arranging 5 books on a shelf is ways).
-
Permutations with Identical Objects: The number of distinct permutations of objects where there are identical items of type 1, identical items of type 2, etc., is given by .
-
Circular Permutations: The number of ways to arrange distinct objects in a circle is . This accounts for the lack of a distinct starting point.
Combinatorics Explorer
Use the interactive tool below to visualize the relationship between permutations and combinations. Notice how the number of permutations grows much faster than combinations as you increase .
Permutations vs. Combinations Explorer
Pool of distinct items to choose from
Number of items to select
Item Pool (4):
1
2
3
4
Permutations (Order Matters)
Example: Passwords, Rankings (1st, 2nd, 3rd)
12 distinct arrangements
Combinations (Order Does NOT Matter)
Example: Committees, Hands of cards
6 distinct groups
Notice that is always exactly times larger than , because for every combination (group), there are ways to arrange those specific items. ().
Combinations
A combination is a selection of objects from a set where the order does not matter. (e.g., selecting a committee of 3 people from a group of 10).
Combination Formula
The number of ways to select r objects from a set of n distinct objects.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Number of combinations (also written as {}^nC_r or \\binom{n}{r}) | - | |
| Total number of items in the set | - | |
| Number of items to select | - |
Key Properties
-
Symmetry: . Choosing objects to keep is mathematically identical to choosing objects to leave behind.
-
Relationship to Permutations: . A permutation is just a combination followed by an arrangement of those selected items.
Basic Probability
Probability measures the likelihood of an event occurring, ranging from 0 (impossible) to 1 (certain).
Probability of an Event
The theoretical probability of an event happening in an equally likely sample space.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Probability of event E | - | |
| Number of favorable outcomes | - | |
| Total number of possible outcomes in the sample space | - |
Probability Rules
-
Complementary Events: The probability that an event does not occur is .
-
Addition Rule (Mutually Exclusive Events): If events A and B cannot occur simultaneously, then .
-
Addition Rule (Non-Mutually Exclusive Events): .
-
Multiplication Rule (Independent Events): If the outcome of event A does not affect event B, then .
-
Conditional Probability: The probability of event B occurring given that event A has already occurred is denoted as . If dependent, .
Key Takeaways
-
Order Matters: Use permutations () when arranging items (e.g., passwords, racing placements). Use combinations () when grouping items (e.g., committees, hands of cards).
-
Factorials: Remember that .
-
Identical Items: Divide the total permutations by the factorials of the counts of identical objects to remove duplicates (e.g., arranging the letters in MISSISSIPPI).
-
Probability Scale: All probabilities must fall within the range . If you calculate a probability greater than 1 or less than 0, check your math.
-
The "Or" vs "And" Rule: In probability and counting, "OR" generally translates to addition (), while "AND" translates to multiplication ().