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 on a rectangular coordinate system, identify points on a graph, verify solutions to an equation in two variables, complete a table of solutions to a linear equation, and find solutions to linear equations in two variables.

Plot points on a rectangular coordinate system

Many maps use a grid system to identify locations. Imagine a campus map with the numbers 1,2,3,1, 2, 3, and 44 across the top and bottom, and the letters A,B,C,A, B, C, and DD along the sides. Every location on the map can be identified by a number and a letter — the Student Center might sit in grid section 2B2B: in the grid section above the number 22 and next to the letter BB.

Just as 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. To create a rectangular coordinate system, start with a horizontal number line. Show both positive and negative numbers, using a convenient scale unit. This horizontal number line is called the xx-axis.

Now make a vertical number line passing through the xx-axis at 00. Put the positive numbers above 00 and the negative numbers below 00. This vertical line is called the yy-axis.

xy0

The xx-axis and the yy-axis form the rectangular coordinate system. These axes divide a plane into four areas, 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.

So how do the coordinates of a point help you locate a point on the x-yx\text{-}y plane? Let’s try locating the point (2,5)(2, 5). In this ordered pair, the xx-coordinate is 22 and the yy-coordinate is 55. Start by locating the xx value, 22, on the xx-axis, and lightly sketch a vertical line through x=2x = 2. Then locate the yy value, 55, on the yy-axis, and sketch a horizontal line through y=5y = 5. The point where these two lines meet is the point with coordinates (2,5)(2, 5).

xy(2, 5)

Example. Plot (1,3)(1, 3) and (3,1)(3, 1) in the same rectangular coordinate system.

The coordinate values are the same for both points, but the xx and yy values are reversed. For (1,3)(1, 3), locate 11 on the xx-axis and sketch a vertical line through x=1x = 1; locate 33 on the yy-axis and sketch a horizontal line through y=3y = 3. Where the two lines meet, plot the point (1,3)(1, 3). For (3,1)(3, 1), locate 33 on the xx-axis and 11 on the yy-axis; where those lines meet, plot the point (3,1)(3, 1).

xy(1, 3)(3, 1)

Notice that the order of the coordinates does matter, so (1,3)(1, 3) is not the same point as (3,1)(3, 1).

Which graph shows the point (5,2)(5, 2) plotted correctly?

Example. Plot each point in the rectangular coordinate system and identify the quadrant in which the point is located: (a) (1,3)(-1, 3) (b) (3,4)(-3, -4) (c) (2,1)(2, -1) (d) (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=1,y=3x = -1, y = 3, the point (1,3)(-1, 3) is in Quadrant II.

(b) Since x=3,y=4x = -3, y = -4, the point (3,4)(-3, -4) is in Quadrant III.

(c) Since x=2,y=1x = 2, y = -1, the point (2,1)(2, -1) is in Quadrant IV.

(d) Since x=3,y=52x = 3, y = \tfrac{5}{2}, the point (3,52)\left(3, \tfrac{5}{2}\right) is in Quadrant I. It may be helpful to write 52\tfrac{5}{2} as the mixed number 2122\tfrac{1}{2}, or decimal 2.52.5. Then we know that the point is halfway between 22 and 33 on the yy-axis.

We can summarize the sign patterns of the quadrants as follows.

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(+,+)(+, +)(,+)(-, +)(,)(-, -)(+,)(+, -)

Example. How do the signs affect the location of the points? Plot each point: (a) (5,2)(-5, 2) (b) (5,2)(-5, -2) (c) (5,2)(5, 2) (d) (5,2)(5, -2).

As we locate the xx-coordinate and the yy-coordinate, we must be careful with the signs. Point (a) lands in Quadrant II (left of the yy-axis, above the xx-axis). Point (b) lands in Quadrant III (left of the yy-axis, below the xx-axis). Point (c) lands in Quadrant I (right of the yy-axis, above the xx-axis). Point (d) lands in Quadrant IV (right of the yy-axis, below the xx-axis).

You may have noticed some patterns as you graphed the points in the two previous examples. For each point in Quadrant IV, the xx-coordinate is positive and the yy-coordinate is negative. In Quadrant III, both coordinates are negative. In Quadrant II, the xx-coordinate is negative and the yy-coordinate is positive. In Quadrant I, both coordinates are positive.

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).

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). This point 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.

