Quarry School

Inverse functions

Subject: MathematicsLevels 1–2 · estimated

A function takes an input to an output, and its inverse runs the other way, taking each output back to the input it came from. This unit starts with what that undoing means and what the notation f−1 says, then shows how to check that two functions undo each other by composing them in both orders. Next it sorts out which functions can be undone at all, using one-to-one functions and the horizontal line test, and shows why the domain and the range trade places. It ends with three ways to find an inverse: from a table by swapping the two rows, from a graph by mirroring it in the line y = x, and from a formula by swapping and solving, including what to do when a domain must be restricted first.

Lessons

Quick review

Read the whole unit on one page

  1. Undoing a function, and what f^-1 meansSubject: MathematicsLeans on: Function notationLeans on: Reading a table of valuesLeans on: A power of −1 on a numberLeans on: Solving a linear equationLevel 1 · Foundations
  2. Checking that two functions are inversesSubject: MathematicsLeans on: Composing two functionsLeans on: Substituting a whole expressionLeans on: DistributingLeans on: Multiplying cancels dividingLeans on: A fraction times its flipLeans on: Square rootsLeans on: Squaring a negativeLeans on: What f^{−1} meansLevel 1 · Foundations
  3. One-to-one functions and the horizontal line testSubject: MathematicsLeans on: What a function isLeans on: What f^{−1} meansLeans on: Horizontal and verticalLeans on: Squaring a negative numberLeans on: Order of operationsLeans on: Solving a linear equationLevel 1 · Foundations
  4. Domain and range trade placesSubject: MathematicsLeans on: What f^{−1} meansLeans on: Domain and rangeLeans on: One-to-one functionLeans on: Interval notationLeans on: Set bracesLeans on: What a square root allowsLeans on: No zero in a bottomLeans on: The union signLevel 1 · Foundations
  5. Reading an inverse from a table and from a graphSubject: MathematicsLeans on: Reading a pointLeans on: Negative coordinatesLeans on: What the notation f^{−1} meansLeans on: One-to-one function and the horizontal line testLeans on: Domain and range trade placesLeans on: Checking inverses by composingLevel 1 · Foundations
  6. Restricting a domain so an inverse existsSubject: MathematicsLeans on: The horizontal line testLeans on: Squaring a negative numberLeans on: Where a squared expression is smallestLeans on: Domain and range trade placesLeans on: Interval notationLeans on: Absolute valueLeans on: Order of operationsLeans on: Solving a one-step equationLevel 2 · Building
  7. Finding the inverse of a formula by swapping and solvingSubject: MathematicsLeans on: Undoing steps in reverse orderLeans on: Clearing a fractionLeans on: DistributingLeans on: Factoring out a common letterLeans on: Two square rootsLeans on: A negative on the bottom of a fractionLeans on: Domain and range trade placesLeans on: Checking that two functions are inversesLevel 1 · Foundations

Vocabulary

inverse function
A function that undoes another one. It takes each output of the first function back to the input it came from.
the notation f-1
The name of the inverse of f, read as f inverse. The small −1 is a label meaning undo f. It is not a power, so it never means 1 over f.
one-to-one function
A function in which no two different inputs share an output. Every output comes from exactly one input, so the function can be undone.
horizontal line test
A check done on a graph. If no horizontal line crosses the graph more than once, the function is a one-to-one function and has an inverse function.
domain
The set of all inputs a function accepts. For an inverse function, the domain is the range of the original function.
range
The set of all outputs a function actually produces. For an inverse function, the range is the domain of the original function.
the line y = x
The diagonal line through the origin where both coordinates are equal, such as (2, 2). The graph of a function and the graph of its inverse function are mirror images across it.
restricted domain
A domain made smaller on purpose. When the inputs kept are picked so that no two of them give the same output, the function becomes one-to-one on them and gains an inverse function.

Quick checks

Quick check 1 of 8

f has an inverse function and f(2) = 9. What is f−1(9)?

Show the steps and the answer
Answer
f−1(9) = 2, because the inverse function sends each output back to the input it came from.

Quick check 2 of 8

For f(x) = 5x, is f−1(x) equal to 15x?

Show the steps and the answer
Answer
No. f−1(x) = x5, because undoing multiply by 5 is divide by 5. The −1 is a label, not a power.

Quick check 3 of 8

f(x) = x + 4 and g(x) = x − 4. Compose both ways. Are they inverses?

Show the steps and the answer
Answer
Yes. f(g(x)) = (x − 4) + 4 = x and g(f(x)) = (x + 4) − 4 = x, so both orders return x.

Quick check 4 of 8

The horizontal line y = 2 crosses the graph of g at x = 1 and at x = 5. Is g a one-to-one function?

Show the steps and the answer
Answer
No. g(1) = 2 and g(5) = 2, so two inputs share an output and the graph fails the horizontal line test.

Quick check 5 of 8

A one-to-one function f has domain x ≥ 1 and range y ≥ 0. What are the domain and the range of f−1?

Show the steps and the answer
Answer
  • Domain of f−1: x ≥ 0
  • Range of f−1: y ≥ 1
  • The two sets trade places, because the inputs of f−1 are the outputs of f.

Quick check 6 of 8

The point (−2, 6) is on the graph of a one-to-one function f. Which point must be on the graph of f−1?

Show the steps and the answer
Answer
(6, −2), because each point (a, b) becomes (b, a), its mirror image in the line y = x.

Quick check 7 of 8

f(x) = x2 with the restricted domain x ≤ 0. What is f−1(16)?

Show the steps and the answer
Answer
f−1(16) = −4. Both 4 and −4 have the square 16, but only −4 is in the restricted domain.

Quick check 8 of 8

Find the inverse function of f(x) = 3x + 12.

Show the steps and the answer
Answer
f−1(x) = x−123. Swap to get x = 3y + 12, subtract 12, then divide by 3. Check: f(1) = 15 and f−1(15) = 33 = 1.

Before you start

  • What a function is

    A function is a rule that takes each input and gives back exactly one output. Think of a vending machine: you press one button, and one particular snack drops. Press the same button tomorrow and you get the same snack. The name f(3) is read f of 3. It means the input is 3, and you want the output. The f is the name of the rule, the 3 is what goes in, and f(3) is what comes out. A function can be shown as a formula, as a table, or as a graph, and you can read f(3) from each one.

  • Composing two functions

    Composing two functions means running them one after the other, like a washer followed by a dryer. The clothes go into the washer first, and whatever comes out of the washer goes into the dryer. In f(g(x)), the function g is the washer and f is the dryer. Start with the innermost parentheses: find the output of g, then feed that number into f. The order matters. Drying first and washing second gives a different result, and f(g(x)) is usually different from g(f(x)).

  • Solving a linear equation for one variable

    Solving for x means getting x alone on one side of the equals sign. Think of socks and shoes. In the morning, socks go on first and shoes second. At night you undo that in reverse: shoes come off first, then socks. In y = 2x + 3, two things happen to x: it is multiplied by 2, then 3 is added. The simplest way to free x is to undo the last thing first: subtract 3, then divide by 2. Whatever you do to one side you also do to the other, like keeping a scale level.