Maths doubt, JEE
What are one-one and onto functions? How many of each are there?
Answer: A function is one-one (injective) if different inputs give different outputs, and onto (surjective) if every element of the codomain is an output. From a set of elements to a set of elements there are functions and, when , one-one functions.
Why
One-one test: must force ; or a horizontal line cuts the graph at most once; or is strictly increasing or strictly decreasing.
Onto test: the range must equal the codomain.
Number of onto functions from to elements (): . For it is .
A function that is both one-one and onto is a bijection; it exists only when , and there are of them. Only a bijection has an inverse.
Exam tip
from to is neither one-one nor onto, but from to it is both. Always read the domain and codomain given in the question.
Previous year questions on this
- One-one and onto functions: JEE Main PYQ with solutions 21 questions
- Functions: all JEE Main PYQ, topic-wise 210 questions
More maths doubts
What are the greatest integer function and the fractional part function?How to find the domain and range of a function?What are even, odd and periodic functions?What are the domain and range of inverse trigonometric functions?How to find the inverse of a matrix using the adjoint?What are the main properties of determinants?All maths doubts