Javascript required
Skip to content Skip to sidebar Skip to footer

Finding Ordered Pair for Two Solutions of Equations

Graphs

33 Graph Linear Equations in Two Variables

Learning Objectives

By the end of this section, you will be able to:

  • Recognize the relationship between the solutions of an equation and its graph.
  • Graph a linear equation by plotting points.
  • Graph vertical and horizontal lines.

Recognize the Relationship Between the Solutions of an Equation and its Graph

In the previous section, we found several solutions to the equation 3x+2y=6. They are listed in (Figure). So, the ordered pairs \left(0,3\right), \left(2,0\right), and \left(1,\frac{3}{2}\right) are some solutions to the equation 3x+2y=6. We can plot these solutions in the rectangular coordinate system as shown in (Figure).

3x+2y=6
x y \left(x,y\right)
0 3 \left(0,3\right)
2 0 \left(2,0\right)
1 \frac{3}{2} \left(1,\frac{3}{2}\right)

The figure shows four points on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the four points at (0, 3), (1, three halves), (2, 0), and (4, negative 3). The four points appear to line up along a straight line.

Notice how the points line up perfectly? We connect the points with a line to get the graph of the equation 3x+2y=6. See (Figure). Notice the arrows on the ends of each side of the line. These arrows indicate the line continues.

The figure shows a straight line drawn through four points on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the four points at (0, 3), (1, three halves), (2, 0), and (4, negative 3). A straight line with a negative slope goes through all four points. The line has arrows on both ends pointing to the edge of the figure. The line is labeled with the equation 3x plus 2y equals 6.

Every point on the line is a solution of the equation. Also, every solution of this equation is a point on this line. Points not on the line are not solutions.

Notice that the point whose coordinates are \left(-2,6\right) is on the line shown in (Figure). If you substitute x=-2 and y=6 into the equation, you find that it is a solution to the equation.

The figure shows a straight line and two points and on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the two points and are labeled by the coordinates

The figure shows a series of equations to check if the ordered pair (negative 2, 6) is a solution to the equation 3x plus 2y equals 6. The first line states

So the point \left(-2,6\right) is a solution to the equation 3x+2y=6. (The phrase "the point whose coordinates are \left(-2,6\right)" is often shortened to "the point \left(-2,6\right).")

The figure shows a series of equations to check if the ordered pair (4, 1) is a solution to the equation 3x plus 2y equals 6. The first line states

So \left(4,1\right) is not a solution to the equation 3x+2y=6. Therefore, the point \left(4,1\right) is not on the line. See (Figure). This is an example of the saying, "A picture is worth a thousand words." The line shows you all the solutions to the equation. Every point on the line is a solution of the equation. And, every solution of this equation is on this line. This line is called the graph of the equation 3x+2y=6.

Graph of a Linear Equation

The graph of a linear equation Ax+By=C is a line.

  • Every point on the line is a solution of the equation.
  • Every solution of this equation is a point on this line.

The graph of y=2x-3 is shown.

The figure shows a straight line on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line has a positive slope and goes through the y-axis at the (0, negative 3). The line is labeled with the equation y equals 2x negative 3.

For each ordered pair, decide:

Is the ordered pair a solution to the equation?
Is the point on the line?

A \left(0,-3\right) B \left(3,3\right) C \left(2,-3\right) D \left(-1,-5\right)

Use the graph of y=3x-1 to decide whether each ordered pair is:

  • a solution to the equation.
  • on the line.

\left(0,-1\right) \left(2,5\right)

The figure shows a straight line on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the point (negative 2, negative 7) and for every 3 units it goes up, it goes one unit to the right. The line is labeled with the equation y equals 3x minus 1.

yes, yes yes, yes

Use graph of y=3x-1 to decide whether each ordered pair is:

  • a solution to the equation
  • on the line

\left(3,-1\right) \left(-1,-4\right)

The figure shows a straight line on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the point (negative 2, negative 7) and for every 3 units it goes up, it goes one unit to the right. The line is labeled with the equation y equals 3x minus 1.

no, no yes, yes

Graph a Linear Equation by Plotting Points

There are several methods that can be used to graph a linear equation. The method we used to graph 3x+2y=6 is called plotting points, or the Point–Plotting Method.

How To Graph an Equation By Plotting Points

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

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

