How to Complete a Table and Graph a Two-Variable Equation?
How to complete a table and graph a two-variable equation, step by step: the rule in plain language, solved examples worked one line at a time, and practice questions so you can try it yourself before moving on.
A two-variable equation like (color{blue}{y = 2x + 1}) describes a relationship between two quantities. You can use a table of values to find specific points, then plot those points to create a graph. This skill is essential for the GED, where questions ask you to complete tables, read graphs, and connect equations to their visual representations.
What Is a Two-Variable Equation?
A two-variable equation relates an independent variable (x) and a dependent variable (y). For each value of x you choose, you can calculate exactly one value of y. Plotting multiple (color{blue}{(x, y)}) pairs creates the graph of the equation.
How to Complete a Table of Values
Step 1: Choose x-values
Pick a small set of x-values (usually 4 to 5 values including 0 and negative numbers if useful).
Step 2: Substitute and solve for y
Plug each x-value into the equation and compute y.
Step 3: Record each ordered pair
Write the results as (color{blue}{(x, y)}) pairs in the table.
Example: Complete the table for (color{blue}{y = 2x + 1}).
| x | (color{blue}{y = 2x + 1}) | Point |
|---|---|---|
| −2 | (color{blue}{2(-2)+1}) = −3 | (−2, −3) |
| −1 | (color{blue}{2(-1)+1}) = −1 | (−1, −1) |
| 0 | (color{blue}{2(0)+1 = 1}) | (0, 1) |
| 1 | (color{blue}{2(1)+1 = 3}) | (1, 3) |
| 2 | (color{blue}{2(2)+1 = 5}) | (2, 5) |
How to Graph a Two-Variable Equation
Step 4: Plot the points
Mark each (color{blue}{(x, y)}) pair on the coordinate plane.
Step 5: Draw the line
Connect the points with a straight line and extend it in both directions with arrows (for a linear equation).
Step-by-Step Summary
- Choose 4 to 5 x-values.
- Substitute each x into the equation and solve for y.
- Record ordered pairs (color{blue}{(x, y)}).
- Plot each point on the coordinate plane.
- Connect the points and extend the line.
Watch: Two-Variable Equations and Graphs (Video Lesson)
Khan Academy explains how to use tables of values to graph linear equations:
Worked Examples
Example 1: Complete the table for (color{blue}{y = 3x}) with (color{blue}{x = 0}), 1, 2, 3.
| x | (color{blue}{y = 3x}) |
|---|---|
| 0 | 0 |
| 1 | 3 |
| 2 | 6 |
| 3 | 9 |
Points: (0, 0), (1, 3), (2, 6), (3, 9). Plot and connect, the line passes through the origin.
Example 2: Complete the table for (color{blue}{y = -x + 4}) with x = −1, 0, 1, 2, 3.
| x | y = −(color{blue}{x + 4}) |
|---|---|
| −1 | 5 |
| 0 | 4 |
| 1 | 3 |
| 2 | 2 |
| 3 | 1 |
This line has a negative slope. It goes down from left to right.
Example 3: A table shows pairs (0, 2), (1, 4), (2, 6), (3, 8). What is the equation?
Each (color{blue}{y = 2x + 2}). Equation: (color{blue}{y = 2x + 2}). Check: (color{blue}{2(0)+2=2}) ✓; (color{blue}{2(3)+2=8}) ✓.
Example 4: The graph of an equation passes through (0, 1) and (2, 5). What is the equation?
(color{blue}{text{ Slope } = frac{(5-1)}{(2-0)} = frac{4}{2} = 2}). Y-(color{blue}{text{ intercept } = 1}). Equation: (color{blue}{y = 2x + 1}).
More Practice: Independent and Dependent Variables (Video)
This lesson connects table patterns to graphs using real-world examples:
Exercises
- Complete the table for (color{blue}{y = 4x – 2}) using (color{blue}{x = 0}), 1, 2, 3.
- Complete the table for (color{blue}{y = -2x + 6}) using (color{blue}{x = 0}), 1, 2, 3.
- A table shows: x: 0, 1, 2, 3 and y: 5, 8, 11, 14. What is the equation?
- Plot the points from (color{blue}{y = x – 3}) for (color{blue}{x = 1}), 2, 3, 4. Which quadrant do most points lie in?
- A car travels at 60 mph. Write an equation for distance d after t hours and complete a table for (color{blue}{t = 1}), 2, 3, 4.
- The equation (color{blue}{y = -x + 5}) passes through which two axis intercepts?
Answers
- y: −2, 2, 6, 10
- y: 6, 4, 2, 0
- (color{blue}{y = 3x + 5})
- Points: (1,−2), (2,−1), (3,0), (4,1). Most in QIV and near QIII/QI boundary.
- (color{blue}{d = 60t}); d: 60, 120, 180, 240
- x-intercept: (5, 0); y-intercept: (0, 5)
Two-Variable Equation Tables and Graphs Practice Quiz
Try these questions on completing tables of values, checking points, and reading equations and graphs. Choose an answer and press Submit to see the explanation.
Answer each question and press Submit to see your result right away.
Answer each question and press Submit to see your result right away.
Frequently Asked Questions
What is a two-variable equation?
A two-variable equation relates two quantities, usually x and y, such as y = 3x − 2. Each solution is an ordered pair (x, y) that makes the equation true. For example, (2, 4) works because 3(2) − 2 = 4. A two-variable linear equation has infinitely many solutions, and when you plot them all on a coordinate plane, they form a straight line.
How do you complete a table for a two-variable equation?
Choose a few x-values, substitute each into the equation, and solve for y. For y = −x + 4, try x = −1, 0, 1, 2, 3. That gives y = 5, 4, 3, 2, 1, so the ordered pairs are (−1, 5), (0, 4), (1, 3), (2, 2), and (3, 1). Including 0 is smart because it gives you the y-intercept right away.
How do you graph a two-variable equation?
Plot the ordered pairs from your table on a coordinate plane, then connect them. For a linear equation like y = ½x + 1, the points (−2, 0), (0, 1), and (2, 2) line up, and you draw a straight line through them with arrows on both ends. If one point does not fall on the line, recheck that row of the table, since a single arithmetic slip is the usual cause.
How do you write a two-variable equation from a table?
Find how much y changes each time x goes up by 1; that is the slope. Then find y when x = 0; that is the y-intercept. If a table shows (0, 5), (1, 8), (2, 11), y rises by 3 each step and starts at 5, so y = 3x + 5. Test another row: when x = 2, 3(2) + 5 = 11, which matches.
How do you complete a table and graph a two-variable equation for a word problem?
Work in two stages: fill the table, then plot it. Say a taxi charges $3 plus $2 per mile, so y = 2x + 3. For x = 0, 1, 2, 3 miles, the costs are $3, $5, $7, and $9. Plot (0, 3), (1, 5), (2, 7), (3, 9) and draw the line. GED questions like this may ask you to read a cost from the graph or match a table to its equation.
Related Topics
Related to This Article
More math articles
- Roth IRA Calculator (2026 Limits, Growth & Income Eligibility)
- Implementation
- State sovereignty
- 4th Grade MEAP Math Worksheets: FREE & Printable
- ALEKS Math Placement Test: What to Expect and Check
- Consistency: Avoiding Shifts in Person, Number, Tense, Voice, and Mood
- Colorado CMAS Grade 4 Math Free Worksheets: Printable Grade 4 Math Practice with Full Solutions
- 8th Grade MAP Math Practice Test Questions
- For a price taker, price equals marginal revenue
- The Best Grade 8 Math Book for New Mexico Students






What people say about "Complete a Table and Graph a Two-Variable Equation"?
No one replied yet.