
Miscellaneous
Last updated at Dec. 16, 2024 by Teachoo
Misc 4 (Introduction) Find the number of all onto functions from the set {1, 2, 3, … , n} to itself. Taking set {1, 2, 3} Since f is onto, all elements of {1, 2, 3} have unique pre-image. Total number of one-one function = 3 × 2 × 1 = 6 Misc 4 Find the number of all onto functions from the set {1, 2, 3, … , n} to itself. Since f is onto, all elements of {1, 2, 3} have unique pre-image. Total number of onto functions = n × n –1 × n – 2 × …. × 2 × 1 = n!