DoAssignment.ca

D2.7 · Connect inverse composition with the identity function

Learn to connect inverse composition with the identity function through clear examples and targeted practice.

Ontario Grade 12 Mathematics

Characteristics of Functions

How applying a function and its inverse brings an input back to where it started

A function can change an input according to a rule. Its inverse reverses that change. In this lesson, you will connect that reversal to the identity function, which leaves every allowed input unchanged. The main idea is that composing a function with its inverse returns the starting value, as long as the input belongs to the appropriate domain.

What you will learn

1. Prerequisite bridge: functions, inverses, and composition

A function assigns exactly one output to each input in its domain. The domain is the set of inputs that are allowed. The range is the set of outputs the function produces. For example, if a function doubles an input and adds three, then an input of four produces eleven.
An inverse function reverses the input-output pairs of the original function. If the original function sends four to eleven, its inverse sends eleven back to four. The inverse is written with a superscript −1^{-1}: if the function is ff, its inverse is f−1f^{-1}. This notation does not mean that the function is raised to the power of negative one.
Composition means using one function's output as the next function's input. The notation (f∘g)(x)(f\circ g)(x) means first apply gg to xx, then apply ff to the result. The order matters: (f∘g)(x)(f\circ g)(x) and (g∘f)(x)(g\circ f)(x) can give different results.
(f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x))

2. Plain-language connection: undoing a function

The identity function leaves its input unchanged. For example, it sends five to five and sends any other allowed value back to itself. Its rule is often written as I(x)=xI(x)=x.
Now consider a function and its inverse. If you apply the function first, then apply its inverse, the inverse undoes the change. The final output is the original input. This composition acts like the identity function.
The order can also be reversed. Applying the inverse first and then the original function also returns the starting input, when that input is in the domain of the inverse. These statements describe two compositions, so it is important to check the order and the allowed inputs rather than assuming the expressions are interchangeable.
(f−1∘f)(x)=x,(f∘f−1)(x)=x(f^{-1}\circ f)(x)=x,\qquad (f\circ f^{-1})(x)=x

3. Representing the connection with values and symbols

A small input-output list makes the reversal visible. Suppose a function pairs 22 with 77, 33 with 99, and 44 with 1111. Its inverse swaps each input and output: it pairs 77 with 22, 99 with 33, and 1111 with 44. Starting at 33, the original function gives 99, and the inverse takes 99 back to 33. That is the identity action on this input.
In symbols, the same idea is expressed through composition. The expression f−1(f(x))f^{-1}(f(x)) means that ff acts first and f−1f^{-1} acts second. The result is xx. In the other order, f(f−1(x))f(f^{-1}(x)) also returns xx, provided the input is allowed for that composition.
The domain detail matters. In f−1(f(x))f^{-1}(f(x)), the starting value must be in the domain of ff. In f(f−1(x))f(f^{-1}(x)), the starting value must be in the domain of f−1f^{-1}, which corresponds to the range of ff. The compositions return the input on those appropriate sets.
f−1(f(x))=xf^{-1}(f(x))=x

4. Guided example and application

Use a simple linear function to check both compositions. A linear function has the form of a straight-line rule. Here, each input is doubled and then three is added. To find its inverse, reverse those operations: subtract three, then divide by two.
This example shows more than a calculation. It connects a function, its inverse, and the identity function in both orders. You can test the connection with a value and then express the result for a general input.

A function and its inverse reverse the pairs

Input to ffOutput from ffInput to f−1f^{-1}Output from f−1f^{-1}
2772
3993
411114

Worked example

Verify both inverse compositions

Let f(x)=2x+3f(x)=2x+3. Find f−1(x)f^{-1}(x), then show how composing the functions gives the identity on the appropriate inputs.
  1. Reverse the operations
    The function doubles its input and adds three. To undo it, subtract three from the output and divide by two. Therefore, the inverse rule is:
    f−1(x)=x−32f^{-1}(x)=\frac{x-3}{2}
  2. Compose the inverse after the function
    In f−1(f(x))f^{-1}(f(x)), apply ff first. Substitute 2x+32x+3 into the inverse rule. The subtraction cancels the added three, and division by two cancels the doubling.
    f−1(f(x))=(2x+3)−32=xf^{-1}(f(x))=\frac{(2x+3)-3}{2}=x
  3. Compose the function after the inverse
    In f(f−1(x))f(f^{-1}(x)), apply the inverse first. Substitute (x−3)/2(x-3)/2 into the rule for ff. Multiplying by two and adding three returns the original input.
    f(f−1(x))=2(x−32)+3=xf(f^{-1}(x))=2\left(\frac{x-3}{2}\right)+3=x
  4. Check with a value
    For example, f(4)=11f(4)=11, and the inverse sends 1111 back to 44. This numerical check matches the symbolic identity result.
    f−1(f(4))=f−1(11)=4f^{-1}(f(4))=f^{-1}(11)=4
Answer: The inverse is f−1(x)=x−32f^{-1}(x)=\frac{x-3}{2}. Both compositions return the input, so each acts as the identity on its appropriate domain.
Check: The two rules undo one another: doubling and adding three is reversed by subtracting three and dividing by two.

Common mistakes and how to avoid them

Treating f−1(x)f^{-1}(x) as the reciprocal of f(x)f(x).
Correction: The notation f−1f^{-1} names the inverse function. It reverses the input-output pairs; it does not mean 1/f(x)1/f(x).
Reversing the order of a composition.
Correction: Read from the inside out. In f−1(f(x))f^{-1}(f(x)), apply ff first and then its inverse.
Saying the composition returns every possible number without checking the input.
Correction: The starting input must be in the domain of the first function used. For f(f−1(x))f(f^{-1}(x)), it must also be an output that ff can produce.
Assuming that a composition equal to xx means the two functions are identical.
Correction: The composition uses both functions in sequence. The result is the identity action because the inverse undoes the original function.

Lesson summary

Check your understanding

Question 1

If g(5)=12g(5)=12, what must g−1(12)g^{-1}(12) equal?
  1. 5
  2. 12
  3. 17
  4. The value cannot be determined.
Show answer and explanation
5
The inverse reverses the pair. Since gg sends 55 to 1212, g−1g^{-1} sends 1212 back to 55.

Question 2

Which expression means apply hh first and then apply its inverse?
  1. (h−1∘h)(x)(h^{-1}\circ h)(x)
  2. (h∘h−1)(x)(h\circ h^{-1})(x)
  3. h(x)+h−1(x)h(x)+h^{-1}(x)
  4. h−1(h−1(x))h^{-1}(h^{-1}(x))
Show answer and explanation
(h−1∘h)(x)(h^{-1}\circ h)(x)
The inside function is applied first. In (h−1∘h)(x)(h^{-1}\circ h)(x), hh acts before h−1h^{-1}.

Question 3

Suppose p−1(p(x))=xp^{-1}(p(x))=x for an allowed input xx. What does this result show?
  1. The composition acts as the identity on that input.
  2. The two functions have the same rule.
  3. The output must be zero.
  4. The inverse changes the input a second time.
Show answer and explanation
The composition acts as the identity on that input.
Returning xx unchanged is exactly the action of the identity function.

Key terms

Composition
A process that applies one function and then uses its output as the input to another function.
Domain
The set of inputs for which a function is defined.
Identity function
A function that returns each allowed input unchanged.
Inverse function
A function that reverses the input-output pairs of another function.
Range
The set of outputs produced by a function.

Continue through MHF4U

View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons

About this lesson and its review

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation D2.7. It is a study resource, not an official curriculum publication.

Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question