Table of Contents |
When writing linear equations that rely on points on the line and the slopes of lines, we primarily work with two forms of linear equations: point-slope form, and slope-intercept form.
Equations written in slope-intercept form rely on the line's slope, m, and the y-coordinate of the y-intercept, b, to form the equation.
Equations written in point-slope form rely on the line's slope, m, and a point on the line (x1, y1) to form the equation.
When given information about a line's slope and a point on the line, it is easiest to write the equation in point-slope form, since the pertinent information needed to form the equation is already given to us.
EXAMPLE
Write the equation of a line with a slope of -2 that passes through the point (4, 9).Use the point-slope form and substitute the known values. First, replace m with the slope of -2 | |
Replace with (4, 9) | |
Point-slope form |
While developing the formula in point-slope form was certainly our easiest option, oftentimes having our equation in slope-intercept form is helpful so that we may graph the line. Slope-intercept form isolates y onto one side of the equation, with on the other side of the equation. Let's see how we can take our equation in point-slope form, and rewrite it so that we can more easily graph this line:
EXAMPLE
Write the equation in slope-intercept form.This equation is in point-slope form. Change to slope-intercept form by distributing -2 | |
Add 9 to both sides | |
Slope-intercept form |
When we are only given information about two points on the line, and no information about the slope of the line, we can use the same processes above, we just need to first calculate the line's slope ourselves. To do this, we use the following formula:
In the slope formula, recall that (x1, y1) and (x2, y2) are the two points on the line. In other words, we can find the difference in y-coordinates and divide it by the difference in x-coordinates to find the slope. This we can plug in to our equation for the line. From there, we can take any one of our two points to write the equation in point-slope form.
EXAMPLE
Find the equation of a line that passes through the points (-3, 2) and (1, 10) in both point-slope form and slope-intercept form.Use the slope formula and substitute and | |
Evaluate the numerator and denominator | |
Simplify | |
The slope |
Use the point-slope form and first substitute the slope | |
Substitute one of the points, for instance, | |
Rewrite parentheses | |
Point-slope form |
Use the point-slope form and convert to slope-intercept by distributing the slope | |
Add 2 to both sides | |
Slope-intercept form |
Sometimes we are given information about a line, and then asked to write the equation to a line parallel or perpendicular to it. In these cases, we need to apply the relationship between the slopes of parallel lines and the slopes between perpendicular lines.
EXAMPLE
Find the equation of the line perpendicular to that passes through the point (4, 2).Use the point-slope form and substitute the known values: and | |
Distribute the slope. Note that | |
Add 2 to both sides | |
Our Solution |
EXAMPLE
Find the equation of the line parallel to that passes through the point (1, -2) in slope-intercept form.Use the point-slope form and substitute the known values: and | |
Rewrite left side | |
Distribute the slope | |
Subtract 2 from both sides | |
Our Solution |
Source: ADAPTED FROM "BEGINNING AND INTERMEDIATE ALGEBRA" BY TYLER WALLACE, AN OPEN SOURCE TEXTBOOK AVAILABLE AT www.wallace.ccfaculty.org/book/book.html. License: Creative Commons Attribution 3.0 Unported License