Functions and invertibility
A relation earns the name "function" only by keeping one promise: every input produces exactly one output. Once that promise holds, a sharper question follows — can the function be undone? Given an output, can you always recover the unique input that produced it? That question is the heart of Unit 1's second strand in ISC Class 12 Mathematics, worth 10 of 65 Section-A marks. It forces a precise vocabulary — one-one, onto, into, bijective — because "undoing" a function only works when every output is hit exactly once. This article builds that vocabulary from the definition of a function upward, proves the single clean rule that decides invertibility, and works two contrasting examples: one function that is invertible everywhere, and one that becomes invertible only after its domain and codomain are trimmed. The scope here stays strictly algebraic; inverting trigonometric, exponential or logarithmic functions belongs to a separate topic.
A function is invertible exactly when it is a bijection — simultaneously one-one and onto — and its inverse is found algebraically by solving for and swapping variable names.
The core idea
A function is a relation from to in which every element of is linked to exactly one element of . is the domain, is the codomain, and the range is the actual set of outputs achieved, which may be a proper subset of . Four labels classify how a function behaves between its domain and codomain:
- One-one (injective): distinct inputs always give distinct outputs — forces .
- Many-one: the opposite — at least two distinct inputs share one output.
- Onto (surjective): every element of is hit by some input, so the range fills the whole codomain.
- Into: the opposite — some element of is never reached.
A function that is one-one and onto at once is a bijection, and bijection is precisely the condition for invertibility. When is a bijection, define its inverse by reversing every arrow:
where: , , and is itself a genuine function only because bijectivity guarantees each has exactly one such . The inverse satisfies for every and for every — applying then , or then , always returns you to the start.
A fast algebraic test for one-one: show that forces , or equivalently confirm is strictly monotonic (always increasing, or always decreasing) across its whole domain — a strictly monotonic function can never repeat an output.
Finding the inverse of an algebraic bijection
The goal of this derivation is to establish, for the concrete linear function given by , both that it satisfies the bijection condition required for invertibility and the explicit algebraic formula for , using only the definitions of one-one and onto stated above.
Step 1. Prove one-one. Assume for some . Then , so , so . Since the assumption of equal outputs forced equal inputs, is one-one.
Step 2. Prove onto. Take an arbitrary in the codomain . We need some with . Setting and solving gives , which is a real number for every real . So every element of the codomain is actually reached, and is onto.
Step 3. Conclude invertibility. Since is both one-one and onto, it is a bijection, so it is invertible by the definition stated in the core idea above.
Step 4. Extract the inverse formula. Write and solve for in terms of , exactly as in Step 2: . To present the inverse as a function of its own input variable, swap the names and :
Checking, , confirming the round trip returns the original input.
Worked example
Let be . Decide whether is invertible, and if not, find a restriction that makes it invertible.
Step 1. Test one-one on . Take and . Then even though , so is not one-one — it is many-one.
Step 2. Test onto on . Take in the codomain. No real satisfies , so is not onto — it is into. So is neither one-one nor onto, hence not invertible.
Step 3. Restrict to , . For , if then ; since both are non-negative, either both are zero or forces — either way , so is one-one. For any , satisfies , so is onto.
Step 4. Conclude. is a bijection, hence invertible, and solving for gives , so for . The same formula that failed to be invertible on all of becomes invertible once domain and codomain are restricted.
Common traps
- Writing down an algebraic "inverse formula" without first checking that is actually a bijection on the stated domain and codomain — a formula that looks valid can still be meaningless outside a restricted range.
- Confusing "into" (range is a proper subset of the codomain) with "not a function" — an into function is still a perfectly valid function, just not onto.
- Classifying a function as one-one or onto without stating domain and codomain — as shows, the same rule can flip its verdict depending on what sets are chosen.
- Applying the horizontal-line test backwards: one-one fails when a horizontal line crosses the graph more than once, onto fails when a horizontal line at some codomain height never meets the graph at all.
Ask the tutor: Not sure whether a given algebraic function is one-one, onto, or invertible on its stated domain — ask the AI tutor to walk through the check with you step by step.
Why does invertibility require both one-one and onto, not just one of them?
The inverse must itself be a function, and a function requires every input to give exactly one output. If f is many-one, two different inputs share an output value b, so f-inverse of b would have to point to two different places at once — not a function. If f is into, some element of the codomain is never produced by f, so f-inverse would have no defined value there at all. Bijectivity is exactly what rules out both failures simultaneously.
If f of x equals x squared is not invertible, why do calculators and formulas casually use square root as its inverse?
Square root is the inverse of x squared only once the domain and codomain are restricted to non-negative numbers, as the worked example shows. On the full real numbers, x squared is many-one (2 and negative 2 both map to 4) and into (negative numbers are never reached), so no true inverse function exists there. The convention of taking the positive square root is a choice to work with the restricted, genuinely invertible version, not a property of the unrestricted function.
Is checking one-one and onto separately actually necessary, or can I just try to solve y equals f of x for x and call that the inverse?
Being able to solve y equals f of x for x is necessary but not sufficient. For f of x equals x squared, solving gives x equals plus or minus the square root of y — but that is not a single-valued function, precisely because f was many-one. Only when the algebra yields one and only one value of x for each y in the codomain, which is exactly what one-one and onto together guarantee, does the solved expression qualify as a genuine inverse function.