Chapter 6 Β· Proportional relationships, lines, and slope

Missing Coordinates and Graphing with Slope

Use a known slope to find a missing coordinate of a point on a line, then graph a whole line from one point by repeating rise-over-run moves.

15 min read

You already know how to find the slope of a line from two points: divide the change in yy (the rise) by the change in xx (the run). A slope of 22 means that each time xx goes up by 11, yy goes up by 22. So if xx goes up by 33, yy goes up by 2Γ—3=62 \times 3 = 6.

In this lesson you use slope the other way around. When you already know the slope, it can tell you something that is missing:

  • a missing coordinate of a point on the line
  • the graph of the whole line, starting from just one point

Both jobs rest on one fact. On a straight line that is not vertical, the slope is the same between any two points. So the slope tells you exactly how much yy must change whenever xx changes.

Key concept

Slope links the change in y to the change in x

Take two different points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line that is not vertical. The slope mm is the change in yy divided by the change in xx. The change in xx cannot be 00, because division by zero is undefined. That is why a vertical line has an undefined slope, and why this method does not apply to it.

Because x2βˆ’x1x_2 - x_1 is not 00, you may multiply both sides of the slope equation by it. In words, the change in yy equals the slope times the change in xx.

Know the slope and the change in xx, and you can find the change in yy. Know the slope and the change in yy, and you can divide by the slope to find the change in xx, as long as the slope is not 00.

m=y2βˆ’y1x2βˆ’x1,soy2βˆ’y1=m (x2βˆ’x1)whenΒ x2β‰ x1m = \frac{y_2 - y_1}{x_2 - x_1}, \quad \text{so} \quad y_2 - y_1 = m\,(x_2 - x_1) \quad \text{when } x_2 \neq x_1

Worked example

Find a missing y-coordinate

A line has slope 22. It passes through the points (1,3)(1, 3) and (4,y)(4, y). Find the value of yy.

  1. Find the change in x from the first point to the second. It is 3, which is not 0, so the two points are not on a vertical line and the slope is defined.

    4βˆ’1=34 - 1 = 3
  2. Write the definition of slope with the values you know: the change in y is y - 3, the change in x is 3, and the slope is 2.

    yβˆ’33=2\frac{y - 3}{3} = 2
  3. Multiply both sides by 3 to undo the division. Multiplying both sides by the same nonzero number keeps the equation true. This is the key idea at work: the change in y equals the slope times the change in x.

    yβˆ’3=2Γ—3=6y - 3 = 2 \times 3 = 6
  4. Add 3 to both sides so that y is alone. Adding the same number to both sides keeps the equation true.

    y=6+3=9y = 6 + 3 = 9
  5. Check by finding the slope between (1, 3) and (4, 9). It equals the given slope, 2.

    9βˆ’34βˆ’1=63=2\frac{9 - 3}{4 - 1} = \frac{6}{3} = 2

Answer

The missing coordinate is y=9y = 9, so the second point is (4,9)(4, 9).

Coordinate grid from x -5 to 8 and y -2 to 11, with a grid step of 1, showing 4 plotted elements. Details: line 2 x plus -1 y equals -1, named Line A; point at (1, 3), named (1, 3); point at (4, 9), named (4, 9); point at (0, 1), named (0, 1).
Line A has slope 22 and passes through (0,1)(0, 1), (1,3)(1, 3) and (4,9)(4, 9).

The figure above shows the line from the first worked example as Line A. The horizontal axis shows xx-values, the vertical axis shows yy-values, and each grid step is 11 unit. Line A passes through the given point (1,3)(1, 3) and the point you found, (4,9)(4, 9). Moving from (1,3)(1, 3) to (4,9)(4, 9) takes you 33 units right and 66 units up, and 6Γ·3=26 \div 3 = 2, the slope.

Decide whether a point is on a line by calculating with its exact coordinates, not by judging how the picture looks. For example, step back from (1,3)(1, 3) by 11 unit in xx. Then yy must drop by 2Γ—1=22 \times 1 = 2, which gives the third marked point, (0,1)(0, 1). So Line A crosses the yy-axis at (0,1)(0, 1), not at the origin, the point (0,0)(0, 0).

Worked example

Find a missing x-coordinate

A line has slope βˆ’32-\frac{3}{2}. It passes through the points (βˆ’2,5)(-2, 5) and (x,βˆ’1)(x, -1). Find the value of xx.

  1. Find the change in y from the first point to the second. Use the order second point minus first point, and keep that order for x too.

    βˆ’1βˆ’5=βˆ’6-1 - 5 = -6
  2. Write the change in x in the same order. It contains the unknown. The slope is a number, -3/2, so the line is not vertical and this change in x is not 0.

    xβˆ’(βˆ’2)=x+2x - (-2) = x + 2
  3. Use the key idea: the change in y equals the slope times the change in x. Put in the two changes and the slope.

    βˆ’6=βˆ’32 (x+2)-6 = -\frac{3}{2}\,(x + 2)
  4. Divide both sides by the slope, -3/2. The slope is not 0, so this division is defined. Dividing by -3/2 is the same as multiplying by its reciprocal, -2/3, which is the same fraction turned upside down. A negative times a negative is positive.

    x+2=βˆ’6Γ·(βˆ’32)=βˆ’6Γ—(βˆ’23)=123=4x + 2 = -6 \div \left(-\frac{3}{2}\right) = -6 \times \left(-\frac{2}{3}\right) = \frac{12}{3} = 4
  5. Subtract 2 from both sides so that x is alone.

    x=4βˆ’2=2x = 4 - 2 = 2
  6. Check by finding the slope between (-2, 5) and (2, -1). The fraction -6/4 simplifies to -3/2, the given slope.

    βˆ’1βˆ’52βˆ’(βˆ’2)=βˆ’64=βˆ’32\frac{-1 - 5}{2 - (-2)} = \frac{-6}{4} = -\frac{3}{2}

