Skip to main content
Functions, iteration and numerical methods
Lesson 16 of 75
Introduction

Composite and inverse functions

Objective. Combine and reverse functions with domain restrictions.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

Composite and inverse functions combine or reverse the action of two functions: fg(x) means apply g first then f, written f(g(x)), while the inverse f⁻¹(x) undoes whatever f(x) does, found by swapping x and y in y=f(x) and rearranging for y. Domain restrictions matter because the range of the inner function must lie within the domain of the outer function for a composite to be valid, and an inverse only exists properly where the original function is one-to-one. To find fg(x), substitute the entire expression for g(x) wherever x appears in f. For example, if f(x)=2x+1 and g(x)=x², then fg(x)=2x²+1, but gf(x)=(2x+1)².

Worked example

Given f(x)=3x−2, find f⁻¹(x), the inverse function.

Given f(x)=3x−2
Illustrated card showing Given f(x)=3x−2
  1. 1Write y = 3x−2
  2. 2Swap x and y: x = 3y−2
  3. 3Rearrange for y: x+2 = 3y, so y = (x+2)/3
  4. 4Write the inverse using function notation

Answer: f⁻¹(x) = (x+2)/3

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students often confuse the order of composite functions, calculating fg(x) as g(f(x)) instead of f(g(x)); remember fg(x) means apply the function closest to x first, so g acts on x before f acts on the result.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard