4.3: Equations of Lines from Two Points
Write the equation of the line that has the same slope as and passes through the point (6, 7).
Watch This
Khan Academy Equation of a Line
Guidance
Equations of Lines in SlopeIntercept Form
In order to find the equation of a line , you must know its slope ( ) and intercept ( ). You can then write the equation of the line in slopeintercept form:
Always remember that as long as you know the slope and the yintercept, you can write the equation of the line. Sometimes you will have to do some work to determine either the slope or the yintercept, as will be shown in the examples.
In the above graph, the line crosses the axis at the point (0, 2). This is the intercept of the line, so . The slope is . Now that you know the values for and , you can write the equation of the line:
Equations of Horizontal and Vertical Lines
A line that is parallel to the axis (a horizontal line) will always have the equation , where is the coordinate of the point through which the line passes.
A line that is parallel to the axis w (a vertical line) will always have the equation , where is the coordinate of the point through which the line passes.
Equations of Lines in Standard Form
The equation of a line can also be written in another form that is known as standard form. Standard form is . You can rewrite the equation of a line given in standard form to an equation in slopeintercept form by solving for . This will allow you to determine the slope and yintercept of the line. For example, can you rewrite the equation in slopeintercept form?
The equation has been solved for and is now in the form . You can now see that the slope of the line is . At this point you could also sketch the graph of the line:
Occasionally you will be given the equation of a line given in slopeintercept form and want to rewrite this equation in standard form. To do this, multiply all terms by the denominators of any fractions to get rid of the fractions and then move all variables and constants to one side of the equation in order to set it equal to 0.
Example A
Write the equation for the line that passes through the points and .
Solution:
Remember that to find the equation you need to figure out the slope ( ) and the yintercept ( ). First, determine the slope of the line:
Next, determine the intercept of the line. This can be done using the slopeintercept form for the equation of the line by substituting one of the given points for and (it doesn't matter which point you use).
The equation for the line is
Example B
(a) Write the equation of the line passing through the point (6, 4) and parallel to the axis.
(b) Write the equation of the line passing through the point (3, 2) and parallel to the axis.
Solution:
(a) A line that is parallel to the axis will always have the equation , where is the coordinate of the point through which the line passes. Therefore, the equation of this line is .
(b) A line that is parallel to the axis will always have the equation , where is the coordinate of the point through which the line passes. Therefore, the equation of this line is .
Example C
Write the equation of the line that passes through the point (2, 5) and has the same intercept as: .
Solution:
In order to find the equation of any line, we need to figure out the slope and the intercept. First, find the yintercept.
You can see now that . The line also passes through the point (2, 5). You can use this point along with the yintercept to help find the slope.
is the equation of the line.
Concept Problem Revisited
Write the equation of the line that has the same slope as and passes through the point (6, 7).
To determine the slope of , solve the equation for ‘ ’.
The equation is now in the form . The slope of the line is . The line can now be sketched on the Cartesian grid.
The point (6, 7) was plotted first and then the slope was applied – run two units to the right and then move downwards three units. The line crosses the axis at the point (0, 2). This is the intercept of the graph. The equation for the line has a slope of and a intercept of 2.
The equation of the line is
Vocabulary
 Slope – Intercept Form
 The slopeintercept form is one method for writing the equation of a line. The slopeintercept form is where refers to the slope and identifies the intercept.
 Standard Form
 The standard form is another method for writing the equation of a line. The standard form is where is the coefficient of , is the coefficient of and is a constant.
Guided Practice
Write the equation for each of the lines graphed below in slopeintercept form and in standard form.
1.
2.
3. Write the equation for the line that passes through the point (4, 7) and is perpendicular of the axis.
Answers:
1. Two points on the graph are (2, 6) and (8, 0). First use the formula to determine the slope of this line.
 Use the slope and one of the points to determine the intercept.
 The equation for the line in slopeintercept form is . To express the equation in standard form, multiply each term by 5 and set the equation equal to zero.
2. Two exact points on the graph are (10, 8) and (20, 2). The slope of the line can be calculated by counting to determine the value of .
 Now, use the slope and one of the points to calculate the intercept of the line.
 The equation of the line in slopeintercept form is . Multiply the equation by 3 and set the equation equal to zero to write the equation in standard form. The equation of the line in standard form is .
3. Begin by sketching the graph of the line.
A line that is perpendicular to the axis is parallel to the axis. The slope of such a line is zero. The equation of this line is
Practice
For each of the following graphs, write the equation of the line in slopeintercept form.
Determine the equation of the line that passes through the following pairs of points:
 (3, 1) and (3, 7)
 (5, 5) and (10, 5)
 (8, 4) and (2, 6)
 (14, 8) and (4, 4)
 (0, 5) and (4, 3)
For each of the following real world problems, write the linear equation in standard form that would best model 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.
 Designate two data values for this problem. State the dependent and independent variables.
 Write an equation to model the situation.

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.
 Designate two data values for this problem. State the dependent and independent variables.
 Write an equation to model the situation.

Shop Rite sells a onequart carton of milk for $1.65 and a twoquart carton for $2.95. Assume there is a linear relationship between the volume of milk and the price.
 Designate two data values for this problem. State the dependent and independent variables.
 Write an equation to model the situation.

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.
 Designate two data values for this problem. State the dependent and independent variables.
 Write an equation to model the situation.
Image Attributions
Description
Learning Objectives
Here you'll learn how to find the equation of a line in slope intercept form or standard form.
Difficulty Level:
At GradeSubjects:
Date Created:
Dec 19, 2012Last Modified:
Apr 29, 2014Vocabulary
If you would like to associate files with this Modality, please make a copy first.