πŸ“ Essential Formulas

ℹ️Quick Reference Guide
Complete formula bank for AMC counting and probability problems with usage notes and micro-examples. Master these for contest success!

πŸ—‚οΈ Table of Contents

πŸ”’ Basic Counting Principles

πŸ’‘πŸŽ― Foundation of Counting
These three principles form the foundation of all counting problems in AMC contests!

Addition Principle

Addition Principle: $$|A \cup B| = |A| + |B| - |A \cap B|$$

UsageExampleKey Insight
When counting elements in unions of setsHow many numbers from 1 to 100 are divisible by 2 or 3? $50 + 33 - 16 = 67$Subtract overlap to avoid double counting

Multiplication Principle

Multiplication Principle: $$|A \times B| = |A| \cdot |B|$$

UsageExampleKey Insight
When counting sequences of independent choicesHow many ways to choose a shirt and pants? $3 \cdot 4 = 12$ waysMultiply choices at each step

Complement Principle

πŸ“πŸ’‘ Complement Counting
Often easier to count what you DON’T want, then subtract from total!

Complement Principle: $$|A| = |S| - |A^c|$$

UsageExampleKey Insight
When counting “at least” or “at most” problemsHow many 3-digit numbers contain at least one 7? $900 - 648 = 252$Count complement, then subtract

πŸ”„ Permutations & Combinations

⚠️⚠️ Critical Distinction
The key difference: Permutations = order matters, Combinations = order doesn’t matter!

Permutations

Permutation Formula: $$P(n,k) = \frac{n!}{(n-k)!}$$

UsageExampleKey Insight
Arrangements where order mattersHow many ways to arrange 3 books from 5? $P(5,3) = 60$ waysOrder matters: ABC β‰  BAC

Combinations

Combination Formula: $$\binom{n}{k} = \frac{n!}{k!(n-k)!}$$

UsageExampleKey Insight
Selections where order doesn’t matterHow many ways to choose 3 books from 5? $\binom{5}{3} = 10$ waysOrder doesn’t matter: {A,B,C} = {C,A,B}

Circular Permutations

πŸ“πŸ”„ Circular Arrangements
In circular arrangements, rotations are considered the same!

Circular Permutations:

  • No reflection: $(n-1)!$
  • With reflection: $\frac{(n-1)!}{2}$
UsageExampleKey Insight
Arrangements in a circleHow many ways to seat 4 people around a table? $(4-1)! = 6$ waysFix one person, arrange the rest

Multinomial Coefficient

Multinomial Formula: $$\binom{n}{k_1,k_2,\ldots,k_r} = \frac{n!}{k_1!k_2!\cdots k_r!}$$

UsageExampleKey Insight
Arrangements with repeated objectsHow many ways to arrange “MISSISSIPPI”? $\frac{11!}{1!4!4!2!} = 34650$ waysDivide by factorials of repeated elements

🎯 Advanced Counting

Stars and Bars (Nonnegative)

$$\binom{n+k-1}{k-1}$$ Usage: Nonnegative integer solutions to $x_1 + x_2 + \cdots + x_k = n$ Example: How many ways to distribute 10 candies to 3 children? $\binom{12}{2} = 66$ ways

Stars and Bars (Positive)

$$\binom{n-1}{k-1}$$ Usage: Positive integer solutions to $x_1 + x_2 + \cdots + x_k = n$ Example: How many ways to distribute 10 candies so each child gets at least one? $\binom{9}{2} = 36$ ways

Inclusion-Exclusion (2 Sets)

$$|A \cup B| = |A| + |B| - |A \cap B|$$ Usage: Counting elements in unions of two sets Example: How many numbers from 1 to 100 are divisible by 2 or 3? $50 + 33 - 16 = 67$

Inclusion-Exclusion (3 Sets)

$$|A \cup B \cup C| = |A| + |B| + |C| - |A \cap B| - |A \cap C| - |B \cap C| + |A \cap B \cap C|$$ Usage: Counting elements in unions of three sets Example: How many numbers from 1 to 30 are divisible by 2, 3, or 5? $15 + 10 + 6 - 5 - 3 - 2 + 1 = 22$

Pigeonhole Bound

At least $\lceil \frac{n}{k} \rceil$ objects in one box Usage: Proving existence results Example: In 25 people, at least $\lceil \frac{25}{12} \rceil = 3$ share a birthday month

🎲 Probability

πŸ’‘πŸŽ― Probability Mastery
Probability problems are very common in AMC contests. Master these fundamental concepts!

Basic Probability

Basic Probability Formula: $$P(A) = \frac{\text{number of favorable outcomes}}{\text{total number of outcomes}}$$

UsageExampleKey Insight
When all outcomes are equally likelyProbability of rolling a 6? $P(6) = \frac{1}{6}$Favorable over total

Conditional Probability

⚠️⚠️ Common Mistake
Don’t confuse $P(A \mid B)$ with $P(A \cap B)$ - they’re different!

Conditional Probability: $$P(A \mid B) = \frac{P(A \cap B)}{P(B)}$$

UsageExampleKey Insight
Probability given additional informationGiven a red card, probability it’s a heart? $P(\text{heart} \mid \text{red}) = \frac{1}{2}$Restrict sample space to B

Independence

Independence Test: $$P(A \cap B) = P(A)P(B)$$

UsageExampleKey Insight
When events don’t affect each otherConsecutive coin flips are independentEvents don’t influence each other

Law of Total Probability

πŸ“πŸ“Š Partitioning
Break complex probability into simpler parts using mutually exclusive events!

Law of Total Probability: $$P(A) = \sum_{i=1}^{n} P(A \mid B_i)P(B_i)$$

UsageExampleKey Insight
When you have mutually exclusive and exhaustive eventsProbability of rain given weather forecastsSum over all possible scenarios

Bayes’ Theorem

Bayes’ Theorem: $$P(B_i \mid A) = \frac{P(A \mid B_i)P(B_i)}{P(A)}$$

UsageExampleKey Insight
Finding cause probabilities given effectsGiven a positive test, probability of having the diseaseReverse conditional probability

πŸ“Š Expected Value

Expected Value Definition

$$\mathbb{E}[X] = \sum_{x} x \cdot P(X = x)$$ Usage: Finding the average value of a random variable Example: Expected value of a die roll? $\mathbb{E}[X] = 3.5$

Linearity of Expectation

$$\mathbb{E}[X + Y] = \mathbb{E}[X] + \mathbb{E}[Y]$$ Usage: Expected value of sums of random variables Example: Expected number of heads in 10 flips? $10 \cdot \frac{1}{2} = 5$

Indicator Variables

$$\mathbb{E}[I_A] = P(A)$$ Usage: Expected value of binary events Example: Expected number of aces in a 5-card hand? $5 \cdot \frac{4}{52} = \frac{5}{13}$

πŸ“ˆ Probability Distributions

Binomial Distribution

$$P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}, \quad \mathbb{E}[X] = np$$ Usage: Success/failure trials with replacement Example: Probability of exactly 3 heads in 5 flips? $\binom{5}{3} \left(\frac{1}{2}\right)^5 = \frac{5}{16}$

Geometric Distribution

$$P(X = k) = (1-p)^{k-1} p, \quad \mathbb{E}[X] = \frac{1}{p}$$ Usage: Trials until first success Example: Probability first 6 appears on 4th roll? $\left(\frac{5}{6}\right)^3 \cdot \frac{1}{6} = \frac{125}{1296}$

Hypergeometric Distribution

$$P(X = k) = \frac{\binom{K}{k}\binom{N-K}{n-k}}{\binom{N}{n}}$$ Usage: Sampling without replacement Example: Probability of exactly 2 red balls in 5 draws from urn with 10 red and 15 blue? $\frac{\binom{10}{2}\binom{15}{3}}{\binom{25}{5}} = \frac{1365}{3542}$

πŸ”„ Special Arrangements

Derangements

$$!n = n! \sum_{k=0}^{n} \frac{(-1)^k}{k!}$$ Usage: Permutations with no fixed points Example: How many ways to arrange 5 people so no one sits in their assigned seat? $!5 = 44$ ways

🎯 Quick Reference Table

β„ΉοΈπŸ“š Problem Type Guide
Use this table to quickly identify which formula applies to each problem type!
Problem TypeFormulaWhen to UseKey Insight
Arrangements$P(n,k) = \frac{n!}{(n-k)!}$Order mattersABC β‰  BAC
Selections$\binom{n}{k} = \frac{n!}{k!(n-k)!}$Order doesn’t matter{A,B,C} = {C,A,B}
Circular$(n-1)!$Around a tableFix one, arrange rest
With repetition$n^k$$k$ positions, $n$ choices eachIndependent choices
Stars and bars$\binom{n+k-1}{k-1}$Nonnegative solutionsDistribute identical objects
At least$1 - P(\text{complement})$Complement countingCount what you don’t want
Expected value$\mathbb{E}[X] = \sum x \cdot P(X = x)$Average valueWeighted average
Linearity$\mathbb{E}[X + Y] = \mathbb{E}[X] + \mathbb{E}[Y]$Sum of expectationsAdd expectations

πŸŽ‰πŸŽ‰ You're Ready!
You now have a comprehensive counting and probability formula reference! Practice regularly and use this as your go-to resource during contests.

Next: Problem-Solving Tips β†’ Back to Topics