Example. Plot each point on a coordinate grid: (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.

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

In which quadrant does the point (4,6)(-4, 6) lie? Enter the quadrant number as a digit (1, 2, 3, or 4).

Identify points on a graph

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 to write the ordered pair using the correct order (x,y)(x, y).

Example. Name the ordered pair of each point shown on the graph.

xy−10−8−6−4−2246810−10−8−6−4−2246810ABCD

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).

Example. Name the ordered pair of each point shown, where points A,B,C,DA, B, C, D lie on the axes: AA is on the xx-axis at x=4x = -4; BB is on the yy-axis at y=2y = -2; CC is on the xx-axis at x=3x = 3; DD is on the yy-axis at y=1y = 1.

Point AA is on the xx-axis at x=4x = -4, so the coordinates of point AA are (4,0)(-4, 0). Point BB is on the yy-axis at y=2y = -2, so the coordinates of point BB are (0,2)(0, -2). Point CC is on the xx-axis at x=3x = 3, so the coordinates of point CC are (3,0)(3, 0). Point DD is on the yy-axis at y=1y = 1, so the coordinates of point DD are (0,1)(0, 1).

xy−10−8−6−4−2246810−10−8−6−4−2246810ABCD

Read the coordinates of point BB from the graph above. Enter them as an ordered pair (x,y)(x, y).

Read the coordinates of point DD from the graph above. Enter them as an ordered pair (x,y)(x, y).

Verify solutions to an equation in two variables

All the equations we’ve solved so far have been equations with one variable. In almost every case, when we solved the equation we got exactly one solution — the process ended with a statement such as x=4x = 4, checked by substituting back into the equation.

But equations can have more than one variable. Equations with two variables can be written in the general form Ax+By=CAx + By = C. An equation of this form is called a linear equation 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 that the word “line” is 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.

Is y=5x+1y = -5x + 1 a linear equation? It does not appear to be in the form Ax+By=CAx + By = C. But we could rewrite it in this form. Add 5x5x to both sides: y+5x=5x+1+5xy + 5x = -5x + 1 + 5x. Simplify: y+5x=1y + 5x = 1. Use the Commutative Property to put it in Ax+By=CAx + By = C form: 5x+y=15x + y = 1.

By rewriting y=5x+1y = -5x + 1 as 5x+y=15x + y = 1, we can see that it is a linear equation in two variables because it can be written in the form Ax+By=CAx + By = C.

Linear equations in two variables 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 to a linear equation in two variables. An ordered pair (x,y)(x, y) is a solution to 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 of 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=?80 + 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)=?82 + 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. Determine which ordered pairs are solutions of the equation 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)14 \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.

Substitute x=3,y=0x = 3, y = 0 into 2x+3y=62x + 3y = 6. What number does the left side, 2x+3y2x + 3y, simplify to?

Determine which ordered pair is a solution to y=4x3y = 4x - 3: (0,3)(0, 3) or (1,1)(1, 1)? Enter your answer as an ordered pair (x,y)(x, y).

Complete a table of solutions to a linear equation

In the previous examples, 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 we find the ordered pairs if they are not given? One way is to choose a value for xx and then solve the equation for yy. Or, choose a value for yy and then solve the equation for xx.

We’ll start by looking at the solutions to the equation y=5x1y = 5x - 1 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, 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 can find more solutions to the equation by substituting 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 an infinite number of solutions for 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 each value of xx 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)

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.

When x=0x = 0: 5(0)4y=205(0) - 4y = 20, so 4y=20-4y = 20, and y=5y = -5; the ordered pair is (0,5)(0, -5). When y=0y = 0: 5x4(0)=205x - 4(0) = 20, so 5x=205x = 20, and x=4x = 4; the ordered pair is (4,0)(4, 0). When y=5y = 5: 5x4(5)=205x - 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 y=3x1y = 3x - 1: when x=2x = 2, what is yy?

Complete this solution to 2x5y=202x - 5y = 20: when y=0y = 0, what is xx?

Find solutions to linear equations in two variables

