Composition of Functions: Definition, Domain, Range, Examples, Relations & functions Class 12 Math Chapter 1 Notes Study Material Download free pdf

What is the Composition of Functions?

Composition of function is the building of the complex function using the simple function. Suppose we take two functions f(x) and g(x) which both take x as input values and give the specific output than the composition of function f(x) and g(x) when f(x) is first computed is, g(f(x)) of (g∘f)(x). We can understand this concept by the following example,

Example: If, f(x) = x2 and g(x) = x + 3. Then calculate the composition g(f(x)) and f(g(x)). 

Solution:

g(f(x)) = g(x2) = x2 + 3

Similarly, we can easily calculate the f(g(x)) or (f∘g)(x) where g(x) is computed first.

f(g(x)) = f(x + 3) = (x + 3)2

Notice that g(f(x)) is not equal to f(g(x)) they can or can not be equal depending on the function f(x) and g(x). The composition of a function is also called the function of a function. Thus, we can say that,

  • For f(g(x)), g(x) is the input of the function f(x).
  • For g(f(x)), f(x) is the input of the function g(x).

We can understand this concept with the help of the image discussed below,

Composition of Functions

Symbol of Composition of Functions

The composition of functions is represented using the symbol . We can also represent the composition of functions by simply using the parenthesis (). For any two given functions f(x) and g(x) we can find the composition of the function by using the formula,

(f∘g)(x) = f(g(x))

The above function is read as “f of g of x”. Here, first x is passed to g(x) which gives the answer in x and then the answer is passed to f(x) to find the desired composition of function.

(g∘f)(x) = g(f(x))

The above function is read as “g of f of x”. Here, first x is passed to f(x) which gives the answer in x and then the answer is passed to g(x) to find the desired composition of function.

How to Solve Composite Functions?

Composite functions or the Composition of functions can easily be solved with the help of basic mathematics rules (BOADMAS). For any composite function, we first simplify the value inside the bracket and then the answer of the function is used as the input value for the second function. As we see here the order of the operation is very important and solving the question in the wrong order may result in the wrong answer.

For any two given functions f(x) and g(x), the composite function f(g(x)) and g(f(x)) is found using the following steps,

  • For f(g(x)), we first find the g(x) and then substitute its value as input to f(x) and then find f(g(x))

Similarly, we can find the g(f(x)) as,

  • For g(f(x)), we first find the f(x) and then substitute its value as input to g(x) and then find g(f(x))

This can be easily understood with the help of an example

Example: If f(x) = x + 2 and g(x) = (2x)2 find, f(g(x)) and g(f(x))

Solution:

For f(g(x))

Given, g(x) = (2x)2 = 4x2

Thus, f(g(x)) = f(4x2) = 4x2 + 2

Now for g(f(x))

Given, f(x) = x + 2

Thus, g(f(x)) = (2(x+2))2 = (2x + 4)2

⇒ g(f(x)) = 4x2 + 16 + 8x

Finding Composite Function From Graph

If the functions are not given algebraically and only their graphical value is given then also they can be easily calculated using the graphs given.

To find the composite function of two functions f(x) and g(x) whose graphs are given, then (x, y) is a point on a function f(x) then f(x) = y. We can find f(g(a)) (i.e., f(g(x)) at x = a) using the above information.

Step 1: Firstly find g(a) i.e., the y-coordinate the on the graph of g(x) at x = a

Step 2: Now find f(g(a)) i.e., the y-coordinate on the graph of f(x) at x = g(a))

This can be understood using the image discussed below,

Finding Composite Function From Graph

Finding Composite Function From Table

Composite function or composition of function can also be easily calculated using the table in which the values of the function corresponding to a given input value are given. Let’s find the composite function using the table given below,

Example: From the following tables of f(x) and g(x), find g(f(1)).

For f(x) the table is,

xf(x)
13
24
35

For g(x) the table is,

xg(x)
11
24
39

Solution:

f(1) = 3 (from the first table)

g(f(1)) = g(3) 

Now using the second table we can get the above value.

g(3) = 9

Thus, the required solution for g(f(1)) is 9

Function Composition with Itself (Self Composition)

We can also compose a function with itself and it is called a self-composite function. For any given function f(x) the function composition with itself is f(f(x)) it is also defined as (f∘f)(x). Now,

(f∘f)(x) = f(f(x))

