Quarry School

Reading an inverse from a table and from a graph

Subject: 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 composing
Level 1 · FoundationsAbout 23 min read3 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Leans on

    Quick review (2 minutes)

    In plain words

    Picture the sign-in sheet at a gym.

    Rule

    If f is a one-to-one function, then: (1) the table of f−1 is the table of f with its two rows traded; (2) the point (a, b) is on the graph of f exactly when the point (b, a) is on the graph of f−1; (3) the graph of f−1 is the graph of f reflected (flipped, as in a mirror) across the line y = x.

    Step

    1. Check that f is a one-to-one function. In a table, no number may appear twice in the output row. On a graph, use the horizontal line test: no horizontal line may meet the graph twice.

    2. To find one value, such as f−1(7), say what it asks: 'f gave the output 7; which input was it?' Find 7 in the output row of f, or at height 7 on the y-axis, and read back to the input.

    3. To get the whole table of f−1, trade the two rows. The old output row becomes the new input row.

    4. If you want the new inputs in order from smallest to largest, slide whole columns. Never separate an input from its own output.

    5. To get the graph of f−1, pick several clear points on the graph of f, write each one as (a, b), and swap it to (b, a).

    6. Plot the swapped points and join them with the same kind of shape the original had. Draw the line y = x lightly: each point and its swap must sit straight across that line from each other, the same distance away.

    7. Check one value both ways: if you wrote f−1(b) = a, the table or graph of f must show f(a) = b.

    Strategy

    1. Say what is being asked: f−1 takes an output of f and returns the input it came from.

    2. Make sure f is a one-to-one function: no repeated number in the output row, or a graph that passes the horizontal line test.

    3. For one value f−1(k), find k among the outputs of f (the output row, or height k on the y-axis) and read back to its input.

    4. For a whole table, trade the two rows, then slide whole columns into order if you like.

    5. For a whole graph, swap each clear point (a, b) to (b, a), plot the new points, and join them as the mirror image in the line y = x.

    6. Check one answer forward: f−1(b) = a is right only if f(a) = b.

    Question

    The first table shows a function g. In plain words, g−1 reads that table backward: it starts from an output of g and returns the input it came from.
    (a) Does g have an inverse function?
    (b) Write the table of g−1.
    (c) Find g−1(7) and g−1(0).
    (d) The point (3, 7) is on the graph of g. Which point does that put on the graph of g−1?

    Answer

    (a) Yes. No output of g repeats, so g is a one-to-one function.
    (b) The second table: g−1(−3) = 1, g−1(0) = 6, g−1(1) = 0, g−1(4) = −2, g−1(7) = 3.
    (c) g−1(7) = 3 and g−1(0) = 6.
    (d) (7, 3)

    Trap

    Reading in the forward direction. For f−1(5), the 5 is an output of f, so look for it in the output row of the table, or at height 5 on the y-axis of the graph. If you look for 5 in the input row, or at 5 on the x-axis, you find f(5), the answer to the forward question. Before you read anything, say the question aloud: 'f gave 5; what went in?'

    Term

    inverse function

    Definition

    A function that undoes another one. It takes each output of the first function back to the input it came from.

    Term

    one-to-one function

    Definition

    A function in which no two different inputs share an output. Every output comes from exactly one input, so the function can be undone.

    Term

    horizontal line test

    Definition

    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.

    Term

    domain

    Definition

    The set of all inputs a function accepts. For an inverse function, the domain is the range of the original function.

    Term

    range

    Definition

    The set of all outputs a function actually produces. For an inverse function, the range is the domain of the original function.

    Term

    the line y = x

    Definition

    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.

    1 In plain words

    Picture the sign-in sheet at a gym. It has two columns: a locker number on the left and the person using that locker on the right. Read left to right, the sheet answers 'who has locker 12?' Read right to left, the same sheet answers the opposite question: 'which locker does Dana have?' You only traded the column you start from. A table of a function works the same way. Trade its two rows and you are holding the table of its inverse function. A graph is a picture of those same pairs, so trading the two numbers in every point draws the graph of the inverse function. That trade looks like a flip across the line y = x, as if the line were a mirror.

    2 Picture it

    (1, 3)(3, 1)(2, 5)(5, 2)(−1, −1)−2246−2246(1, 3)(3, 1)(2, 5)(5, 2)(−1, −1)−3−2−1123456−2246
    The solid line is f and the dashed line is f−1.

    Reminder

    Reminder: Reading a point, Negative coordinates, What the notation f−1 means, One-to-one function and the horizontal line test, Domain and range trade places, Checking inverses by composing
    • Reading a point. (a, b) means go a across, then b up. (3, 1) is 3 right and 1 up. (1, 3) is 1 right and 3 up. The order matters, which is why swapping makes a new point unless the two numbers are equal.
    • Negative coordinates. A negative first number means left of zero and a negative second number means below zero. (−1, 2) is 1 left and 2 up. (2, −1) is 2 right and 1 down.
    • What the notation f−1 means. f(a) = b gives f−1(b) = a. If f(2) = 9, then f−1(9) = 2. The −1 is part of the name of the inverse function. It is not a power.
    • One-to-one function and the horizontal line test. A one-to-one function never gives two inputs the same output. On a graph, that means no horizontal line meets the graph twice. Outputs 5, 8, 5 fail. Outputs 5, 8, 6 pass.
    • Domain and range trade places. The inputs of f−1 are the outputs of f. If the outputs of f are 4, 7 and 9, then 4, 7 and 9 are the only numbers f−1 accepts.
    • Checking inverses by composing. Feeding the answer back must return the starting number: if f−1(7) = 3, then f(3) must be 7, so f(f−1(7)) = 7.

    3 Why

    Earlier in this unit you saw that f(a) = b means f−1(b) = a. A table column with a on top and b underneath says f(a) = b, so the same column turned upside down says f−1(b) = a. A point (a, b) on a graph says the same thing a column does, so the inverse function owns the point (b, a). Why a mirror? Fold the page along the line y = x. The fold lays the x-axis onto the y-axis, so 'a across and b up' becomes 'b across and a up'. That is the point (b, a).

    4 The rule

    If f is a one-to-one function, then: (1) the table of f−1 is the table of f with its two rows traded; (2) the point (a, b) is on the graph of f exactly when the point (b, a) is on the graph of f−1; (3) the graph of f−1 is the graph of f reflected (flipped, as in a mirror) across the line y=x.

    The same idea, five ways

    Say it

    'the point a comma b on f becomes the point b comma a on f inverse.' Or say: 'the graph of f inverse is the graph of f flipped over the line y equals x.'

    Write it

    Every input and output pair of f, written in the opposite order, is an input and output pair of the inverse function, so the two graphs are mirror images of each other in the line y = x.

    In math
    • f(a) = b means f−1(b) = a
    • (a, b) on the graph of f gives (b, a) on the graph of f−1
    • table of f−1 = table of f with the two rows traded
    • graph of f−1 = graph of f reflected across the line y = x
    Like

    Draw a curve in wet ink, fold the paper along the diagonal crease, and press. The print that appears on the other side of the crease is the graph of the inverse function.

    See it
    (1, 3)(3, 1)(2, 5)(5, 2)(−1, −1)−2246−2246
    The line drawn is the line y = x, the mirror.

    The same idea, other ways

    As a picture

    Fold the page along the line y = x and the graph of f lands on the graph of f−1. This works for curves as well as for straight lines. In the picture, the solid curve is a function and the dashed curve is its inverse function. The point (2, 8) on the solid curve has a partner (8, 2) on the dashed curve. The point (−2, −8) has the partner (−8, −2). Every point has a partner with the same two numbers in the opposite order.

    (2, 8)(8, 2)(−2, −8)(−8, −2)−8−448−8−448
    A curved graph (solid) and its inverse function (dashed) are the same shape, flipped across the diagonal.
    As a story

    A phrase card for travelers has English on the left and Spanish on the right. Start from the left column and it turns English into Spanish. Start from the right column and the same card turns Spanish back into English. You did not write a new card. You changed which column you enter by. One warning comes with the story: if two English words on the card shared one Spanish word, the backward reading would not know which English word to give you. That is why the function must be a one-to-one function before you trade anything.

    With small numbers

    Look at the table. The column under 2 holds 4, so f(2) = 4. Read that same column from the bottom up: 4 goes back to 2, so f−1(4) = 2. Do the same with the other two columns: 6 goes back to 1, and 9 goes back to 3. Those three backward readings are the whole inverse function. As points, (1, 6), (2, 4) and (3, 9) on the graph of f become (6, 1), (4, 2) and (9, 3) on the graph of f−1.

    input xoutput f(x)162439↑ solve: output given, read every input above it
    The highlighted 4 in the output row points up to the input 2, which is how you read f−1(4) = 2 from the table…
    Why it must be true

    A mirror sits exactly halfway between a thing and its reflection. Test that on the pair (1, 4) and (4, 1). Halfway between them is (2.5, 2.5), and a point with two equal numbers is on the line y = x. Try (−1, 2) and (2, −1): halfway is (0.5, 0.5), on the line again. This always happens, because the halfway number a+b2 is the same whichever order you add in. Also, the trip from (1, 4) to (4, 1) goes 3 right and 3 down, which crosses the line y = x squarely, not at a slant. Halfway and square on: that is a mirror.

    (1, 4)(4, 1)halfway (2.5, 2.5)(−1, 2)(2, −1)halfway (0.5, 0.5)−224−224
    The halfway point of each swapped pair lands on the line y = x, which is what makes that line the mirror.
    Point on the graph of fWhat it saysSwapped point, on the graph of f−1What it says
    (0, 1)f(0) = 1(1, 0)f−1(1)=0
    (1, 3)f(1) = 3(3, 1)f−1(3)=1
    (2, 5)f(2) = 5(5, 2)f−1(5)=2
    (−1,−1)f(−1)=−1(−1,−1)f−1(−1)=−1

    5 How

    1. Check that f is a one-to-one function. In a table, no number may appear twice in the output row. On a graph, use the horizontal line test: no horizontal line may meet the graph twice.
    2. To find one value, such as f−1(7), say what it asks: 'f gave the output 7; which input was it?' Find 7 in the output row of f, or at height 7 on the y-axis, and read back to the input.
    3. To get the whole table of f−1, trade the two rows. The old output row becomes the new input row.
    4. If you want the new inputs in order from smallest to largest, slide whole columns. Never separate an input from its own output.
    5. To get the graph of f−1, pick several clear points on the graph of f, write each one as (a, b), and swap it to (b, a).
    6. Plot the swapped points and join them with the same kind of shape the original had. Draw the line y = x lightly: each point and its swap must sit straight across that line from each other, the same distance away.
    7. Check one value both ways: if you wrote f−1(b) = a, the table or graph of f must show f(a) = b.

    Reading an inverse from a table or from a graph

    1
    Is f a one-to-one function (no output repeated in the table, no horizontal line meeting the graph twice)?
    YesThe inverse function exists. Go on.
    NoStop. Trading rows or swapping points would give one input two outputs, so there is no inverse function to read.
    ↓
    2
    Do you need only one value, such as f−1(7)?
    YesFind 7 in the output row of f, or at height 7 on the y-axis, go to the graph or the column, and read the input.
    NoGo on.
    ↓
    3
    Is f given as a table?
    YesTrade the two rows. Slide whole columns if you want the new inputs in order.
    NoGo on.
    ↓
    4
    Is f given as a graph?
    YesPick clear points, turn each (a, b) into (b, a), plot them, and join them as the mirror image in the line y = x.
    NoIf f is a list of pairs, swap the two numbers in every pair. It is the same move.
    1. Say what is being asked: f−1 takes an output of f and returns the input it came from.
    2. Make sure f is a one-to-one function: no repeated number in the output row, or a graph that passes the horizontal line test.
    3. For one value f−1(k), find k among the outputs of f (the output row, or height k on the y-axis) and read back to its input.
    4. For a whole table, trade the two rows, then slide whole columns into order if you like.
    5. For a whole graph, swap each clear point (a, b) to (b, a), plot the new points, and join them as the mirror image in the line y = x.
    6. Check one answer forward: f−1(b) = a is right only if f(a) = b.

    6 Worked example

    Worked example

    A table read backward

    The first table shows a function g. In plain words, g−1 reads that table backward: it starts from an output of g and returns the input it came from.
    (a) Does g have an inverse function?
    (b) Write the table of g−1.
    (c) Find g−1(7) and g−1(0).
    (d) The point (3, 7) is on the graph of g. Which point does that put on the graph of g−1?

    input xoutput g(x)−24011−33760
    x:−2,0,1,3,6;g(x):4,1,−3,7,0.
    Show the steps and the answer
    input xoutput g(x)−24011−33760↑ solve: output given, read every input above it
    The table of g, with the output 7 highlighted and an arrow up to its input 3.
    input xoutput g⁻¹(x)−3106104−273↓ evaluate: input given, read the output below it
    The table of g−1.
    1. Look along the g(x) row of the first table and see whether any number appears twice.Only a one-to-one function can be undone, and one-to-one means no two inputs share an output. The five outputs are all different, so g is a one-to-one function and g−1 exists.
    2. Trade the two rows of the first table. The g(x) row becomes the new input row and the x row becomes the new output row. For example, the column with −2 over 4 becomes a column with 4 over −2.Each column of g says g(a) = b. The inverse function sends b back to a, so b goes on top as the input and a goes underneath as the output.
    3. Slide whole columns so the new inputs run from smallest to largest. The second table is the result. Its first column, −3 over 1, came from the old column 1 over −3.The order of the columns does not change what a table says, as long as each input keeps its own output. Inputs in order are quicker to read.
    4. Find g−1(7). Look for 7 in the g(x) row of the first table. It sits under x=3, so g−1(7)=3.g−1(7) asks which input of g produced the output 7. The first table says g(3) = 7.
    5. Find g−1(0). Look for 0 in the g(x) row of the first table, not in the x row. It sits under x=6, so g−1(0)=6.The 0 in the x row belongs to the fact g(0) = 1, which answers a different question. For the inverse function, 0 has to be an output of g, and the first table says g(6) = 0.
    6. Swap the two numbers in (3, 7) to get (7, 3).The point (3, 7) on the graph of g says g(3) = 7. That is the same fact as g−1(7) = 3, which is the point (7, 3) on the graph of g−1.
    Answer
    • (a) Yes. No output of g repeats, so g is a one-to-one function.
    • (b) The second table: g−1(−3) = 1, g−1(0) = 6, g−1(1) = 0, g−1(4) = −2, g−1(7) = 3.
    • (c) g−1(7) = 3 and g−1(0) = 6.
    • (d) (7, 3)
    Double-check Feed each answer back into g. Composing a function with its inverse function must return the number you started with: g(g−1(7)) = g(3) = 7, and g(g−1(0)) = g(6) = 0. Both come back correctly. A second look: the inputs in the table of g−1 are −3, 0, 1, 4 and 7, which are exactly the outputs of g, as they must be because domain and range trade places.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 5

    One fact, read both ways

    A one-to-one function h has h(4) = 9. In plain words: the input 4 gives the output 9.
    (a) What is h−1(9)?
    (b) Name the point this fact puts on the graph of h, and the point it puts on the graph of h−1.

    Show the steps and the answer
    1. Write the fact h(4)=9 as the point (4, 9).In a point on a graph, the first number is the input and the second number is the output.
    2. Read the fact backward: h−1(9)=4.The inverse function takes each output of h back to the input it came from, and the output 9 came from the input 4.
    3. Swap the two numbers in (4, 9) to get (9, 4).h−1(9) = 4 has input 9 and output 4, so on the graph of h−1 it is the point (9, 4).
    Answer
    • (a)h−1(9)=4
    • (b) (4, 9) is on the graph of h, and (9, 4) is on the graph of h−1.
    Double-check Compose: h(h−1(9)) = h(4) = 9. You are back at the 9 you started with.

    Rung 2 of 5

    One value from a table, with a tempting wrong column

    The table shows a one-to-one function p. Find p−1(5) and p−1(1). In plain words: p gave the output 5, which input was it? Then the same question for the output 1.

    input xoutput p(x)18233104551
    x: 1, 2, 3, 4, 5; p(x): 8, 3, 10, 5, 1.
    Show the steps and the answer
    input xoutput p(x)18233104551↑ solve: output given, read every input above it
    The 5 that matters is the one in the output row, and the arrow from it points up to the input 4.
    1. For p−1(5), find 5 in the p(x) row. It sits under x=4. So p−1(5)=4.The input of p−1 is an output of p, so it must be found in the output row. The column says p(4) = 5.
    2. Do not use the column that has 5 on top.That column says p(5) = 1. It answers 'what does p do to 5?', which is the forward question, not the backward one.
    3. For p−1(1), find 1 in the p(x) row. It sits under x=5. So p−1(1)=5.The column says p(5) = 1, so the output 1 came from the input 5. The column with 1 on top says p(1) = 8, which is the forward reading again.
    Answer
    • p−1(5)=4
    • p−1(1)=5
    Double-check Read the table forward at each answer: the column under 4 holds 5, so p(4) = 5, and the column under 5 holds 1, so p(5) = 1. Both match.

    Rung 3 of 5

    Flipping the points of a graph

    The solid line in the first picture is the graph of a function f. It passes through (0, 3), (2, 2), (4, 1) and (6, 0). In plain words: each point is an input and output pair of f, and the inverse function owns the same pairs in the opposite order.
    (a) Give four points on the graph of f−1.
    (b) Where does the graph of f−1 cross each axis?
    (c) Which point is on both graphs?

    (0, 3)(2, 2)(4, 1)(6, 0)246246
    The graph of f with four clear points to swap.
    (0, 3)(3, 0)(4, 1)(1, 4)(6, 0)(0, 6)(2, 2)246246
    The dashed line through the swapped points is f−1, and the two lines meet at (2, 2), a point on the line y =…
    Show the steps and the answer
    1. Check that f can be undone. The graph is a slanted straight line, so every horizontal line meets it exactly once.Passing the horizontal line test means f is a one-to-one function, so the inverse function exists.
    2. Swap the two numbers in each point: (0, 3) becomes (3, 0), (2, 2) becomes (2, 2), (4, 1) becomes (1, 4), and (6, 0) becomes (0, 6).A point (a, b) on the graph of f says f(a) = b, which is the same fact as f−1(b) = a, the point (b, a).
    3. Find the axis crossings. (3, 0) has second number 0, so it is on the x-axis. (0, 6) has first number 0, so it is on the y-axis.The swap trades the two axes. f crossed the y-axis at (0, 3), so f−1 crosses the x-axis at (3, 0). f crossed the x-axis at (6, 0), so f−1 crosses the y-axis at (0, 6).
    4. Notice that (2, 2) did not change.Its two numbers are equal, so it lies on the line y = x, the mirror. A point on the mirror is its own reflection, so both graphs pass through it.
    5. Plot the four swapped points and join them. The second picture shows the result as a dashed line.The mirror image of a straight line is a straight line, so the swapped points line up.
    Answer
    • (a) (3, 0), (2, 2), (1, 4) and (0, 6)
    • (b) It crosses the x-axis at (3, 0) and the y-axis at (0, 6).
    • (c) (2, 2), which lies on the line y = x.
    Double-check Read one fact both ways: the solid line gives f(4) = 1 and the swapped point (1, 4) gives f−1(1) = 4. Compose them: f−1(f(4)) = f−1(1) = 4, back where you started. Also list the swapped points left to right: (0, 6), (1, 4), (2, 2), (3, 0). Each step of 1 to the right goes down 2, a steady pattern, so they do sit on one straight line.

    Rung 4 of 5

    Reading f−1 straight from the graph of f

    A function f is given only by its graph. The curve passes through (0, 1), (1, 2), (4, 3) and (9, 4). Find f−1(3) and f−1(1) without drawing the graph of f−1. In plain words, f−1(3) asks: the output of f is 3, what was the input?

    (0, 1)(1, 2)(4, 3)(9, 4)24681024
    Start at height 3 on the y-axis.
    Show the steps and the answer
    1. Check that f can be undone. The curve keeps rising as you move to the right, so no horizontal line can meet it twice.A graph that passes the horizontal line test belongs to a one-to-one function, so the inverse function exists.
    2. For f−1(3), start at 3 on the y-axis, not on the x-axis.The input of f−1 is an output of f, and the outputs of f are heights, measured on the y-axis.
    3. Move straight across at height 3 until you hit the curve. You arrive at the point (4, 3). Drop straight down to the x-axis and read 4. So f−1(3)=4.The point (4, 3) says f(4) = 3, so the output 3 came from the input 4.
    4. For f−1(1), start at height 1 on the y-axis. The curve is right there, at the point (0, 1). The input is 0, so f−1(1)=0.The point (0, 1) says f(0) = 1. Do not use the point (1, 2): it says f(1) = 2, which is the forward reading of the number 1.
    Answer
    • f−1(3)=4
    • f−1(1)=0
    Double-check Read the graph the usual way, up from the x-axis. Above x = 4 the curve is at height 3, so f(4) = 3. Above x = 0 the curve is at height 1, so f(0) = 1. Both agree with the answers. The matching points on the graph of f−1 would be (3, 4) and (1, 0).

    Rung 5 of 5

    You are handed the graph of f−1 and asked about f

    This time the solid line in the first picture is the graph of f−1, not of f. It passes through (−4, −1), (−2, 0), (0, 1), (2, 2) and (4, 3).
    (a) Find f(3).
    (b) Find f(0).
    (c) Where does the graph of f cross the x-axis?
    In plain words: you hold the backward machine and must answer questions about the forward one.

    (−4, −1)(−2, 0)(0, 1)(2, 2)(4, 3)−4−224−4−224
    This line is the graph of f−1, so in each labeled point the second number is an input of f and the first…
    Show the steps and the answer
    (4, 3)(3, 4)(−2, 0)(0, −2)(0, 1)(1, 0)(2, 2)−4−224−4−224
    Swapping the points of f−1 gives the dashed line, which is f, and the two lines meet at (2, 2).
    1. Turn the question around. f(3) asks for the output of f when the input is 3. On the graph of f−1, the inputs of f appear as the second numbers of the points.A point (b, a) on the graph of f−1 says f−1(b) = a, which is the same fact as f(a) = b. Undoing works in both directions: f undoes f−1 as much as f−1 undoes f.
    2. Find the point whose second number is 3. It is (4, 3). So f(3)=4.(4, 3) on the graph of f−1 swaps to (3, 4) on the graph of f, and (3, 4) says f(3) = 4.
    3. Find the point whose second number is 0. It is (−2,0). So f(0)=−2.(−2, 0) swaps to (0, −2), which says f(0) = −2. Do not use (0, 1): its first number is 0, and it says f−1(0) = 1, a different fact.
    4. The graph of f crosses the x-axis at a point of the form (a, 0). Its swap, (0, a), is on the graph of f−1 and on the y-axis. That point is (0, 1). Swap it back to get (1, 0).Swapping trades the axes, so the place where f−1 crosses the y-axis tells you where f crosses the x-axis.
    Answer
    • (a) f(3) = 4
    • (b)f(0)=−2
    • (c) The graph of f crosses the x-axis at (1, 0).
    Double-check Swap all five points to get points on the graph of f: (−1, −4), (0, −2), (1, 0), (2, 2), (3, 4). Read the answers from this list: f(3) = 4, f(0) = −2, and (1, 0) is on the x-axis. Then compose: f−1(f(3)) = f−1(4) = 3, read from the point (4, 3). You are back at 3, as a function and its inverse function require.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: A table of f has one column with 2 over 9 and another column with 9 over 4. Tempting answer: f−1(9) = 4, because 9 sits over 4.
    The column 9 over 4 says f(9) = 4. That is f read forward. It tells you nothing about which input produced the output 9.
    ✓ Instead: Find 9 in the output row. It sits under 2, so f(2) = 9 and f−1(9) = 2.
    ✗ Not this: To draw f−1, flip the graph of f over the x-axis, so (1, 3) becomes (1, −3).
    Flipping over the x-axis changes the sign of every output. It does not trade inputs with outputs. The point (1, −3) says 'the input 1 gives −3', which has nothing to do with undoing f(1) = 3.
    ✓ Instead: Trade the two numbers: (1, 3) becomes (3, 1). The mirror is the slanted line y = x, not the x-axis and not the y-axis.
    ✗ Not this: A function h has h(1) = 5, h(2) = 8 and h(3) = 5. Trade the rows of its table to get the table of h−1.
    After the trade, the input 5 would have two outputs, 1 and 3. A function gives each input exactly one output, so the traded table is not a function. The rule applies only to a one-to-one function, and h repeats the output 5.
    ✓ Instead: h has no inverse function. Always check for a repeated output, or use the horizontal line test, before you trade anything.
    ✗ Not this: Swapping (−2, 5) gives (2, −5), because swapping moves the minus sign.
    The swap moves whole numbers, and each number keeps its own sign. Nothing changes sign.
    ✓ Instead: (−2, 5) becomes (5, −2). In words: f(−2) = 5, so f−1(5) = −2.

    Tips and tricks

    • Memory cue: 'Inverse: trade places.' The rows of the table trade places, the two numbers in each point trade places, and the two axes trade places.
    • Say each point as a sentence. (1, 3) on f is 'f sends 1 to 3'. Its swap (3, 1) is 'f inverse sends 3 back to 1'. If the two sentences do not undo each other, the swap was done wrong.
    • A point with two equal numbers, such as (2, 2), does not move when you swap it. So wherever the graph of f touches the line y = x, the graph of f−1 passes through the same spot.
    • Axis crossings trade axes. If f crosses the y-axis at (0, 3), then f−1 crosses the x-axis at (3, 0).
    • You can read f−1(k) from the graph of f without drawing anything new: start at height k on the y-axis, go across to the graph, then straight down to the x-axis.
    • To check a drawn inverse, turn the paper until the line y = x points straight up. The two graphs should look like the left and right wings of a butterfly. Use the same spacing on both axes, or the mirror will look bent.
    • After trading the rows of a table, the new input row is the old output row. If your new inputs are not exactly the old outputs, something was copied wrong.

    7 The trap

    Reading in the forward direction. For f−1(5), the 5 is an output of f, so look for it in the output row of the table, or at height 5 on the y-axis of the graph. If you look for 5 in the input row, or at 5 on the x-axis, you find f(5), the answer to the forward question. Before you read anything, say the question aloud: 'f gave 5; what went in?'

    Flash cards

    Say the answer out loud, then flip.

    You have the table of a one-to-one function f. How do you get the table of f−1?
    Trade the two rows. The old output row becomes the new input row, like reading a gym sign-in sheet from the person back to the locker. If you reorder, slide whole columns so each input stays with its own output.
    What does f−1(5) ask, and where do you look for the 5?
    It asks: f gave the output 5, so which input went in? Look for 5 in the output row of the table of f, or at height 5 on the y-axis of its graph, then read back to the input.
    The point (2, 9) is on the graph of a one-to-one function f. Which point must be on the graph of f−1, and why?
    The point (9, 2). The point (2, 9) says f(2) = 9, which means f−1(9) = 2. Swap the two numbers in the point.
    The graph of f−1 is the graph of f flipped across which line, and how do you check a swapped point against it?
    The line y = x, which acts as a mirror. A point (a, b) and its swap (b, a) must sit straight across that line from each other, the same distance away.

    From earlier

    Domain and range trade places

    f is a one-to-one function. Where do you get the domain of f−1?
    Show answer
    From the range of f. The backward coat check takes in tickets, and only the tickets that were handed out.

    Domain and range trade places

    You know f(4) = 9, and f is a one-to-one function. Which number goes into f−1, and which comes out?
    Show answer
    9 goes in, so 9 is in the domain of f−1.
    4 comes out, so 4 is in the range of f−1.
    Reason: f(4) = 9 says the same thing as f−1(9) = 4.