2.2. Slope of a Line

Slope of a Line

In this section, you will learn to:

  1. Find the slope of a line if two points are given.
  2. Graph the line if a point and the slope are given.
  3. Find the slope of the line that is written in the form y = mx + b.
  4. Find the slope of the line that is written in the form Ax+ By = c.

 

In the last section, we learned to graph a line by choosing two points on the line. A graph of a line can also be determined if one point and the “steepness” of the line is known. The precise number that refers to the steepness or inclination of a line is called the slope of the line.

From previous math courses, many of you remember slope as the “rise over run,” or “the vertical change over the horizontal change” and have often seen it expressed as:

\frac{rise}{run},\frac{vertical\;change}{horizontal\;change},\frac{\Delta y}{\Delta x}etc.

We give a precise definition.

Definition:

If ( x1, y1) and ( x2, y2) are two different points on a line, then the slope of the line is Slope=m=\frac{y_2-y_1}{x_2-x_1}

 

Example 2.2.1

Find the slope of the line that passes through the points (-2, 3) and (4, -1), and graph the line.
Solution
Let (x1, y1) = (-2, 3) and (x2, y2) = (4, −1) then the slope
m=\frac{-1-3}{4-(-2)}=-\frac{4}{6}=-\frac{2}{3}

 

To give the reader a better understanding, both the vertical change, -4, and the horizontal change, 6, are shown in the above figure.

When two points are given, it does not matter which point is denoted as (x1, y1) and which (x2, y2). The value for the slope will be the same. For example, if we choose (x1, y2) = (4, -1) and (x2, y2) = (-2, 3), we will get the same value for the slope as we obtained earlier. The steps involved are as follows.

m=\frac{-3-(-1)}{-2-4}=\frac{4}{-6}=-\frac{2}{3}

The student should further observe that if a line rises when going from left to right, then it has a positive slope; and if it falls going from left to right, it has a negative slope.

 

Example 2.2.2

Find the slope of the line that passes through the points (2, 3) and (2, -1), and graph.
Solution
Let (x1, y1) = (2, 3) and (x2, y2) = (2, -1) then the slope
m=\frac{-1-3}{2-2}=-\frac{4}{0}= undefined

Note: The slope of a vertical line is undefined.

 

Example 2.2.3

Graph the line that passes through the point (1, 2) and has slope -\frac{3}{4}.
Solution
Slope equals \frac{rise}{run}. The fact that the slope is \frac{-3}{4} , means that for every rise of -3 units (fall of 3 units) there is a run of 4. So if from the given point (1, 2) we go down 3 units and go right 4 units, we reach the point (5, -1). The following graph is obtained by connecting these two points.

Alternatively, since \frac{3}{-4} represents the same number, the line can be drawn by starting at the point (1, 2) and choosing a rise of 3 units followed by a run of -4 units. So from the point (1, 2), we go up 3 units, and to the left 4, thus reaching the point (-3, 5) which is also on the same line. See the figure below.

 

Example 2.2.4

Find the slope of the line 2x + 3y = 6.
Solution
In order to find the slope of this line, we will choose any two points on this line.
Again, the selection of x and y intercepts seems to be a good choice. The x-intercept is (3, 0), and the y-intercept is (0, 2). Therefore, the slope is
m=\frac{2-0}{0-3}=-\frac{2}{3}
The graph below shows the line and the intercepts: x and y.

 

Example 2.2.5

Find the slope of the line y = 3x + 2.
Solution
We again find two points on the line. Say (0, 2) and (1, 5).
Therefore, the slope is m=\frac{5-2}{1-0}=\frac{3}{1}=3.

 

Look at the slopes and the y-intercepts of the following lines.

The line Slope y-intercept
y = 3x + 2 3 2
y = -2x + 5 -2 5
y = 3/2x – 4 3/2 -4

It is no coincidence that when an equation of the line is solved for y, the coefficient of the x term represents the slope, and the constant term represents the y-intercept.

In other words, for the line y = mx + b, m is the slope, and b is the y-intercept.

 

Example 2.2.6

Determine the slope and y-intercept of the line 2x + 3y = 6.

Solution

We solve for y.
2x + 3y = 6
3y = -2x + 6
y = -2/3x + 2
The slope = the coefficient of the x term = – 2/3
The y-intercept = the constant term = 2.

 

Practice questions

1. Find the slope of the line passing through the following pair of points:

a. (2, 3) and (5, 9)

b. (6, -5) and (4, -1)

c. (-3, -5) and (-1, -7)

2. Determine the slope of the line from the given equation of the line:

a. y = -2x + 1

b. 3x - 4y = 12

c. 2x - y = 6

3. Graph the line that passes through the given point and has the given slope.

a. (1, 2) and m = -3/4

b. (0, 2) and m = -2

 

License