The figure shows a straight line on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 2, negative 7), (negative 1, negative 5), (0, negative 3), (1, negative 1), (2, 1), (3, 3), (4, 5), and (5, 7). There are arrows at the ends of the line pointing to the outside of the figure.

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

The figure shows a straight line on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 1, 6), (0, 4), (1, 2), (2, 0), (3, negative 2), (4, negative 4), and (5, negative 6). There are arrows at the ends of the line pointing to the outside of the figure.

The steps to take when graphing a linear equation by plotting points are summarized below.

Graph a linear equation by plotting points.

  1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
  2. Plot the points in a rectangular coordinate system. Check that the points line up. If they do not, carefully check your work.
  3. Draw the line through the three points. Extend the line to fill the grid and put arrows on both ends of the line.

It is true that it only takes two points to determine a line, but it is a good habit to use three points. If you only plot two points and one of them is incorrect, you can still draw a line but it will not represent the solutions to the equation. It will be the wrong line.

If you use three points, and one is incorrect, the points will not line up. This tells you something is wrong and you need to check your work. Look at the difference between part (a) and part (b) in (Figure).

Figure a shows three points with a straight line going through them. Figure b shows three points that do not lie on the same line.

Let's do another example. This time, we'll show the last two steps all on one grid.

Graph the equation y=-3x.

Solution

Find three points that are solutions to the equation. Here, again, it's easier to choose values for x. Do you see why?

The figure shows three sets of equations used to determine ordered pairs from the equation y equals negative 3x. The first set has the equations: x equals 0 (where the 0 is blue), y equals negative 3x, y equals negative 3(0) (where the 0 is blue), y equals 0. The second set has the equations: x equals 1 (where the 1 is blue), y equals negative 3x, y equals negative 3(1) (where the 1 is blue), y equals negative 3. The third set has the equations: x equals negative 2 (where the negative 2 is blue), y equals negative 3x, y equals negative 3(negative 2) (where the negative 2 is blue), y equals 6.

We list the points in (Figure).

y=-3x
x y \left(x,y\right)
0 0 \left(0,0\right)
1 -3 \left(1,-3\right)
-2 6 \left(-2,6\right)

Plot the points, check that they line up, and draw the line.

The figure shows a straight line drawn through three points on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the three points which are labeled by their ordered pairs (negative 2, 6), (0, 0), and (1, negative 3). A straight line goes through all three points. The line has arrows on both ends pointing to the outside of the figure. The line is labeled with the equation y equals negative 3x.

Graph the equation by plotting points: y=-4x.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 2, 8), (0, 0), and (2, negative 8). The line has arrows on both ends pointing to the outside of the figure.

Graph the equation by plotting points: y=x.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 8, negative 8), (negative 6, negative 6), (negative 4, negative 4), (negative 2, negative 2), (0, 0), (2, 2), (4, 4), (6, 6), and (8, 8). The line has arrows on both ends pointing to the outside of the figure.

When an equation includes a fraction as the coefficient of x, we can still substitute any numbers for x. But the math is easier if we make 'good' choices for the values of x. This way we will avoid fraction answers, which are hard to graph precisely.

Graph the equation y=\frac{1}{2}x+3.

Graph the equation y=\frac{1}{3}x-1.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 9, negative 4), (negative 6, negative 3), (negative 3, negative 2), (0, negative 1), (3, 0), (6, 1), and (9, 2). The line has arrows on both ends pointing to the outside of the figure.

Graph the equation y=\frac{1}{4}x+2.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 12, negative 1), (negative 8, 0), (negative 4, 1), (0, 2), (4, 3), (8, 4), and (12, 5). The line has arrows on both ends pointing to the outside of the figure.

So far, all the equations we graphed had y given in terms of x. Now we'll graph an equation with x and y on the same side. Let's see what happens in the equation 2x+y=3. If y=0 what is the value of x?

The figure shows a set of equations used to determine an ordered pair from the equation 2x plus y equals 3. The first equation is y equals 0 (where the 0 is red). The second equation is the two- variable equation 2x plus y equals 3. The third equation is the onenegative variable equation 2x plus 0 equals 3 (where the 0 is red). The fourth equation is 2x equals 3. The fifth equation is x equals three halves. The last line is the ordered pair (three halves, 0).

This point has a fraction for the x– coordinate and, while we could graph this point, it is hard to be precise graphing fractions. Remember in the example y=\frac{1}{2}x+3, we carefully chose values for x so as not to graph fractions at all. If we solve the equation 2x+y=3 for y, it will be easier to find three solutions to the equation.

\begin{array}{ccc}\hfill 2x+y& =\hfill & 3\hfill \\ \hfill y& =\hfill & -2x+3\hfill \end{array}

The solutions for x=0, x=1, and x=-1 are shown in the (Figure). The graph is shown in (Figure).

2x+y=3
x y \left(x,y\right)
0 3 \left(0,3\right)
1 1 \left(1,1\right)
-1 5 \left(-1,5\right)

The figure shows a straight line drawn through three points on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the three points which are labeled by their ordered pairs (negative 1, 5), (0, 3), and (1, 1). A straight line goes through all three points. The line has arrows on both ends pointing to the outside of the figure. The line is labeled with the equation 2x plus y equals 3.

Can you locate the point \left(\frac{3}{2},0\right), which we found by letting y=0, on the line?

Graph the equation 3x+y=-1.

Graph the equation 2x+y=2.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 4, 10), (negative 2, 6), (0, 2), (2, negative 2), (4, negative 6), and (6, negative 10). The line has arrows on both ends pointing to the outside of the figure.

Graph the equation 4x+y=-3.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 3, 9), (negative 2, 5), (negative 1, 1), (0, negative 3), (1, negative 7), and (2, negative 10). The line has arrows on both ends pointing to the outside of the figure.

If you can choose any three points to graph a line, how will you know if your graph matches the one shown in the answers in the book? If the points where the graphs cross the x– and y-axis are the same, the graphs match!

The equation in (Figure) was written in standard form, with both x and y on the same side. We solved that equation for y in just one step. But for other equations in standard form it is not that easy to solve for y, so we will leave them in standard form. We can still find a first point to plot by letting x=0 and solving for y. We can plot a second point by letting y=0 and then solving for x. Then we will plot a third point by using some other value for x or y.

Graph the equation 2x-3y=6.

Graph the equation 4x+2y=8.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 1, 6), (0, 4), (1, 2), (2, 0), (3, negative 2), and (4, negative 4). The line has arrows on both ends pointing to the outside of the figure.

Graph the equation 2x-4y=8.

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 6, negative 5), (negative 4, negative 4), (negative 2, negative 3), (0, negative 2), (2, negative 1), (4, 0), and (6, 1). The line has arrows on both ends pointing to the outside of the figure.

Graph Vertical and Horizontal Lines

Can we graph an equation with only one variable? Just x and no y, or just y without an x? How will we make a table of values to get the points to plot?

Let's consider the equation x=-3. This equation has only one variable, x. The equation says that x is always equal to -3, so its value does not depend on y. No matter what y is, the value of x is always -3.

So to make a table of values, write -3 in for all the x values. Then choose any values for y. Since x does not depend on y, you can choose any numbers you like. But to fit the points on our coordinate graph, we'll use 1, 2, and 3 for the y-coordinates. See (Figure).

x=-3
x y \left(x,y\right)
-3 1 \left(-3,1\right)
-3 2 \left(-3,2\right)
-3 3 \left(-3,3\right)

Plot the points from (Figure) and connect them with a straight line. Notice in (Figure) that we have graphed a vertical line.

The figure shows a vertical straight line drawn through three points on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the three points which are labeled by their ordered pairs (negative 3, 1), (negative 3, 2), and (negative 3, 3). A vertical straight line goes through all three points. The line has arrows on both ends pointing to the outside of the figure. The line is labeled with the equation x equals negative 3.

Vertical Line

A vertical line is the graph of an equation of the form x=a.

The line passes through the x-axis at \left(a,0\right).

Graph the equation x=2.

Graph the equation x=5.

The figure shows a straight vertical line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (5, 1), (5, 2), (5, 3), and all other points with first coordinate 5. The line has arrows on both ends pointing to the outside of the figure.

Graph the equation x=-2.

The figure shows a straight vertical line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 2, 1), (negative 2, 2), (negative 2, 3), and all other points with first coordinate negative 2. The line has arrows on both ends pointing to the outside of the figure.

What if the equation has y but no x? Let's graph the equation y=4. This time the y– value is a constant, so in this equation, y does not depend on x. Fill in 4 for all the y's in (Figure) and then choose any values for x. We'll use 0, 2, and 4 for the x-coordinates.

y=4
x y \left(x,y\right)
0 4 \left(0,4\right)
2 4 \left(2,4\right)
4 4 \left(4,4\right)

