Skip to content
Use the Rectangular Coordinate System

Use the Rectangular Coordinate System

By the end of this section, you will be able to: plot points in a rectangular coordinate system, verify solutions to an equation in two variables, complete a table of solutions to a linear equation in two variables, and find solutions to a linear equation in two variables.

Plot points in a rectangular coordinate system

Just like maps use a grid system to identify locations, a grid system is used in algebra to show a relationship between two variables in a rectangular coordinate system. The rectangular coordinate system is also called the xyxy-plane or the “coordinate plane.”

The horizontal number line is called the xx-axis. The vertical number line is called the yy-axis. The xx-axis and the yy-axis together form the rectangular coordinate system. These axes divide a plane into four regions, called quadrants. The quadrants are identified by Roman numerals, beginning on the upper right and proceeding counterclockwise.

xyIIIIIIIV

In the rectangular coordinate system, every point is represented by an ordered pair. The first number in the ordered pair is the xx-coordinate of the point, and the second number is the yy-coordinate of the point.

Ordered pair. An ordered pair (x,y)(x, y) gives the coordinates of a point in a rectangular coordinate system. The first number is the xx-coordinate. The second number is the yy-coordinate.

The phrase “ordered pair” means the order is important. What is the ordered pair of the point where the axes cross? At that point both coordinates are zero, so its ordered pair is (0,0)(0, 0). The point (0,0)(0, 0) has a special name — it is called the origin.

The origin. The point (0,0)(0, 0) is called the origin. It is the point where the xx-axis and yy-axis intersect.

We use the coordinates to locate a point on the xyxy-plane. Let’s plot the point (1,3)(1, 3) as an example. First, locate 11 on the xx-axis and lightly sketch a vertical line through x=1x = 1. Then locate 33 on the yy-axis and sketch a horizontal line through y=3y = 3. Now, find the point where these two lines meet — that is the point with coordinates (1,3)(1, 3).

xy(1, 3)

Notice that the vertical line through x=1x = 1 and the horizontal line through y=3y = 3 are not part of the graph. We just used them to help us locate the point (1,3)(1, 3).

Example. Plot each point in the rectangular coordinate system and identify the quadrant in which the point is located: (a) (5,4)(-5, 4) (b) (3,4)(-3, -4) (c) (2,3)(2, -3) (d) (2,3)(-2, 3) (e) (3,52)\left(3, \tfrac{5}{2}\right).

The first number of the coordinate pair is the xx-coordinate, and the second number is the yy-coordinate.

(a) Since x=5x = -5, the point is to the left of the yy-axis. Also, since y=4y = 4, the point is above the xx-axis. The point (5,4)(-5, 4) is in Quadrant II.

(b) Since x=3x = -3, the point is to the left of the yy-axis. Also, since y=4y = -4, the point is below the xx-axis. The point (3,4)(-3, -4) is in Quadrant III.

(c) Since x=2x = 2, the point is to the right of the yy-axis. Since y=3y = -3, the point is below the xx-axis. The point (2,3)(2, -3) is in Quadrant IV.

(d) Since x=2x = -2, the point is to the left of the yy-axis. Since y=3y = 3, the point is above the xx-axis. The point (2,3)(-2, 3) is in Quadrant II.

(e) Since x=3x = 3, the point is to the right of the yy-axis. Since y=52y = \tfrac{5}{2}, the point is above the xx-axis. (It may be helpful to write 52\tfrac{5}{2} as a mixed number or decimal — it is halfway between 22 and 33.) The point (3,52)\left(3, \tfrac{5}{2}\right) is in Quadrant I.

xy(−5, 4)(−2, 3)(3, 2.5)(−3, −4)(2, −3)

Plot the point (4, -4) in a rectangular coordinate system. In which quadrant does it lie? Enter the quadrant number as a digit (1, 2, 3, or 4).

We can summarize the sign patterns of the quadrants this way.

Quadrant IQuadrant IIQuadrant IIIQuadrant IV
(x,y)(x, y)(x,y)(x, y)(x,y)(x, y)(x,y)(x, y)(x,y)(x, y)
signs(+,+)(+, +)(,+)(-, +)(,)(-, -)(+,)(+, -)

What if one coordinate is zero? The point (0,4)(0, 4) is on the yy-axis, and the point (2,0)(-2, 0) is on the xx-axis.

