Evaluate and solve from tables and graphs
Quick review (2 minutes)
Think of a train timetable.
Evaluate g(3): input 3 is given; read its output. Solve g(n) = 6: output 6 is given; find every input paired with it. A point (x, y) on a function graph means y = f(x).
Translate the question into either given input, find output, or given output, find inputs.
In a table, stay in the same column when moving between its input and output rows.
On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
Check each answer against its original column or point. Do not invent values between isolated data points.
A city shuttle makes seven stops on its morning loop, numbered s = 1 through s = 7. The function P gives the number of passengers on board, P(s), just after the shuttle pulls away from stop s. The table lists every value of P:
s (stop number): 1, 2, 3, 4, 5, 6, 7
P(s) (passengers): 8, 14, 21, 14, 11, 14, 9
(a) Evaluate P(5) and say what it means.
(b) Solve P(s) = 14 and say what it means.
(c) Solve P(s) = 17.
(a) P(5) = 11: just after the shuttle leaves stop 5, 11 passengers are on board. (b) s = 2, s = 4 or s = 6: the shuttle carries 14 passengers just after leaving each of stops 2, 4 and 6. (c) No solution: 17 is not an output anywhere in the table, and P has no inputs between the listed stop numbers.
Reading only the first matching output when solving. Scan the whole table or the whole horizontal level of the graph before writing the solution set.
Translate the question into either given input, find output, or given output, find inputs.
In a table, stay in the same column when moving between its input and output rows.
On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
Check each answer against its original column or point. Do not invent values between isolated data points.
Relation
A set of ordered pairs that connects inputs with outputs. It can have conflicting outputs and need not be a function.
Ordered pair
Two values written in a fixed order. Here the first is an input and the second is its paired output.
Set
A collection of distinct members. Braces list them, and repeating a member does not create a new member.
Function
A relation assigning exactly one output to every input in its domain.
Input
A value chosen for a function. The definition decides which values are allowed.
Output
The result a function assigns to a particular input.
Domain
The set of all inputs accepted by the defined relation or function.
Range
The set of all outputs actually produced by the defined relation or function.
Function notation
Writing an output as f(x), with the rule name outside and the input inside parentheses.
Equation
A statement that two expressions are equal, shown with an equals sign.
Formula
A mathematical instruction connecting quantities, often written as an equation.
Evaluate
Find the output at a given input by applying the rule or reading its representation.
Solve
Find every allowed input that satisfies a stated equation or produces a specified output.
Graph
A picture of ordered pairs at their coordinate locations. A graph of a function contains every pair (x, f(x)) for its allowed inputs.
Coordinate
One number in a point's ordered address.
x-coordinate
The first number of a plotted pair, showing horizontal location and usually the input.
Horizontal axis
The left-right reference line on a graph, conventionally the input or x-axis.
Vertical axis
The up-down reference line on a graph, conventionally the output or y-axis.
Square root
The nonnegative number whose square equals the given nonnegative input.
Infinity
Unending extent, written ∞. It is not a final real-number endpoint.
Origin
The point (0, 0), where the horizontal and vertical axes meet.
Nonnegative
Zero or positive; written x ≥ 0.
1 In plain words
Think of a train timetable. If you know the train, you look across to find its arrival time. If you know the arrival time, you search for every train arriving then. A function table works the same way. You can start with an input and find its output, or start with an output and find all matching inputs. A graph is another picture of those same pairs. Its horizontal position shows the input, and its vertical position shows the output. Read the question first so you know which direction to search. You do not need a formula when the table or graph supplies the answer.
2 Picture it
Reminder
Reminder: Evaluate versus solve, Squaring a negative
- Evaluate versus solve. In g(3), 3 is the given input. In g(n) = 6, 6 is the given output. These are different starting points.
- Squaring a negative. Keep parentheses: (−2 = 4. The expression − means −4.
3 Why
Each column of an input and output table keeps a pair together. Moving down a column therefore preserves the connection between the two values. On a graph, a point's two coordinates preserve that same connection: (3, 7) says input 3 gives output 7. Fixing an input selects one output because the relation is a function. Fixing an output can select several inputs because different inputs may share an output.
4 The rule
Evaluate g(3): input 3 is given; read its output.
Solve : output 6 is given; find every input paired with it. A point (x, y) on a function graph means .
The same idea, five ways
g of three is seven. g of n equals six asks which n values work.
Evaluation begins with an input. Solving begins with an output and collects all matching inputs.
- g(3) = 7
- (3, 7)
- g(n) = 6 gives n = 2 or n = 4
- Points (2, 6) and (4, 6) share height 6.
A train name finds its arrival time; an arrival time can match several trains.
The same idea, other ways
Given a train name, look for one arrival time. Given an arrival time, collect every train name next to it. Evaluation and solving reverse the search.
The table column with input 3 and output 7 becomes the graph point (3, 7). You can read that same pair from either direction.
Part 1: Table lookup in both directions
A table can work like a contact list. The input can be a name, and you look beside that name for the attached information. This table gives a pet label as input and memory span in hours as output. Call its rule M. Find Gold in the input row to evaluate M(Gold). Search backward from an hour value to find its pet label. The short table labels are Pup for puppy, Dog for adult dog, Gold for goldfish, and Beta for beta fish. Cat is unchanged.
- M has the listed pet labels as its domain and the listed hour values as its range.
- M(Gold) = 2160 hours in this table. Gold is the goldfish label.
- A table can define the entire function or show selected values. Read the statement before assuming missing inputs are allowed.
- Reason: A function associates an input with an output; it does not require the input to be a number or the rule to be a formula. The paired entries already tell you the rule for the listed labels. Looking up an unlisted label would need more information. Changing the direction of the search does not change any pair, so checking an answer means reading its column in the other direction.
Reminder
Reminder: Function notation
- Function notation. M(Cat) means use Cat as the input to M. It does not mean multiplication.
The same idea, five ways
M of Gold equals two thousand one hundred sixty hours.
The goldfish input label Gold has an output of 2160 hours.
- M(Gold) = 2160
- (Gold, 2160)
- M(pet) = 3600 gives pet = Beta
Look up a name in a contact list, then read the entry attached to that name.
Worked example
Read a label, then reverse the search
Find M(Gold), the memory span paired with the goldfish label Gold. Then solve M(pet) = 3600, meaning find every pet label paired with 3600 hours.
What it asks. Find the number attached to Gold, then the pet label attached to 3600 hours.
Show the steps and the answer
The plan. Read down from Gold for evaluation and up from 3600 for solving.
- Plan. Read down from Gold for evaluation and up from 3600 for solving.
- Gold is the table label for goldfish.
- The hour value 3600 is in the last output cell.
- Locate Gold in the input row and read 2160 directly below it.The output in that column is M(Gold), the memory span for goldfish.
- Locate 3600 in the output row and read Beta directly above it.Solving reverses the lookup, and no other output cell holds 3600.
- M(Gold) = 2160 hours.
- M(pet) = 3600 gives pet = Beta, the beta fish label.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Keep the output unit: pet label goes in, hours come out.
- If a pet label is not listed, the table gives no value for it.
- As a contact list: A person's name can locate a phone number without an arithmetic formula. A pet label can locate its hour value the same way.
- As arrows: Each label points to its paired number. To solve for an output, trace every arrow ending at that number back to its label.
Part 2: Graph reading in both directions
Think of a building directory on a map. Start with an input address along the horizontal axis, move straight up or down until you reach the curve, then read its height as the output. Starting with an output reverses the search: hold that height and look across for every point at that level. The curve s(x) = includes the points between the marked samples because its formula defines them too. Separate table dots alone do not tell you to draw a connecting curve.
- The graph of a function is its collection of input and output points (x, f(x)).
- For the curve s(x) = , each input is squared to find its height.
- Evaluate by choosing x first. Solve by choosing y first. A height below this square curve has no matching point.
- Reason: All points directly above one horizontal position have the same input. That makes a vertical search useful when the input is given. All points at the same height have the same output. That makes a horizontal search useful when the output is given. Joining separate data dots would claim answers for new inputs. Only a curve or rule gives permission to include those extra points.
Reminder
Reminder: Coordinates
- Coordinates. In (−3, 9), go 3 left and 9 up. The order is horizontal first, vertical second.
The same idea, five ways
s of two equals four. s of x equals nine asks which x values reach nine.
The curve height gives an output; the horizontal addresses at a given height give its input solutions.
- s(2) = 4
- (2, 4)
- s(x) = 9 gives x = −3 or x = 3
An address finds one shelf height; a shelf height may occur at several addresses.
Worked example
A square curve gives one output and two inputs
For the graph s(x) = , evaluate s(2), meaning read the height at input 2. Then solve s(x) = 9, meaning find every input at height 9.
What it asks. Read one output at input 2, then all inputs at output height 9.
Show the steps and the answer
The plan. Move vertically from x = 2 to the curve. Then follow the horizontal dashed level at height 9 to both contacts.
- Plan. Move vertically from x = 2 to the curve. Then follow the horizontal dashed level at height 9 to both contacts.
- The point (2, 4) carries input 2 and output 4.
- Both points (−3, 9) and (3, 9) have height 9.
- Start at 2 on the horizontal axis and move up to the point (2, 4). Read .The point's vertical coordinate is the output for its horizontal coordinate.
- Start at height 9 on the vertical axis and look across to both curve points and (3, 9).Both points have the requested output 9.
- Read their horizontal coordinates and write or .Solving asks for the inputs, rather than the common height.
- s(2) = 4.
- For s(x) = 9:
- x = 3.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write input or output beside the given value before touching the graph.
- A few marked points on a curve are samples. Separate data dots without a curve do not authorize joining them.
- As a map address: For s(2), go to horizontal position 2 and read the curve's height 4. The address (2, 4) contains the answer.
- As a level shelf: For s(x) = 9, slide a level shelf across height 9. It touches this curve at horizontal positions −3 and 3.
Part 3: Domain and range from a graph
Imagine shining a lamp straight down onto a curve. Its shadow on the horizontal axis shows every input position the graph covers: the domain. Now shine the lamp from the side. The shadow on the vertical axis shows every output height it reaches: the range. Domain is read left to right. Range is read bottom to top. The drawn window shows a portion of an unending curve, so use its continuing direction together with the rule to decide whether a shadow continues forever.
- Domain: the graph’s horizontal input coverage. Read its shadow on the x-axis.
- Range: the graph’s vertical output coverage. Read its shadow on the y-axis.
- For , both shadows start at the included zero and continue in the positive direction.
- For , the bowl reaches left and right forever, so domain is all real numbers. Its heights are zero or positive, so range is [0, ∞).
Reminder
Reminder: Interval endpoints
- Interval endpoints. [0, ∞) includes zero. The parenthesis at infinity means there is no last point.
The same idea, five ways
Domain is left to right. Range is bottom to top.
Inputs make the horizontal shadow; outputs make the vertical shadow.
- For y = : domain [0, ∞), range [0, ∞).
- For y = : domain (−∞, ∞), range [0, ∞).
Two lamps cast two different shadows of the same curve.
Worked example
Read the square-root graph’s two shadows
Use the graph y = to find its domain and range.
What it asks. Find every input position and every output height covered by the graph.
Show the steps and the answer
The plan. Project the graph onto the x-axis for domain and onto the y-axis for range. Read included endpoints separately.
- Plan. Project the graph onto the x-axis for domain and onto the y-axis for range. Read included endpoints separately.
- Domain is read left to right.
- Range is read bottom to top.
- Read left to right: the graph starts at input 0 and continues right forever.Domain collects the horizontal input positions covered by the curve.
- Write domain .The starting point (0, 0) includes input 0, and the curve has no last input.
- Read bottom to top: the lowest height is 0, and the graph continues upward forever.Range collects the vertical output heights the curve reaches.
- Write range .Output 0 is included, and no upper height is the last output.
- Domain: [0, ∞).
- Range: [0, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory cue: D before R, I before O, x before y. Domain is input x; range is output y.
- Check whether a finite endpoint is included before choosing its bracket.
- With shadows: Drop the graph’s points onto the x-axis for domain. Move them sideways onto the y-axis for range.
- With a point address: The point (4, 2) contributes input 4 to the domain and output 2 to the range. Collect every graph point’s first or second coordinate.
5 How
- Translate the question into either given input, find output, or given output, find inputs.
- In a table, stay in the same column when moving between its input and output rows.
- On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
- For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
- Check each answer against its original column or point. Do not invent values between isolated data points.
Read a table or graph in the requested direction
- Translate the question into either given input, find output, or given output, find inputs.
- In a table, stay in the same column when moving between its input and output rows.
- On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
- For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
- Check each answer against its original column or point. Do not invent values between isolated data points.
6 Worked example
Worked example
Evaluate and solve from a shuttle's passenger table
A city shuttle makes seven stops on its morning loop, numbered s = 1 through s = 7. The function P gives the number of passengers on board, P(s), just after the shuttle pulls away from stop s. The table lists every value of P:
s (stop number): 1, 2, 3, 4, 5, 6, 7
P(s) (passengers): 8, 14, 21, 14, 11, 14, 9
(a) Evaluate P(5) and say what it means.
(b) Solve P(s) = 14 and say what it means.
(c) Solve P(s) = 17.
Show the steps and the answer
- Translate part (a). In P(5) the number inside the parentheses is the input. This is 'given input, find output': the stop number is given and the passenger count is wanted.In function notation the value inside the parentheses is always the input, and P(5) names the output paired with it.
- Find 5 in the s row of the table. Stay in that same column, move down to the P(s) row and read the entry, which is 11. So .Each column of the table is one input-output pair. The output for s = 5 is the entry directly below it, not an entry from a neighboring column.
- Interpret: means that just after the shuttle pulls away from stop 5, 11 passengers are on board.The input is a stop number and the output is a number of passengers, so the meaning names the stop and the count in the words of the problem.
- Translate part (b). In the number 14 is a value of P. This is 'given output, find inputs': the passenger count 14 is given and every stop number s with that count is wanted.The equation sets the output P(s) equal to 14 and leaves the input s unknown. It is not P(14), which would treat 14 as an input, and there is no stop 14.
- Scan the entire P(s) row: 8, 14, 21, 14, 11, 14, 9. The value 14 appears three times. Move up each of those three columns to the s row to get and .Solving means finding every input paired with the given output. A function can give the same output for different inputs, so the search cannot stop at the first 14.
- Interpret: when or . The shuttle carries 14 passengers just after leaving stop 2, just after leaving stop 4 and just after leaving stop 6.Each solution is an input, which here is a stop number, and the equation says the output 14 occurs at each of those stops.
- Translate part (c). is again 'given output, find inputs'. Scan the entire P(s) row: 8, 14, 21, 14, 11, 14, 9. No entry is 17.The table lists every value of P, so a stop is a solution only if 17 appears in its column.
- Do not estimate an input between (14 passengers) and (21 passengers), such as . Conclude that has no solution.P is defined only at the stop numbers 1 through 7. There is no stop between stop 2 and stop 3, so there is no input there and no output to read. A value invented between isolated data points is not data the table contains.
Work to write
- P(5) = 11
- Just after the shuttle leaves stop 5, 11 passengers are on board.
- P(s) = 14 when s = 2, s = 4 or s = 6
- The shuttle carries 14 passengers just after leaving stops 2, 4 and 6.
- P(s) = 17 has no solution, because 17 is not an output in the table and there is no stop between the listed stops.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
Evaluate one table input
Evaluate g(1), meaning find the output under input 1 in the table.
What it asks. Find the output in the column for input 1.
Show the steps and the answer
The plan. Locate input 1 and read directly down.
- Plan. Locate input 1 and read directly down.
- The first column begins with input 1.
- Its lower cell is 8.
- Find 1 in the input row and read the 8 below it.Evaluation follows one known input to its paired output.
Rung 2 of 4
Evaluate a graph input
For the curve s(x) = , evaluate s(−2), meaning read the output height at input −2.
What it asks. Read the square curve’s height at input −2.
Show the steps and the answer
The plan. Keep x = −2 while moving vertically to the curve, then read y.
- Plan. Keep x = −2 while moving vertically to the curve, then read y.
- −2 is left of the origin.
- The point there is (−2, 4).
- Start at on the horizontal axis and move vertically to the curve at .The input stays −2 during a vertical move.
- Read the height 4, so .The vertical coordinate is the output.
Rung 3 of 4
Two graph solutions, then no solutions
On the curve s(x) = , solve s(x) = 4 and s(x) = −1. Each question gives an output height and asks for every input at that height.
What it asks. Find every input at height 4, then every input at height −1.
Show the steps and the answer
The plan. Inspect each dashed horizontal level and read the x-coordinate of every curve contact.
- Plan. Inspect each dashed horizontal level and read the x-coordinate of every curve contact.
- Height 4 has two contacts.
- The square curve never goes below zero.
- At height 4, find curve points and (2, 4). Read or .Both points have output 4.
- At height , find no point on the curve. Write no real solution.A square is never negative, so this curve never reaches a height below zero.
- For s(x) = 4:
- x = 2.
- For s(x) = −1: no real solution.
Rung 4 of 4
Solve on a shifted square graph
Use the graph of u(x) = (x − 3. Evaluate u(4), then solve u(x) = 4 and u(x) = 0.
What it asks. Read one given input and two given heights. The solution inputs need not be opposites.
Show the steps and the answer
The plan. Use vertical lookup for u(4), then horizontal lookup for output heights 4 and 0.
- Plan. Use vertical lookup for u(4), then horizontal lookup for output heights 4 and 0.
- The graph’s bottom is at x = 3, rather than x = 0.
- At height 4, the contacts lie two units to either side of 3.
- At input 4, read the point (4, 1), so .Evaluation uses the point’s height as its output.
- Follow height 4 to (1, 4) and (5, 4), so or .Solving collects every horizontal input address at the requested height.
- At height 0, the graph has only the point (3, 0), so .The lowest point gives one contact at this height.
- u(4) = 1.
- For u(x) = 4:
- x = 1.
- x = 5.
- For u(x) = 0: x = 3.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Remember down to evaluate, up from every match to solve in an input row above an output row.
- On a graph, evaluation fixes horizontal position; solving fixes height.
7 The trap
Reading only the first matching output when solving. Scan the whole table or the whole horizontal level of the graph before writing the solution set.
Comes back in
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.