HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Mathematics
  2. /Functions and Calculus
  3. /Composite and Inverse Functions

Composite and Inverse Functions

Mathematics · High School (11–12), High School (9–10) · 1 course, 18 worked problems, 37 practice questions

A composite function applies one function and then another. If f(x)=2x+1f(x) = 2x + 1f(x)=2x+1 and g(x)=x2g(x) = x^2g(x)=x2, then g(f(x))=(2x+1)2g(f(x)) = (2x + 1)^2g(f(x))=(2x+1)2. The order matters, so g(f(x))g(f(x))g(f(x)) and f(g(x))f(g(x))f(g(x)) are usually different. An inverse function undoes a function. If fff sends 333 to 777, then f−1f^{-1}f−1 sends 777 back to 333. Only a one-one function has an inverse, and the graph of f−1f^{-1}f−1 is the mirror image of the graph of fff in the line y=xy = xy=x. A unit converter that works both ways is a simple example.

With practice you will be able to

  • Find f(g(x))f(g(x))f(g(x)) and g(f(x))g(f(x))g(f(x)) and state their domains
  • Find the inverse of a one-one function and check it
  • Sketch the graph of an inverse by reflecting in y=xy = xy=x

On the syllabus of

  • JEE Main
  • JEE Advanced
  • CBSE / State Class 12
  • ISC
  • BITSAT
  • MHT-CET
  • WBJEE
  • VITEEE
  • and 17 more

Lessons

  • Combining and Reversing FunctionsCan two steps of a unit change become one? Can every function be undone?High School (11–12)

Practice questions

Choose an answer, then check it. Each one shows a full explanation.

A machine multiplies each input by 222 and then adds 777, so f(x)=2x+7f(x) = 2x + 7f(x)=2x+7. Which expression is the inverse function f−1(x)f^{-1}(x)f−1(x)?

The rule f(x)=(x−2)2−5f(x) = (x - 2)^2 - 5f(x)=(x−2)2−5 is used only for inputs x≥2x \ge 2x≥2. Which expression gives f−1(x)f^{-1}(x)f−1(x)?

f(x)=x−7f(x) = x - 7f(x)=x−7 and g(x)=3x+2g(x) = 3x + 2g(x)=3x+2. Which expression is gf(x)gf(x)gf(x)?

Let f(x)=x−1x+2f(x) = \dfrac{x - 1}{x + 2}f(x)=x+2x−1​ for x≠−2x \ne -2x=−2. Which expression is f−1(x)f^{-1}(x)f−1(x)?

The functions fff and ggg are defined by f(x)=2x+3f(x) = 2x + 3f(x)=2x+3 and g(x)=x2−2g(x) = x^2 - 2g(x)=x2−2. What is the sum of all real values of xxx for which f(g(x))=g(f(x))f(g(x)) = g(f(x))f(g(x))=g(f(x))?

Let f(x)=3x−1x+2f(x)=\dfrac{3x-1}{x+2}f(x)=x+23x−1​. The graph of f−1f^{-1}f−1 has a horizontal asymptote. What is its equation?

The function fff is defined by f(x)=4⋅3x−1+2f(x)=4\cdot3^{x-1}+2f(x)=4⋅3x−1+2. Which expression defines f−1(x)f^{-1}(x)f−1(x)?

Let f(x)=ln⁡xf(x)=\ln xf(x)=lnx and g(x)=e2x−1g(x)=e^{2x}-1g(x)=e2x−1. The equation f(g(x))=3f(g(x))=3f(g(x))=3 has exactly one solution. What is it, to the nearest hundredth?

Let f(x)=2cos⁡x+1f(x)=2\cos x+1f(x)=2cosx+1. How many solutions does the equation f(f(x))=3f(f(x))=3f(f(x))=3 have in the interval 0≤x≤2π0\le x\le2\pi0≤x≤2π?

The functions fff and ggg are defined by f(x)=3x+2f(x) = 3x + 2f(x)=3x+2 and g(x)=x2−4xg(x) = x^2 - 4xg(x)=x2−4x. For which value of xxx does g(f(x))g(f(x))g(f(x)) have its least value?

All 37 practice questions on Composite and Inverse Functions →

Worked problems

Each one has a hint, the key idea and a full worked solution.

  • A machine multiplies its input by 3 and then subtracts 4…Easy
  • A rule divides one linear expression by another, and Priya wants the reverse rule and the inputs it…Medium
  • Samir wants to run a quadratic rule backwards, so the domain must be cut on one side of the turning…Medium
  • Some rules are their own reverse: running them twice returns the starting input, whatever it was…Hard
  • Two machines are placed in a row, and then the order of the machines is swapped to see whether the…Easy
  • Two chains of the same two machines are built in opposite orders, and Lena looks for the one input…Medium
  • Two functions are chained, but each has its own list of allowed inputs, so the chain may not exist…Hard
  • Let f(x) = (2 x + 1)/(x - 3) for every real x ≠ 3…Hard
  • Let f(x) = x + 5 and g(x) = 4x - 1. Find (g ° f)(x) and (f ° g)(x), and their values at x = 3.Easy
  • Let f(x) = √(x + 5) and g(x) = x² - 4. Find the domain of f + g and the domain of f/g.Medium
  • Let f(x) = 1/(x + 2) and g(x) = √x. Find (g ° f)(x) and (f ° g)(x), with their domains.Hard
  • Let f(x) = 2x + 3 and g(x) = ax + b. For which a and b is g ° f = f ° g? …Hard

All 18 worked problems on Composite and Inverse Functions →

Python labs

  • Inverse and composite checks
  • Which comes first?
  • A function and its mirror image

Related topics

  • Functions and Calculus
  • Sets and Intervals
  • Relations and Functions
  • Graphs of Functions
  • Functions as Models of Data
  • Functional Equations
  • Counting Functions
  • Limits and Derivatives
  • Continuity and Differentiability
  • Application of Derivatives
  • Integrals
  • Application of Integrals
  • Differential Equations