Finding the Inverse of an Invertible Function
On this page· 13 sections
Source & scope. Class 12 Mathematics, Chapter 1 Relations and Functions, Section 1.4, Example 17. Builds on: Invertible Functions and the Link to Bijectivity. This is the final article in the four-part composition/invertibility sequence.
Source & scope. Class 12 Mathematics, Chapter 1 Relations and Functions, Section 1.4, Example 17. Builds on: Invertible Functions and the Link to Bijectivity. This is the final article in the four-part composition/invertibility sequence.
To find the inverse of an invertible function f, set y = f(x), solve algebraically for x in terms of y to get a candidate inverse g, and then verify that both gof equals the identity on the domain and fog equals the identity on the codomain before declaring g = f⁻¹. NCERT's worked example constructs the inverse of f(x) = 4x+3 this way, obtaining f⁻¹(y) = (y−3)/4, and the same three-step method applies to any invertible function given by a formula.
At a glance
- The 3-step method: (1) set y = f(x) and solve for x in terms of y; (2) define the candidate inverse g (or f⁻¹) by that formula; (3) verify BOTH gof = identity and fog = identity.
- NCERT's Example 17: f:N→Y, f(x) = 4x+3 where Y = {y∈N : y = 4x+3 for some x∈N}; solving y = 4x+3 for x gives x = (y−3)/4, so f⁻¹(y) = (y−3)/4.
- Step 3 (verification) is the rigorous justification and is often skipped by students — but without it, the "candidate inverse" from Step 1 is unconfirmed.
- Verification for Example 17: gof(x) = ((4x+3)−3)/4 = x for all x∈N, and fog(y) = 4·((y−3)/4)+3 = y for all y∈Y — both check out.
- The same method applies to any invertible formula-defined function, such as f(x) = 2x−5 on R.
Learning objectives
- State and apply the 3-step method for finding the inverse of an invertible function.
- Reproduce NCERT's Example 17 construction of f⁻¹ for f(x) = 4x+3, including both verification steps.
- Explain why the verification step (checking both gof = I and fog = I) is necessary and not optional.
- Apply the same method independently to a new invertible function.
Prerequisite knowledge
The reader should already know Definition 9 of an invertible function (gof = I_X and fog = I_Y) and the invertible-⟺-bijective theorem from the previous article, and should be comfortable with basic algebraic manipulation (solving a linear equation for one variable in terms of another).
Core explanation
NCERT's Example 17: f(x) = 4x + 3
Let f:N→Y be defined by f(x) = 4x+3, where Y = {y∈N : y = 4x+3 for some x∈N} — that is, Y is exactly the set of values f actually produces. The goal is to show f is invertible and to find its inverse.
Step 1 — solve y = f(x) for x. Take an arbitrary y∈Y. By the definition of Y, y = 4x+3 for some x∈N. Solving this equation for x:
y = 4x+3 ⟹ y−3 = 4x ⟹
Step 2 — define the candidate inverse. Define g:Y→N by This is the candidate for f⁻¹, built directly from the algebra in Step 1.
Step 3 — verify both compositions equal the identity. This is the step that turns a candidate formula into a confirmed inverse.
Verify gof = I_N. For any x∈N:
gof(x) = g(f(x)) = g(4x+3) = ((4x+3)−3)/4 = (4x)/4 =
This holds for every x∈N, so gof = I_N.
Verify fog = I_Y. For any y∈Y:
fog(y) = f(g(y)) = f((y−3)/4) = 4·((y−3)/4)+3 = (y−3)+3 =
This holds for every y∈Y, so fog = I_Y.
Conclusion. Since gof = I_N and fog = I_Y, f is invertible by Definition 9, and its inverse is
Why Step 3 cannot be skipped
Steps 1 and 2 produce a formula by purely algebraic manipulation — they show what x would have to be if y = f(x), assuming such an x exists and the manipulation is reversible. But algebra alone does not automatically guarantee that the resulting g actually satisfies Definition 9's two composition conditions; it is possible, especially for less straightforward functions (e.g., ones involving squares, absolute values, or restricted domains), for a naive "solve for x" step to produce a formula that fails to invert f correctly everywhere, or that silently assumes f is one-one and onto without checking. Explicitly verifying gof = I_X and fog = I_Y is therefore the rigorous justification that the candidate from Steps 1–2 is genuinely the inverse — exactly the two conditions Definition 9 requires, as established in the previous article.
The reusable 3-step method
Generalising NCERT's worked example gives a method that applies to any invertible function f given by a formula:
- Set y = f(x) and solve algebraically for x in terms of y.
- Define the candidate inverse g (or f⁻¹) by that formula.
- Verify BOTH gof = identity on the domain AND fog = identity on the codomain before declaring f invertible with that inverse.
Key terms
- Candidate inverse — the function obtained by solving y = f(x) for x, before it has been verified to satisfy Definition 9.
- — the confirmed inverse of f(x) = 4x+3 found in NCERT's Example 17.
- Verification step — checking gof = I_X and fog = I_Y, the rigorous confirmation that a candidate inverse is genuinely the inverse.
- 3-step method — solve for x, define g, verify both compositions equal the respective identity functions.
Diagram / figure guidance
Draw a number-line-style flow diagram: a box labelled "x∈N" with an arrow labelled "f: multiply by 4, add 3" pointing to a box labelled "y = 4x+3∈Y," then a return arrow labelled "g: subtract 3, divide by 4" pointing back to the original "x∈N" box, explicitly annotated "back to the same x — confirms gof = I_N." Mirror this with a second diagram starting from y to confirm fog = I_Y.
Worked example
Apply the 3-step method to f:R→R, f(x) = 2x − 5. Show f is invertible and find f⁻¹.
Step 1 — solve y = f(x) for x. y = 2x−5 ⟹ y+5 = 2x ⟹
Step 2 — define the candidate inverse. Define g:R→R by
Step 3 — verify both compositions.
gof(x) = g(f(x)) = g(2x−5) = ((2x−5)+5)/2 = (2x)/2 = x = I_R(x) for all x∈R. ✓
fog(y) = f(g(y)) = f((y+5)/2) = 2·((y+5)/2) − 5 = (y+5) − 5 = y = I_R(y) for all y∈R. ✓
Conclusion. Both gof = I_R and fog = I_R hold, so f(x) = 2x−5 is invertible, and
Common misconceptions
- "Solving y = f(x) for x automatically gives the inverse — no further check is needed." This is the step students most often skip; Step 3 (verifying both gof = I and fog = I) is the actual justification that the algebraic candidate is a genuine inverse, and omitting it is only safe for extremely simple cases where it is obvious.
- "You only need to check one of gof = I or fog = I, not both." Definition 9 requires both; checking only one does not confirm g undoes f in both directions.
- "f⁻¹(y) means 1 divided by f(y)." No — f⁻¹ is notation for the inverse function, not the reciprocal of f; f⁻¹(y) = (y−3)/4 is a completely different expression from 1/f(y) = 1/(4y+3).
- "The variable name in f⁻¹ must be x, not y." The variable name is a free choice — f⁻¹(y) = (y−3)/4 and f⁻¹(x) = (x−3)/4 describe the identical inverse function; NCERT uses y here because y was the output variable being solved for.
Exam application (JEE)
JEE regularly asks students to find f⁻¹ explicitly for a given invertible function, most often a linear or simple algebraic formula, and full marks typically require showing the solve-for-x step clearly rather than just stating the final formula. When a question also asks to "verify" or "prove" f⁻¹ is correct, the expected answer is exactly the two composition checks (gof = I_X and fog = I_Y) demonstrated above — stating the formula alone without this verification is often only partial credit. Recognising that this 3-step method works uniformly across different formulas (linear, as shown here, and more complex ones in harder problems) makes it a reliable, memorisable exam procedure.
Frequently asked questions
- How do you find the inverse of a function? Set y = f(x), solve algebraically for x in terms of y to get a candidate formula, then verify that composing it with f in both orders gives the respective identity functions before confirming it as f⁻¹.
- What is the inverse of f(x) = 4x+3? f⁻¹(y) = (y−3)/4, found by solving y = 4x+3 for x and verified by NCERT's Example 17 to satisfy both gof = I_N and fog = I_Y.
- Why must both gof = I_X and fog = I_Y be checked when finding an inverse? Because Definition 9 of an invertible function requires both conditions together; checking only one does not fully confirm the candidate function reverses f in both directions.
- Is finding f⁻¹ the same as proving f is invertible? They are related but distinct: proving f is bijective is enough to conclude f is invertible (previous article), while explicitly constructing and verifying f⁻¹'s formula is the separate, concrete task covered here.
- What is the inverse of f(x) = 2x − 5? f⁻¹(y) = (y+5)/2, obtained by solving y = 2x−5 for x and confirmed by checking gof = I_R and fog = I_R.
Practice questions (original practice questions)
- For f:R→R, f(x) = 3x+6, the inverse f⁻¹(y) equals:
- (a) (y−6)/3
- (b) (y+6)/3
- (c) 3y−6
- (d) y/3 − 6
- Answer: (a) — Solving y = 3x+6 for x: x = (y−6)/3.
- For f(x) = 4x+3 (NCERT's Example 17), gof(x) simplifies to:
- (a) 4x+3
- (b) x
- (c) (x−3)/4
- (d) 4x
- Answer: (b) — gof(x) = g(4x+3) = ((4x+3)−3)/4 = x, confirming gof = I_N.
- Which step in finding an inverse is most often skipped by students, despite being the rigorous justification?
- (a) Setting y = f(x)
- (b) Solving for x
- (c) Verifying both gof = I and fog = I
- (d) Naming the inverse f⁻¹
- Answer: (c) — The verification step confirms the algebraic candidate is a genuine two-sided inverse.
- For f(x) = 2x − 5, fog(y) equals:
- (a) y
- (b) 2y−5
- (c) (y+5)/2
- (d) y−5
- Answer: (a) — fog(y) = f((y+5)/2) = 2·(y+5)/2 − 5 = y+5−5 = y, confirming fog = I_R.
- If g is proposed as the inverse of f but only gof = I_X can be verified (fog = I_Y cannot), what should be concluded?
- (a) g is confirmed as f⁻¹ regardless
- (b) g is not yet confirmed as a full inverse, since Definition 9 requires both conditions
- (c) f is not a function
- (d) gof = I_X alone always implies fog = I_Y
- Answer: (b) — Both composition conditions must hold for g to be confirmed as f⁻¹.
Quick revision
- 3-step method: (1) set y = f(x), solve for x; (2) define candidate g by that formula; (3) verify gof = identity AND fog = identity.
- NCERT Example 17: f(x) = 4x+3 ⟹ f⁻¹(y) = (y−3)/4, verified by gof(x) = x and fog(y) = y.
- Step 3 (verification) is the rigorous justification — never skip it even when the algebra in Steps 1–2 looks obviously correct.
- Original example: f(x) = 2x−5 ⟹ f⁻¹(y) = (y+5)/2, verified the same way.
- f⁻¹ is inverse-function notation, not a reciprocal — f⁻¹(y) ≠ 1/f(y).
Related articles
- Builds on: Invertible Functions and the Link to Bijectivity
- See also: Composition of Functions (gof), Composition of Functions Is Not Commutative (gof ≠ fog), Bijective Functions (One-One and Onto)
- Related topics: Counting Relations on a Finite Set with Given Properties, Empty Relation on a Set, Equivalence Classes and Partition of a Set, Equivalence Relation — Definition and How to Prove One, Intersection of Two Equivalence Relations Is an Equivalence Relation, Many-One Functions