Answer

The missing coordinate is x=2x = 2, so the second point is (2,βˆ’1)(2, -1).

Now use the same idea to graph a line, that is, to draw it accurately on a coordinate plane. Two different points fix exactly one straight line. So if you know one point and the slope, let the slope lead you to a second point.

Read the slope as a move: rise over run. A slope of 34\frac{3}{4} says that a run of 44 units to the right goes with a rise of 33 units up. Start on the line, make that move, and you land on the line again. A whole-number slope such as 22 is 21\frac{2}{1}: run 11, rise 22.

  1. Plot the point you know. Start there, even when it is not the origin.
  2. Move by the run, then by the rise, and plot the point where you land.
  3. Repeat the move to get a third point as a check. Then draw the straight line through the points.

This works for any line that is not vertical. A vertical line has an undefined slope, so it gives you no rise-over-run move to follow.

Worked example

Graph a line from one point and its slope

Graph the line that passes through (βˆ’2,5)(-2, 5) and has slope βˆ’32-\frac{3}{2}.

  1. Plot the point you know, (-2, 5). It is 2 units left of the vertical axis and 5 units above the horizontal axis. This is where you start.

  2. Read the slope as rise over run. Give the negative sign to the rise: a run of 2 goes with a rise of -3. So when x increases by 2, y decreases by 3. The run is not 0, so the slope is defined.

    βˆ’32=βˆ’32-\frac{3}{2} = \frac{-3}{2}
  3. From (-2, 5), move 2 units right and 3 units down. That adds the run to the x-coordinate and the rise to the y-coordinate. Plot the point where you land.

    (βˆ’2+2,β€…β€Š5+(βˆ’3))=(0,2)(-2 + 2,\; 5 + (-3)) = (0, 2)
  4. Make the same move again, this time from (0, 2), and plot the third point.

    (0+2,β€…β€Š2+(βˆ’3))=(2,βˆ’1)(0 + 2,\; 2 + (-3)) = (2, -1)
  5. Step the other way to extend the line: 2 units left and 3 units up from (-2, 5). The slope is unchanged, because 3 divided by -2 also equals -3/2. Plot the point where you land.

    3βˆ’2=βˆ’32,(βˆ’2βˆ’2,β€…β€Š5+3)=(βˆ’4,8)\frac{3}{-2} = -\frac{3}{2}, \qquad (-2 - 2,\; 5 + 3) = (-4, 8)
  6. Draw one straight line through the four points. Check it with the two points farthest apart, (-4, 8) and (2, -1). The slope between them is still -3/2.

    βˆ’1βˆ’82βˆ’(βˆ’4)=βˆ’96=βˆ’32\frac{-1 - 8}{2 - (-4)} = \frac{-9}{6} = -\frac{3}{2}

Answer

The graph is the straight line through (βˆ’4,8)(-4, 8), (βˆ’2,5)(-2, 5), (0,2)(0, 2) and (2,βˆ’1)(2, -1). It goes down 33 units for every 22 units it goes to the right.

Coordinate grid from x -7 to 7 and y -5 to 9, with a grid step of 1, showing 5 plotted elements. Details: line 3 x plus 2 y equals 4, named Line B; point at (-2, 5), named (-2, 5); point at (0, 2), named (0, 2); point at (2, -1), named (2, -1); point at (-4, 8), named (-4, 8).
Line B passes through (βˆ’4,8)(-4, 8), (βˆ’2,5)(-2, 5), (0,2)(0, 2) and (2,βˆ’1)(2, -1): each step is 22 units right and 33 units down.

The figure above shows the finished graph as Line B. Again the horizontal axis shows xx-values, the vertical axis shows yy-values, and each grid step is 11 unit. The starting point is (βˆ’2,5)(-2, 5). Each move of 22 units right and 33 units down lands on the next marked point: first (0,2)(0, 2), then (2,βˆ’1)(2, -1). One move the other way, 22 units left and 33 units up, lands on (βˆ’4,8)(-4, 8).

Look at (2,βˆ’1)(2, -1). It is the point you found with an equation in the second worked example, from the same slope and the same starting point. Finding a missing coordinate and graphing with slope are one idea used in two ways.

The negative sign goes with the rise or with the run, never both. Both βˆ’32\frac{-3}{2} and 3βˆ’2\frac{3}{-2} equal βˆ’32-\frac{3}{2}, but βˆ’3βˆ’2=32\frac{-3}{-2} = \frac{3}{2}, which is the slope of a different line.

Takeaway. On a line that is not vertical, the slope is the same between any two points, so the change in yy equals the slope times the change in xx. To find a missing coordinate, subtract to get the change you know, then multiply or divide by the slope to get the other change. Dividing needs a slope that is not 00. To graph a line, turn the slope into a rise-over-run move and repeat it from a point you know. Either way, check your result by recomputing the slope from exact coordinates.

In this lesson you relied on the slope staying the same all along a line. Next, you will use similar triangles to explain why slope is constant.