To graph a linear equation, find two distinct points that satisfy it and draw the straight line through them. A third point provides a useful check.

Free graphing lines from equations practice: topic practice PDF, topic quiz. The original short practice below includes explained solutions.

Rules and restrictions

Build a table by substituting convenient input values into the original equation and solving for the other coordinate. Plot at least two distinct points, then use a third to check the line. You do not have to read a slope or intercept first.

For \(Ax+By=C\), A and B must not both be zero for the equation to represent a line. If y is absent, solve for a fixed x and choose different y-values: the line is vertical. If x is absent, solve for a fixed y: the line is horizontal. Extend an unrestricted line in both directions.

Worked examples

Example 1

Graph \(3x+2y=12\) using substitution and a table.

Choose x-values 0, 2, and 4. At x = 0, \(3(0)+2y=12\), so \(y=6\). At x = 2, \(6+2y=12\), so \(y=3\). At x = 4, \(12+2y=12\), so \(y=0\). The table gives \((0,6),(2,3),(4,0)\). Plot them and draw a straight line through all three. Check the middle point in the original: \(3(2)+2(3)=6+6=12\).

Line 3x + 2y = 12 through the table points (0,6), (2,3), and (4,0)xy-6-6-4-4-2-22244660(0,6)(2,3)(4,0)
Line 3x + 2y = 12 through the table points (0,6), (2,3), and (4,0).

Example 2

Graph \(2x+6=0\) and explain how to choose table points.

Subtract 6: \(2x=-6\). Divide by 2: \(x=-3\). The equation places no restriction on y, so choose y = -2, 0, and 4. The points are \((-3,-2),(-3,0),(-3,4)\). Each satisfies the original equation because \(2(-3)+6=0\), regardless of y. Draw the vertical line through x = -3. It cannot be written as a function y of x: the same x has many y-values.

Try these before opening the solutions

  1. Make a three-point table and graph \(x+2y=4\).
  2. Graph \(4y=-8\) using a table.
  3. Is \((2,1)\) on the graph of \(2x-y=3\)? Explain the coordinate check.
Show step-by-step solutions
  1. Choose x = -2, 0, 2. The equations \(-2+2y=4\), \(2y=4\), and \(2+2y=4\) give y = 3, 2, 1. Plot \((-2,3),(0,2),(2,1)\) and draw the line. Check the last point: \(2+2(1)=4\).
  2. Divide by 4: \(y=-2\). Choose x = -3, 0, 3 to obtain \((-3,-2),(0,-2),(3,-2)\). Every point has y-coordinate -2, so draw a horizontal line. Checking any point gives \(4(-2)=-8\).
  3. Substitute x = 2 and y = 1 into the original equation: \(2(2)-1=4-1=3\). The equality is true, so the point lies on the line. One valid point alone does not determine the entire line; another distinct point is still needed to draw it.

Common mistakes

A linear equation graphs as a line, not just isolated table points. Do not swap coordinates when plotting an ordered pair.

Related skills

Graphing Lines From Equations worksheets; Finding Midpoints lesson; Graphing Linear Inequalities lesson; Graphing Lines in Standard Form lesson.