Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Composition of Functions and Inverse of a Function

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon
SearchIcon

Composite Function Definition

What is a composite function? Well, a composite function is usually composed of other functions such that the output of one function is the input of the other function. In other words, when the value of a function is found from two other given functions by applying one function to an independent variable and the other to the result of the other function whose domain consists of those values of the independent variable for which the result yielded by the first function lies in the domain of the second.

Example: Two functions - 3y+5 and y2 together forms a composite function which can be written as (3y+5)2

Explanation of Composition Functions

To form a composite function by a composition of two other functions we need to take two functions say g(x) = \[x^{2}\] and f(x) = x+5. Now, we need to put one function inside the other function so here we can put f(x) into g(x) to form a new function, called their composition.


As mentioned above, to form composite functions we need to insert one function into another. Here f(x) can be plugged into g(x) to form a function g(f(x)). We know that f(x) = x + 5, thus we can substitute the function in. Therefore, g(f(x)) = g(x + 5). Knowing the fact that g(x) = \[x^{2}\] we can insert the function and evaluate g(x + 5) = \[(x + 5)^{2}\]. Therefore, g(f(x)) = g(x + 5) = \[(x + 5)^{2}\] .

For practice, download composition of functions examples with answers pdf. By downloading composition of functions examples with answers pdf, you will have enough composite functions questions for practising. 

Composite Functions Properties

There are four major properties of a composite function:

Property 1:  Composite functions are not commutative

                                 gof is not equal to fog

Property 2: Composite functions are associative

                   (fog)oh = fo(goh)

Property 3:  A function f: A -B and g: B-C is one-one then gof: A-C is also one-one.

Property 4: A function f: A-B and g: B-C is onto then gof: A-C is also onto.

What is Inverse Function? 

An inverse function is a function, which can reverse into another function. In other words, if any function “f” takes p to q then, the inverse of “f” i.e. “f-1” will take q to p.  A function accepts a value followed by performing particular operations on these values to generate an output. If you consider functions, f and g are inverse, then f(g(x)) is equal to g(f(x)) which is equal to x. 


Given below are the detailed summary of the Composition and inverse relation with examples:

Composite and Inverse Functions

Function

Inverse Function

Composite Function

Definition

In mathematics, a function, a, is defined as an inverse of another, b, if the output of b is given, a, returns the input value that was given to b. Also, it must be true for every element in the domain as well as the co-domain(range) of b. In other words, assuming p and q are constants if b(p) = q and a(q) = p then the function a will be called an inverse of the function b.

A function whose input is another function is called a composite function.. So, if we have two functions A(x), which draws elements from set B to set C, and D(x), which draws from set C to set E, then the composite of these two functions, will be written as DoA, which is a function that draws elements from B to E i.e. DoA is equal to D(A(x)).

Examples

Example of Inverse Function –

Consider the functions a(x) = 5x + 2 and b(y) = (y-2)/5. Here function b is an inverse function of a.This is visible by inserting values into the functions. For example when x is 1 the output of a is a(1) = 5(1) + 2 = 7. Using this output as y in function b gives b(7) = (7-2)/5 = 1 which was the input value to function a.


For example consider the functions A(x) = 5x + 2 and B(x) = x + 1. The composite function AoB = A(B(x)) = 5(x+1) + 2.


Properties

Listed below are some of the properties of Inverse Functions:

Two functions f and g will be referred to as an inverse of each other if:

  • Both f and g are one to one functions. In one to one functions, each value is mapped in their domain to exactly one value in the co-domain(range). Here is an example of a One to One function: f(x) = x

  • The co-domain(range) of one function(f) is the domain of another function(g) and vice versa

Note: Some functions are invertible only for a set of specific values in their domain. By chance, if both the range as well as the domain of the inverse function are restricted to only those values.


Listed below are some properties of Composite Functions:

Composite functions consist of the following properties:

  • Given that the composite function is fog = f(g(x)) the co-domain of g has to be a subset, i.e. either proper or improper subset, of the domain of f

  • Composite functions are always associative. Given that the composite function is a o b o c then the order of operation will be irrelevant i.e. (a o b) o c is equal to a o (b o c).

  • Composite functions  cannot be commutative. So AoB is not equal  to BoA. Using the example A(x) = 5x + 2 and B(x) = x + 1 AoB = A(B(x)) = 5(x+1) + 2 while BoA = B(A(x)) = (5x + 2) + 1.




Solved Examples

