4.1: The Slope of a Line from a Graph or from Two Points
The Slope of a Line from a Graph
Introduction
In this lesson you will learn that the slope of a straight line is simply the slant or gradient of that line. The slope is often defined as (rise over run), (delta over delta ) and (change in over change in ). Whatever definition of slope is used, they all mean the same. The slope of a line is represented by the letter ‘’ and its value is a real number. You will learn to determine the slope of a line from a graph by counting to determine the value of . In addition, you will also learn how to calculate the slope of a line by using the coordinates of two points on the line.
Objectives
The lesson objectives for Slope of a Line are:
- Understanding how to determine the slope of a line from a graph
- Understanding how to determine the slope of a line from two given points
- Understanding the slope of special lines
- Understanding the role of slope in real world problems
Introduction
Determine the slope of the following line:
The slope of a line is best understood when it is expressed in the fraction form. The denominator of a fraction should never have a negative number. To determine the slope of a line from a graph, choose two points on the line that are exact points on the Cartesian grid. By exact points, choose two points that are located on the corner of a box or points that have coordinates that do not have to be estimated. On the above graph, two exact points are indicated by the blue dots. Begin with the point that is farthest to the left and RUN to the right until you are directly below (in this case) the second indicated point. Count the number of spaces that you had to run to be below the second point and place this value in the run position in the denominator of the slope. Next count the number of spaces you have to move to reach the second point. In this case you have to rise upward which indicates a positive move. This value must be placed in the rise position in the numerator of the slope.
You had to run 5 spaces to the right which indicates moving 5 spaces in a positive direction. You now have . To reach the point directly above involved moving upward 6 spaces in a positive direction. You now have . The slope of the above line is .
Watch This
Khan Academy Slope and Rate of Change
Guidance
i)
In the above graph of a straight line, there are not two points on the line that are exact points on the Cartesian grid. Therefore, the slope of the line cannot be determined by counting. The coordinates of points on this line would only be estimated values. When this occurs, the task of calculating the slope of the line must be presented in a different way. The slope would have to be determined from two points that are on the line and these points would have to be given.
ii) Determine the slope of the line that passes through the points and .
The slope of this line can be determined by finding the change in over the change in .
The formula that is used is where ‘’ is the slope, are the coordinates of the first point and are the coordinates of the second point. To determine the slope, the choice of the first and second point will not affect the result.
Example A
What is the slope of each of the following lines.
i)
ii)
i) Two points have been indicated. These points are exact values on the graph. From the point to the left, run one space in a positive direction and rise upward 2 spaces in a positive direction.
ii) Two points have been indicated. These points are exact values on the graph. From the point to the left, run two spaces in a positive direction and move upward 5 spaces in a negative direction.
Example B
Determine the slope of the line passing through each pair of points:
i) (–3, –8) and (5, 8)
ii) (9, 5) and (–1, 6)
iii) (–2, 7) and (–3, –1)
iv) intercept 4 and intercept –3
To determine the slope of a line from two given points, the formula must be used.
Don’t forget to designate your choice for the first and the second point. Designating the points will reduce the risk of entering the values in the wrong location of the formula.
i)
ii)
There should never be a negative sign in the denominator of a fraction.
iii)
iv)
Example C
If you look at the following graphs, a slope or gradient is not present.
(a)
Two points on this line are (–5, 5) and (4, 5).
(b)
Two points on this line are (–3, 5) and (–3, –10).
To determine the slope of each line from two given points, the formula will be used.
(a)
Two points on this line are (–5, 5) and (4, 5).
The slope of a line parallel to the axis is zero.
(b)
Two points on this line are (–3, 5) and (–3, –10).
The slope of a line parallel to the axis is undefined.
Example D
Joseph drove from his summer home to his place of work. To avoid the road construction, Joseph decided to travel the gravel road. After driving for 20 minutes he was 62 miles away from work and after driving for 40 minutes he was 52 miles away from work. Represent the problem on a graph. Determine the slope of the line and tell what it means in this problem.
If the slope is calculated by counting, caution must be used to determine the correct values for both rise and run. The scale on both the and axis is increments of ten. Although these points are not exact values on the graph, knowing the coordinates makes counting an acceptable way to determine the slope of the line. The axis represents the time, in minutes, driving. The axis represents the distance, in miles, driving.
Insert the units of the quantities that are represented on each of the axes. The slope means that for every two minutes that Joseph is driving, he gets one mile closer to work.
Vocabulary
- Slope
- The slope of a line is the ratio of the .
Guided Practice
1. Identify the slope for each of the following graphs by completing the formula .
i)
ii)
2. Calculate the slope of the line that passes through the following pairs of points:
i) (5, –7) and (16, 3)
ii) (–6, –7) and (–1, –4)
iii) (5, –12) and (0, –6)
3. i) What is the slope of the line that passes through the point (2, 4) and is perpendicular to the axis?
ii) What is the slope of the line that passes through the point (–6, 8) and is perpendicular to the axis?
4. For the following situation, determine the slope and explain its meaning for the given situation.
The local Wine and Dine Restaurant has a private room that can serve as a banquet facility for up to 200 guests. When the manager quotes a price for a banquet she includes the cost of the room rent in the price of the meal. The price of a banquet for 80 people is $900 while one for 120 people is $1300.
i) Plot a graph of cost versus the number of people.
ii) What is the slope of the line and what meaning does it have for this situation?
Answers
1. i)
Two exact points on the above graph are (0, 4) and (16, –2). From the point to the left, run fifteen spaces in a positive direction and move downward six spaces in a negative direction.
ii)
Two exact points on the above graph are (–2, –2) and (8, 4). From the point to the left, run ten spaces in a positive direction and move upward six spaces in a positive direction.
2. i) (5, –7) and (16, 3)
ii) (–6, –7) and (–1, –4)
iii) (5, –12) and (0, –6)
3. i) You are not given the coordinates of two points. Sketch the graph according the information given.
A line that is perpendicular to the axis is parallel to the axis. The slope of a line that is parallel to the axis has a slope that is undefined.
ii) You are not given the coordinates of two points. Sketch the graph according the information given.
A line that is perpendicular to the axis is parallel to the axis. The slope of a line that is parallel to the axis has a slope that is zero.
4.
The domain for this situation is . However, to demonstrate the slope and its meaning, it is more convenient to draw the graph as instead of showing just the points on the Cartesian grid. The axis has a scale of 10 and the axis has a scale of 100. The slope can be calculated by counting to determine
From the point to the left, run four spaces (40) in a positive direction and move upward four spaces (400) in a positive direction.
The slope represents the cost of the meal for each person. It will cost $10 for the meal for each person.
Summary
In this lesson you have learned two ways to determine the slope of a line. The first way you learned was a simple method of counting to determine the values of
This method worked well if the coordinates of exact points were available on the graph. The second method that you learned was to use a formula. To use this formula, it was not necessary to plot the points on a graph. It was necessary to designate the first and the second point to fill in the values correctly. The formula that was used was
You also learned that the slope of a line parallel to the axis is zero and the slope of a line that is parallel to the axis is undefined.
By determining the slope of a line, you were then able to apply one of these methods to a real life situation in order to determine the meaning of the slope.
Problem Set
For each of the following graphs, complete the following
Calculate the slope of the line that passes through the following pairs of points:
- (3, 1) and (–3, 5)
- (–5, –57) and (5, –5)
- (–3, 2) and (7, –1)
- (–4, 2) and (4, 4)
- (–1, 5) and (4, 3)
For each of the following real world problems, sketch a graph that would model the situation and explain the meaning of the slope for the problem.
- The cost of operating a car for one month depends upon the number of miles you drive. According to a recent survey completed by drivers of mid size cars, it costs $124/month if you drive 320 miles/month and $164/month if you drive 600 miles/month.
- Plot a graph of cost/month versus distance/month.
- What meaning does the slope of the line represent?
- A Glace Bay developer has produced a new handheld computer called the Blueberry. He sold 10 computers in one location for $1950 and 15 in another for $2850. The number of computers and the cost forms a linear relationship.
- Plot a graph of cost versus number of computers sold.
- What meaning does the slope of the line represent?
- Shop Rite sells one-quart cartons of milk for $1.65 and two-quart cartons for $2.95. Assume there is a linear relationship between the volume of milk and the price.
- Plot a graph of cost versus the volume of milk sold.
- What meaning does the slope of the line represent?
- Some college students, who plan on becoming math teachers, decide to set up a tutoring service for high school math students. One student was charged $25 for 3 hours of tutoring. Another student was charged $55 for 7 hours of tutoring. The relationship between the cost and time is linear.
- Plot a graph of cost versus the time spent tutoring.
- What meaning does the slope of the line represent?
Answers
For each of the following graphs...
Calculate the slope of the line...
- (3, 1) and (–3, 5)
- (–3, 2) and (7, –1)
- (–1, 5) and (4, 3)
For each of the following real world problems...
The slope means that the cost of operating the car is one dollar for every seven miles.
The slope means that the cost of one extra quart of milk is $1.30.
Summary
In this lesson you have learned to determine the slope of a line, from its graph, by counting. This process involved using two exact points on the line to determine the value of
When you counted to determine the value of ‘run’, you counted horizontally from the left point to the right point such that you were above or below the second point. This produced a value for ‘run’ that was positive. The value of ‘rise’ was found by counting up or down the number of units to reach the right point.
This method worked well if the coordinates of these points did not have to be estimated. The second method that you learned was to apply the coordinates of the points to a formula. The formula could be used without having a graph of the line. The formula that was used was
When you used the formula to determine the slope of the line, you learned to begin by designating the first and the second point.
You were then able to apply one of these methods to a real life situation in order to determine the meaning of the slope.