Let ๐‘‹ and ๐‘Œ denote the sets containing 2 and 20 distinct objectsโ€ฆ

2015

Let ๐‘‹ and ๐‘Œ denote the sets containing 2 and 20 distinct objects respectively and ๐น denote the set of all possible functions defined from ๐‘‹ to ๐‘Œ. Let ๐‘“ be randomly chosen from ๐น. The probability of ๐‘“ being one-to-one is ________.

Answer: 0.95 โ€” Key idea: count all possible functions and count the one-to-one (injective) functions, then form their ratio. Total number of functions from X to Y: Each ofโ€ฆ

Attempted by 216 students.

Show answer & explanation

Correct answer: 0.95

Key idea: count all possible functions and count the one-to-one (injective) functions, then form their ratio.

  • Total number of functions from X to Y:

    Each of the 2 elements of X can be mapped to any of the 20 elements of Y, so total = 20^2 = 400.

  • Number of one-to-one (injective) functions:

    Choose distinct images for the 2 elements of X: 20 choices for the first, 19 for the second, so injective count = 20 ร— 19 = 380.

  • Probability that a randomly chosen function is one-to-one:

    Probability = 380 / 400 = 19 / 20 = 0.95.

Answer: 19/20 = 0.95.

A video solution is available for this question โ€” log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir

Loading lessonโ€ฆ