Points on the axes. Points with a yy-coordinate equal to 00 are on the xx-axis, and have coordinates (a,0)(a, 0). Points with an xx-coordinate equal to 00 are on the yy-axis, and have coordinates (0,b)(0, b).

Example. Plot each point: (a) (0,5)(0, 5) (b) (4,0)(4, 0) (c) (3,0)(-3, 0) (d) (0,0)(0, 0) (e) (0,1)(0, -1).

(a) Since x=0x = 0, the point whose coordinates are (0,5)(0, 5) is on the yy-axis.

(b) Since y=0y = 0, the point whose coordinates are (4,0)(4, 0) is on the xx-axis.

(c) Since y=0y = 0, the point whose coordinates are (3,0)(-3, 0) is on the xx-axis.

(d) Since x=0x = 0 and y=0y = 0, the point whose coordinates are (0,0)(0, 0) is the origin.

(e) Since x=0x = 0, the point whose coordinates are (0,1)(0, -1) is on the yy-axis.

xy(0, 5)(4, 0)(−3, 0)(0, 0)(0, −1)

A point has coordinates (0, 2). Which axis does it lie on?

In algebra, being able to identify the coordinates of a point shown on a graph is just as important as being able to plot points. To identify the xx-coordinate of a point on a graph, read the number on the xx-axis directly above or below the point. To identify the yy-coordinate of a point, read the number on the yy-axis directly to the left or right of the point. Remember, when you write the ordered pair, use the correct order (x,y)(x, y).

Example. Name the ordered pair of each point shown, where points A,B,C,D,E,FA, B, C, D, E, F are plotted in the rectangular coordinate system: AA is above 3-3 on the xx-axis and to the left of 33 on the yy-axis; BB is below 1-1 on the xx-axis and to the left of 3-3 on the yy-axis; CC is above 22 on the xx-axis and to the left of 44 on the yy-axis; DD is below 44 on the xx-axis and to the right of 4-4 on the yy-axis; EE is on the yy-axis at y=2y = -2; FF is on the xx-axis at x=3x = 3.

Point AA is above 3-3 on the xx-axis, so the xx-coordinate of the point is 3-3.

  • The point is to the left of 33 on the yy-axis, so the yy-coordinate of the point is 33.
  • The coordinates of the point are (3,3)(-3, 3).

Point BB is below 1-1 on the xx-axis, so the xx-coordinate of the point is 1-1.

  • The point is to the left of 3-3 on the yy-axis, so the yy-coordinate of the point is 3-3.
  • The coordinates of the point are (1,3)(-1, -3).

Point CC is above 22 on the xx-axis, so the xx-coordinate of the point is 22.

  • The point is to the right of 44 on the yy-axis, so the yy-coordinate of the point is 44.
  • The coordinates of the point are (2,4)(2, 4).

Point DD is below 44 on the xx-axis, so the xx-coordinate of the point is 44.

  • The point is to the right of 4-4 on the yy-axis, so the yy-coordinate of the point is 4-4.
  • The coordinates of the point are (4,4)(4, -4).

Point EE is on the yy-axis at y=2y = -2. The coordinates of point EE are (0,2)(0, -2).

Point FF is on the xx-axis at x=3x = 3. The coordinates of point FF are (3,0)(3, 0).

A point on a graph lies directly above -2 on the x-axis and directly to the right of 5 on the y-axis. What are its coordinates as an ordered pair (x, y)?

Verify solutions to an equation in two variables

Up to now, all the equations you have solved were equations with just one variable. In almost every case, when you solved the equation you got exactly one solution. The process of solving an equation ended with a statement like x=4x = 4. (Then, you checked the solution by substituting back into the equation.)

But equations can have more than one variable. Equations with two variables may be of the form Ax+By=CAx + By = C. Equations of this form are called linear equations in two variables.

Linear equation. An equation of the form Ax+By=CAx + By = C, where AA and BB are not both zero, is called a linear equation in two variables.

Notice the word line in linear. Here is an example of a linear equation in two variables, xx and yy: x+4y=8x + 4y = 8, where A=1A = 1, B=4B = 4, and C=8C = 8.

The equation y=3x+5y = -3x + 5 is also a linear equation. But it does not appear to be in the form Ax+By=CAx + By = C. We can use the Addition Property of Equality and rewrite it in Ax+By=CAx + By = C form.

