Study Guide

Composition of functions and inverse functions

IB Mathematics: Applications and Interpretation HLΒ· Unit 2: Functions, Topic 2.2Β· 25 min read

1. Composition of Functionsβ˜…β˜…β˜†β˜†β˜†β± 8 min

πŸ“˜ Definition

Composite function

A function formed by applying the output of inner function as the input to outer function , read as "f of g of x".

Example:

If and , then

Order matters for composition: is almost never equal to . The domain of is all in the domain of where is also in the domain of .

πŸ“ Worked Example

Let and . Find and state its domain.

  1. 1
    1. Substitute into to get the composite expression:
  2. 2
    (f∘g)(x)=f(g(x))=f(x2βˆ’5)=(x2βˆ’5)βˆ’2=x2βˆ’7(f \circ g)(x) = f(g(x)) = f(x^2 - 5) = \sqrt{(x^2 - 5) - 2} = \sqrt{x^2 - 7}
  3. 3
    1. Find domain restrictions: is defined for all real , so we only require the expression under the square root to be non-negative:
  4. 4
    x2βˆ’7β‰₯0β€…β€ŠβŸΉβ€…β€Šx2β‰₯7β€…β€ŠβŸΉβ€…β€Šxβ‰€βˆ’7 or xβ‰₯7x^2 - 7 \geq 0 \implies x^2 \geq 7 \implies x \leq -\sqrt{7} \text{ or } x \geq \sqrt{7}
  5. 5
    1. Final domain in interval notation:

Exam tip:

Always check domain restrictions from both the inner and outer functions when calculating composite domains.

2. One-to-One Functions and Inverse Functionsβ˜…β˜…β˜…β˜†β˜†β± 8 min

πŸ“˜ Definition

Inverse function

A function that reverses the mapping of a one-to-one function , satisfying for all in the domain of , and for all in the domain of . Only one-to-one functions have inverse functions.

Example:

If , then

A function is one-to-one if it passes the horizontal line test: no horizontal line intersects its graph more than once. If a function is not one-to-one over its natural domain, you can restrict the domain to create a one-to-one function that has an inverse.

πŸ“ Worked Example

Find the inverse of and verify it is correct.

  1. 1
    1. Replace with :
  2. 2
    y=3xβˆ’6y = 3x - 6
  3. 3
    1. Swap and , a required step for finding inverses:
  4. 4
    x=3yβˆ’6x = 3y - 6
  5. 5
    1. Solve for :
  6. 6
    x+6=3yβ€…β€ŠβŸΉβ€…β€Šy=x+63=13x+2x + 6 = 3y \implies y = \frac{x + 6}{3} = \frac{1}{3}x + 2
  7. 7
    1. Replace with :
  8. 8
    fβˆ’1(x)=13x+2f^{-1}(x) = \frac{1}{3}x + 2
  9. 9
    1. Verify by checking :
  10. 10
    f(13x+2)=3(13x+2)βˆ’6=x+6βˆ’6=xf\left(\frac{1}{3}x + 2\right) = 3\left(\frac{1}{3}x + 2\right) - 6 = x + 6 - 6 = x
  11. 11

    The inverse is confirmed correct.

3. Graphical Properties of Inversesβ˜…β˜…β˜†β˜†β˜†β± 5 min

The most important graphical property of inverse functions is the reflection rule: the graph of is the reflection of the graph of across the line . This comes directly from swapping and when finding the inverse.

This reflection rule also gives a useful domain/range relationship: the domain of the original function is the range of its inverse, and the range of the original function is the domain of its inverse.

πŸ“ Worked Example

The function is restricted to the domain , range . What is the domain and range of ?

  1. 1
    1. Use the domain/range swap rule for inverses:
  2. 2

    Domain of = Range of =

  3. 3

    Range of = Domain of =

  4. 4

    Graphically, the inverse is a reflection of the restricted parabola across , which matches this result.

4. Composition and Inverses in Contextβ˜…β˜…β˜…β˜†β˜†β± 4 min

In IB AI HL exams, you will often encounter these concepts in real-world contexts. Composition combines two sequential relationships, while inverses reverse a relationship to find an input from a given output.

πŸ“ Worked Example

The temperature in Celsius is converted to Fahrenheit with . Find the inverse function to convert Fahrenheit back to Celsius, then find the Celsius equivalent of 77Β°F.

  1. 1
    1. Write the original function, swap and :
  2. 2
    F=95C+32β€…β€ŠβŸΉβ€…β€ŠC=95Fβˆ’1(C)+32F = \frac{9}{5}C + 32 \implies C = \frac{9}{5}F^{-1}(C) + 32
  3. 3
    1. Solve for the inverse function :
  4. 4
    Cβˆ’32=95Fβˆ’1(C)β€…β€ŠβŸΉβ€…β€ŠFβˆ’1(C)=59(Cβˆ’32)C - 32 = \frac{9}{5}F^{-1}(C) \implies F^{-1}(C) = \frac{5}{9}(C - 32)
  5. 5
    1. Substitute 77Β°F into the inverse:
  6. 6
    Fβˆ’1(77)=59(77βˆ’32)=59(45)=25∘CF^{-1}(77) = \frac{5}{9}(77 - 32) = \frac{5}{9}(45) = 25^\circ C

5. Common Pitfalls

Wrong move:

Confusing with

Why:

The open circle notation for composition is not a multiplication symbol

Correct move:

Remember means substitute into as input, i.e.

Wrong move:

Treating as the reciprocal

Why:

The negative exponent notation for inverses does not follow the usual reciprocal rule

Correct move:

always refers to the inverse function that reverses the mapping of , never the reciprocal

Wrong move:

Only checking domain restrictions from the outer function for composite functions

Why:

The inner function may already exclude inputs that are valid for the outer function

Correct move:

First find the domain of the inner function, then apply any additional restrictions from the outer function

Wrong move:

Finding an inverse for a many-to-one function without restricting the domain

Why:

A many-to-one function fails the horizontal line test, so it does not have a valid inverse function over its full domain

Correct move:

Restrict the domain of the original function to an interval where it is one-to-one before finding the inverse

6. Quick Reference Cheatsheet

Concept

Key Rule

Notation

Composition after

Substitute into

Domain of

x in domain(g), g(x) in domain(f)

Inverse function

Reverses mapping of one-to-one

Inverse verification

and

Graph of inverse

Reflection over from

Domain/range swap

Domain() = Range()

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    Find inverse of restricted quadratic

  • 2024 Β· 2

    Composite function domain problem

  • 2023 Β· 1

    Verify inverse function pair

What's Next

Composition and inverse functions are foundational for almost all remaining function topics in IB AI HL. Transformations of functions can be described as compositions of the original function with linear shifting and scaling functions. Exponential and logarithmic functions are inverses of each other, so understanding their inverse relationship is key to solving equations with these functions. In statistics, inverse functions are used to calculate critical values and inverse normal probabilities, which are a core exam topic.