Writing The Equation Of A Line In Slope Intercept Form
Writing the Equation of a Line
Learning Objective(s)
· Find the slope and the y-intercept, and write an equation of the line.
· Given the slope and a point on the line, write an equation of the line.
· Given two points, write the equation of a line.
Introduction
A linear equation can be expressed in the form . In this equation, x and y are coordinates of a point, m is the slope, and b is the y-coordinate of the y-intercept. Because this equation describes a line in terms of its slope and its y-intercept, this equation is called the slope-intercept form. When working with linear relationships, the slope-intercept form helps to translate between the graph of a line and the equation of a line.
Slope-intercept Form
The graph below represents any line that can be written in slope-intercept form. It has two slider bars that can be manipulated. The bar labeled m lets you adjust the slope, or steepness, of the line. The bar labeled b changes the y-intercept. Try sliding each bar back and forth, and see how that affects the line.
You should have noticed that changing the value of m could swivel the line from horizontal to nearly vertical and through every slope in-between. As m, the slope, gets larger, the line gets steeper. When the absolute value of m gets close to zero, the slope flattens.
Changing the value of b moved the line around the coordinate plane. A positive y-intercept means the line crosses the y-axis above the origin, while a negative y-intercept means that the line crosses below the origin.
Simply by changing the values of m and b, you can define any line. That's how powerful and versatile the slope-intercept formula is.
Now that you understand the slope-intercept form, you can look at the graph of a line and write its equation just by identifying the slope and the y-intercept from the graph. Let's try it with this line.
For this line, the slope is , and the y-intercept is 4. If you put those values into the slope-intercept form, y = mx + b, you get the equation .
Example | ||
Problem | Write the equation of the line that has a slope of and a y-intercept of − 5. | |
| Substitute the slope (m) into y = mx + b. | |
Answer |
or
| Substitute the y-intercept (b) into the equation. |
If you know the slope of a line and a point on the line, you can draw a graph. So using an equation in the point-slope form, you can easily identify the slope and a point. Consider the equation . You can tell from this equation that the y-intercept is at (0, −1). Start by plotting that point, (0, −1), on a graph.
You can also tell from the equation that the slope of this line is −3. So start at (0, −1) and count up 3 and over −1 (1 unit in the negative direction, left) and plot a second point. (You could also have gone down 3 and over 1.) Then draw a line through both points, and there it is, the graph of .
What is the equation of a line that has a slope of −2 and goes through the point (0, 8)?
A) y = −2x + 8
B) y = 8x – 2
C) y = −2x + 0
D) 0 = 8x – 2
Show/Hide Answer
A) y = −2x + 8
Correct. The point (0, 8) is also the y-intercept of the line, so b = 8. The slope, m, is −2. Substituting these values into the equation y = mx + b, you find y = −2x + 8.
B) y = 8x – 2
Incorrect. Remember that in the slope-intercept form of an equation, y = mx + b, m = slope and b = the y-value of the y-intercept. The correct choice is y = −2x + 8.
C) y = −2x + 0
Incorrect. Remember that in the slope-intercept form of an equation, y = mx + b, b = the y-value (not the x-value!) of the y-intercept. The correct choice is y = −2x + 8.
D) 0 = 8x – 2
Incorrect. Remember that in the slope-intercept form of an equation, y = mx + b, m = slope and b = the y-value of the y-intercept. The correct choice is y = −2x + 8.
Slope and a Point on the Line
Using slope-intercept form to help write the equation of a line is possible when you know both the slope (m) and the y-intercept (b), but what if you know the slope and just any point on the line, not specifically the y-intercept? Can you still write the equation? The answer is yes, but you will need to put in a little more thought and work than you did previously.
Recall that a point is an (x, y) coordinate pair and that all points on the line will satisfy the linear equation. So, if you have a point on the line, it must be a solution to the equation. Although you don't know the exact equation yet, you know that you can express the line in slope-intercept form, y = mx + b.
You do know the slope (m), but you just don't know the value of the y-intercept (b). Since point (x, y) is a solution to the equation, you can substitute its coordinates for x and y in y = mx + b and solve to find b!
This may seem a bit confusing with all the variables, but an example with an actual slope and a point will help to clarify.
Example | ||
Problem | Write the equation of the line that has a slope of 3 and contains the point (1, 4). | |
y = 3x + b | Substitute the slope (m) into y = mx + b. | |
4 = 3(1) + b | Substitute the point (1, 4) for x and y. | |
4 = 3 + b 1 = b | Solve for b. | |
Answer | y = 3x + 1 | Rewrite y = mx + b with m = 3 and b = 1. |
To confirm our algebra, you can check by graphing the equation y = 3x + 1. The equation checks because when graphed it passes through the point (1, 4).
Advanced Example | ||
Problem | Write the equation of the line that has a slope of and contains the point . | |
| Substitute the slope (m) into . | |
| Substitute the point for x and y. | |
| Solve for b. | |
Answer |
| Rewrite with and . |
Write the slope-intercept form of the line with a slope of and which contains the
point (9, 4).
A)
B)
C)
D)
Show/Hide Answer
A)
Incorrect. You solved correctly for the y-intercept but you have used the slope for the y-intercept and the y-intercept for the slope when plugging back into y = mx + b. The correct answer is .
B)
Correct. The slope of this line is and the y-intercept is −2.
C)
Incorrect. Check your algebra when you solved for b. To find b, substitute the known values for x, y, and m into the slope-intercept form. This gives you , which simplifies to , so b = −2. The correct answer is .
D)
Incorrect. When solving for b, you used the 9 as the y-coordinate and 4 as the x-coordinate. To find b, substitute the known values for x, y, and m into the slope-intercept form. This gives you , which simplifies to , so b = −2. The correct answer is .
Advanced Question
Write the slope-intercept form of the line with a slope of -0.6 and which contains the point (3.8, 7.25).
A) y = -0.6x + 3.8
B) y = -0.6x + 4.97
C) y = 3.8x + 7.25
D) y = -0.6x + 9.53
Show/Hide Answer
A) y = -0.6x + 3.8
Incorrect. The value for m is correct in this equation, but the value for b is not. Try substituting (3.8, 7.25) into the equation y = -0.6x + b and solve for b. The correct answer is y = -0.6x + 9.53.
B) y = -0.6x + 4.97
Incorrect. It looks like you subtracted 7.25 – 2.28 to arrive at a b-value of 4.97. Check the + and – signs in the problem again. The correct answer is y = -0.6x + 9.53.
C) y = 3.8x + 7.25
Incorrect. The value for m is incorrect; remember that m represents the slope. The correct answer is y = -0.6x + 9.53.
D) y = -0.6x + 9.53
Correct. Substituting (3.8, 7.25) into the equation y = -0.6x + b, you found b = 9.53. This means the equation of the line is y = -0.6x + 9.53.
Two Points on the Line
Let's suppose you don't know either the slope or the y-intercept, but you do know the location of two points on the line. It is more challenging, but you can find the equation of the line that would pass through those two points. You will again use slope-intercept form to help you.
The slope of a linear equation is always the same, no matter which two points you use to find the slope. Since you have two points, you can use those points to find the slope (m). Now you have the slope and a point on the line! You can now substitute values for m, x, and y into the equation y = mx + b and find b.
Example | ||
Problem | Write the equation of the line that passes through the points (2, 1) and ( − 1, − 5). | |
| Find the slope using the given points. | |
y = 2x + b | Substitute the slope (m) into y = mx + b. | |
1 = 2(2) + b | Substitute the coordinates of either point for x and y– this example uses (2, 1). | |
1 = 4 + b −3 = b | Solve for b. | |
Answer | y = 2x + (−3), or y = 2x – 3 | Rewrite y = mx + b with m = 2 and b = −3. |
Notice that is doesn't matter which point you use when you substitute and solve for b—you get the same result for b either way. In the example above, you substituted the coordinates of the point (2, 1) in the equation y = 2x + b. Let's start with the same equation, y = 2x + b, but substitute in (−1, −5):
y = 2x + b |
−5 = 2(−1) + b |
−5 = −2 + b |
−3 = b |
The final equation is the same: y = 2x – 3.
Advanced Example | ||
Problem | Write the equation of the line that passes through the points (-4.6,6.45) and ( 1.15,7.6 ). | |
| Find the slope using the given points. | |
| Substitute the slope (m) into . | |
| Substitute either point for x and y– this example uses (1.15,7.6). Then solve for b. | |
| Rewrite with m = 0.2 and b = 7.37. | |
Answer | The equation of the line that passes through the points (-4.6,6.45) and (1.15,7.6) is . | |
Write the slope-intercept form of the line that passes through (5, 2) and (−1, −10).
A)
B)
C)
D)
Show/Hide Answer
A)
Incorrect. The slope (m = 2) is correct, but check your algebra when you solved for b. Substitute m = 2, x = 5, and y = 2 into the equation y = mx + b to find b: 2 = 2(5) + b, so 2 = 10 + b, so b = −8. The correct answer is .
B)
Incorrect. It looks like you wrote the slope as instead of . The correct answer is .
C)
Correct. Find the slope . Then use the slope and one of the points to find the value of b.
D)
Incorrect. Make sure that you substitute the x-coordinate of the point for the x variable and the y-coordinate for the y variable of y = mx + b when solving for b. The correct answer is .
Advanced Question
Which of the following lines goes through the points and ?
A)
B)
C)
D)
Show/Hide Answer
A)
Incorrect. To find the slope of the line, use the formula . Then substitute the slope in for m in the equation and solve for b. The answer is .
B)
Correct. The slope of the line that these points lie upon is 8, and substituting either of the points into the equation yields .
C)
Incorrect. Try calculating the slope again using the formula . When you find the slope, use it (and one of the given points) to find the value of b. The correct answer is
D)
Incorrect. You have found the correct slope, but the value of b is incorrect. Try substituting either or into the equation to solve for b. The correct answer is .
Summary
The slope-intercept form of a linear equation is written as y = mx + b, where m is the slope and b is the value of y at the y-intercept, which can be written as (0, b). When you know the slope and the y-intercept of a line you can use the slope-intercept form to immediately write the equation of that line. The slope-intercept form can also help you to write the equation of a line when you know the slope and a point on the line or when you know two points on the line.
Writing The Equation Of A Line In Slope Intercept Form
Source: http://www.montereyinstitute.org/courses/DevelopmentalMath/COURSE_TEXT2_RESOURCE/U13_L2_T2_text_final.html
Posted by: offuttlity1983.blogspot.com
0 Response to "Writing The Equation Of A Line In Slope Intercept Form"
Post a Comment