y=3x+5y = -3x + 5
Add 3x3x to both sides.y+3x=3x+5+3xy + 3x = -3x + 5 + 3x
Simplify.y+3x=5y + 3x = 5
Use the Commutative Property to put it in Ax+By=CAx + By = C form.3x+y=53x + y = 5

By rewriting y=3x+5y = -3x + 5 as 3x+y=53x + y = 5, we can easily see that it is a linear equation in two variables because it is of the form Ax+By=CAx + By = C. When an equation is in the form Ax+By=CAx + By = C, we say it is in standard form.

Standard form of a linear equation. A linear equation is in standard form when it is written Ax+By=CAx + By = C.

Most people prefer to have AA, BB, and CC be integers and A0A \geq 0 when writing a linear equation in standard form, although it is not strictly necessary.

Linear equations have infinitely many solutions. For every number that is substituted for xx, there is a corresponding yy value. This pair of values is a solution to the linear equation, and is represented by the ordered pair (x,y)(x, y). When we substitute these values of xx and yy into the equation, the result is a true statement, because the value on the left side is equal to the value on the right side.

Solution of a linear equation in two variables. An ordered pair (x,y)(x, y) is a solution of the linear equation Ax+By=CAx + By = C, if the equation is a true statement when the xx- and yy-values of the ordered pair are substituted into the equation.

Example. Determine which ordered pairs are solutions to the equation x+4y=8x + 4y = 8: (a) (0,2)(0, 2) (b) (2,4)(2, -4) (c) (4,3)(-4, 3).

Substitute the xx- and yy-values from each ordered pair into the equation and determine if the result is a true statement.

(a) x=0,y=2x = 0, y = 2:  0+42=?8\ 0 + 4 \cdot 2 \stackrel{?}{=} 8, so 0+8=?80 + 8 \stackrel{?}{=} 8, and 8=88 = 8 ✓. (0,2)(0, 2) is a solution.

(b) x=2,y=4x = 2, y = -4:  2+4(4)=?8\ 2 + 4(-4) \stackrel{?}{=} 8, so 2+(16)=?82 + (-16) \stackrel{?}{=} 8, and 148-14 \neq 8. (2,4)(2, -4) is not a solution.

(c) x=4,y=3x = -4, y = 3:  4+43=?8\ -4 + 4 \cdot 3 \stackrel{?}{=} 8, so 4+12=?8-4 + 12 \stackrel{?}{=} 8, and 8=88 = 8 ✓. (4,3)(-4, 3) is a solution.

Example. Which of the following ordered pairs are solutions to y=5x1y = 5x - 1: (a) (0,1)(0, -1) (b) (1,4)(1, 4) (c) (2,7)(-2, -7)?

(a) x=0,y=1x = 0, y = -1:  1=?5(0)1\ -1 \stackrel{?}{=} 5(0) - 1, so 1=?01-1 \stackrel{?}{=} 0 - 1, and 1=1-1 = -1 ✓. (0,1)(0, -1) is a solution.

(b) x=1,y=4x = 1, y = 4:  4=?5(1)1\ 4 \stackrel{?}{=} 5(1) - 1, so 4=?514 \stackrel{?}{=} 5 - 1, and 4=44 = 4 ✓. (1,4)(1, 4) is a solution.

(c) x=2,y=7x = -2, y = -7:  7=?5(2)1\ -7 \stackrel{?}{=} 5(-2) - 1, so 7=?101-7 \stackrel{?}{=} -10 - 1, and 711-7 \neq -11. (2,7)(-2, -7) is not a solution.

Which of the following ordered pairs is a solution to 2x+3y=62x + 3y = 6: (3,0)(3, 0) or (2,0)(2, 0)? Enter your answer as an ordered pair (x,y)(x, y).

Complete a table of solutions to a linear equation in two variables

In the examples above, we substituted the xx- and yy-values of a given ordered pair to determine whether or not it was a solution to a linear equation. But how do you find the ordered pairs if they are not given? It’s easier than you might think — you can just pick a value for xx and then solve the equation for yy. Or, pick a value for yy and then solve for xx.

We’ll start by looking at the solutions to the equation y=5x1y = 5x - 1 that we found above. We can summarize this information in a table of solutions.

