This graph illustrates the function f defined by f(x) = –2x. In this case, the constant k is –2.
We can also represent a linear relationship using a table of values: