Fiveable

📘Intermediate Algebra Unit 3 Review

QR code for Intermediate Algebra practice questions

3.1 Graph Linear Equations in Two Variables

3.1 Graph Linear Equations in Two Variables

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📘Intermediate Algebra
Unit & Topic Study Guides

The coordinate plane is a tool for visualizing mathematical relationships. It lets you plot points, graph equations, and see how variables relate to each other. Understanding how to work with coordinates and graph lines is a core skill in algebra that shows up constantly in later courses.

This section covers how to plot points, graph linear equations using several methods, and recognize special relationships between lines. Getting comfortable with these techniques now will pay off when you hit systems of equations, inequalities, and eventually calculus.

Graphing in the Coordinate Plane

Points in rectangular coordinates

The coordinate plane is a two-dimensional surface formed by two number lines crossing at right angles. The horizontal line is the x-axis, the vertical line is the y-axis, and they meet at the origin, which has coordinates (0, 0).

Every point on the plane is described by an ordered pair (x, y). The x-coordinate (sometimes called the abscissa) tells you how far to move left or right from the origin. The y-coordinate (sometimes called the ordinate) tells you how far to move up or down.

To plot a point like (3, −2), start at the origin, move 3 units right, then 2 units down.

The axes divide the plane into four quadrants, numbered counterclockwise:

  • Quadrant I: x > 0, y > 0 (upper right)
  • Quadrant II: x < 0, y > 0 (upper left)
  • Quadrant III: x < 0, y < 0 (lower left)
  • Quadrant IV: x > 0, y < 0 (lower right)

Points that sit directly on an axis don't belong to any quadrant. For example, (0, 5) is on the y-axis, not in Quadrant I or II.

Methods for graphing linear equations

A linear equation in two variables has the general form ax+by=cax + by = c, where aa, bb, and cc are real numbers and aa and bb are not both zero. The graph of any linear equation is a straight line, which means you only need two points to draw it. There are three common methods for finding those points.

Point-plotting method:

  1. Pick any value for xx and solve for yy (or vice versa) to get an ordered pair.
  2. Repeat with a different value to get a second point. Picking a third point as a check is a good habit.
  3. Plot the points and draw a straight line through them.

For example, given 2x+y=62x + y = 6: if x=0x = 0, then y=6y = 6; if x=1x = 1, then y=4y = 4. Plot (0, 6) and (1, 4), then connect them.

Intercept method:

  1. Find the x-intercept by setting y=0y = 0 and solving for xx.
  2. Find the y-intercept by setting x=0x = 0 and solving for yy.
  3. Plot both intercepts and draw the line through them.

This is often the fastest method when the equation is in standard form. Using the same example, 2x+y=62x + y = 6: the x-intercept is (3, 0) and the y-intercept is (0, 6).

Slope-intercept method:

  1. Rewrite the equation in slope-intercept form: y=mx+by = mx + b.
  2. Plot the y-intercept at (0, bb).
  3. From that point, use the slope mm (rise over run) to locate a second point.
  4. Draw the line through both points.

For 2x+y=62x + y = 6, rewrite as y=2x+6y = -2x + 6. The y-intercept is (0, 6) and the slope is 2-2, which means you go down 2 units and right 1 unit to reach the next point, (1, 4).

Vertical vs. horizontal lines

These are two special cases that don't fit neatly into slope-intercept form.

  • Vertical lines have the equation x=ax = a, where aa is a constant. Every point on the line has the same x-coordinate. A vertical line is parallel to the y-axis, and its slope is undefined (because the run is zero, and you can't divide by zero).
  • Horizontal lines have the equation y=by = b, where bb is a constant. Every point on the line has the same y-coordinate. A horizontal line is parallel to the x-axis, and its slope is zero (the line doesn't rise at all).

A common mistake is mixing these up. Remember: x=3x = 3 is a vertical line passing through (3, 0), while y=3y = 3 is a horizontal line passing through (0, 3).

Points in rectangular coordinates, Coordinate Plane and Graphing Equations | College Algebra: Co-requisite Course

Intercepts and Graphing Techniques

Intercepts of linear equations

  • The x-intercept is the point where the graph crosses the x-axis. At this point, y=0y = 0. To find it, substitute y=0y = 0 into the equation and solve for xx.
  • The y-intercept is the point where the graph crosses the y-axis. At this point, x=0x = 0. To find it, substitute x=0x = 0 into the equation and solve for yy.

Write intercepts as ordered pairs. For 3x4y=123x - 4y = 12: setting y=0y = 0 gives x=4x = 4, so the x-intercept is (4, 0). Setting x=0x = 0 gives y=3y = -3, so the y-intercept is (0, −3).

One thing to watch: if the line passes through the origin, both intercepts are (0, 0). In that case, the intercept method only gives you one point, so you'll need to find a second point by plugging in a value for xx or yy.

Efficient line graphing techniques

You should be comfortable recognizing and using all three forms of a linear equation:

Slope-intercept form y=mx+by = mx + b

  • mm is the slope and bb is the y-intercept.
  • This is the most convenient form for graphing because you can read the slope and y-intercept directly.

Point-slope form yy1=m(xx1)y - y_1 = m(x - x_1)

  • mm is the slope and (x1,y1)(x_1, y_1) is a specific point on the line.
  • This form is most useful when you know the slope and one point (but that point isn't the y-intercept). Plot the known point, then use the slope to find a second point.

Standard form ax+by=cax + by = c

  • aa, bb, and cc are constants.
  • The intercept method works well here: find both intercepts, plot them, and draw the line.

Whichever form you start with, you can always convert to another. The most common conversion is rearranging standard form into slope-intercept form by isolating yy.

Points in rectangular coordinates, OpenAlgebra.com: Free Algebra Study Guide & Video Tutorials: Rectangular Coordinate System

Slope and Special Line Relationships

Slope of a line

Slope measures the steepness of a line and the rate at which yy changes relative to xx. It's calculated as "rise over run":

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Pick any two points on the line, (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), and plug them in. The order doesn't matter as long as you're consistent (don't subtract the first y from the second and then the second x from the first).

For example, the slope between (1, 2) and (4, 8) is m=8241=63=2m = \frac{8 - 2}{4 - 1} = \frac{6}{3} = 2.

What the sign of the slope tells you:

  • Positive slope: the line rises from left to right.
  • Negative slope: the line falls from left to right.
  • Zero slope: the line is horizontal.
  • Undefined slope: the line is vertical.

Parallel and perpendicular lines

Parallel lines never intersect and have the same slope. If one line has slope m=3m = 3, any line parallel to it also has slope 3. Their y-intercepts will be different (otherwise they'd be the same line).

Perpendicular lines intersect at a 90° angle. Their slopes are negative reciprocals of each other. That means if one line has slope mm, the perpendicular line has slope 1m-\frac{1}{m}.

For example, if a line has slope 23\frac{2}{3}, a perpendicular line has slope 32-\frac{3}{2}. You flip the fraction and change the sign.

A quick check: multiply the two slopes together. If the product is 1-1, the lines are perpendicular. (23×32=1\frac{2}{3} \times -\frac{3}{2} = -1 ✓)

Note that vertical and horizontal lines are perpendicular to each other, but this pair is a special case since vertical lines have undefined slope, so the negative reciprocal rule doesn't apply directly.