y=5x1y = 5x - 1
xxyy(x,y)(x, y)
001-1(0,1)(0, -1)
1144(1,4)(1, 4)

To find a third solution, we’ll let x=2x = 2 and solve for yy: substituting x=2x = 2 gives y=5(2)1y = 5(2) - 1, so y=101y = 10 - 1, and y=9y = 9. The ordered pair (2,9)(2, 9) is a solution to y=5x1y = 5x - 1. We add it to the table.

y=5x1y = 5x - 1
xxyy(x,y)(x, y)
001-1(0,1)(0, -1)
1144(1,4)(1, 4)
2299(2,9)(2, 9)

We can find more solutions to the equation by substituting in any value of xx or any value of yy and solving the resulting equation to get another ordered pair that is a solution. There are infinitely many solutions of this equation.

Example. Complete the table to find three solutions to the equation y=4x2y = 4x - 2, using x=0x = 0, x=1x = -1, and x=2x = 2.

Substitute x=0x = 0, x=1x = -1, and x=2x = 2 into y=4x2y = 4x - 2:

when x=0x = 0: y=402=02=2y = 4 \cdot 0 - 2 = 0 - 2 = -2;

when x=1x = -1: y=4(1)2=42=6y = 4(-1) - 2 = -4 - 2 = -6;

when x=2x = 2: y=422=82=6y = 4 \cdot 2 - 2 = 8 - 2 = 6.

The results are summarized in the table.

y=4x2y = 4x - 2
xxyy(x,y)(x, y)
002-2(0,2)(0, -2)
1-16-6(1,6)(-1, -6)
2266(2,6)(2, 6)

Complete the table to find three solutions to y=3x1y = 3x - 1: when x=1x = -1, what is y?

Example. Complete the table to find three solutions to the equation 5x4y=205x - 4y = 20, given x=0x = 0, y=0y = 0, and y=5y = 5.

Substitute the given value into the equation 5x4y=205x - 4y = 20 and solve for the other variable.

When x=0x = 0:  5(0)4y=20\ 5(0) - 4y = 20, so 04y=200 - 4y = 20, then 4y=20-4y = 20, and y=5y = -5; the ordered pair is (0,5)(0, -5).

When y=0y = 0:  5x4(0)=20\ 5x - 4(0) = 20, so 5x0=205x - 0 = 20, then 5x=205x = 20, and x=4x = 4; the ordered pair is (4,0)(4, 0).

When y=5y = 5:  5x4(5)=20\ 5x - 4(5) = 20, so 5x20=205x - 20 = 20, then 5x=405x = 40, and x=8x = 8; the ordered pair is (8,5)(8, 5).

The results are summarized in the table.

5x4y=205x - 4y = 20
xxyy(x,y)(x, y)
005-5(0,5)(0, -5)
4400(4,0)(4, 0)
8855(8,5)(8, 5)

Complete this solution to the equation 3x4y=123x - 4y = 12: when y=0y = 0, what is x?

Find solutions to a linear equation

To find a solution to a linear equation, you really can pick any number you want to substitute into the equation for xx or yy. But since you’ll need to use that number to solve for the other variable, it’s a good idea to choose a number that’s easy to work with.

When the equation is in yy-form, with the yy by itself on one side of the equation, it is usually easier to choose values of xx and then solve for yy.

Example. Find three solutions to the equation y=3x+2y = -3x + 2.

We can substitute any value we want for xx or any value for yy. Since the equation is in yy-form, it will be easier to substitute in values of xx. Let’s pick x=0x = 0, x=1x = 1, and x=1x = -1.

When x=0x = 0:  y=30+2=0+2=2\ y = -3 \cdot 0 + 2 = 0 + 2 = 2; the ordered pair is (0,2)(0, 2). Check: 2=?30+22 \stackrel{?}{=} -3 \cdot 0 + 2, so 2=22 = 2 ✓.

When x=1x = 1:  y=31+2=3+2=1\ y = -3 \cdot 1 + 2 = -3 + 2 = -1; the ordered pair is (1,1)(1, -1). Check: 1=?31+2-1 \stackrel{?}{=} -3 \cdot 1 + 2, so 1=1-1 = -1 ✓.

When x=1x = -1:  y=3(1)+2=3+2=5\ y = -3(-1) + 2 = 3 + 2 = 5; the ordered pair is (1,5)(-1, 5). Check: 5=?3(1)+25 \stackrel{?}{=} -3(-1) + 2, so 5=55 = 5 ✓.

So (0,2)(0, 2), (1,1)(1, -1), and (1,5)(-1, 5) are all solutions to y=3x+2y = -3x + 2. We show them in a table.

y=3x+2y = -3x + 2
xxyy(x,y)(x, y)
0022(0,2)(0, 2)
111-1(1,1)(1, -1)
1-155(1,5)(-1, 5)

We have seen how using zero as one value of xx makes finding the value of yy easy. When an equation is in standard form, with both the xx and yy on the same side of the equation, it is usually easier to first find one solution when x=0x = 0, find a second solution when y=0y = 0, and then find a third solution.

Example. Find three solutions to the equation 3x+2y=63x + 2y = 6.

Step 1: Choose any value for one of the variables in the equation. We can substitute any value we want for xx or any value for yy. Since the equation is in standard form, let’s pick first x=0x = 0, then y=0y = 0, and then find a third point.

Step 2: Substitute that value into the equation. Solve for the other variable.

When x=0x = 0:  3(0)+2y=6\ 3(0) + 2y = 6, so 0+2y=60 + 2y = 6, then 2y=62y = 6, and y=3y = 3.

When y=0y = 0:  3x+2(0)=6\ 3x + 2(0) = 6, so 3x+0=63x + 0 = 6, then 3x=63x = 6, and x=2x = 2.

When x=1x = 1:  3(1)+2y=6\ 3(1) + 2y = 6, so 3+2y=63 + 2y = 6, then 2y=32y = 3, and y=32y = \tfrac{3}{2}.

Step 3: Write the solution as an ordered pair. So the solutions are (0,3)(0, 3), (2,0)(2, 0), and (1,32)\left(1, \tfrac{3}{2}\right).

Step 4: Check. Substitute each pair into 3x+2y=63x + 2y = 6:

(0,3)(0, 3):  3(0)+2(3)=?6\ 3(0) + 2(3) \stackrel{?}{=} 6, so 0+6=?60 + 6 \stackrel{?}{=} 6, and 6=66 = 6 ✓.

(2,0)(2, 0):  3(2)+2(0)=?6\ 3(2) + 2(0) \stackrel{?}{=} 6, so 6+0=?66 + 0 \stackrel{?}{=} 6, and 6=66 = 6 ✓.

(1,32)\left(1, \tfrac{3}{2}\right):  3(1)+232=?6\ 3(1) + 2 \cdot \tfrac{3}{2} \stackrel{?}{=} 6, so 3+3=?63 + 3 \stackrel{?}{=} 6, and 6=66 = 6 ✓.

Find a solution to a linear equation.

  1. Choose any value for one of the variables in the equation.
  2. Substitute that value into the equation. Solve for the other variable.
  3. Write the solution as an ordered pair.
  4. Check by substituting both values into the original equation.

Find a solution to the equation x+3y=6x + 3y = 6 by letting x=0x = 0. What is the ordered pair (x,y)(x, y)?

Find a solution to the equation 4x+2y=84x + 2y = 8 by letting y=0y = 0. What is the ordered pair (x,y)(x, y)?

Key terms

rectangular coordinate system — a grid formed by a horizontal xx-axis and a vertical yy-axis, used to show a relationship between two variables; also called the xyxy-plane. quadrant — one of the four regions the xx-axis and yy-axis divide the plane into, numbered I through IV counterclockwise starting from the upper right. ordered pair — a pair of numbers (x,y)(x, y) that gives the coordinates of a point in a rectangular coordinate system; the first number is the xx-coordinate and the second is the yy-coordinate. origin — the point (0,0)(0, 0), where the xx-axis and yy-axis intersect. linear equation in two variables — an equation of the form Ax+By=CAx + By = C, where AA and BB are not both zero. standard form — a linear equation is in standard form when it is written Ax+By=CAx + By = C. solution of a linear equation in two variables — an ordered pair (x,y)(x, y) that makes the equation a true statement when its xx- and yy-values are substituted in for xx and yy.


This section is adapted from Elementary Algebra 2e, Section 4.1: Use the Rectangular Coordinate System by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the quadrant and plotted-point figures as accessible inline graphics and the rewriting/solution steps as tables; omitted the Be Prepared quiz, Media links, and Section Exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.