It can be better understood with the help of an example

Example: If f(x) = x3, then find (f∘f)(x).

Solution:

Given: f(x) = x3

(f∘f)(x) = f(f(x))
           = f (x3)
           = (x3)3

(f∘f)(x) = x6

Domain and Range of Composition of Functions

It is not possible to compose any two functions, some functions cannot be composed together, for example, let’s say f(x) = ln(x) and g(x) = -x. If we try to compose f(g(x)), it is not possible for the positive value of x, as the logarithmic function cannot take negative input values, so f(g(x)) is not possible. So, there are certain things that should be kept in mind while deciding on composing the function.

So before composing any two functions first we have to find the domain and range of the function.

Domain of Composite Functions

For any function f(x) and g(x) defined as g: X → Y and f: Y → Z then f(g(x)) is defined as f∘g: X → Z. i.e., the domain of f ∘ g is X and the range is Z. 

If the functions are defined algebraically then also we can easily define their domain. To find the domain of the composite function use the following steps. If we have to find the domain of f(g(x))

Step 1: Firstly we will find the domain of the inner function g(x)

Step 2: Then we find the domain of the function obtained by finding f(g(x))

Step 3: Now the intersection of the domain of g(x) and the domain of f(g(x)) is the domain of f(g(x))

Range of Composite Functions

The range of the composite function does not get affected by the inner function it only depends on the outer function and we can easily find the range of the composite function using normal methods. 

We can easily understand these concepts with the help of the following example.

Example: Find the domain and range of f(g(x)) when f(x) = x+2 and g(x) = x2.

Solution:

For f(g(x)), 

The inner function is g(x) and its domain is A = R

Now f(g(x)) = f(x2)

f(g(x)) = x2 + 2

The domain of x2 + 2 is R (say B)

Now the intersection of A and B is the domain of f(g(x))

Domain of f(g(x)) = A∩B = R

The range of f(g(x)) is the range of x2 + 2

Now the range is [2, ∞)

Properties of Composition of Function

There are various properties of the composition of function, some of those properties are:

  • Associativity Property: For functions f, g, and h, the composition of these functions is associative, if and only if 

(f∘g)∘h = f∘(g∘h)

  • Commutative Property:  Composition for any two functions f and g, is commutative if and only if 

f∘g = g∘f

  • Identity Property: For any function f, the identity function I(x) = x acts as the identity element for composition, meaning 

f∘I = I∘f = f

  • Inverse Property: If a function f has an inverse function f⁻¹, then 

(f∘f⁻¹) = I = (f⁻¹∘f)

Some other properties of the Composition of Functions are:

  • The composition of two or more one-one functions (Injective) is always one-one.
  • The composition of onto functions(surjective) is always onto.
  • Also, the composition of two or more bijections(one-one and onto) is always bijection.
  • The inverse function of the composition of two invertible functions has the property that (f∘g)−1 = g−1∘f−1.

Solved Examples on Composition of Function

Example 1: For the given functions f(x) = ex and g(x) = x2 + 1. Find out the values of f(g(x)) and g(f(x)). 

Solution: 

The domain of both the functions are real numbers, so there is no need to modify the domain for the first function in any case. 

For f∘g(x),

f∘g(x) = f(g(x)) 

⇒ f∘g(x) = f(x2 + 1) 

⇒ f∘g(x) = [Tex]e^{x^2 + 1}[/Tex]

For g∘ f(x) 

g∘f(x) = g(f(x)) 

