Skip to content
Tutorials Center
My learning

Topics

Lesson 11 of 37 ยท Linear Functions and Graphs

The Coordinate Plane and Graphing Equations

Learn the coordinate plane, quadrants, ordered pairs and how to graph an equation in two variables from a table of values, with runnable plots.

Algebra and geometry meet on the coordinate plane, invented in the 1600s and often credited to Renรฉ Descartes (so it is also called the Cartesian plane). It lets you see an equation as a picture, and turn a picture into an equation.

Axes, origin and ordered pairs

The plane is made of two number lines that cross at right angles:

  • the horizontal x-axis,
  • the vertical y-axis,
  • and the origin, (0, 0), where they cross.

Every point has an ordered pair (x, y). The first number says how far to move horizontally (right if positive, left if negative). The second says how far to move vertically (up if positive, down if negative). Order matters: (3, 5) and (5, 3) are different points.

Quadrants

The axes split the plane into four quadrants, numbered counterclockwise starting at the top right.

Quadrant Signs Example
I x > 0, y > 0 (2, 3)
II x < 0, y > 0 (-4, 1)
III x < 0, y < 0 (-3, -5)
IV x > 0, y < 0 (6, -2)

Points on an axis belong to no quadrant, for example (0, 4) or (-3, 0).

Python Which quadrant? A classifier

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Solutions of an equation are points

An equation with two variables, such as y = 2x - 1, has many solutions. A solution is an ordered pair that makes the equation true. Test (3, 5): 2(3) - 1 = 5. True, so it is a solution. Test (1, 4): 2(1) - 1 = 1, not 4, so it is not.

The graph of an equation is the set of all points that are solutions.

Graphing from a table

  1. Choose a few x values.
  2. Compute y for each.
  3. Plot the points.
  4. If they line up, draw a line through them (with arrows to show it continues).

For y = 2x - 1:

x y = 2x - 1 Point
-2 -5 (-2, -5)
0 -1 (0, -1)
1 1 (1, 1)
3 5 (3, 5)

These four points lie on one straight line, which is why this is called a linear equation.

Python Plot a table of values and its line

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Intercepts

The y-intercept is where the graph crosses the y-axis (where x = 0). The x-intercept is where it crosses the x-axis (where y = 0).

For y = 2x - 1:

  • y-intercept: let x = 0, then y = -1, so the point (0, -1).
  • x-intercept: let y = 0, then 0 = 2x - 1, so x = 1/2, giving (1/2, 0).

Intercepts are two easy points for drawing a line.

Python Find intercepts of ax + by = c

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Common mistakes

  1. Swapping coordinates. (2, 5) means x = 2, y = 5.
  2. Wrong sign direction. Negative x goes left, negative y goes down.
  3. Joining points with a ruler when they do not line up. If the points are not on a line, recheck your arithmetic.
  4. Uneven scales. Use equal spacing on each axis.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. In which quadrant is (-3, 4)?

    x is negative and y is positive: quadrant II (top left).
  2. 2. Is (2, 7) a solution of y = 3x + 1?

    Substituting gives 3(2) + 1 = 7, which matches y.
  3. 3. What is the y-intercept of y = 4x - 8?

    Set x = 0: y = -8, so the point is (0, -8).
  4. 4. What is the x-intercept of y = 4x - 8?

    Set y = 0: 0 = 4x - 8, so x = 2.

Summary

  • Points are ordered pairs (x, y); the axes divide the plane into four quadrants.
  • A solution of a two-variable equation is an ordered pair that makes it true; its graph is all the solutions.
  • To graph a line, make a table of values, plot, and join.
  • Intercepts: set x = 0 for the y-intercept and y = 0 for the x-intercept.

Next: Slope of a Line