Types of Functions
The definitions
A function is one-one (injective) if different inputs always give different outputs, and onto (surjective) if every element of the codomain is hit. A function that is both is bijective, which is exactly the condition for it to be invertible.
Worked example: checking one-one and onto
Let with for odd and for even . Since , is not one-one. For any , , so is onto.
Worked example: restricting the domain
on is not one-one, because . Restricted to , different inputs give different squares, so it is one-one, and as a map onto it is bijective, with inverse .
Worked example: finding an inverse
For , with the range, complete the square: . Since on , solving is reversible:
Check: , and .
Worked example: a reflection is an inverse
For with , the reflection of its graph in is the inverse: , so .
Counting functions between finite sets
From a set of 3 elements to a set of 4, each input has 4 choices, so there are functions, of which are one-one. From a 4-element set onto a 3-element set, inclusion and exclusion gives onto functions.
Worked example: a linear function
Show that , is bijective and find its inverse.
Solution: If then , so is one-one. For any real , is real and , so is onto. Hence . The same argument works for any with .
Common mistakes
- Ignoring the codomain. Whether is onto depends on the stated codomain, not just the formula.
- Inverting a function that isn't one-one. Restrict the domain first.
- Taking both square roots when inverting. The domain decides which sign is correct.
Where this comes up in exams
The 2025-26 CBSE Class XII syllabus lists one to one and onto functions. JEE Main 2026 lists one-one, into and onto functions and the composition of functions, and JEE Advanced 2026 lists invertible functions and into, onto and one-to-one functions.
Checked against CBSE Mathematics curriculum, Classes XI-XII (2025-26), JEE (Main) 2026 syllabus (NTA) and JEE (Advanced) 2026 syllabus. Syllabi can change from year to year, so confirm with the latest official notification for your exam.
- Fit it into your week with the free timetable generator.
- Mark it off as you revise in the syllabus tracker.
- See how long you have left: JEE Main 2027 (Session 1) countdown and JEE Advanced 2027 countdown.