The graph is a horizontal line passing through the y-axis at 4. See (Figure).

The figure shows a straight horizontal line drawn through three points on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. Dots mark off the three points which are labeled by their ordered pairs (0, 4), (2, 4), and (4, 4). A straight horizontal line goes through all three points. The line has arrows on both ends pointing to the outside of the figure. The line is labeled with the equation y equals 4.

Horizontal Line

A horizontal line is the graph of an equation of the form y=b.

The line passes through the y-axis at \left(0,b\right).

Graph the equation y=-1.

Graph the equation y=-4.

The figure shows a straight horizontal line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 4, negative 4), (0, negative 4), (4, negative 4), and all other points with second coordinate negative 4. The line has arrows on both ends pointing to the outside of the figure.

Graph the equation y=3.

The figure shows a straight horizontal line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 4, 3), (0, 3), (4, 3), and all other points with second coordinate 3. The line has arrows on both ends pointing to the outside of the figure.

The equations for vertical and horizontal lines look very similar to equations like y=4x. What is the difference between the equations y=4x and y=4?

The equation y=4x has both x and y. The value of y depends on the value of x. The y-coordinate changes according to the value of x. The equation y=4 has only one variable. The value of y is constant. The y-coordinate is always 4. It does not depend on the value of x. See (Figure).

y=4x y=4
x y \left(x,y\right) x y \left(x,y\right)
0 0 \left(0,0\right) 0 4 \left(0,4\right)
1 4 \left(1,4\right) 1 4 \left(1,4\right)
2 8 \left(2,8\right) 2 4 \left(2,4\right)

The figure shows a two straight lines drawn on the same x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. One line is a straight horizontal line labeled with the equation y equals 4. The other line is a slanted line labeled with the equation y equals 4x.

Notice, in (Figure), the equation y=4x gives a slanted line, while y=4 gives a horizontal line.

Graph y=-3x and y=-3 in the same rectangular coordinate system.

Graph y=-4x and y=-4 in the same rectangular coordinate system.

The figure shows a two straight lines drawn on the same x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. One line is a straight horizontal line going through the points (negative 4, negative 4), (0, negative 4), (4, negative 4), and all other points with second coordinate negative 4. The other line is a slanted line going through the points (negative 2, 8), (negative 1, 4), (0, 0), (1, negative 4), and (2, negative 8).

Graph y=3 and y=3x in the same rectangular coordinate system.

The figure shows a two straight lines drawn on the same x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. One line is a straight horizontal line going through the points (negative 4, 3) (0, 3), (4, 3), and all other points with second coordinate 3. The other line is a slanted line going through the points (negative 2, negative 6), (negative 1, negative 3), (0, 0), (1, 3), and (2, 6).

Key Concepts

  • Graph a Linear Equation by Plotting Points
    1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
    2. Plot the points in a rectangular coordinate system. Check that the points line up. If they do not, carefully check your work!
    3. Draw the line through the three points. Extend the line to fill the grid and put arrows on both ends of the line.

Practice Makes Perfect

Recognize the Relationship Between the Solutions of an Equation and its Graph

In the following exercises, for each ordered pair, decide:

Is the ordered pair a solution to the equation? Is the point on the line?

yes; no no; no yes; yes yes; yes

yes; yes yes; yes yes; yes no; no

Graph a Linear Equation by Plotting Points

In the following exercises, graph by plotting points.

y=3x-1

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 3, negative 10), (negative 2, negative 7), (negative 1, negative 4), (0, negative 1), (1, 2), (2, 5), and (3, 8).

y=2x+3

y=-2x+2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 4, 10), (negative 3, 8), (negative 2, 6), (negative 1, 4), (0, 2), (1, 0), (2, negative 2), (3, negative 4), (4, negative 6), and (5, negative 8).

y=-3x+1

y=x+2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 10, negative 8), (negative 9, negative 7), (negative 8, negative 6), (negative 7, negative 5), (negative 6, negative 4), (negative 5, negative 3), (negative 4, negative 2), (negative 3, negative 1), (negative 2, 0), (negative 1, 1), (0, 2), (1, 3), (2, 4), (3, 5), (4, 6), (5, 7), (6, 8), (7, 9), and (8, 10).

y=x-3

