Graphs of Functions
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Read the graph as every pair
- Build a graph from a table of inputs and outputs
- Find by moving up or down to the curve and across
- Locate any intercepts, where the graph meets an axis
- Take the domain as horizontal spread and the range as vertical
- Say where a function increases, decreases, and turns
The graph of a function is a picture of every input and output
Take . The input gives , so the graph includes the point . Every other allowed input produces another point the same way, and together all of those points make up the graph.
The graph of a function is the set of all points for inputs in its domain; it has no other points. The first coordinate is the input and the second is its output. Thus graphing means graphing , using the same methods you used for lines and parabolas.
At any allowed input , the graph has exactly one point, . Its height, which can be negative, is . This is the vertical line test from What Is a Function?: a vertical line meets the graph at most once, because one input has only one output.
A point lies on the graph exactly when #
For the rule above, . Then lies on the graph, but does not: its height is not the output . Conversely, reading tells us that .
Now let be any input in the domain. If is on the graph, it must be the point , so its second coordinate is . Conversely, if , then is exactly , one of the graph’s points. Both directions hold:
If you fix an input , you can read as a height. If you fix a height instead, you can find every input where the horizontal line meets the graph. These are the two readings we will use throughout the lesson.
Building a graph from a table
Choose several inputs, calculate their outputs, and plot the points . A table gives only those points; to know what happens between them, you need the rule. Join points with a line when the rule is linear, or with a parabola when it is quadratic.
For a known line or parabola, a useful table includes negative inputs, zero, and positive inputs. Choose points around any intercept or turning point you want to show.
Worked example 1 Graph from a table
The rule squares the input, subtracts twice the input, then subtracts . Because the highest power of is a square, you already know the graph will be a parabola. Pick a spread of inputs and evaluate, keeping the parentheses so the signs are safe.
Collect the input-output pairs in a table so each point is easy to plot:
Plot the five points , , , , and . They do not lie on a line; they bend into a smooth U. Joining them gives the parabola that is the graph of , dipping to its lowest point at and rising on both sides.
Check your understanding
A function is given by this table of inputs and outputs.
Building the graph means plotting each input together with the output written beneath it. Which point belongs on the graph of ?
Building a graph from a table means pairing each input with the output written directly beneath it, giving the point .
The input comes first and the output second, so has the coordinates swapped. and each pair an input with the neighboring column's output instead of its own; read straight down one column to avoid that slip.
Reading a value off the graph
Keep track of whether the question gives you an input or an output.
Finding from the picture. Locate the input on the horizontal axis, move straight up or down until you meet the curve, then read the height there against the vertical axis. That height is , because the point you land on is .
Solving from the picture. Find the height on the vertical axis and follow the horizontal line . Read the input at every meeting with the graph. These inputs solve the equation. There can be several, one, or none, even though each input has only one output.
Worked example 2 Reading and solving from the graph
Use the graph of above, without any algebra.
To find , start at on the horizontal axis and move straight down to the curve. You land on the point , whose height is , so
To solve , do the reverse. Find on the vertical axis and slide across the horizontal line . It meets the parabola at two points, the ones at and . Reading the corresponding input on the horizontal axis gives the two solutions
The same value is an output of the function at two different inputs, which is why the horizontal line crosses twice. A quick check confirms both: and .
Check your understanding
The graph of a function passes through the points , , , , and . What is ?
Finding means reading the output at the input , so look for the point whose first coordinate is .
The input is the first coordinate and the output is the second, so the height above is .
Check your understanding
Using the same graph of , through , , , , and , which of these five points have ?
Solving means finding every listed input whose output is , so look for the points whose second coordinate is .
The points and are on the graph, so:
Both points sit at height , so both of their inputs solve the equation. A single output can come from more than one input.
Intercepts and where the graph meets the axes
Two special readings come up so often that they have their own names.
The y-intercept is the point where the graph meets the vertical axis. Every point on that axis has , so when is an allowed input, the y-intercept is the single point , found by evaluating . A function has at most one y-intercept: either is not an input at all, or it is one input with one output.
The x-intercepts are the points where the graph meets the horizontal axis. Every point on that axis has , so an x-intercept is a point with . Finding the x-intercepts therefore means solving the equation , which is the case of the reading above. These inputs are also called the zeros or roots of the function, and there may be several, one, or none.
Worked example 3 Find the intercepts of
The graph plotted earlier already marks these crossings: on the vertical axis, and and on the horizontal axis. Here is how to find each one directly from the rule, which confirms what the picture already shows.
For the y-intercept, evaluate the rule at :
so the y-intercept is the point .
For the x-intercepts, set the output to and solve . The rule factors, which is the fastest route to its zeros:
A product is zero exactly when one of its factors is zero, so or . The x-intercepts are and .
Check your understanding
The graph of a function passes through , , , , and . What is the y-intercept?
The y-intercept is the point where the graph meets the vertical axis, which is the point with .
The points and both have , so those are the x-intercepts instead.
Check your understanding
Using the same graph of , through , , , , and , which of these listed points are x-intercepts?
The x-intercepts are the points where the graph meets the horizontal axis, where .
The points and both have .
is the y-intercept, not an x-intercept. and have , so neither sits on the axis. A graph can meet the horizontal axis more than once, so picking only one of these two intercepts misses the other.
Domain and range from a graph
The domain is the set of allowed inputs; the range is the set of outputs actually reached. Read the domain along the horizontal axis and the range along the vertical axis. A full parabola continues left and right forever, so its domain is all real numbers. A restricted piece may stop at endpoints.
A filled dot includes its point; a hollow dot leaves that point out. For example, a curve running from a hollow point at to a filled point at , with every input between them, has domain . A curve that runs off the edge of the drawing, often marked with an arrow, continues beyond it. Use the curve and these marks together when deciding which values belong.
Worked example 4 Read the domain and range from the graph
The curve above is drawn only between its two filled endpoints, on the left and on the right, so those endpoints fence in the inputs.
Sweeping left to right, the graph occupies every horizontal position from to , and nothing outside. That horizontal spread is the domain:
Sweeping bottom to top, the lowest the curve reaches is the valley at height , and the highest is , shared by the two endpoints. That vertical spread is the range:
Notice the domain is read along the horizontal axis and the range along the vertical axis. If instead the parabola were drawn with arrows running off both sides, the inputs would never stop and the domain would be all real numbers. With those arrows, the range would be , every height from the low point upward.
Check your understanding
A graph is one continuous curve, drawn only between the filled endpoints and and reaching every height in between as it goes. Over that stretch its lowest height is and its highest height is . What is the range?
The range is the vertical spread of the graph, from its lowest height to its highest, read along the -axis.
The values and are the endpoints' -coordinates, so they describe the domain, not the range.
Check your understanding
Using the same continuous graph, drawn only between the filled endpoints and , what is the domain?
The domain is the horizontal spread of the graph, from its leftmost point to its rightmost, read along the -axis.
The values and are the lowest and highest heights, so they describe the range, not the domain. If the left endpoint were hollow instead, it would exclude and give .
Increasing and decreasing
The last thing a picture shows at a glance is the function’s direction. Read the graph the way you read a sentence, left to right, in the direction of increasing . Where the curve rises as you move right, the outputs are getting larger, and the function is increasing there. Where the curve falls as you move right, the outputs are getting smaller, and the function is decreasing.
More precisely, a function is increasing on an interval if any two inputs there satisfy . It is decreasing if always gives instead.
A turning point is where the curve changes from falling to rising, or from rising to falling. A valley gives a local minimum, lower than nearby values; a hill gives a local maximum, higher than nearby values. The lowest or highest value on the whole domain is an overall minimum or maximum. A graph can have more than one valley or hill.
Worked example 5 Where is increasing?
Trace the graph from left to right. Starting far to the left, the curve comes down steadily, so the outputs are shrinking and is decreasing. It keeps falling until it reaches the lowest point at , then it turns and climbs. To the right of that turning point the outputs grow, so is increasing.
Reading the two stretches off the horizontal axis, the turning happens at , so
The turning point is the minimum point, and is the single lowest output the function ever produces. This is the same value you would get by hunting for the vertex algebraically, but here you simply saw it on the picture.
Check your understanding
The graph of a function falls as goes from up to , then rises for greater than . On which interval is the function increasing?
A function is increasing where its graph rises as you read left to right. The description states the graph rises for .
From up to , the graph falls, so the function is decreasing there.
Check your understanding
Using the same graph (falls as goes from up to , then rises for greater than ), on which interval is the function decreasing, and what kind of turning point sits at ?
The graph falls, so the function decreases, exactly on the stretch stated: from up to the turning point at , so . The description says nothing about what happens for , so claiming the function decreases there too would go beyond what is given. Since the graph falls into and then rises back out of it, that point is the bottom of a valley, a minimum, not the top of a hill.