Question 1) Let f(x) = \[x^{2}\] and g(x) = \[\sqrt{1 - x^{2}}\] Find (gof)(x) and (fog)(x).

Solution 1) (gof)(x) = g(f(x)) = g(\[x^{2}\]) = \[\sqrt{1 - (x^{2})^{2} = \sqrt{1 - x^{4}}}\]



(fog) (x) = f(g(x)) = f (\[\sqrt{1 -x^{2})}\] = 1 -\[(x^{2})^{2}\] = 1 - \[x^{2}\] 


Question 2)  If f(x) =\[x^{2}\] , g(x) = \[\frac{x}{3}\]  and h(x) = 3x+2 . Find out fohog(x).

Solution 2) h(g(x)) = 3 \[\left ( \frac{x}{3} \right )\] + 2 = x + 2 

fohog(x) = f [h(g(x))]  = \[(x + 2)^{2}\]

Therefore this is the required solution.

FAQs on Composition of Functions and Inverse of a Function

1. What is the meaning of the composition of two functions in mathematics?

The composition of two functions means applying one function to the result of another function. Specifically, if you have functions f(x) and g(x), their composition is written as (fog)(x) = f(g(x)). Here, g(x) is applied first, and its output is used as the input for f(x). This process helps in analysing complex relationships by combining simpler functions as per CBSE 2025–26 syllabus.

2. How can you find the inverse of a function, and which functions are invertible?

To find the inverse of a function, you swap the roles of the input and the output in the function equation and solve for the new output. A function is invertible if it is both one-to-one (each input has a unique output) and onto (every value in the codomain is covered). Continuous and strictly monotonic functions are typically invertible, as required in the CBSE Class 12 Maths syllabus.

3. Why is the order of composing functions important, and is composition commutative?

The order of composing functions matters because composition is not commutative. That is, f(g(x)) is usually not equal to g(f(x)), since the output of one function becomes the input for the other. This difference is essential when solving problems involving multiple functions in the CBSE board exams.

4. Can you provide a step-by-step example of evaluating a composite function?

Yes, consider f(x) = x + 4 and g(x) = 2x. To find (fog)(3):

  • First, calculate g(3) = 2 × 3 = 6
  • Then, apply f to this result: f(6) = 6 + 4 = 10

Therefore, (fog)(3) = 10. This step-by-step approach matches CBSE's recommended method for 2025–26.

5. What are the key properties of inverse functions that students must remember?

The main properties of inverse functions are:

  • If f and g are inverses, f(g(x)) = g(f(x)) = x
  • An inverse function exists only if the original function is both one-to-one and onto
  • The graph of a function and its inverse are reflections about the line y = x

These concepts are fundamental in CBSE Class 12 Maths exams.

6. How are composite and inverse functions applied in real-world or interdisciplinary contexts?

Composite and inverse functions are used in various fields like physics (solving equations for time, distance, speed), economics (demand-supply functions and their inverses), and engineering (signal processing). For example, solving for the initial input given an output often involves using an inverse function. Such applications are relevant in CBSE's applied mathematics syllabus.

7. What common mistakes should students avoid while working with the composition and inverses of functions?

Common mistakes include:

  • Reversing the order of composition (f(g(x)) vs. g(f(x)))
  • Assuming all functions have inverses without checking for one-to-one correspondence
  • Not properly considering the domain and codomain restrictions for composite functions

Careful attention is required as per CBSE 2025–26 board exam expectations.

8. How can you visually distinguish between one-to-one and many-to-one functions when preparing for board exams?

On a graph, a one-to-one function will never intersect a horizontal line more than once (passes the Horizontal Line Test). In contrast, a many-to-one function will have at least one horizontal line cutting the graph at multiple points. Understanding this helps in correctly identifying invertible functions for CBSE board exams.

9. Why does CBSE focus on the associativity property of composite functions in the syllabus?

CBSE highlights the associativity property because it ensures that grouping of functions during composition does not affect the final result, i.e., (f◦g)◦h = f◦(g◦h). This underpins advanced function manipulation and is essential for higher-level mathematics, ensuring students build a solid foundation in function operations for the 2025–26 exams.

10. How can mastering the composition and inverse of a function improve problem-solving in calculus and algebra?

Mastering these concepts allows students to simplify complex expressions, solve equations efficiently, and understand function behaviors more deeply. For instance, many calculus techniques (like substitution in integrals) rely on function composition and inversion, which is why these are emphasized in the CBSE Class 12 Maths curriculum for 2025–26.