Graphs of Linear Functions: Learn It 2

Graphing a Function by Plotting Points

To find points on a function’s graph, select input values, evaluate the function at these inputs, and calculate the corresponding outputs. These input-output pairs form coordinates, which you can plot on a grid. To graph a linear function, you should evaluate it at least two input values to identify at least two points.

Given the function [latex]f\left(x\right)=2x[/latex], we might use the input values [latex]1[/latex] and [latex]2[/latex].[latex]\\[/latex] Evaluating the function for an input value of [latex]1[/latex] yields an output value of [latex]2[/latex] which is represented by the point [latex](1, 2)[/latex]. [latex]\\[/latex]Evaluating the function for an input value of [latex]2[/latex] yields an output value of [latex]4[/latex] which is represented by the point [latex](2, 4)[/latex].Plot each point on the coordinate plane:

Then connect the points with a straight line:

How To: Given a linear function, graph by plotting points.

  1. Choose a minimum of two input values.
  2. Evaluate the function at each input value.
  3. Use the resulting output values to identify coordinate pairs.
  4. Plot the coordinate pairs on a grid.
  5. Draw a line through the points.
Graph the following by plotting points.

[latex]f\left(x\right)=-\frac{2}{3}x+5[/latex]

If your equation has a fraction, you’ll have to divide the number plugged in by whatever is in the denominator. In the previous example, choosing multiples of [latex]3[/latex] will have the easiest calculation due to the [latex]\frac{2}{3}[/latex] in the equation.