Neural Sync Active
Counting Principles
Registry Synced
Counting Principles
485 words
2 min read
Reading compass
Now ยท ๐ฏ Learning Objectives
Counting Principles
๐ฏ Learning Objectives
- Apply the product rule and sum rule for counting
- Compute permutations (P(n,k)) and combinations (C(n,k))
- Understand binomial coefficients and Pascal's identity
- Distinguish permutations with vs. without repetition
- Solve counting problems with multiple cases
1.1 Intuition: Counting Without Listing
Counting is the oldest mathematical art. The key insight: we can count things without listing them by understanding the structure of choices.
๐ Key Insight: Most counting problems reduce to: "How many ways to make a sequence of choices?"
1.2 Basic Rules
Product Rule
If task A can be done in m ways and task B in n ways, then A AND B can be done in mรn ways.
Example: How many 2-letter words? 26ร26=676.
Sum Rule
If task A can be done in m ways and task B in n ways, and they are disjoint, then A OR B can be done in m+n ways.
Example: Choosing a vowel (5) or a consonant (21) from alphabet: 5+21=26.
1.3 Permutations
Permutation: An ordered arrangement of distinct objects.
Example: Number of ways to award gold, silver, bronze to 10 athletes: P(10,3)=10ร9ร8=720.
Permutations with Repetition
nk โ choose from n options, k times, with repetition allowed.
Example: Number of 4-digit PINs: 104=10000.
1.4 Combinations
Combination: An unordered selection of distinct objects.
Example: Number of ways to choose a 3-person committee from 10: (310โ)=120.
Relationship
P(n,k)=C(n,k)รk!1.5 Binomial Coefficients
(x+y)n=k=0โnโ(knโ)xnโkykPascal's Identity
(knโ)=(kโ1nโ1โ)+(knโ1โ)๐ Formula Summary
| Concept | Formula |
|---|---|
| Permutations | P(n,k)=(nโk)!n!โ |
| Combinations | C(n,k)=(knโ)=k!(nโk)!n!โ |
| Permutations with repetition | nk |
| Binomial theorem | (x+y)n=โ(knโ)xnโkyk |
โ Practice Questions
Q1: How many ways to arrange the letters in "MATH"?
Solution4 distinct letters: 4!=24 arrangements. Q2: How many 5-card poker hands from a 52-card deck? Solution(552โ)=5!47!52!โ=2,598,960. Q3: How many ways to choose a president, VP, and secretary from 12 people? SolutionP(12,3)=12ร11ร10=1320. Q4: Prove C(n,k)=C(n,nโk) combinatorially. SolutionChoosing k elements to include is equivalent to choosing nโk elements to exclude. So (knโ)=(nโknโ). Q5: How many bit strings of length 8 contain exactly three 1s? Solution