CBSE Class 12 Maths · Relations and Functions
Composition of Functions and Invertible Functions
The composite gof (apply f, then g), invertible functions and how to find an inverse, and the sum of two functions with its domain.
Why this matters
4 questions, one of them from a board paper. The present NCERT book teaches composition and invertible functions briefly, through three examples and no exercise, and none of this chapter's board questions from 2023 to 2026 is set on them. The one board question here is a 2025 assertion-reason item on the domain of the sum of two functions.
Concept 1 of 3: Composition of two functions
Definition
- Let and . The composition of f and g, written gof, is the function given by for all .
- In gof, f acts first and g second.
- In general : one value of x where they differ is enough to show it.
- For a function given by a table of values, work out for each element of A in turn.
Composite function
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a textbook question:
Example 1 · Relations and Functions · Composition and Invertible Functions
Doing g first in gof
Assuming gof and fog are equal
Concept 2 of 3: Invertible functions and the inverse
Definition
- A function is invertible if there is a function with and . Then g is the inverse of f, written .
- If f is invertible, f is one-one and onto; conversely, if f is one-one and onto, f is invertible.
- To find the inverse: put , solve for x, and define by that expression.
- Then check both: for all x in X and for all y in Y.
Inverse of f
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a textbook question:
Example 2 · Relations and Functions · Composition and Invertible Functions
Checking only one composition
Inverting a function that is not one-one and onto
Concept 3 of 3: The sum of two functions and its domain
Definition
- , and the domain of is .
- This domain rule comes from Class 11. The present Class 12 book uses sums of functions only in two examples ( and on are one-one but their sum is not; the identity function on N is onto but its double is not) and does not teach the domain rule again. Board 2025 asked it once, as an assertion-reason item.
- Assertion-reason codes in Maths papers: (A) both true and R explains A; (B) both true and R does not explain A; (C) A true, R false; (D) A false, R true.
Domain of a sum
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a real exam question:
Example 3 · Relations and Functions · Composition and Invertible Functions
Taking the union of the domains
Reading (D) as 'both false'
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 (3)
- Composition of two functions
Composite function
- Invertible functions and the inverse
Inverse of f
- The sum of two functions and its domain
Domain of a sum
Watch out for (6)
- Doing g first in gof→ Composition of two functions
- Assuming gof and fog are equal→ Composition of two functions
- Checking only one composition→ Invertible functions and the inverse
- Inverting a function that is not one-one and onto→ Invertible functions and the inverse
- Taking the union of the domains→ The sum of two functions and its domain
- Reading (D) as 'both false'→ The sum of two functions and its domain
Test yourself on Relations and Functions
15 past CBSE Class 12 questions from this chapter, timed at 23 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.