⇒ g∘f(x) = g(ex

⇒ g∘f(x) = (ex)2 + 1

⇒ g∘f(x) = e2x + 1

Example 2: For the given functions f(x) = 2x and g(x) = x2 + 1. Find out the values of f(g(x)) and g(f(x)) at x = 2. 

Solution: 

The domain of both the functions are real numbers, so there is no need to modify the domain for the first function in any case. 

f∘g(x) = f(g(x)) 

⇒ f∘g(x) = f(x2 + 1) 

⇒ f∘g(x) = 2(x2 + 1) 

At x = 2, 

⇒ f(g(2)) = 2(4 + 1) 
⇒ f(g(2)) = 10

g∘ f(x) = g(f(x))

⇒ g∘f(x) = g(2x) 

⇒ g∘f(x) = (2x)2 + 1

⇒ g∘f(x) = 4x4 + 1

At x = 2 

g(f(2)) = 4(24) + 1 
⇒ g(f(2)) = 4(16) + 1 
⇒ g(f(2)) = 65

Example 3: For the given functions f(x) = sin(x) and g(x) = x2. Find out the domain and range for f∘g(x) and g∘f(x).

Solution: 

f(x) = sin x has domain as all real numbers and range [-1,1]. 

While g(x) = x2 has domain all the real numbers and range R+

f∘ g(x) = f(g(x)) = f(x2) = sin(x2)

Domain is all real numbers, the range is [-1,1]

g∘ f(x) = g(f(x) = g(sinx) = sin2x

Domain is all real numbers, the range is between 0 and 1. 

Example 4: For the given functions f(x) = log(x) and g(x) = x + 1. Find out the values of f(g(x)).

Solution: 

Domain of f(x) is all positive numbers i.e R+ and range is all real numbers. 

Domain and range for g(x) is all real numbers. 

f(g(x)) = f(x+1) = log(x+1)

While doing this, the domain of f(x) must be kept in mind as it is logrethmic function it only takes positive values.

x + 1 > 0 

x > -1

So, 

  • Domain is (-1, ∞)
  • Range is all real numbers (R)

FAQs on Composition of Functions

What is a Composite Function?

When two functions f(x) and g(x) are combined to form a single function we called that a composite function. It is represented as f(g(x)) and g(f(x)).

Define the composition of functions.

The composition of functions is a mathematical operation that combines two functions to create a new function. 

How do you find the Composition of Functions?

The composition of any function is found by solving the bracket in the order of BODMAS and then taking the output of the first function as the input of the second function.

How to find the Domain of a Composite Function?

The domain of the composite function is the values we take as the input in the composite function it is the intersection of the domain of the inner function and the domain of the function formed after composing.

How to find the Range of a Composite Function?

The range of the composite is the range of all the values that is given by the composite function. It does not depends on the inner function.

Is the Order important in Composite Functions?

Yes, the order is very important in composite functions as f(g(x)) may or may not be equal to g(f(x)). This depends on the function f(x) and g(x).

Er. Neeraj K.Anand is a freelance mentor and writer who specializes in Engineering & Science subjects. Neeraj Anand received a B.Tech degree in Electronics and Communication Engineering from N.I.T Warangal & M.Tech Post Graduation from IETE, New Delhi. He has over 30 years of teaching experience and serves as the Head of Department of ANAND CLASSES. He concentrated all his energy and experiences in academics and subsequently grew up as one of the best mentors in the country for students aspiring for success in competitive examinations. In parallel, he started a Technical Publication "ANAND TECHNICAL PUBLISHERS" in 2002 and Educational Newspaper "NATIONAL EDUCATION NEWS" in 2014 at Jalandhar. Now he is a Director of leading publication "ANAND TECHNICAL PUBLISHERS", "ANAND CLASSES" and "NATIONAL EDUCATION NEWS". He has published more than hundred books in the field of Physics, Mathematics, Computers and Information Technology. Besides this he has written many books to help students prepare for IIT-JEE and AIPMT entrance exams. He is an executive member of the IEEE (Institute of Electrical & Electronics Engineers. USA) and honorary member of many Indian scientific societies such as Institution of Electronics & Telecommunication Engineers, Aeronautical Society of India, Bioinformatics Institute of India, Institution of Engineers. He has got award from American Biographical Institute Board of International Research in the year 2005.

CBSE Class 12 Maths Syllabus 2025-26 with Marks Distribution

The table below shows the marks weightage along with the number of periods required for teaching. The Maths theory paper is of 80 marks, and the internal assessment is of 20 marks which totally comes out to be 100 marks.

CBSE Class 12 Maths Syllabus And Marks Distribution 2023-24

Max Marks: 80

No.UnitsMarks
I.Relations and Functions08
II.Algebra10
III.Calculus35
IV.Vectors and Three – Dimensional Geometry14
V.Linear Programming05
VI.Probability08
Total Theory80
Internal Assessment20
Grand Total100

Unit-I: Relations and Functions

1. Relations and Functions

Types of relations: reflexive, symmetric, transitive and equivalence relations. One to one and onto functions.

2. Inverse Trigonometric Functions

Definition, range, domain, principal value branch. Graphs of inverse trigonometric functions.

Unit-II: Algebra

1. Matrices

Concept, notation, order, equality, types of matrices, zero and identity matrix, transpose of a matrix, symmetric and skew symmetric matrices. Operations on matrices: Addition and multiplication and multiplication with a scalar. Simple properties of addition, multiplication and scalar multiplication. Noncommutativity of multiplication of matrices and existence of non-zero matrices whose product is the zero matrix (restrict to square matrices of order 2). Invertible matrices and proof of the uniqueness of inverse, if it exists; (Here all matrices will have real entries).

2. Determinants

Determinant of a square matrix (up to 3 x 3 matrices), minors, co-factors and applications of determinants in finding the area of a triangle. Adjoint and inverse of a square matrix. Consistency, inconsistency and number of solutions of system of linear equations by examples, solving system of linear equations in two or three variables (having unique solution) using inverse of a matrix.

Unit-III: Calculus

1. Continuity and Differentiability

Continuity and differentiability, derivative of composite functions, chain rule, derivative of inverse trigonometric functions like sin-1 x, cos-1 x and tan-1 x, derivative of implicit functions. Concept of exponential and logarithmic functions.
Derivatives of logarithmic and exponential functions. Logarithmic differentiation, derivative of functions expressed in parametric forms. Second order derivatives.

2. Applications of Derivatives

Applications of derivatives: rate of change of quantities, increasing/decreasing functions, maxima and minima (first derivative test motivated geometrically and second derivative test given as a provable tool). Simple problems (that illustrate basic principles and understanding of the subject as well as real-life situations).

3. Integrals 

Integration as inverse process of differentiation. Integration of a variety of functions by substitution, by partial fractions and by parts, Evaluation of simple integrals of the following types and problems based on them.

Fundamental Theorem of Calculus (without proof). Basic properties of definite integrals and evaluation of definite integrals.

4. Applications of the Integrals

Applications in finding the area under simple curves, especially lines, circles/ parabolas/ellipses (in standard form only)

5. Differential Equations

Definition, order and degree, general and particular solutions of a differential equation. Solution of differential equations by method of separation of variables, solutions of homogeneous differential equations of first order and first degree. Solutions of linear differential equation of the type:

dy/dx + py = q, where p and q are functions of x or constants.

dx/dy + px = q, where p and q are functions of y or constants.

Unit-IV: Vectors and Three-Dimensional Geometry

1. Vectors

Vectors and scalars, magnitude and direction of a vector. Direction cosines and direction ratios of a vector. Types of vectors (equal, unit, zero, parallel and collinear vectors), position vector of a point, negative of a vector, components of a vector, addition of vectors, multiplication of a vector by a scalar, position vector of a point dividing a line segment in a given ratio. Definition, Geometrical Interpretation, properties and application of scalar (dot) product of vectors, vector (cross) product of vectors.

2. Three – dimensional Geometry

Direction cosines and direction ratios of a line joining two points. Cartesian equation and vector equation of a line, skew lines, shortest distance between two lines. Angle between two lines.

Unit-V: Linear Programming

1. Linear Programming

Introduction, related terminology such as constraints, objective function, optimization, graphical method of solution for problems in two variables, feasible and infeasible regions (bounded or unbounded), feasible and infeasible solutions, optimal feasible solutions (up to three non-trivial constraints).

Unit-VI: Probability

1. Probability

Conditional probability, multiplication theorem on probability, independent events, total probability, Bayes’ theorem, Random variable and its probability distribution, mean of random variable.

Students can go through the CBSE Class 12 Syllabus to get the detailed syllabus of all subjects. Get access to interactive lessons and videos related to Maths and Science with ANAND CLASSES’S App/ Tablet.

Frequently Asked Questions on CBSE Class 12 Maths Syllabus 2025-26

Q1

Is Calculus an important chapter in the CBSE Class 12 Maths Syllabus?

Yes, Calculus is an important chapter in the CBSE Class 12 Maths Syllabus. It is for 35 marks which means that if a student is thorough with this chapter will be able to pass the final exam.

Q2

How many units are discussed in the CBSE Class 12 Maths Syllabus?

In the CBSE Class 12 Maths Syllabus, about 6 units are discussed, which contains a total of 13 chapters.

Q3

How many marks are allotted for internals in the CBSE Class 12 Maths syllabus?

About 20 marks are allotted for internals in the CBSE Class 12 Maths Syllabus. Students can score it with ease through constant practice.