Chapter 9 Ā· Functions
Read Functions and Values from Graphs
Use vertical lines to tell whether a graph shows a function, then read exact outputs at marked inputs and check them against each piece.
You already know that a function gives each allowed input exactly one output, while different inputs may share an output. The set of allowed inputs is called the domain. You have used this rule with tables and ordered pairs. For each graph in this lesson, the text states which inputs it covers, and the grid lines are unit apart.
A graph shows input-output pairs as points. In a point , the input is measured along the horizontal axis and the output along the vertical axis. Every point with input , for example, lies on one vertical line: the line through on the horizontal axis. So each point where that line meets a graph gives one output for input , and counting those points tells you how many outputs input has.
Key concept
The vertical-line check
A graph shows as a function of when every input in its stated domain has exactly one output. Different inputs may share an output, so two points at the same height are fine when their inputs differ.
To check, imagine a vertical line at every input in the domain:
- If each of these lines meets the graph exactly once, the graph is a function on that domain.
- If any of these lines meets the graph at two or more points, that input has two or more outputs, so the graph is not a function of .
Apply the check to the whole graph across its whole domain. Testing a few sample inputs leaves the rest untested, but one failing input is enough to rule out a function.
Graph on a coordinate grid. Horizontal axis: x, from ā2 to 6. Vertical axis: y, from ā3 to 5. Grid lines every 1. A circle with center (2, 1) and radius 3. Its leftmost, rightmost, lowest and highest points are (ā1, 1), (5, 1), (2, ā2) and (2, 4). At the input x = 2 the circle has two outputs, y = ā2 and y = 4, so it is not the graph of a function of x.
Worked example
Testing a circle
The figure shows a circle with center and radius , so every point on it is exactly units from the center. Its inputs run from to . Is the circle a function of ?
Choose an input from ā1 to 5 to test. The center's input, x = 2, is a good choice, because the vertical line there passes right through the center.
Move 3 units straight up and straight down from the center (2, 1). Each new point is exactly 3 units from the center, so it lies on the circle. Moving straight up or down changes only y, so both points keep the input 2.
So input 2 has two outputs, 4 and ā2. One input with two outputs breaks the rule, so you can stop here: no other input needs checking.
Answer
The circle is not a function of , because the input has two outputs, and .
Graph on a coordinate grid. Horizontal axis: x, from ā1 to 6. Vertical axis: y, from ā1 to 5. Grid lines every 1. A sideways parabola, x = y² ā 4y + 5, drawn for y = 0 to 4. It opens to the right, with its vertex at (1, 2), and its ends are (5, 0) and (5, 4). At the input x = 5 it has two outputs, y = 0 and y = 4, so it is not the graph of a function of x.
A parabola is a U-shaped curve. The curve above is a sideways parabola: its equation , for , finds from , so the U opens to the right. Putting in values of gives points on it:
- : , one end
- :
- : , the turning point, where the curve changes direction
- :
- : , the other end
Its inputs run from , at the turning point, to , at the ends. Input appears twice: and are both on the curve, so input has two outputs. The sideways parabola is not a function of . The next graph passes the check.
Graph on a coordinate grid. Horizontal axis: x, from ā1 to 9. Vertical axis: y, from ā1 to 7. Grid lines every 1. One connected path over the inputs x = 0 to 8, with closed endpoints at (0, 1) and (8, 3). Every input from 0 to 8 has exactly one output, so it is the graph of a function. Piece 1 of 3, x = 0 to 2: straight, from (0, 1) to (2, 5), slope 2, increasing. Join at (2, 5). Piece 2 of 3, x = 2 to 6: curved, part of y = x² ā 8x + 17, from (2, 5) to (6, 5); it opens upward, with its turning point (a minimum) at (4, 1). It is decreasing from x = 2 to 4, getting less steep (slope ā4 to 0), then increasing from x = 4 to 6, getting steeper (slope 0 to 4). Join at (6, 5). Piece 3 of 3, x = 6 to 8: straight, from (6, 5) to (8, 3), slope ā1, decreasing. Increasing on x = 0 to 2; decreasing on x = 2 to 4; increasing on x = 4 to 6; decreasing on x = 6 to 8. Straight (linear) on x = 0 to 2 and x = 6 to 8; curved (nonlinear) on x = 2 to 6.
Worked example
Testing a connected path
This graph is one connected path over the domain , with its pieces joined end to end. From left to right, the pieces are the segment from to , the curve for , and the segment from to . Is the graph a function of on its domain?
Check that the pieces cover the whole domain. They run over inputs 0 to 2, then 2 to 6, then 6 to 8, so every input from 0 to 8 lies on at least one piece.
Check inside each piece. Each segment's endpoints have different inputs, so it is not vertical, and a vertical line meets it at most once. Unlike the sideways parabola, the curve's equation finds y by calculating with x, and one calculation gives one result. So inside any one piece, each input has one output. This comes from the stated endpoints and equation, not from how the picture looks.
Check input 2, where the first segment meets the curve, because it belongs to both pieces. The segment ends at (2, 5), and the curve gives the same output, so input 2 still has only one output.
Check input 6 the same way. The curve gives 5, which matches the start (6, 5) of the last segment.
Notice that inputs 2 and 6 share the output 5. That is allowed: the rule limits how many outputs one input has, not how many inputs share an output.
Answer
Yes. Every input in the domain has exactly one output, so the graph is a function of on that domain.
Because a function gives each input in its domain exactly one output, though different inputs may share an output, you can ask for the output of an input. To read it, start at the input on the horizontal axis and look straight up to the graph (straight down if the graph is below the axis). Then look straight across to the vertical axis: the number there is the output. This works because the point you reach has your input as its -coordinate, and its height is its -coordinate, the output.
Read values only at marked inputs, the inputs where the figure marks a point on the graph. They sit on grid lines, and the figure gives each marked point exactly. Between marks, the drawing can only suggest an estimate, not an exact value. After reading a value, check it against the piece it lies on, using that piece's equation or its endpoints. An input outside the domain has no output, because the vertical line there misses the graph.
Graph on a coordinate grid. Horizontal axis: x, from ā1 to 9. Vertical axis: y, from ā1 to 7. Grid lines every 1. One connected path over the inputs x = 0 to 8, with closed endpoints at (0, 1) and (8, 3). Every input from 0 to 8 has exactly one output, so it is the graph of a function. Piece 1 of 3, x = 0 to 2: straight, from (0, 1) to (2, 5), slope 2, increasing. Join at (2, 5). Piece 2 of 3, x = 2 to 6: curved, part of y = x² ā 8x + 17, from (2, 5) to (6, 5); it opens upward, with its turning point (a minimum) at (4, 1). It is decreasing from x = 2 to 4, getting less steep (slope ā4 to 0), then increasing from x = 4 to 6, getting steeper (slope 0 to 4). Join at (6, 5). Piece 3 of 3, x = 6 to 8: straight, from (6, 5) to (8, 3), slope ā1, decreasing. Increasing on x = 0 to 2; decreasing on x = 2 to 4; increasing on x = 4 to 6; decreasing on x = 6 to 8. Straight (linear) on x = 0 to 2 and x = 6 to 8; curved (nonlinear) on x = 2 to 6. Marked values: at x = 1, y = 3; at x = 3, y = 2; at x = 7, y = 4.
Worked example
Reading values from the path
Use the marked points on this graph, whose domain is , to find the outputs for inputs , and , and check each one against its piece. Then decide whether input has an output.
Input 1: start at 1 on the horizontal axis, look up to the marked point, then look across to the vertical axis, which gives 3. Check it: input 1 is on the segment from (0, 1) to (2, 5). On a straight segment, equal steps in input give equal steps in output, so input 1, halfway from 0 to 2, has the output halfway from 1 to 5.
Input 3: look up from 3 to the marked point on the curve, then across to the output 2. Check it by putting x = 3 into the curve's equation, which covers inputs 2 to 6.
Input 7: look up from 7 to the marked point, then across to the output 4. Check it: input 7 is halfway along the segment from (6, 5) to (8, 3), so its output is halfway from 5 to 3.
Input 9 is greater than 8, so it lies outside the domain. The vertical line at 9 misses the graph, so input 9 has no output here. Do not extend the last segment to guess one.
Answer
Input has output , input has output , and input has output . Input is outside the domain , so the graph gives it no output.
A graph is a function of when every input in its stated domain has exactly one output: each vertical line at an input in the domain meets the graph exactly once, though different inputs may share an output. A circle and a sideways U-shaped parabola each have an input with two outputs, so neither is a function of . On a function's graph, find an output by looking from a marked input up (or down) to the graph and across, then confirm it with the piece's equation or endpoints. Inputs outside the domain have no output. Next, you will find the domain and range of a function, where the range is the set of all its outputs.