JEE Mains Maths · Relations and Functions
Counting Functions
Counting functions between finite sets: all functions, one-one functions, functions with conditions on some values, and onto functions by inclusion–exclusion.
Why this matters
Nineteen PYQs. Most count all functions or one-one functions, often after a condition fixes a few values; the rest count onto functions, which is the same as sharing distinct objects so that everyone gets at least one. Two ideas cover the page.
Concept 1 of 2: Counting all functions and one-one functions
Definition
- All functions: .
- One-one: (none if ).
- Many-one: .
- Conditions: (choices for the constrained elements) (free choices).
One-one functions
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Relations and Functions · Counting Functions
More inputs than outputs
Concept 2 of 2: Counting onto functions
Definition
- Onto: .
- : . : .
- None if . Not onto = all − onto.
Onto functions
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 2 · Relations and Functions · Counting Functions
Add back the double-counted
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (2)
- Counting all functions and one-one functions
One-one functions
- Counting onto functions
Onto functions
Watch out for (2)
- More inputs than outputs→ Counting all functions and one-one functions
- Add back the double-counted→ Counting onto functions
Test yourself on Relations and Functions
20 past JEE Mains questions from this chapter, timed at 48 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.