Composite and Inverse Functions

On this page
  1. Direct answer
  2. What you must remember
  3. Testing whether a function is its own inverse
  4. Where the exam tries to catch you
  5. Frequently asked questions
  6. Related topics

Direct answer

A composite function f∘g feeds the output of g into f, so (f∘g)(x) = f(g(x)) and g acts first even though it is written second. A function has an inverse exactly when it is bijective, meaning one-one and onto its co-domain. The inverse undoes the composition, and the rule to remember is (f∘g)^(−1) = g^(−1)∘f^(−1), which reverses the order.

What you must remember

  • Order rule: in f∘g, g runs first, and the domain of f∘g is the set of x in the domain of g with g(x) in the domain of f.
  • Non-commutativity: f∘g and g∘f usually differ, so the order must be read from right to left.
  • Invertibility test: a function is invertible when it is bijective, and strictly monotone functions on an interval are automatically one-one there.
  • Inverse of a composition: (f∘g)^(−1) = g^(−1)∘f^(−1), the reversal of order.
  • Graph link: f and f^(−1) are reflections in the line y = x, and intercepts swap between the axes.
  • Domain link: the domain of f^(−1) is exactly the range of f.
  • Notation guard: f^(−1)(x) denotes the inverse function, never the reciprocal 1/f(x).
  • Self-inverse family: f(x) = (ax + b)/(cx − a) with a² + bc ≠ 0 is an involution, so f = f^(−1).

Testing whether a function is its own inverse

Take f(x) = (3x − 2)/(x − 3) for x not equal to 3. The algebraic inverse and a spot check together settle whether the function is an involution, and the same method applies to any rational function of this form. Solving for the inverse first and checking a value second keeps the two results independent of each other.

  1. Set y equal to the rule: Write y = (3x − 2)/(x − 3).
  2. Clear the denominator: Multiply out to get y(x − 3) = 3x − 2, then gather the x terms as x(y − 3) = 3y − 2.
  3. Solve for x: This gives x = (3y − 2)/(y − 3), which has the same rule as f, so f is its own inverse.
  4. Confirm with a spot value: f(4) = 10 and f(10) = 28/7 = 4, so two applications return the original input.
  5. Read the symmetry: Every graph of this family is symmetric about y = x, the visual signature of an involution.

Where the exam tries to catch you

Most errors in this chapter come from the order of composition, the domain and the notation. Each trap below is cheap to avoid once it is named.

  • Trap: evaluating f∘g by applying f first Correct: g acts first, so compute g(x) and then substitute it into f.
  • Trap: taking the domain of f∘g to be the domain of g alone Correct: g(x) must also lie in the domain of f, so the composite can be restricted further.
  • Trap: reading f^(−1)(x) as 1/f(x) Correct: f^(−1) denotes the inverse function, and the reciprocal is a different function entirely.
  • Trap: giving f^(−1) inputs outside the range of f Correct: the domain of f^(−1) is exactly the range of f, so if the range is [0, ∞) negative inputs are rejected.

Frequently asked questions

Is fog always equal to gof?

No, composition is not commutative. In fog the function g is applied first, while in gof the function f is applied first, so the two composites usually give different results.

What is the inverse of the composite fog?

The inverse of fog is g^(−1)∘f^(−1), meaning f^(−1) is applied first and then g^(−1). Inverses reverse the order of the functions in any composition, so the inverse of fog runs backwards.

When does a function have an inverse?

A function has an inverse exactly when it is bijective, meaning it is both one-one and onto its co-domain. Strictly monotone functions on an interval are automatically one-one there, which makes the check quick.

How are the graphs of f and f^(−1) related?

The graph of f^(−1) is the reflection of the graph of f in the line y = x, so every point (a, b) on f corresponds to (b, a) on f^(−1). The intercepts swap between the two axes as a result.

Can a function be its own inverse?

Yes, involutions such as f(x) = (3x − 2)/(x − 3) satisfy f(f(x)) = x for every x in the domain. Their graphs are symmetric about the line y = x, which gives a quick visual check.

Practise this in the PrepElephant app

Question banks, previous-year questions, mock tests and revision tools — for Composite and Inverse Functions and JEE Mathematics. Free to start.

Get the free app WhatsApp