Example
Graph [latex]f(x)=−x+1[/latex].
Answer: Start with a table of values. You can choose different values for x, but once again, it’s helpful to include [latex]0[/latex], some positive values, and some negative values.
If you think of f(x) as y, each row forms an ordered pair that you can plot on a coordinate grid.
[latex]f(−2)=−(−2)+1=2+1=3\\f(−1)=−(−1)+1=1+1=2\\f(0)=−(0)+1=0+1=1\\f(1)=−(1)+1=−1+1=0\\f(2)=−(2)+1=−2+1=−1[/latex]
x |
f(x) |
[latex]−2[/latex] |
[latex]3[/latex] |
[latex]−1[/latex] |
[latex]2[/latex] |
[latex]0[/latex] |
[latex]1[/latex] |
[latex]1[/latex] |
[latex]0[/latex] |
[latex]2[/latex] |
[latex]−1[/latex] |
Plot the points.
Answer
Since the points lie on a line, use a straight edge to draw the line. Try to go through each point without moving the straight edge.
In the following video we show another example of how to graph a linear function on a set of coordinate axes.
https://youtu.be/sfzpdThXpA8
These graphs are representations of a linear function. Remember that a function is a correspondence between two variables, such as