Functions are all about getting outputs from inputs. For each way of representing a function—equation, graph, table, or verbal description—we can determine the output for a given input.
Let’s say we have a function represented by the equation y=3x+2, where y is the dependent variable and x is the independent variable. If we wanted to find the output that goes with 2, we could input 2 into the equation for x and find the corresponding value of y. In this case, when x is 2, y is 8 since 3⋅2+2=8.
If we had a graph of this function instead, then the coordinates of points on the graph would be the input-output pairs.
So we would read the y-coordinate of the point on the graph that corresponds to a value of 2 for x. Looking at the following graph of a function, we can see the point (2,8) on it, so the output is 8 when the input is 2.
A table representing this function shows the input-output pairs directly (although only for select inputs).
Again, the table shows that if the input is 2, the output is 8.
| x | -1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|
| y | -1 | 2 | 5 | 8 | 11 |