To find a solution to a linear equation, we can choose any number we want to substitute into the equation for either xx or yy. We could choose 11, 100100, 1,0001{,}000, or any other value we want. But it’s a good idea to choose a number that’s easy to work with. We’ll usually choose 00 as one of our values.

Example. Find a solution 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. Let’s pick x=0x = 0. What is the value of yy if x=0x = 0?

Step 2: Substitute that value into the equation. Solve for the other variable. Substitute 00 for xx: 3(0)+2y=63(0) + 2y = 6. Simplify: 0+2y=60 + 2y = 6, so 2y=62y = 6. Divide both sides by 22: y=3y = 3.

Step 3: Write the solution as an ordered pair. So, when x=0x = 0, y=3y = 3. This solution is represented by the ordered pair (0,3)(0, 3).

Step 4: Check. Substitute x=0,y=3x = 0, y = 3 into the equation 3x+2y=63x + 2y = 6: 3(0)+2(3)=?63(0) + 2(3) \stackrel{?}{=} 6, so 0+6=?60 + 6 \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.

We said that linear equations in two variables have infinitely many solutions, and we’ve just found one of them. Let’s find some other solutions to the equation 3x+2y=63x + 2y = 6.

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

To find solutions to 3x+2y=63x + 2y = 6, choose a value for xx or yy. Remember, we can choose any value we want. Let’s choose y=0y = 0, x=1x = 1, and y=3y = -3.

When y=0y = 0: 3x+2(0)=63x + 2(0) = 6, so 3x+0=63x + 0 = 6, then 3x=63x = 6, and x=2x = 2; the ordered pair is (2,0)(2, 0).

When x=1x = 1: 3(1)+2y=63(1) + 2y = 6, so 3+2y=63 + 2y = 6, then 2y=32y = 3, and y=32y = \tfrac{3}{2}; the ordered pair is (1,32)\left(1, \tfrac{3}{2}\right).

When y=3y = -3: 3x+2(3)=63x + 2(-3) = 6, so 3x6=63x - 6 = 6, then 3x=123x = 12, and x=4x = 4; the ordered pair is (4,3)(4, -3).

So (2,0)(2, 0), (1,32)\left(1, \tfrac{3}{2}\right), and (4,3)(4, -3) are all solutions to the equation 3x+2y=63x + 2y = 6. Together with (0,3)(0, 3) found above, we can list these solutions in a table.

3x+2y=63x + 2y = 6
xxyy(x,y)(x, y)
0033(0,3)(0, 3)
2200(2,0)(2, 0)
1132\tfrac{3}{2}(1,32)\left(1, \tfrac{3}{2}\right)
443-3(4,3)(4, -3)

Example. Find three solutions to the equation x4y=8x - 4y = 8.

Choose a value for xx or yy. Let’s use x=0x = 0, y=0y = 0, and y=3y = 3.

When x=0x = 0: 04y=80 - 4y = 8, so 4y=8-4y = 8, and y=2y = -2; the ordered pair is (0,2)(0, -2). When y=0y = 0: x4(0)=8x - 4(0) = 8, so x0=8x - 0 = 8, and x=8x = 8; the ordered pair is (8,0)(8, 0). When y=3y = 3: x4(3)=8x - 4(3) = 8, so x12=8x - 12 = 8, then x=20x = 20; the ordered pair is (20,3)(20, 3).

So (0,2)(0, -2), (8,0)(8, 0), and (20,3)(20, 3) are three solutions to the equation x4y=8x - 4y = 8. Remember, there are an infinite number of solutions to each linear equation. Any point you find is a solution if it makes the equation true.

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

Find a solution to x+5y=10x + 5y = 10 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 the relationship between two variables. 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. origin — the point (0,0)(0, 0), where the xx-axis and yy-axis intersect. linear equation — an equation of the form Ax+By=CAx + By = C, where AA and BB are not both zero. solution to a linear equation in two variables — an ordered pair (x,y)(x, y) that makes the equation a true statement when substituted in for xx and yy.


This section is adapted from Prealgebra 2e, Section 11.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 coordinate-grid and quadrant figures as accessible inline graphics and the solution tables as markdown tables; omitted the Be Prepared quiz, campus-map figure, Media links, Practice Makes Perfect, Everyday Math, Writing Exercises, and Self Check blocks; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.