<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Skip Navigation

Graphs of Linear Equations

Graph lines presented in ax+by = c form

Atoms Practice
Estimated9 minsto complete
Practice Graphs of Linear Equations
This indicates how strong in your memory this concept is
Estimated9 minsto complete
Practice Now
Turn In
Graphs of Linear Equations
Credit: CK-12, Larame Spence
Source: Desmos Graphing Calculator
License: CC BY-NC 3.0

Dana is collecting information about caterpillars for science class. She’s comparing the lengths and widths of several caterpillars. Dana puts the data she has so far into a table. Dana is convinced there is a pattern. Can organize this information as a set of ordered pairs, graph it on a coordinate plane and write an equation that could model this?

x (width in cm)23456y (length in cm)246810 
In this concept, you will learn to graph linear functions on the coordinate plane.

Graphing Linear Functions

A linear function is a specific type of function. You may notice that the word “line” is part of the word “linear”. That fact can help you remember that when a linear function is graphed on a coordinate plane, its graph will be a straight line.

You can represent a function as a set of ordered pairs, through a table, and as an equation. You can also take the information in ordered pairs or in a table and represent a function as a graph.

Let’s look at an example.

The table of values below represents a function on a coordinate plane. On a coordinate plane, graph the linear function that is represented by the ordered pairs in the table below.


You can represent the information in this table as a set of ordered pairs {(4,5),(2,3),(0,1),(2,1),(4,3)}.

Plot those five points on the coordinate plane. Then, connect them as shown below.

License: CC BY-NC 3.0

Notice that the graph of this linear function is a straight line.

You can also graph a linear function if you are given an equation for that function. This will involve a few more steps. When you have an equation, you can use the equation to create a table. Then, plot several of the ordered pairs in the table and connect them with a line.

Here is another example.

The equation y=2x1 is a linear function. Graph that function on a coordinate plane.

First, use the equation to create a table and find several ordered pairs for the function. It is a good idea to use some negative x-values, some positive x-values and 0. For example, you can create a table to find the values of y when x is equal to -2, -1, 0, 1, and 2.

 x  y
 2  5  2(2)1=5
 1  3  2(1)1=3
   1  2(0)1=1
 1  1  2(1)1=1
 2  3  2(2)1=3

The ordered pairs shown in the table are (2,5),(1,3),(0,1),(1,1) and (2,3).

Plot those five points on the coordinate plane. Then connect them as shown below.

License: CC BY-NC 3.0


Example 1

Earlier, you were given a problem about Dana’s project, which was comparing the lengths and widths of caterpillars.

She’s put the data collected so far in a table (shown below). Can you plot these points and write the equation that models this information?

x (width in cm)23456y (length in cm)246810 
First, represent this information as a set of ordered pairs so that you can plot the points {(2,2),(3,4),(4,6),(5,8),(6,10)}.

Now, can you see a pattern in the table and then write the rule that describes it?

Notice that as x increases by 1, y increases by 2. So, you know that 2x is involved in the equation. But y is not quite 2x. It is 2x2.

So the equation that models this information is 2x2.

Next, plot the points on the coordinate plane and draw a line through them. The graph is shown below.

Example 2

The table below represents inputs and outputs of a linear function. Can you represent this information as ordered pairs, figure out the equation for this function, and then graph the function?


You can extract information from the table and represent the same information as a set of ordered pairs. The x-coordinate is the first value and the y-coordinate is the second value.


Next, looking at the information in the table, you can see that when you multiply the x-value by 5 you get the y-value. The rule is multiply x by 5 to get y. You can write this as an equation.


You can graph plot the coordinates {(1,5),(2,10),(3,15),(4,20)} and draw a line through them to see the graph.

Answer the following questions about functions and coordinates.

Example 3

License: CC BY-NC 3.0

Is the function above increasing or decreasing?

Notice that as x increases y increases. Notice that every time you increase x by 1, y will always increase. In this case, \begin{align*}y\end{align*} increases by two every time \begin{align*}x\end{align*} increases by 1.

The answer is the function is increasing.

Example 4

In the point \begin{align*}(-3, 4)\end{align*} is the \begin{align*}x\end{align*}-value positive or negative?

The \begin{align*}x\end{align*}-value is the first value in the coordinate. It is a negative number.

The answer is the \begin{align*}x\end{align*}-value is negative.

Example 5

In \begin{align*}(-6, -7)\end{align*}, which value is \begin{align*}y\end{align*}-value?

The \begin{align*}y\end{align*}-value is the second value in a coordinate, and it is equal to -7.

The answer is the \begin{align*}y\end{align*}-value is -7.


The information in the table represents points from a linear function. Plot the points in the table on a coordinate plane, and then draw a straight line through them to graph each function. Then identify the rule (equation) for the function.

Input Output
1 4
2 5
3 6
4 7
Input  Output
2 4
3 6
4 8
5 10
Input Output
1 3
2 6
4 12
5 15
Input Output
9 7
7 5
5 3
3 1
Input Output
8 12
9 13
11 15
20 24
Input  Output
3 21


6 42
8 56
Input Output
2 5
3 7
4 9
5 11
Input Output
4 7
5 9
6 11
8 15
Input Output
5 14
6 17
7 20
8 23
Input Output
4 16
5 20
6 24
8 32

Review (Answers)

To see the Review answers, open this PDF file and look for section 7.17.


Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Please to create your own Highlights / Notes
Show More


Cartesian Plane The Cartesian plane is a grid formed by a horizontal number line and a vertical number line that cross at the (0, 0) point, called the origin.
Function A function is a relation where there is only one output for every input. In other words, for every value of x, there is only one value for y.
Function Rule A function rule describes how to convert an input value (x) into an output value (y) for a given function. An example of a function rule is f(x) = x^2 + 3.
Linear Function A linear function is a relation between two variables that produces a straight line when graphed.
Slope Slope is a measure of the steepness of a line. A line can have positive, negative, zero (horizontal), or undefined (vertical) slope. The slope of a line can be found by calculating “rise over run” or “the change in the y over the change in the x.” The symbol for slope is m

Image Attributions

  1. [1]^ Credit: CK-12, Larame Spence; Source: Desmos Graphing Calculator; License: CC BY-NC 3.0
  2. [2]^ License: CC BY-NC 3.0
  3. [3]^ License: CC BY-NC 3.0
  4. [4]^ License: CC BY-NC 3.0

Explore More

Sign in to explore more, including practice questions and solutions for Graphs of Linear Equations.
Please wait...
Please wait...