NDA Maths · Functions
What a Function Is, and How to Classify It
A function assigns each input exactly one output; classifying it as one-one, onto, or bijective is about how inputs and outputs are paired.
Why this matters
Eight PYQs, all EASY–MODERATE — the vocabulary the rest of the chapter is built on. The bank tests three things: whether a given rule even is a function (the vertical-line / well-defined test), whether it is one-one and/or onto, and how to count functions of a given type. Get the definitions exact and these are free marks; blur 'onto' and 'into' and you lose them.
Concept 1 of 4: Domain, codomain, range — the vocabulary
Definition
For :
- Domain : the set of all valid inputs.
- Codomain : the declared target set.
- Range : the set of values actually taken. Always .
- Image of is ; pre-image of is any with .
Worked example
Practice this concept4 quick reps
Concept 2 of 4: Is it a function? Well-defined and the vertical-line test
Definition
is a function iff for every there is one and only one with . Failures: a value with no output (gap in domain) or a value with two outputs (relation, not a function). A piecewise rule must agree at the join to stay well-defined.
Worked example
The same idea in a real exam question:
Example 2 · Functions · Function Definition and Classification — Injectivity, Surjectivity, Bijectivity
Piecewise rules must agree at the boundary
Concept 3 of 4: One-one, onto, and bijective
Definition
- Injective: (equivalently, every horizontal line meets the graph at most once).
- Surjective: range codomain, i.e. every has a pre-image.
- Bijective: injective and surjective. Only bijections have an inverse.
- Monotonic ⇒ injective: a strictly increasing or strictly decreasing function is automatically one-one — the fastest injectivity test. If it is also onto its codomain, it is a bijection. (You can often see monotonicity directly, without calculus: is then , both increasing and meeting at 0, so it is strictly increasing and one-one.)
Onto depends on the codomain you declare — shrinking the codomain to the range makes any function onto.
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 3 · Functions · Function Definition and Classification — Injectivity, Surjectivity, Bijectivity
'Onto' is not absolute — it depends on the codomain
A non-monotone function usually fails one-one (and often onto)
Concept 4 of 4: Counting functions of a given type
Definition
Let , .
- All functions : (each of inputs has choices).
- One-one (needs ): .
- Onto (general): inclusion–exclusion, ; for it is , for it is (so onto maps from a 4-set to a 3-set). Needs ; when onto = one-one = .
Number of functions A → B
Worked example
Practice this concept4 quick reps
The same idea in a real exam question:
Example 4 · Functions · Function Definition and Classification — Injectivity, Surjectivity, Bijectivity
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 (1)
- Counting functions of a given type
Number of functions A → B
Watch out for (3)
- Piecewise rules must agree at the boundary→ Is it a function? Well-defined and the vertical-line test
- 'Onto' is not absolute — it depends on the codomain→ One-one, onto, and bijective
- A non-monotone function usually fails one-one (and often onto)→ One-one, onto, and bijective
Test yourself on Functions
20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.