Finding the Slope and Equation of a Line

Finding the Slope and Equation
of a Line
Lori Jordan
Kate Dirga
Say Thanks to the Authors
Click http://www.ck12.org/saythanks
(No sign in required)
To access a customizable version of this book, as well as other
interactive content, visit www.ck12.org
CK-12 Foundation is a non-profit organization with a mission to
reduce the cost of textbook materials for the K-12 market both
in the U.S. and worldwide. Using an open-content, web-based
collaborative model termed the FlexBook®, CK-12 intends to
pioneer the generation and distribution of high-quality educational
content that will serve both as core text as well as provide an
adaptive environment for learning, powered through the FlexBook
Platform®.
Copyright © 2015 CK-12 Foundation, www.ck12.org
The names “CK-12” and “CK12” and associated logos and the
terms “FlexBook®” and “FlexBook Platform®” (collectively
“CK-12 Marks”) are trademarks and service marks of CK-12
Foundation and are protected by federal, state, and international
laws.
Any form of reproduction of this book in any format or medium,
in whole or in sections must include the referral attribution link
http://www.ck12.org/saythanks (placed in a visible location) in
addition to the following terms.
Except as otherwise noted, all CK-12 Content (including CK-12
Curriculum Material) is made available to Users in accordance
with the Creative Commons Attribution-Non-Commercial 3.0
Unported (CC BY-NC 3.0) License (http://creativecommons.org/
licenses/by-nc/3.0/), as amended and updated by Creative Commons from time to time (the “CC License”), which is incorporated
herein by this reference.
Complete terms can be found at http://www.ck12.org/terms.
Printed: February 5, 2015
AUTHORS
Lori Jordan
Kate Dirga
www.ck12.org
C HAPTER
Chapter 1. Finding the Slope and Equation of a Line
1
Finding the Slope and
Equation of a Line
Here you’ll learn how to find the slope of a line and between two points.
The grade, or slope, of a road is measured in a percentage. For example, if a road has a downgrade of 7%, this
means, that over every 100 horizontal feet, the road will slope down 7 feet vertically.
If a highway has a downgrade of 12% for 3 miles (5280 feet in a mile), how much will the road drop? What is the
slope of this stretch of highway?
Watch This
MEDIA
Click image to the left or use the URL below.
URL: http://www.ck12.org/flx/render/embeddedobject/60086
Khan Academy: Slope of a line
Guidance
The slope of a line determines how steep or flat it is. When we place a line in the coordinate plane, we can measure
the slope, or steepness, of a line. Recall the parts of the coordinate plane, also called a x − y plane and the Cartesian
plane, after the mathematician Descartes.
1
www.ck12.org
To plot a point, order matters. First, every point is written (x, y), where x is the movement in the x−direction and y
is the movement in the y−direction. If x is negative, the point will be in the 2nd or 3rd quadrants. If y is negative,
the point will be in the 3rd or 4th quadrants. The quadrants are always labeled in a counter-clockwise direction and
using Roman numerals.
The point in the 4th quadrant would be (9, -5).
To find the slope of a line or between two points, first, we start with right triangles. Let’s take the two points (9, 6)
and (3, 4). Plotting them on a x − y plane, we have:
To turn this segment into a right triangle, draw a vertical line down from the higher point, and a horizontal line from
the lower point, towards the vertical line. Where the two lines intersect is the third vertex of the slope triangle.
2
www.ck12.org
Chapter 1. Finding the Slope and Equation of a Line
Now, count the vertical and horizontal units along the horizontal and vertical sides (red dotted lines).
The slope is a fraction with the vertical distance over the horizontal distance, also called the “rise over run.” Because
the vertical distance goes down, we say that it is -2. The horizontal distance moves towards the negative direction
1
(the left), so we would say that it is -6. So, for slope between these two points, the slope would be −2
−6 or 3 .
Note: You can also draw the right triangle above the line segment.
Example A
Use a slope triangle to find the slope of the line below.
3
www.ck12.org
Solution: Notice the two points that are drawn on the line. These are given to help you find the slope. Draw a
triangle between these points and find the slope.
From the slope triangle above, we see that the slope is
−4
4
= −1.
Whenever a slope reduces to a whole number, the “run” will always be positive 1. Also, notice that this line points in
the opposite direction as the line segment above. We say this line has a negative slope because the slope is a negative
number and points from the 2nd to 4th quadrants. A line with positive slope will point in the opposite direction and
point between the 1st and 3rd quadrants.
If we go back to our previous example with points (9, 6) and (3, 4), we can find the vertical distance and horizontal
distance another way.
4
www.ck12.org
Chapter 1. Finding the Slope and Equation of a Line
From the picture, we see that the vertical distance is the same as the difference between the y−values and the
horizontal distance is the difference between the x−values. Therefore, the slope is 6−4
9−3 . We can extend this idea to
any two points, (x1 , y1 ) and (x2 , y2 ).
Slope Formula: For two points (x1 , y1 ) and (x2 , y2 ), the slope between them is
y2 −y1
x2 −x1 .
The symbol for slope is m.
It does not matter which point you choose as (x1 , y1 ) or (x2 , y2 ).
Example B
Find the slope between (-4, 1) and (6, -5).
Solution: Use the Slope Formula above. Set (x1 , y1 ) = (−4, 1) and (x2 , y2 ) = (6, −5).
m=
y2 − y1 6 − (−4)
10
5
=
=
=−
x2 − x1
−5 − 1
−6
3
Example C
Find the slope between (9, -1) and (2, -1).
Solution: Use the Slope Formula. Set (x1 , y1 ) = (9, −1) and (x2 , y2 ) = (2, −1).
m=
−1 − (−1)
0
=
=0
2−9
−7
Here, we have zero slope. Plotting these two points we have a horizontal line. This is because the y−values are the
same. Anytime the y−values are the same we will have a horizontal line and the slope will be zero.
Intro Problem Revisit The road slopes down 12 feet over every 100 feet.
Let’s set up a ratio to find out how much the road slopes in 3 miles, or 3 · 5280 = 15, 840 feet.
5
www.ck12.org
x
12
=
100 15, 840
12
15840 ·
=x
100
x = 1900.8
The road drops 1900.8 feet over the 3 miles. The slope of the road is
12
100
or
3
25
when the fraction is reduced.
Guided Practice
1. Use a slope triangle to find the slope of the line below.
2. Find the slope between (2, 7) and (-3, -3).
3. Find the slope between (-4, 5) and (-4, -1).
Answers
1. Counting the squares, the vertical distance is down 6, or -6, and the horizontal distance is to the right 8, or +8.
2
The slope is then −6
8 or − 3 .
2. Use the Slope Formula. Set (x1 , y1 ) = (2, 7) and (x2 , y2 ) = (−3, −3).
m=
y2 − y1 −3 − 7 −10
=
=
=2
x2 − x1 −3 − 2
−5
3. Again, use the Slope Formula. Set (x1 , y1 ) = (−4, 5) and (x2 , y2 ) = (−4, −1).
m=
y2 − y1
−1 − 5
−6
=
=
x2 − x1 −4 − (−4)
0
You cannot divide by zero. Therefore, this slope is undefined. If you were to plot these points, you would find they
form a vertical line. All vertical lines have an undefined slope.
Important Note: Always reduce your slope fractions. Also, if the numerator or denominator of a slope is negative,
then the slope is negative. If they are both negative, then we have a negative number divided by a negative number,
which is positive, thus a positive slope.
6
www.ck12.org
Chapter 1. Finding the Slope and Equation of a Line
Vocabulary
Slope
The steepness of a line. A line can have positive, negative, zero (horizontal), or undefined (vertical) slope.
Slope can also be called “rise over run” or “the change in the y−values over the change in the x−values.” The
symbol for slope is m.
Slope Formula
For two points (x1 , y1 ) and (x2 , y2 ), the slope between them is
y2 −y1
x2 −x1 .
Explore More
Find the slope of each line by using slope triangles.
1.
2.
7
www.ck12.org
3.
4.
5.
6.
Find the slope between each pair of points using the Slope Formula.
7.
8.
9.
10.
11.
8
(-5, 6) and (-3, 0)
(1, -1) and (6, -1)
(3, 2) and (-9, -2)
(8, -4) and (8, 1)
(10, 2) and (4, 3)
www.ck12.org
12.
13.
14.
15.
16.
Chapter 1. Finding the Slope and Equation of a Line
(-3, -7) and (-6, -3)
(4, -5) and (0, -13)
(4, -15) and (-6, -11)
(12, 7) and (10, -1)
Challenge The slope between two points (a, b) and (1, -2) is 12 . Find a and b.
9