Math 2.0

Combinatorics Proof

Proof of the number of permutations by counting injections

Builds on PermutationBijective functionInjective functionNumber of injectionsBijection principleComplement principleFalling factorialFactorial

Proof

We show that the permutations of XX are exactly the injections from XX to XX, and then count injections.

  1. A permutation of XX is a bijection σ:X→X\sigma : X \to X. In particular it is injective.
  2. Conversely, let σ:X→X\sigma : X \to X be injective, and put C=σ(X)C = \sigma(X). Then σ\sigma is a bijection from XX onto CC.
  3. Composing a numbering of XX with σ\sigma numbers CC. So ∣C∣=∣X∣=n|C| = |X| = n, as in the bijection principle.
  4. By the complement principle, ∣X∖C∣=n−n=0|X \setminus C| = n - n = 0. So X∖CX \setminus C is empty and C=XC = X.
  5. So σ\sigma is surjective, hence a bijection of XX, that is, a permutation.
  6. By steps 1 to 5, the permutations of XX are exactly the injections from XX to XX.
  7. By the number of injections, there are (n)n(n)_n of them, where (n)n(n)_n is the falling factorial.
  8. For n=0n = 0, (0)0=1=0!(0)_0 = 1 = 0!. For n≥1n \ge 1, (n)n=n(n−1)⋯1(n)_n = n (n-1) \cdots 1, which is n!n! by the definition of the factorial.
  9. Hence XX has exactly n!n! permutations.

Idea

On a finite set, a map from the set to itself that never repeats a value must hit every element. So permutations are just injections from XX to itself, and the injection count n(n−1)⋯1n (n-1) \cdots 1 is n!n!.

Reading path

To understand this page from the ground up, read these 45 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof of the complement principle, Proof of the number of injections, Proof that a composition of surjections is surjective, Proof of the rule of sum, Proof of the bijection principle.

  1. Cardinality of a finite set definition
  2. Element definition
  3. Factorial definition
  4. Falling factorial definition
  5. Permutation definition
  6. Proposition concept
  7. Set definition
  8. Conjunction definition
  9. Implication definition
  10. Predicate definition
  11. Empty set object
  12. Ordered pair definition
  13. Intersection definition
  14. Existential quantifier definition
  15. Universal quantifier definition
  16. Cartesian product definition
  17. Disjoint sets definition
  18. Subset definition
  19. Uniqueness quantifier definition
  20. Binary relation definition
  21. Function definition
  22. Codomain definition
  23. Function composition definition
  24. Identity function definition
  25. Injective function definition
  26. Restriction of a function definition
  27. Surjective function definition
  28. Left inverse definition
  29. Right inverse definition
  30. Proof that a composition of injections is injective proof
  31. Proof that a composition of surjections is surjective proof
  32. Bijective function definition
  33. Composition of injections is injective statement
  34. Composition of surjections is surjective statement
  35. Proof of the rule of sum proof
  36. Proof that a function is bijective iff it has a two-sided inverse proof
  37. Rule of sum statement
  38. Bijective iff it has a two-sided inverse statement
  39. Proof of the complement principle proof
  40. Proof of the bijection principle proof
  41. Complement principle statement
  42. Bijection principle statement
  43. Proof of the number of injections proof
  44. Number of injections statement
  45. Proof of the number of permutations by counting injections proof

Where this leads

12 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Number_of_Permutations, Proof 2
About this page
TagSX43GZ9RD1
URIm2://SX43GZ9RD1
Kindproof
WritingW0 stub
MSC05A05
ProvesNumber of permutations
UsesPermutation, Bijective function, Injective function, Number of injections, Bijection principle, Complement principle, Falling factorial, Factorial
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.