Physics Wallah

Composition of functions

Relation and function of Class 12

Let f : X → Y1 and g : Y2 → Z be two functions and the set D = {x ∈ X : f (x) ∈ Y2). Then the function h defined on D by h(x) = g(f(x)) is called composite function of g and f and is denoted by gοf. It is also called function of a function.

Remarks:

(i) Domain of gof is D which is a subset of Y2 (the domain of g ).

(ii) Range of gof is a subset of range of g.

(iii) If D = X, then f(x) ⊂ Y2.

Note that gof is defined only if ∀ x ∈ X, f(x) is an element of the domain of g so that we can take its g-image. Hence for the product gof of two functions f & g, the range of f must be a subset of

the domain of g.

Some Results

(1) If both f and g are one-one then so is gof.

(2) Let f : X → Y and g : Y → Z. Then

(i) If both f and g are onto then gof is onto.

(ii) If gof is one-one, then f is one-one. But g may not be one-one.

(iii) If gof is onto, then g is onto. But f may not be onto.

Popup Close ImagePopup Open Image
Talk to a counsellorHave doubts? Our support team will be happy to assist you!
Popup Image
Free Learning Resources
Know about Physics Wallah
Physics Wallah is an Indian edtech platform that provides accessible & comprehensive learning experiences to students from Class 6th to postgraduate level. We also provide extensive NCERT solutions, sample paper, NEET, JEE Mains, BITSAT previous year papers & more such resources to students. Physics Wallah also caters to over 3.5 million registered students and over 78 lakh+ Youtube subscribers with 4.8 rating on its app.
We Stand Out because
We provide students with intensive courses with India’s qualified & experienced faculties & mentors. PW strives to make the learning experience comprehensive and accessible for students of all sections of society. We believe in empowering every single student who couldn't dream of a good career in engineering and medical field earlier.
Our Key Focus Areas
Physics Wallah's main focus is to make the learning experience as economical as possible for all students. With our affordable courses like Lakshya, Udaan and Arjuna and many others, we have been able to provide a platform for lakhs of aspirants. From providing Chemistry, Maths, Physics formula to giving e-books of eminent authors like RD Sharma, RS Aggarwal and Lakhmir Singh, PW focuses on every single student's need for preparation.
What Makes Us Different
Physics Wallah strives to develop a comprehensive pedagogical structure for students, where they get a state-of-the-art learning experience with study material and resources. Apart from catering students preparing for JEE Mains and NEET, PW also provides study material for each state board like Uttar Pradesh, Bihar, and others

Copyright © 2026 Physicswallah Limited All rights reserved.