Use Sophia to knock out your gen-ed requirements quickly and affordably. Learn more
×

Functions Defined by Graphs and Tables of Values

Author: Sophia

what's covered
In this lesson, you will see how functions can be represented with graphs and tables (not only by equations). Specifically, this lesson will cover:

Table of Contents

1. Functions Represented by Tables

Consider the table shown below, which shows the revenue (in thousands of dollars) earned by a particular company after each year for their first 8 years of business.

Year 1 2 3 4 5 6 7 8
Revenue 61 70.5 82 91 112.5 107.5 118.5 134.5

Thinking of the input-output relationship, it makes the most sense to label the year as input and the revenue as output. Since each input (1, 2, ..., 8) corresponds to one output, this table of values represents a function where the input is “Year” and the output is “Revenue.” We say that this defines revenue as a function of the year.


2. Functions Represented by Graphs

2a. From Tables of Values

Let’s take the table of values from the first section and graph the points:

One could say that the graph looks almost linear or roughly linear, but not perfectly linear.

2b. From Equations

Consider the function f open parentheses x close parentheses equals 2 x plus 3. The following table of values shows some input-output pairs for this function:

x -2 -1 0 1 2 3 4
bold italic f open parentheses bold x close parentheses -1 1 3 5 7 9 11

Now we plot the ordered pairs to form the graph (remember, we connect the dots since there are many other points on the graph; we just chose easy ones).

hint
Note that this looks exactly like the graph of y equals 2 x plus 3. In a previous lesson, you learned that f open parentheses x close parentheses is simply a replacement for y.

Thus, graphing a function in the form “f open parentheses x close parentheses equals horizontal ellipsis” is identical to graphing an equation of the form “y equals horizontal ellipsis”.

try it
Consider the function g open parentheses x close parentheses equals x squared.
Define input-output pairs for this function.
x -3 -2 -1 0 1 2 3
bold italic g open parentheses bold x close parentheses 9 4 1 0 1 4 9


3. Using a Graph to Determine if It Represents a Function

Something to think about: what would a graph look like if it wasn’t a function?

Remember that if there is an input that corresponds to two or more outputs, then the relationship is not a function.

The equations f open parentheses x close parentheses equals 2 x plus 3 and g open parentheses x close parentheses equals x squared are both functions, as shown in the last two examples.

Now consider this table of values, and the graph of the ordered pairs to its right:

x y
1 5
2 4
3 6
3 2
4 3

From the table of values, we can see that this is not a function, since x = 3 corresponds to two different outputs, y = 6 and y = 2.

On the graph, let’s pay attention to the points (3, 2) and (3, 6). Notice that these points could be connected by a vertical line. This only happens when there are two points with the same x-coordinate. Thus, we have a simple test to determine whether or not a graph defines y as a function of x.

key concept
The Vertical Line Test
Given a graph, if a vertical line can be drawn and intersects more than once with the graph, then the graph does not define y as a function of x.

try it
Consider the following graphs and determine which of these graphs defines y as a function of x.

Graph 1


Graph 1: Function or Not a Function?
This is not a function. There exists a vertical line that passes through two points when drawn through the graph.

Graph 2


Graph 2: Function or Not a Function?
This is a function. Any vertical line will pass through one point on this graph.

Graph 3


Graph 3: Function or Not a Function?
This is not a function. There are some places where a vertical line will pass through three points on the graph.

summary
In this lesson, you learned about the various ways that functions can be represented, including functions represented by tables and functions represented by graphs, including from tables of values and from equations. Understanding that if there is an input that corresponds to two or more outputs, then the relationship is not a function, you learned how to use a graph to determine if it represents a function, by utilizing the vertical line test: given a graph, if a vertical line can be drawn and intersects more than once with the graph, then the graph does not define y as a function of x.

SOURCE: THIS WORK IS ADAPTED FROM CHAPTER 0 OF CONTEMPORARY CALCULUS BY DALE HOFFMAN.