Reading an inverse from a table and from a graph
Leans on
Quick review (2 minutes)
Picture the sign-in sheet at a gym.
If f is a one-to-one function, then: (1) the table of 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 ; (3) the graph of is the graph of f reflected (flipped, as in a mirror) across the line y = x.
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.
To find one value, such as (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.
To get the whole table of , trade the two rows. The old output row becomes the new input row.
If you want the new inputs in order from smallest to largest, slide whole columns. Never separate an input from its own output.
To get the graph of , pick several clear points on the graph of f, write each one as (a, b), and swap it to (b, a).
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.
Check one value both ways: if you wrote (b) = a, the table or graph of f must show f(a) = b.
Say what is being asked: takes an output of f and returns the input it came from.
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.
For one value (k), find k among the outputs of f (the output row, or height k on the y-axis) and read back to its input.
For a whole table, trade the two rows, then slide whole columns into order if you like.
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.
Check one answer forward: (b) = a is right only if f(a) = b.
The first table shows a function g. In plain words, 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 .
(c) Find (7) and (0).
(d) The point (3, 7) is on the graph of g. Which point does that put on the graph of ?
(a) Yes. No output of g repeats, so g is a one-to-one function.
(b) The second table: (−3) = 1, (0) = 6, (1) = 0, (4) = −2, (7) = 3.
(c) (7) = 3 and (0) = 6.
(d) (7, 3)
Reading in the forward direction. For (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?'
inverse function
A function that undoes another one. It takes each output of the first function back to the input it came from.
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.
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
Reminder
Reminder: Reading a point, Negative coordinates, What the notation 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 means. f(a) = b gives (b) = a. If f(2) = 9, then (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 are the outputs of f. If the outputs of f are 4, 7 and 9, then 4, 7 and 9 are the only numbers accepts.
- Checking inverses by composing. Feeding the answer back must return the starting number: if (7) = 3, then f(3) must be 7, so f((7)) = 7.
3 Why
Earlier in this unit you saw that f(a) = b means (b) = a. A table column with a on top and b underneath says f(a) = b, so the same column turned upside down says (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 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 ; (3) the graph of is the graph of f reflected (flipped, as in a mirror) across the line .
The same idea, five ways
'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.'
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.
- f(a) = b means (b) = a
- (a, b) on the graph of f gives (b, a) on the graph of
- table of = table of f with the two rows traded
- graph of = graph of f reflected across the line y = x
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.
The same idea, other ways
Fold the page along the line y = x and the graph of f lands on the graph of . 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.
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.
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 (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 .
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 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.
| Point on the graph of f | What it says | Swapped point, on the graph of | What it says |
|---|---|---|---|
| (0, 1) | f(0) = 1 | (1, 0) | |
| (1, 3) | f(1) = 3 | (3, 1) | |
| (2, 5) | f(2) = 5 | (5, 2) | |
5 How
- 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.
- To find one value, such as (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.
- To get the whole table of , trade the two rows. The old output row becomes the new input row.
- If you want the new inputs in order from smallest to largest, slide whole columns. Never separate an input from its own output.
- To get the graph of , pick several clear points on the graph of f, write each one as (a, b), and swap it to (b, a).
- 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.
- Check one value both ways: if you wrote (b) = a, the table or graph of f must show f(a) = b.
Reading an inverse from a table or from a graph
- Say what is being asked: takes an output of f and returns the input it came from.
- 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.
- For one value (k), find k among the outputs of f (the output row, or height k on the y-axis) and read back to its input.
- For a whole table, trade the two rows, then slide whole columns into order if you like.
- 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.
- Check one answer forward: (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, 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 .
(c) Find (7) and (0).
(d) The point (3, 7) is on the graph of g. Which point does that put on the graph of ?
Show the steps and the answer
- 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 exists.
- 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 over 4 becomes a column with 4 over .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.
- Slide whole columns so the new inputs run from smallest to largest. The second table is the result. Its first column, over 1, came from the old column 1 over .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.
- Find . Look for 7 in the g(x) row of the first table. It sits under , so .(7) asks which input of g produced the output 7. The first table says g(3) = 7.
- Find . Look for 0 in the g(x) row of the first table, not in the x row. It sits under , so .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.
- 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 (7) = 3, which is the point (7, 3) on the graph of .
- (a) Yes. No output of g repeats, so g is a one-to-one function.
- (b) The second table: (−3) = 1, (0) = 6, (1) = 0, (4) = −2, (7) = 3.
- (c) (7) = 3 and (0) = 6.
- (d) (7, 3)
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 (9)?
(b) Name the point this fact puts on the graph of h, and the point it puts on the graph of .
Show the steps and the answer
- Write the fact as the point (4, 9).In a point on a graph, the first number is the input and the second number is the output.
- Read the fact backward: .The inverse function takes each output of h back to the input it came from, and the output 9 came from the input 4.
- Swap the two numbers in (4, 9) to get (9, 4).(9) = 4 has input 9 and output 4, so on the graph of it is the point (9, 4).
- (b) (4, 9) is on the graph of h, and (9, 4) is on the graph of .
Rung 2 of 5
One value from a table, with a tempting wrong column
The table shows a one-to-one function p. Find (5) and (1). In plain words: p gave the output 5, which input was it? Then the same question for the output 1.
Show the steps and the answer
- For , find 5 in the p(x) row. It sits under . So .The input of is an output of p, so it must be found in the output row. The column says p(4) = 5.
- 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.
- For , find 1 in the p(x) row. It sits under . So .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.
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 .
(b) Where does the graph of cross each axis?
(c) Which point is on both graphs?
Show the steps and the answer
- 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.
- 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 (b) = a, the point (b, a).
- 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 crosses the x-axis at (3, 0). f crossed the x-axis at (6, 0), so crosses the y-axis at (0, 6).
- 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.
- 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.
- (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.
Rung 4 of 5
Reading 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 (3) and (1) without drawing the graph of . In plain words, (3) asks: the output of f is 3, what was the input?
Show the steps and the answer
- 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.
- For , start at 3 on the y-axis, not on the x-axis.The input of is an output of f, and the outputs of f are heights, measured on the y-axis.
- 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 .The point (4, 3) says f(4) = 3, so the output 3 came from the input 4.
- For , start at height 1 on the y-axis. The curve is right there, at the point (0, 1). The input is 0, so .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.
Rung 5 of 5
You are handed the graph of and asked about f
This time the solid line in the first picture is the graph of , 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.
Show the steps and the answer
- Turn the question around. f(3) asks for the output of f when the input is 3. On the graph of , the inputs of f appear as the second numbers of the points.A point (b, a) on the graph of says (b) = a, which is the same fact as f(a) = b. Undoing works in both directions: f undoes as much as undoes f.
- Find the point whose second number is 3. It is (4, 3). So .(4, 3) on the graph of swaps to (3, 4) on the graph of f, and (3, 4) says f(3) = 4.
- Find the point whose second number is 0. It is . So .(−2, 0) swaps to (0, −2), which says f(0) = −2. Do not use (0, 1): its first number is 0, and it says (0) = 1, a different fact.
- 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 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 crosses the y-axis tells you where f crosses the x-axis.
- (a) f(3) = 4
- (c) The graph of f crosses the x-axis at (1, 0).
Counterexamples
What it is not, and the tempting wrong moves.
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 passes through the same spot.
- Axis crossings trade axes. If f crosses the y-axis at (0, 3), then crosses the x-axis at (3, 0).
- You can read (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 (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 ?
What does (5) ask, and where do you look for the 5?
The point (2, 9) is on the graph of a one-to-one function f. Which point must be on the graph of , and why?
The graph of is the graph of f flipped across which line, and how do you check a swapped point against it?
From earlier
Show answer
Show answer
4 comes out, so 4 is in the range of .
Reason: f(4) = 9 says the same thing as (9) = 4.