Graphs of Linear Functions: Learn It 1

  • Create and interpret equations of linear functions
  • Identify and graph lines that are vertical or horizontal
  • Graph straight lines by plotting points, using slope and y-intercept, and make changes like shifts to graphs
  • Write equations for lines that run parallel or at a right angle to another line

Writing and Interpreting an Equation for a Linear Function

Previously we wrote equations in both the slope-intercept form and the point-slope form. Now we can choose which method to use to write equations for linear functions based on the information we are given. That information may be provided in the form of a graph, a point and a slope, two points, and so on. Look at the graph of the function [latex]f[/latex] given below:
This graph shows a linear function graphed on an x y coordinate plane. The x axis is labeled from negative 2 to 8 and the y axis is labeled from negative 1 to 8. The function f is graph along the points (0, 7) and (4, 4).

We are not given the slope of the line, but we can choose any two points on the line to find the slope. Let’s choose [latex](0, 7)[/latex] and [latex](4, 4)[/latex].

[latex]\begin{array}{rcl} m & = & \frac{y_2 - y_1}{x_2 - x_1} \\ m & = & \frac{4 - 7}{4 - 0} \\ m & = & -\frac{3}{4} \end{array}[/latex]

Now we can substitute the slope and the coordinates of one of the points into the point-slope form.

[latex]\begin{array}{rcl} y - y_1 & = & m(x - x_1) \\ y - 4 & = & -\frac{3}{4}(x - 4) \end{array}[/latex]

If we want to rewrite the equation in the slope-intercept form, we would find

[latex]\begin{array}{rcl} y - 4 & = & -\frac{3}{4}(x - 4) \\ y - 4 & = & -\frac{3}{4}x + 3 \\ y & = & -\frac{3}{4}x + 7 \end{array}[/latex]

If we want to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the y-axis when the output value is 7. Therefore, [latex]b = 7[/latex]. We now have the initial value [latex]b[/latex] and the slope [latex]m[/latex], so we can substitute [latex]m[/latex] and [latex]b[/latex] into the slope-intercept form of a line.

This image shows the equation f of x equals m times x plus b. It shows that m is the value negative three fourths and b is 7. It then shows the equation rewritten as f of x equals negative three fourths times x plus 7.

So the function is [latex]f(x) = -\frac{3}{4}x + 7[/latex], and the linear equation would be [latex]y = -\frac{3}{4}x + 7[/latex].

How to: Given the graph of a linear function, write an equation to represent the function.

  1. Identify two points on the line.
  2. Use the two points to calculate the slope.
  3. Determine where the line crosses the y-axis to identify the y-intercept by visual inspection.
  4. Substitute the slope and y-intercept into the slope-intercept form of a line equation.
Write the equations of the linear function for the following graphs.Graph of two functions where the blue line is y = -2/3x + 1, and the baby blue line is y = -2/3x +7. Notice that they are parallel lines.

If [latex]f[/latex] is a linear function, with [latex]f(3) = -2[/latex], and [latex]f(8) = 1[/latex], find an equation for the function in slope-intercept form.

Suppose Ben starts a company in which he incurs a fixed cost of [latex]$1,250[/latex] per month for the overhead, which includes his office rent. His production costs are [latex]$37.50[/latex] per item.
[latex]\\[/latex]
Write a linear function [latex]C(x)[/latex] where [latex]C(x)[/latex] is the cost for [latex]x[/latex] items produced in a given month.