Maths WorkshopMaths problems with full solutions
Exercise 444Combinatorics › Counting principlesHigh schoolAdded 3 Nov 2026

Counting injections

#injections#arrangements#permutations

Statement

Count injective functions from an mm-element set to an nn-element set (with n≥mn\ge m).

Hint

The first image has nn choices, then n−1n-1, etc.

Show solutionHide solution

Solution

Product. n(n−1)⋯(n−m+1)=n!(n−m)!=Anmn(n-1)\cdots(n-m+1)=\frac{n!}{(n-m)!}=A_n^m.

Conclusion. There are n!(n−m)!\frac{n!}{(n-m)!} injections.

Example. m=3m=3, n=5n=5: 5⋅4⋅3=605\cdot4\cdot3=60 injections.