"

The Rectangular Coordinate Systems and Graphs

Learning Objectives

In this section you will:

  • Plot ordered pairs in a Cartesian coordinate system.
  • Graph equations by plotting points.
  • Find x-intercepts and y-intercepts.

Road map of a city with street names on an x, y coordinate grid. Various points are marked in red on the grid lines indicating different locations on the map.

Tracie set out from Elmhurst, IL, to go to Franklin Park. On the way, she made a few stops to do errands. Each stop is indicated by a red dot in image above. Laying a rectangular coordinate grid over the map, we can see that each stop aligns with an intersection of grid lines. In this section, we will learn how to use grid lines to describe locations and changes in locations.

Plotting Ordered Pairs in the Cartesian Coordinate System

An old story describes how seventeenth-century philosopher/mathematician René Descartes invented the system that has become the foundation of algebra while sick in bed. According to the story, Descartes was staring at a fly crawling on the ceiling when he realized that he could describe the fly’s location in relation to the perpendicular lines formed by the adjacent walls of his room. He viewed the perpendicular lines as horizontal and vertical axes. Further, by dividing each axis into equal unit lengths, Descartes saw that it was possible to locate any object in a two-dimensional plane using just two numbers—the displacement from the horizontal axis and the displacement from the vertical axis.

While there is evidence that ideas similar to Descartes’ grid system existed centuries earlier, it was Descartes who introduced the components that comprise the Cartesian coordinate system, a grid system having perpendicular axes. Descartes named the horizontal axis the x-axis and the vertical axis the y-axis.

The Cartesian coordinate system, also called the rectangular coordinate system, is based on a two-dimensional plane consisting of the x-axis and the y-axis. Perpendicular to each other, the axes divide the plane into four sections. Each section is called a quadrant; the quadrants are numbered counterclockwise as shown in the graph below.

This is an image of an x, y plane with the axes labeled. The upper right section is labeled: Quadrant I. The upper left section is labeled: Quadrant II. The lower left section is labeled: Quadrant III. The lower right section is labeled: Quadrant IV.

The center of the plane is the point at which the two axes cross. It is known as the origin, or point (0,0). From the origin, each axis is further divided into equal units: increasing, positive numbers to the right on the x-axis and up the y-axis; decreasing, negative numbers to the left on the x-axis and down the y-axis. The axes extend to positive and negative infinity as shown by the arrowheads in the graph below.

This is an image of an x, y coordinate plane. The x and y axis range from negative 5 to 5.

Each point in the plane is identified by its x-coordinate, or horizontal displacement from the origin, and its y-coordinate, or vertical displacement from the origin. Together, we write them as an ordered pair indicating the combined distance from the origin in the form, (x,y). An ordered pair is also known as a coordinate pair because it consists of x- and y-coordinates. For example, we can represent the point, (3,-1), in the plane by moving three units to the right of the origin in the horizontal direction, and one unit down in the vertical direction.

This is an image of an x, y coordinate plane. The x and y axis range from negative 5 to 5. The point (3, -1) is labeled. An arrow extends rightward from the origin 3 units and another arrow extends downward one unit from the end of that arrow to the point.

When dividing the axes into equally spaced increments, note that the x-axis may be considered separately from the y-axis. In other words, while the x-axis may be divided and labeled according to consecutive integers, the y-axis may be divided and labeled by increments of 2, or 10, or 100. In fact, the axes may represent other units, such as years against the balance in a savings account, or quantity against cost, and so on. Consider the rectangular coordinate system primarily as a method for showing the relationship between two quantities.

Cartesian Coordinate System

A two-dimensional plane where the

  • x-axis is the horizontal axis
  • y-axis is the vertical axis

A point in the plane is defined as an ordered pair, (x,y), such that x is determined by its horizontal distance from the origin and y is determined by its vertical distance from the origin.

Plotting Points in a Rectangular Coordinate System

Plot the points,(-2,4), (3,3),and,(0,-3),in the plane.

Show Solution

To plot the point, (-2,4), begin at the origin. The x-coordinate is –2, so move two units to the left. The y-coordinate is 4, so then move four units up in the positive y direction.

To plot the point, (3,3), begin again at the origin. The x-coordinate is 3, so move three units to the right. The y-coordinate is also 3, so move three units up in the positive y direction.

To plot the point ,(0,-3), begin again at the origin. The x-coordinate is 0. This tells us not to move in either direction along the x-axis. The y-coordinate is –3, so move three units down in the negative y direction.

This is an image of a graph on an x, y coordinate plane. The x and y axes range from negative 5 to 5. The points (-2, 4); (3, 3); and (0, -3) are labeled. Arrows extend from the origin to the points.

Analysis

Note that when either coordinate is zero, the point must be on an axis. If the x-coordinate is zero, the point is on the y-axis. If the y-coordinate is zero, the point is on the x-axis.

Graphing Equations by Plotting Points

We can plot a set of points to represent an equation. When such an equation contains both an x variable and a y variable, it is called an equation in two variables. Its graph is called a graph in two variables. Any graph on a two-dimensional plane is a graph in two variables.

Suppose we want to graph the equation y=2x-1. We can begin by substituting a value for x into the equation and determining the resulting value of y. Each pair of x– and y-values is an ordered pair that can be plotted. The table below lists values of x from –3 to 3 and the resulting values for y.

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

We can plot the points in the table. The points for this particular equation form a line, so we can connect them. This is not true for all equations.

This is a graph of a line on an x, y coordinate plane. The x- and y-axis range from negative 8 to 8. A line passes through the points (-3, -7); (-2, -5); (-1, -3); (0, -1); (1, 1); (2, 3); and (3, 5).

Note that the x-values chosen are arbitrary, regardless of the type of equation we are graphing. Of course, some situations may require particular values of x to be plotted in order to see a particular result. Otherwise, it is logical to choose values that can be calculated easily, and it is always a good idea to choose values that are both negative and positive. There is no rule dictating how many points to plot, although we need at least two to graph a line. Keep in mind, however, that the more points we plot, the more accurately we can sketch the graph.

How To

Given an equation, graph by plotting points.

  1. Make a table with one column labeled x, a second column labeled with the equation, and a third column listing the resulting ordered pairs.
  2. Enter x-values down the first column using positive and negative values. Selecting the x-values in numerical order will make the graphing simpler.
  3. Select x-values that will yield y-values with little effort, preferably ones that can be calculated mentally.
  4. Plot the ordered pairs.
  5. Connect the points if they form a line.

Graphing an Equation in Two Variables by Plotting Points

Graph the equation y=-x+2 by plotting points.

Show Solution

First, we construct a table. Choose x values and calculate y.

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

Now, plot the points. Connect them if they form a line.

This image is a graph of a line on an x, y coordinate plane. The x-axis includes numbers that range from negative 7 to 7. The y-axis includes numbers that range from negative 5 to 8. A line passes through the points: (-5, 7); (-3, 5); (-1, 3); (0, 2); (1, 1); (3, -1); and (5, -3).

Try It

Construct a table and graph the equation by plotting points: y=\dfrac{1}{2}x+2.

Show Solution
x y=\dfrac{1}{2}x+2 (x,y)
-2 y=\dfrac{1}{2}(-2)+2=1 (-2,1)
-1 y=\dfrac{1}{2}(-1)+2=\frac{3}{2} (-1,\dfrac{3}{2})
0 y=\dfrac{1}{2}(0)+2=2 (0,2)
1 y=\dfrac{1}{2}(1)+2=\frac{5}{2} (1,\dfrac{5}{2})
2 y=\frac{1}{2}(2)+2=3 (2,3)

This is an image of a graph on an x, y coordinate plane. The x and y-axis range from negative 5 to 5. A line passes through the points (-2, 1); (-1, 3/2); (0, 2); (1, 5/2); and (2, 3).

Finding x-intercepts and y-intercepts

The intercepts of a graph are points at which the graph crosses the axes. The x-intercept is the point at which the graph crosses the x-axis. At this point, the y-coordinate is zero. The y-intercept is the point at which the graph crosses the y-axis. At this point, the x-coordinate is zero.

To determine the x-intercept, we set y equal to zero and solve for x. Similarly, to determine the y-intercept, we set x equal to zero and solve for y. For example, lets find the intercepts of the equation  y=3x-1.

To find the x-intercept, set  y=0.

    \begin{align*} y &= 3x - 1 \\ 0 &= 3x - 1 \\ 1 &= 3x \\ \dfrac{1}{3} &= x \\ \left( \dfrac{1}{3}, 0 \right) &\text{ is the } x\text{-intercept} \end{align*}

To find the y-intercept, set  x=0.

    \begin{align*} y &= 3x - 1 \\ y &= 3(0) - 1 \\ y &= -1 \\ \left(0, -1\right) &\text{ is the } y\text{-intercept} \end{align*}

We can confirm that our results make sense by observing a graph of the equation. Notice that the graph crosses the axes where we predicted it would.

This is an image of a line graph on an x, y coordinate plane. The x and y-axis range from negative 4 to 4. The function y = 3x – 1 is plotted on the coordinate plane

How To

Given an equation, find the intercepts.

  1. Find the x-intercept by setting y=0 and solving for x.
  2. Find the y-intercept by setting x=0 and solving for y.

Finding the Intercepts of the Given Equation

Find the intercepts of the equation y=-3x-4 Then sketch the graph using only the intercepts.

Show Solution

Set y=0 to find the x-intercept.

    \begin{align*} \phantom{1em} y &= -3x - 4 \\ \phantom{1em} 0 &= -3x - 4 \\ \phantom{1em} 4 &= -3x \\ x &= -\frac{4}{3} \\ \left(-\frac{4}{3}, 0\right) &\text{ is the } x\text{-intercept} \end{align*}

Set x=0 to find the y-intercept.

    \begin{align*} y &= -3x - 4 \\ y &= -3(0) - 4 \\ y &= -4 \\ \left(0, -4\right) &\text{ is the } y\text{-intercept} \end{align*}

Plot both points, and draw a line passing through them.

This is an image of a line graph on an x, y coordinate plane. The x-axis ranges from negative 5 to 5. The y-axis ranges from negative 6 to 3. The line passes through the points (-4/3, 0) and (0, -4).

 

Try It

Find the intercepts of the equation and sketch the graph: y=-\dfrac{3}{4}x+3.

Show Solution

x-intercept is \left(4,0 \right);y-intercept is \left(0,3\right).

This is an image of a line graph on an x, y coordinate plane. The x and y axes range from negative 4 to 6. The function y = -3x/4 + 3 is plotted.

Access these online resources for additional instruction and practice with the Cartesian coordinate system.

Key Concepts

  • We can locate, or plot, points in the Cartesian coordinate system using ordered pairs, which are defined as displacement from the x-axis and displacement from the y-axis.
  • An equation can be graphed in the plane by creating a table of values and plotting points.
  • Using a graphing calculator or a computer program makes graphing equations faster and more accurate. Equations usually have to be entered in the form y=_____.
  • Finding the x- and y-intercepts can define the graph of a line. These are the points where the graph crosses the axes.

License

Icon for the Creative Commons Attribution 4.0 International License

MAT 1073 College Algebra Reading Copyright © 2025 by OpenStax is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book