# Graphing linear functions using table of values

0/0
0/2
##### Examples
###### Lessons
1. Graph following functions using the table of values
1. y = 3x -1
2. 2x + 4y = 8
###### Free to Join!
StudyPug is a learning help platform covering math and science from grade 4 all the way to second year university. Our video tutorials, unlimited practice problems, and step-by-step explanations provide you or your child with all the help you need to master concepts. On top of that, it's fun - with achievements, customizable avatars, and awards to keep you motivated.
• #### Easily See Your Progress

We track the progress you've made on a topic so you know what you've done. From the course view you can easily see what topics have what and the progress you've made on them. Fill the rings to completely master that section or mouse over the icon to see more details.
• #### Make Use of Our Learning Aids

###### Practice Accuracy

Get quick access to the topic you're currently learning.

See how well your practice sessions are going over time.

Stay on track with our daily recommendations.

• #### Earn Achievements as You Learn

Make the most of your time as you use StudyPug to help you achieve your goals. Earn fun little badges the more you watch, practice, and use our service.
• #### Create and Customize Your Avatar

Play with our fun little avatar builder to create and customize your own avatar on StudyPug. Choose your face, eye colour, hair colour and style, and background. Unlock more options the more you use StudyPug.
###### Topic Notes
In order to graph linear function, we can make use of the table of values to map out the corresponding values of x and y for the given line. An equation is essentially a representation of the relationship of x and y values for any line. A table of values is basically a table which lists the values of y, given the x values, for the given line.

## How to graph a linear equation

A linear equation is an equation that has two variables that when graphed gives us a straight line. You probably know how to read a linear equation graph, but how do we go about plotting out a linear equation onto a coordinate plane? It turns out it's actually not that hard! The first step is learning how to do a table of values.

## What is a table of values

When we have to graph out a linear equation, you'll start by creating a table of values. A table of values, as its name suggests, is a graphical way to determine the values that will be used to create your graph. It's a place for you to jot down the answers you get when you find the value of x and y. You'll need to use at least 2 sets of points to graph out a linear equation, but you will usually do more in a table of values.

A table of values has two columns. One column lists the x values, and one column lists the corresponding y values. Let's move on to finding out how this table can be used to help us graph out linear equations.

## Graphing linear equations using a table of values

When you've got a blank table of values and a linear equation that you want to graph out, you can take any x value on the x axis of your choosing to start off your table. Let's say you take the number 3. Substitute that into the linear equation to see what you'll get when you solve for y on the y axis. Let's pretend that you get -5. Jot down both of these numbers into your table, with 3 on the column with x values and -5 on the column for y values.

Choose another x value you want to work with and solve for y again. Repeat as many times as you wish to work out sets of values to put into your table. When you've got an amount you're happy with or that your question asks for, you can then take those x and y values and plot them out as coordinates on a graph to graph points on a linear equation!

## Example problems

Question 1:

Graph following function using a table of values

y = 3x - 1

Solution:

First, create a table of values for the equation. Use x to solve for y. You may use different values, but your graph will be the same no matter what values you use.

For x = -2

y = 3(-2) - 1

y = -6 - 1

y = -7

For x = -1

y = 3(-1) - 1

y = -3 - 1

y = -4

For x = 0

y = 3(0) - 1

y = 0 - 1

y = -1

For x = 1

y = 3(1) - 1

y = 3 - 1

y = 2

For x = 2

y = 3(2) - 1

y = 6 - 1

y = 5

Now, we have a complete table of values

We can now plot the ordered pairs onto a grid

Then, connect the points using a straight line, and we are done!

Question 2:

Graph the following function using a table of values:

2x + 4y = 8

Solution:

First, we want to simplify the equation

2x + 4y = 8

x + 2y = 4

2y = -x + 4

y = $\frac{-1}{2}$x + 2

Now we've got an equation in slope-intercept form.

Then, create a table of values for the equation. Use x to solve for y.

For x = -2

y = $\frac{-1}{2}$(-2) + 2

y = 1 + 2

y = 3

For x = -1

y = $\frac{-1}{2}$(-1) + 2

y = 0.5 + 2

y = 2.5

For x = 0

y = $\frac{-1}{2}$(0) + 2

y = 0 + 2

y = 2

For x = 1

y = $\frac{-1}{2}$(1) + 2

y = -0.5 + 2

y = 1.5

For x = 2

y = $\frac{-1}{2}$(2) + 2

y = -1 + 2

y = 1

Now, we have a complete table of values

We can plot the ordered pairs onto a grid.

Then, connect the points using a straight line, and we are done!

Want to check your answer to see how accurate your graph is? Here's an online graphing calculator for your reference.

Next up, learn more about table of values, how to graph linear inequalities in two variables, and how to graph systems of linear inequalities. You can also start learning an introduction to functions and how to identify them.