1.3: Determining The Equation of A Line: Learning Objectives
1.3: Determining The Equation of A Line: Learning Objectives
1.3: Determining The Equation of A Line: Learning Objectives
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify each expression:
a. 3(2x − 5)
b. −7(4x − 2)
2. Find the slope of the line containing the points (1, 4) and (5, -2).
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
3. Find the slope of the line containing the points (-2, 5) and (10, -4).
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
So far, we were given an equation of a line and were asked to give information about it. For example, we were asked to find
points on the line, find its slope and even find intercepts. Now we are going to reverse the process. That is, we will be given
either two points, or a point and the slope of a line, and we will be asked to find its equation.
An equation of a line can be written in three forms, the slope-intercept form, the point-slope form, or the standard form.
We will discuss each of them in this section.
A line is completely determined by two points, or by a point and slope. The information we are given about a particular line
will influence which form of the equation is most convenient to use. Once we know any form of the equation of a line, it is
easy to re-express the equation in the other forms if needed.
Example 1.3.1
Find an equation of a line whose slope is 5, and y -intercept is 3.
Solution
Since the slope is m = 5 , and the y - intercept is b = 3 , the equation is y = 5x + 3 .
Example 1.3.2
Find the equation of the line that passes through the point (2, 7) and has slope 3.
Solution
Since m = 3 , the partial equation is y = 3x + b .
Now b can be determined by substituting the point (2, 7) in the equation y = 3x + b .
7 = 3(2) + b
b =1
Example 1.3.3
Find an equation of the line that passes through the points (-1, 2), and (1, 8).
Solution
We need to find the slope of the line containing these points first. Remember that if (x , 1 y1 ) and (x ,
2 y2 ) are two
different points on a line, the slope of the line is
y2 − y1
slope = m =
x2 − x1
m =
8−2
1−(−1)
=
6
2
=3 . So the partial equation is y = 3x + b .
We can use either of the two points (-1, 2) or (1, 8), to find b . Substituting (-1, 2) gives
2 = 3(−1) + b
5 =b
So the equation is y = 3x + 5 .
Example 1.3.4
Find an equation of the line that has x-intercept 3, and y -intercept 4.
Solution
x -intercept = 3, and y -intercept = 4 correspond to the points (3, 0), and (0, 4), respectively.
4 −0 4
m = =−
0 −3 3
3
x +4 .
The point-slope form is useful when we know two points on the line and want to find the equation of the line.
The definition of a slope leads us to the point-slope formula. Using two points (x , 1 y1 ) and any other (x, y), the slope is
y−y1
= m.
x−x1
y − y1 = m(x − x1 ). (1.3.2)
Example 1.3.5
Find the point-slope form of the equation of the line given in Example 1.3.2. (Find the equation of the line that passes
through the point (2, 7) and has slope 3.) Show that the two forms of the equations are equivalent.
Solution
Substituting the point (x1, y1 ) = (2, 7) and m = 3 in the point-slope formula, we get
y − y1 = m(x − x1 )
y − 7 = 3(x − 2)
We can show that the forms are equivalent by solving this equation for y .
y − 7 = 3(x − 2)
y − 7 = 3x − 6
y = 3x + 1
This is the slope-intercept form of the equation that we found in Example 1.3.2.
Example 1.3.6
Find the point-slope form of the equation of a line that has slope 1
2
and passes through the point (12,4). Then write the
equation in slope-intercept form.
Solution
Substituting the point (x1, y1 ) = (12, 4) and m = 1
2
in the point-slope formula, we get
y − y1 = m(x − x1 )
1
y −4 = (x − 12)
2
1
y −4 = x −6
2
1
y = x −2
2
intercept form y = mx + b , we can simplify the formula to have all terms for the x and y variables on one side of the
equation, and the constant on the other side of the equation.
The result is referred to as the standard form of the line:
We should always be able to convert from one form of an equation to another. For example, if we are given a line in the slope-
intercept form, we should be able to express it in the standard form, and vice versa.
Example 1.3.7
Write the equation y = − 2
3
x +3 in the standard form.
Solution
Multiplying both sides of the equation by 3, we get
3y = −2x + 9
2x + 3y = 9 Standard Form
Example 1.3.8
Write the equation 3x − 4y = 10 in the slope-intercept form.
Solution
Solving for y , we get
− 4y = −3x + 10
3 5
y = x− Standard Form
4 2
Example 1.3.9
Using the point-slope formula, find the standard form of an equation of the line that passes through the point (2, 3) and
has slope −3/5.
Solution: Substituting the point (2, 3) and m = −3/5 in the point-slope formula, we get
y − 3 = −3/5(x − 2)
5(y − 3) = −3(x − 2)
5y − 15 = −3x + 6
3x + 5y = 21 Standard Form
Example 1.3.10
Find the standard form of the line that passes through the points (1, -2), and (4, 0).
Solution
0−(−2)
First we find the slope: m = 4−1
=
2
3
(x − 1)
3y + 6 = 2x − 2
− 2x + 3y = −8
2x − 3y = 8 Standard Form
Example 1.3.11
Find the slope of the following lines, by inspection.
a. 3x − 5y = 10
b. 2x + 7y = 20
c. 4x − 3y = 8
Solution
a. A = 3 , B = −5 , therefore, m = 3
−5
=
3
b. A = 2 , B = 7 , therefore, m = − 2
c. m = 4
−3
=
4
Now that we know how to find the slope of a line in the standard form by inspection, our job in finding the equation of a line is
going to be easy.
Example 1.3.12
Find an equation of the line that passes through (2, 3) and has slope - 4/5.
Solution
Since the slope of the line is - 4/5, we know that the left side of the equation is 4x + 5y , and the partial equation is going
to be
4x + 5y = c
23 = c
4x + 5y = 23.
If you use this method often enough, you can do these problems very quickly.
Standard form: Ax + By = C
Horizontal Line: y = b
where b = y -intercept
Vertical Line: x = a
where a = x-intercept