Simulation · Maths · Class 12
Compose fg
"Compose fg" is a free, interactive Class 12 Maths simulation for JEE, built on the lesson "Composition of functions" in Relations and Functions. It is an interactive picture of composition of functions.
From the lesson Composition of functions in Relations and Functions. Change the values and watch what happens.
Compose fgMaths · Class 12
The idea behind it
NCERT §1.4
- For f : A → B and g : B → C, the composition gof : A → C is gof(x) = g(f(x)) for every x ∈ A. f acts first, then g.
- gof is defined only when every output of f is an allowed input of g, that is, when the range of f lies inside the domain of g.
- Finite example: f(1) = 4, f(2) = 5, f(3) = 5 and g(4) = 7, g(5) = 9 give gof(1) = g(4) = 7, gof(2) = g(5) = 9 and gof(3) = g(5) = 9.
- Order matters. For f(x) = x + 2 and g(x) = x² on R, gof(x) = (x + 2)² and fog(x) = x² + 2; at x = 1 these are 9 and 3, so gof ≠ fog.
- Read gof from the right: the letter next to x acts first. gof(x) = g(f(x)) and fog(x) = f(g(x)).
- Composing with the identity changes nothing: foI_X = f and I_Yof = f for f : X → Y.
Questions
2 answers
- What does the "Compose fg" simulation show?
- It is an interactive picture of composition of functions.
- Is this simulation free?
- Yes. It is free and runs in the browser on a phone or a laptop. It belongs to the lesson "Composition of functions" in Relations and Functions (Class 12 Maths).
Embed this simulation
Free, with a link back
Teaching this idea? Put the simulation on your own page or LMS with this code.