The slope of a straight line Straight lines will be parallel if they have the same slope. There is no limit then to the number of lines with slope 2: But there will be only one line with slope 2 that passes through a given point, such as (1, −3). In other words, a line will be determined by its slope and the coördinates of one point on it. How can we find the equation of that line? Problem 1. To write the equation of a line given the slope and the coördinates of one point on it. For example: Write the equation of the line with slope 2 that passes through the point (1, −3). Solution 1. The direct method. The equation will have the form y = ax + b, where a is the slope of the line. We are given that a = 2. Therefore, the equation will look like this: y = 2x + b. We must now determine b. To do that, we must use the information that (1, −3) are the coördinates of a point on the line. Those coördinates then solve the equation. −3 = 2· 1 + b This implies b = −5. The equation of the line is y = 2x − 5. Solution 2. The point-slope formula. Let (x, y) be any point on the line. And let (x_{1}, y_{1}) be a specific point on the line.
This is called the point-slope formula for the equation of a straight line. We can use the formula when we know the slope m of the line and one point (x_{1}, y_{1}) on it. However, many find the direct method to be simpler. So, returning to our example, we are given that m = 2 and that
This is the equation of the line. Problem 2. To find the equation of a line given the coördinates of two points on it. For example: Write the equation of the line that passes through the points (1, 5) and (4, 17). Solution 1. The direct method. The only difference between this problem and the previous one is that, here, we must calculate the slope. We did that for those two points in Problem 3a. We found the slope to be 4. The equation, then, will look like this: y = 4x + b Again, we must find b by letting one of the given points solve the equation. Let (1, 5) satisfy it: 5 = 4· 1 + b This implies b = 1. The equation is: y = 4x + 1. Solution 2. The two-point formula. Let (x_{1}, y_{1}) and (x_{2}, y_{2}) be two given points, and let (x, y) be any point on the line. Then the slope joining one of the given points and any point, is equal to the slope joining the two given points, because a line has one and only one slope. This is called the two-point formula for the equation of a straight line. We can use it to determine the equation when we know two points. We may choose (x_{1}, y_{1}) to be either one of them. Thus, in our example, we are given the two points (1, 5) and (4, 17). Let (x_{1}, y_{1>}) be (1, 5). Then according to the two-point formula:
This is the equation of the line. Problem 12.
To see the answer, pass your mouse over the colored area. The equation will have the form y = ax + b, where a is the slope of the line. We are given that a = 3. Therefore, the equation is y = 3x + b. Now we must determine b. We are given that (1, −4) is a point on the line. Those coördinates, then, solve the equation: −4 = 3· 1 + b This implies b = −7. The equation of the line is y = 3x − 7.
We are given that m = −1 and that
This is the equation of the line. Problem 13. Write the equation of the line that passes through (1, −6) and (−1, 2). Use the two-point formula. Let (x_{1}, y_{1}) = (1, −6). According to the formula:
This is the equation of the line. Next Lesson: Simultaneous linear equations Please make a donation to keep TheMathPage online. Copyright © 2016 Lawrence Spector Questions or comments? E-mail: themathpage@yandex.com |