y=\text{−}x-3

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 10, 7), (negative 9, 6), (negative 8, 5), (negative 7, 4), (negative 6, 3), (negative 5, 2), (negative 4, 1), (negative 3, 0), (negative 2, negative 1), (negative 1, negative 2), (0, negative 3), (1, negative 4), (2, negative 5), (3, negative 6), (4, negative 7), (5, negative 8), (6, negative 9), and (7, negative 10).

y=\text{−}x-2

y=2x

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 5, negative 10), (negative 4, negative 8), (negative 3, negative 6), (negative 2, negative 4), (negative 1, negative 2), (0, 0), (1, 2), (2, 4), (3, 6), (4, 8), and (5, 10).

y=3x

y=-4x

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 3, 12), (negative 2, 8), (negative 1, 4), (0, 0), (1, negative 4), (2, negative 8), and (3, negative 12).

y=-2x

y=\frac{1}{2}x+2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 12, negative 4), (negative 10, negative 3), (negative 8, negative 2), (negative 6, negative 1), (negative 4, 0), (negative 2, 1), (0, 2), (2, 3), (4, 4), (6, 5), (8, 6), and (10, 7).

y=\frac{1}{3}x-1

y=\frac{4}{3}x-5

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 3, negative 9), (0, negative 5), (3, negative 1), (6, 3), and (9, 7).

y=\frac{3}{2}x-3

y=-\frac{2}{5}x+1

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 10, 5), (negative 5, 3), (0, 1), (5, negative 1), and (10, negative 3).

y=-\frac{4}{5}x-1

y=-\frac{3}{2}x+2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 6, 11), (negative 4, 8), (negative 2, 5), (0, 2), (2, negative 1), (4, negative 4), (6, negative 7), and (8, negative 10).

y=-\frac{5}{3}x+4

x+y=6

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 4, 10), (negative 3, 9), (negative 2, 8), (negative 1, 7), (0, 6), (1, 5), (2, 4), (3, 3), (4, 2), (5, 1), (6, 0), (7, negative 1), (8, negative 2), (9, negative 3), and (10, negative 4).

x+y=4

x+y=-3

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 10, 7), (negative 9, 6), (negative 8, 5), (negative 7, 4), (negative 6, 3), (negative 5, 2), (negative 4, 1), (negative 3, 0), (negative 2, negative 1), (negative 1, negative 2), (0, negative 3), (1, negative 4), (2, negative 5), (3, negative 6), (4, negative 7), (5, negative 8), (6, negative 9), and (7, negative 10).

x+y=-2

x-y=2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 8, negative 10), (negative 7, negative 9), (negative 6, negative 8), (negative 5, negative 7), (negative 4, negative 6), (negative 3, negative 5), (negative 2, negative 4), (negative 1, negative 3), (0, negative 2), (1, negative 1), (2, 0), (3, 1), (4, 2), (5, 3), (6, 4), (7, 5), (8, 6), (9, 7), and (10, 8).

x-y=1

x-y=-1

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The straight line goes through the points (negative 9, negative 8), (negative 8, negative 7), (negative 7, negative 6), (negative 6, negative 5), (negative 5, negative 4), (negative 4, negative 3), (negative 3, negative 2), (negative 2, negative 1), (negative 1, 0), (0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6), (6, 7), (7, 8), (8, 9), and (9, 10).

x-y=-3

3x+y=7

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to -7. The equation 3 x plus y equals 7 is graphed.

5x+y=6

2x+y=-3

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 5, 7), (negative 4, 5), (negative 3, 3), (negative 2, 1), (negative 1, negative 1), (0, negative 3), (1, negative 5), and (2, negative 7).

4x+y=-5

\frac{1}{3}x+y=2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 6, 4), (negative 3, 3), (0, 2), (3, 1), and (6, 0).

\frac{1}{2}x+y=3

\frac{2}{5}x-y=4

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 5, negative 2), (0, negative 4), and (5, negative 6).

\frac{3}{4}x-y=6

2x+3y=12

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 3, 6), (0, 4), (3, 2), and (6, 0).

4x+2y=12

3x-4y=12

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 4, negative 6), (0, negative 3), (4, 0), and (8, 3).

2x-5y=10

x-6y=3

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 6, negative three halves), (negative 3, negative 1), (0, negative one half), (3, 0), and (6, one half).

x-4y=2

5x+2y=4

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 2, 7), (0, 2), (2, negative 3), and (4, negative 8).

3x+5y=5

