MATH3250 · Theorem · Chapter 2 · Counting
Derangements and surjections
5 steps of prerequisites below it
By inclusion–exclusion the number of derangements of n labels is the sum of (−1)^j C(n,j)(n−j)!, and the number of surjections from an n-set onto k labeled targets is the sum of (−1)^j C(k,j)(k−j)^n.
Taught in
- 2.1 Bijections, inclusion–exclusion and surjections · introduced
Uses
- Bijection · used in its definition, passage 2.1
- Derangement · used in its proof, proof step 2.1
- Inclusion–exclusion · used in its proof, proof step 2.1
Used by
No later knowledge point in these notes uses it.
Lenses
Counterexamples
Everything this builds on, earliest first · 8 steps
Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.
- Bijection · 1.2
- Derangement · 2.1
- Binomial coefficient · 2.1
- Binary relation · 1.2
- Partial order · 6.1
- Incidence functions and convolution · 6.1
- Finite-poset Möbius inversion · 6.1
- Inclusion–exclusion · 2.1
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.