Graph Vertical and Horizontal Lines

In the following exercises, graph each equation.

x=4

The figure shows a straight vertical line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The vertical line goes through the points (4, 0), (4, 1), (4, 2) and all points with first coordinate 4.

x=3

x=-2

The figure shows a straight vertical line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The vertical line goes through the points (negative 2, 0), (negative 2, 1), (negative 2, 2) and all points with first coordinate negative 2.

x=-5

y=3

The figure shows a straight horizontal line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The horizontal line goes through the points (0, 3), (1, 3), (2, 3) and all points with second coordinate 3.

y=1

y=-5

The figure shows a straight horizontal line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The horizontal line goes through the points (0, negative 5), (1, negative 5), (2, negative 5) and all points with second coordinate negative 5.

y=-2

x=\frac{7}{3}

The figure shows a straight vertical line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 12 to 12. The y-axis of the plane runs from negative 12 to 12. The vertical line goes through the points (7/3, 0), (7/3, 1), (7/3, 2) and all points with first coordinate 7/3.

x=\frac{5}{4}

y=-\frac{15}{4}

The figure shows a straight horizontal line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The horizontal line goes through the points (0, negative 15/4), (1, negative 15/4), (2, negative 15/4) and all points with second coordinate negative 15/4.

y=-\frac{5}{3}

In the following exercises, graph each pair of equations in the same rectangular coordinate system.

y=5x and y=5

y=-\frac{1}{3}x and y=-\frac{1}{3}

Mixed Practice

In the following exercises, graph each equation.

y=4x

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 2, negative 8), (negative 1, negative 4), (0, 0), (1, 4), and (2, 8).

y=2x

y=-\frac{1}{2}x+3

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 6, 6), (negative 4, 5), (negative 2, 4), (0, 3), (2, 2), (4, 1), and (6, 0).

y=\frac{1}{4}x-2

y=\text{−}x

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 6, 6), (negative 5, 5), (negative 4, 4), (negative 3, 3), (negative 2, 2), (negative 1, 1), (0, 0), (1, negative 1), (2, negative 2), (3, negative 3), (4, negative 4), (5, negative 5), and (6, negative 6).

y=x

x-y=3

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 3, negative 7), (negative 2, negative 6), (negative 1, negative 4), (0, negative 3), (1, negative 2), (2, negative 1), (3, 0), (4, 1), (5, 2), and (6, 3).

x+y=-5

4x+y=2

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 2, 6), (negative 1, 4), (0, 2), (1, negative 2), and (2, negative 6).

2x+y=6

y=-1

The figure shows a straight horizontal line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The horizontal line goes through the points (0, negative 1), (1, negative 1), (2, negative 1) and all points with second coordinate negative 1.

y=5

2x+6y=12

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The straight line goes through the points (negative 6, 4), (negative 3, 3), (0, 2), (3, 1), and (6, 0).

5x+2y=10

x=3

The figure shows a straight vertical line drawn on the x y-coordinate plane. The x-axis of the plane runs from negative 7 to 7. The y-axis of the plane runs from negative 7 to 7. The vertical line goes through the points (3, 0), (3, 1), (3, 2) and all points with first coordinate 3.

x=-4

Everyday Math

Motor home cost. The Robinsons rented a motor home for one week to go on vacation. It cost them ?594 plus ?0.32 per mile to rent the motor home, so the linear equation y=594+0.32x gives the cost, y, for driving x miles. Calculate the rental cost for driving 400, 800, and 1200 miles, and then graph the line.

?722, ?850, ?978

The figure shows a straight line drawn on the x y-coordinate plane. The x-axis of the plane runs from 0 to 1200 in increments of 100. The y-axis of the plane runs from 0 to 1000 in increments of 100. The straight line starts at the point (0, 594) and goes through the points (400, 722), (800, 850), and (1200, 978). The right end of the line has an arrow pointing up and to the right.

Writing Exercises

Explain how you would choose three x– values to make a table to graph the line y=\frac{1}{5}x-2.

Answers will vary.

What is the difference between the equations of a vertical and a horizontal line?

Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has 4 rows and 4 columns. The first row is a header row and it labels each column. The first column header is

After reviewing this checklist, what will you do to become confident for all goals?

Finding Ordered Pair for Two Solutions of Equations

Source: https://opentextbc.ca/elementaryalgebraopenstax/chapter/graph-linear-equations-in-two-variables/