# 4.6: Find the Equation of a Line

- Last updated

- Save as PDF

- Page ID
- 30513

- Lynn Marecek
- Professor (Mathematics) at Santa Ana College
- Publisher: OpenStax CNX

Skills to Develop

By the end of this section, you will be able to:

- Find an equation of the line given the slope and y-intercept
- Find an equation of the line given the slope and a point
- Find an equation of the line given two points
- Find an equation of a line parallel to a given line
- Find an equation of a line perpendicular to a given line

Note

Before you get started, take this readiness quiz.

How do online retailers know that ‘you may also like’ a particular item based on something you just ordered? How can economists know how a rise in the minimum wage will affect the unemployment rate? How do medical researchers create drugs to target cancer cells? How can traffic engineers predict the effect on your commuting time of an increase or decrease in gas prices? It’s all mathematics.

You are at an exciting point in your mathematical journey as the mathematics you are studying has interesting applications in the real world.

The physical sciences, social sciences, and the business world are full of situations that can be modeled with linear equations relating two variables. Data is collected and graphed. If the data points appear to form a straight line, an equation of that line can be used to predict the value of one variable based on the value of the other variable.

To create a mathematical model of a linear relation between two variables, we must be able to find the equation of the line. In this section we will look at several ways to write the equation of a line. The specific method we use will be determined by what information we are given.

# Find an Equation of the Line Given the Slope and *y*-Intercept

We can easily determine the slope and intercept of a line if the equation was written in slope–intercept form, y=mx+b. Now, we will do the reverse—we will start with the slope and *y*-intercept and use them to find the equation of the line.

Exercise \(\PageIndex{1}\)

Find an equation of a line with slope −7 and *y*-intercept (0,−1).

**Answer**-
Since we are given the slope and

*y*-intercept of the line, we can substitute the needed values into the slope–intercept form, y=mx+b.Name the slope. Name the *y*-intercept.Substitute the values into y=mx+b.

Exercise \(\PageIndex{2}\)

Find an equation of a line with slope \(\frac{2}{5}\) and *y*-intercept (0,4).

**Answer**-
\(y = \frac{2}{5}x + 4\)

Exercise \(\PageIndex{3}\)

Find an equation of a line with slope −1 and *y*-intercept (0,−3).

**Answer**-
\(y=−x−3\)

Sometimes, the slope and intercept need to be determined from the graph.

Exercise \(\PageIndex{4}\)

Find the equation of the line shown.

**Answer**-
We need to find the slope and

*y*-intercept of the line from the graph so we can substitute the needed values into the slope–intercept form, y=mx+by=mx+b.To find the slope, we choose two points on the graph.

The

*y*-intercept is (0,−4) and the graph passes through (3,−2).Find the slope by counting the rise and run. Find the *y*-intercept.Substitute the values into y=mx+b.

Exercise \(\PageIndex{5}\)

Find the equation of the line shown in the graph.

**Answer**-
\(y=\frac{3}{5}x+1\)

Exercise \(\PageIndex{6}\)

Find the equation of the line shown in the graph.

**Answer**-
\(y=\frac{4}{3}x−5\)

# Find an Equation of the Line Given the Slope and a Point

Finding an equation of a line using the slope–intercept form of the equation works well when you are given the slope and *y*-intercept or when you read them off a graph. But what happens when you have another point instead of the *y*-intercept?

We are going to use the slope formula to derive another form of an equation of the line. Suppose we have a line that has slope mm and that contains some specific point \((x_{1}, y_{1})\) and some other point, which we will just call (x,y). We can write the slope of this line and then change it to a different form.

\(\begin{array} {lrll}&m &=\frac{y-y_{1}}{x-x_{1}} \\ \text{Multiply both sides of the equation by }x−x_{1}.&m\left(x-x_{1}\right) &=\left(\frac{y-y_{1}}{x-x_{1}}\right)\left(x-x_{1}\right) \\ \text{Simplify.}&m\left(x-x_{1}\right) &=y-y_{1} \\ \text{Rewrite the equation with the y terms on the left.} &y-y_{1} &=m\left(x-x_{1}\right) \end{array}\)

This format is called the point–slope form of an equation of a line.

POINT–SLOPE FORM OF AN EQUATION OF A LINE

The **point–slope form** of an equation of a line with slope mm and containing the point \((x_{1}, y_{1})\) is

We can use the point–slope form of an equation to find an equation of a line when we are given the slope and one point. Then we will rewrite the equation in slope–intercept form. Most applications of linear equations use the the slope–intercept form.

Exercise \(\PageIndex{7}\): Find an Equation of a Line Given the Slope and a Point

Find an equation of a line with slope \(m=\frac{2}{5}\) that contains the point (10,3). Write the equation in slope–intercept form.

**Answer**

Exercise \(\PageIndex{8}\)

Find an equation of a line with slope \(m=\frac{5}{6}\) and containing the point (6,3).

**Answer**-
\(y=\frac{5}{6}x−2\)

Exercise \(\PageIndex{9}\)

Find an equation of a line with slope \(m=\frac{2}{3}\) and containing the point (9,2).

**Answer**-
\(y=\frac{2}{3}x−4\)

FIND AN EQUATION OF A LINE GIVEN THE SLOPE AND A POINT.

- Identify the slope.
- Identify the point.
- Substitute the values into the point-slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope–intercept form.

Exercise \(\PageIndex{10}\)

Find an equation of a line with slope \(m=−\frac{1}{3}\) that contains the point (6,−4). Write the equation in slope–intercept form.

**Answer**-
Since we are given a point and the slope of the line, we can substitute the needed values into the point–slope form, \(y−y_{1}=m(x−x_{1})\).

Identify the slope. Identify the point. Substitute the values into \(y−y_{1}=m(x−x_{1})\). Simplify. Write in slope–intercept form.

Exercise \(\PageIndex{11}\)

Find an equation of a line with slope \(m=−\frac{2}{5}\) and containing the point (10,−5).

**Answer**-
\(y=−\frac{2}{5}x−1\)

Exercise \(\PageIndex{12}\)

Find an equation of a line with slope \(m=−\frac{3}{4}\), and containing the point (4,−7).

**Answer**-
\(y=−\frac{3}{4}x−4\)

Exercise \(\PageIndex{13}\)

Find an equation of a horizontal line that contains the point (−1,2). Write the equation in slope–intercept form.

**Answer**-
Every horizontal line has slope 0. We can substitute the slope and points into the point–slope form, \(y−y_{1}=m(x−x_{1})\).

Identify the slope. Identify the point. Substitute the values into \(y−y_{1}=m(x−x_{1})\). Simplify. Write in slope–intercept form. It is in *y*-form, but could be written y=0x+2.

Exercise \(\PageIndex{14}\)

Find an equation of a horizontal line containing the point (−3,8).

**Answer**-
y = 8

Exercise \(\PageIndex{15}\)

Find an equation of a horizontal line containing the point (−1,4).

**Answer**-
y = 4

# Find an Equation of the Line Given Two Points

When real-world data is collected, a linear model can be created from two data points. In the next example we’ll see how to find an equation of a line when just two points are given.

We have two options so far for finding an equation of a line: slope–intercept or point–slope. Since we will know two points, it will make more sense to use the point–slope form.

But then we need the slope. Can we find the slope with just two points? Yes. Then, once we have the slope, we can use it and one of the given points to find the equation.

Exercise \(\PageIndex{16}\): Find an Equation of a Line Given Two Points

Find an equation of a line that contains the points (5,4) and (3,6). Write the equation in slope–intercept form.

**Answer**-
Use the point (3,6) and see that you get the same equation.

Exercise \(\PageIndex{17}\)

Find an equation of a line containing the points (3,1) and (5,6).

**Answer**-
\(y=\frac{5}{2}x−\frac{13}{2}\)

Exercise \(\PageIndex{18}\)

Find an equation of a line containing the points (1,4) and (6,2).

**Answer**-
\(y=−\frac{2}{5}x+\frac{22}{5}\)

FIND AN EQUATION OF A LINE GIVEN TWO POINTS.

- Find the slope using the given points.
- Choose one point.
- Substitute the values into the point-slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope–intercept form.

Exercise \(\PageIndex{19}\)

Find an equation of a line that contains the points (−3,−1) and (2,−2). Write the equation in slope–intercept form.

**Answer**-
Since we have two points, we will find an equation of the line using the point–slope form. The first step will be to find the slope.

Find the slope of the line through (−3, −1) and (2, −2). Choose either point. Substitute the values into \(y−y_{1}=m(x−x_{1})\). Write in slope–intercept form.

Exercise \(\PageIndex{20}\)

Find an equation of a line containing the points (−2,−4) and (1,−3).

**Answer**-
\(y=\frac{1}{3}x−\frac{10}{3}\)

Exercise \(\PageIndex{21}\)

Find an equation of a line containing the points (−4,−3) and (1,−5).

**Answer**-
\(y=−\frac{2}{5}x−\frac{23}{5}\)

Exercise \(\PageIndex{22}\)

Find an equation of a line that contains the points (−2,4) and (−2,−3). Write the equation in slope–intercept form.

**Answer**-
Again, the first step will be to find the slope.

\(\begin{array}{lrl} \text { Find the slope of the line through }(-2,4) \text { and }(-2,-3) & & &\\ &m &=&\frac{y_{2}-x_{1}}{x_{2}-x_{1}} \\ &m &=&\frac{-3-4}{-2-(-2)} \\ &m &= &\frac{-7}{0} \\ \\ \text { The slope is undefined. } & & &\end{array}\)

This tells us it is a vertical line. Both of our points have an

*x*-coordinate of −2. So our equation of the line is x=−2. Since there is no yy, we cannot write it in slope–intercept form.You may want to sketch a graph using the two given points. Does the graph agree with our conclusion that this is a vertical line?

Exercise \(\PageIndex{23}\)

Find an equation of a line containing the points (5,1) and (5,−4).

**Answer**-
x = 5

Exercise \(\PageIndex{24}\)

Find an equation of a line containing the points (−4,4) and (−4,3).

**Answer**-
x=−4

We have seen that we can use either the slope–intercept form or the point–slope form to find an equation of a line. Which form we use will depend on the information we are given. This is summarized in Table \(\PageIndex{1}\).

To Write an Equation of a Line | ||

If given: | Use: | Form: |

Slope and y-intercept |
slope–intercept | y=mx+b |

Slope and a point | point–slope | \(y−y_{1}=m(x−x_{1})\) |

Two points | point–slope | \(y−y_{1}=m(x−x_{1})\) |

Table \(\PageIndex{1}\)

# Find an Equation of a Line Parallel to a Given Line

Suppose we need to find an equation of a line that passes through a specific point and is parallel to a given line. We can use the fact that parallel lines have the same slope. So we will have a point and the slope—just what we need to use the point–slope equation.

First let’s look at this graphically.

The graph shows the graph of y=2x−3. We want to graph a line parallel to this line and passing through the point (−2,1).

Figure \(\PageIndex{1}\)

We know that parallel lines have the same slope. So the second line will have the same slope as y=2x−3. That slope is \(m_{\|} = 2\). We’ll use the notation \(m_{\|}\) to represent the slope of a line parallel to a line with slope m. (Notice that the subscript ∥ looks like two parallel lines.)

The second line will pass through (−2,1) and have m=2. To graph the line, we start at (−2,1) and count out the rise and run. With m=2 (or \(m=\frac{2}{1}\)), we count out the rise 2 and the run 1. We draw the line.

Figure \(\PageIndex{2}\)

Do the lines appear parallel? Does the second line pass through (−2,1)?

Now, let’s see how to do this algebraically.

We can use either the slope–intercept form or the point–slope form to find an equation of a line. Here we know one point and can find the slope. So we will use the point–slope form.

Exercise \(\PageIndex{25}\): How to Find an Equation of a Line Parallel to a Given Line

Find an equation of a line parallel to y=2x−3 that contains the point (−2,1). Write the equation in slope–intercept form.

**Answer**-
Does this equation make sense? What is the

*y*-intercept of the line? What is the slope?

Exercise \(\PageIndex{26}\)

Find an equation of a line parallel to the line y=3x+1 that contains the point (4,2). Write the equation in slope–intercept form.

**Answer**-
y=3x−10

Exercise \(\PageIndex{27}\)

Find an equation of a line parallel to the line \(y=\frac{1}{2}x−3\) that contains the point (6,4).

**Answer**-
\(y=\frac{1}{2}x+1\)

FIND AN EQUATION OF A LINE PARALLEL TO A GIVEN LINE.

- Find the slope of the given line.
- Find the slope of the parallel line.
- Identify the point.
- Substitute the values into the point–slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope–intercept form.

# Find an Equation of a Line Perpendicular to a Given Line

Now, let’s consider perpendicular lines. Suppose we need to find a line passing through a specific point and which is perpendicular to a given line. We can use the fact that perpendicular lines have slopes that are negative reciprocals. We will again use the point–slope equation, like we did with parallel lines.

The graph shows the graph of y=2x−3. Now, we want to graph a line perpendicular to this line and passing through (−2,1).

Figure \(\PageIndex{3}\)

We know that perpendicular lines have slopes that are negative reciprocals. We’ll use the notation \(m_{\perp}\) to represent the slope of a line perpendicular to a line with slope m. (Notice that the subscript \(_{\perp}\) looks like the right angles made by two perpendicular lines.)

\[\begin{array}{cl}{y=2 x-3} & {\text { perpendicular line }} \\ {m=2} & {m_{\perp}=-\frac{1}{2}}\end{array}\]

We now know the perpendicular line will pass through (−2,1) with \(m_{\perp}=−\frac{1}{2}\).

To graph the line, we will start at (−2,1) and count out the rise −1 and the run 2. Then we draw the line.

Figure \(\PageIndex{4}\)

Do the lines appear perpendicular? Does the second line pass through (−2,1)?

Now, let’s see how to do this algebraically. We can use either the slope–intercept form or the point–slope form to find an equation of a line. In this example we know one point, and can find the slope, so we will use the point–slope form.

Exercise \(\PageIndex{28}\)

Find an equation of a line perpendicular to y=2x−3 that contains the point (−2,1). Write the equation in slope–intercept form.

**Answer**

Exercise \(\PageIndex{29}\)

Find an equation of a line perpendicular to the line y=3x+1 that contains the point (4,2). Write the equation in slope–intercept form.

**Answer**-
\(y=−\frac{1}{3}x+\frac{10}{3}\)

Exercise \(\PageIndex{30}\)

Find an equation of a line perpendicular to the line \(y=\frac{1}{2}x−3\) that contains the point (6,4).

**Answer**-
y=−2x+16

FIND AN EQUATION OF A LINE PERPENDICULAR TO A GIVEN LINE.

- Find the slope of the given line.
- Find the slope of the perpendicular line.
- Identify the point.
- Substitute the values into the point–slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope–intercept form.

Exercise \(\PageIndex{31}\)

Find an equation of a line perpendicular to x=5 that contains the point (3,−2). Write the equation in slope–intercept form.

**Answer**-
Again, since we know one point, the point–slope option seems more promising than the slope–intercept option. We need the slope to use this form, and we know the new line will be perpendicular to x=5. This line is vertical, so its perpendicular will be horizontal. This tells us the \(m_{\perp}=0\).

\(\begin{array}{lrll}{\text { Identify the point. }} &{(3}&{,}&{-2)}\\ {\text { Identify the slope of the perpendicular line. }} & {m_{\perp}}&{=}&{0} \\ {\text { Substitute the values into } y-y_{1}=m\left(x-x_{1}\right) .} & {y-y_{1}}&{=}&{m\left(x-x_{1}\right)} \\{} &{y−(−2)}&{=}&{0(x−3)} \\{\text { Simplify. }} & {y+2}&{=}&{0} \\ &{y}&{=}&{-2}\end{array}\)

Sketch the graph of both lines. Do they appear to be perpendicular?

Exercise \(\PageIndex{32}\)

Find an equation of a line that is perpendicular to the line x=4 that contains the point (4,−5). Write the equation in slope–intercept form.

**Answer**-
y=−5

Exercise \(\PageIndex{33}\)

Find an equation of a line that is perpendicular to the line x=2 that contains the point (2,−1). Write the equation in slope–intercept form.

**Answer**-
y=−1

In Exercise \(\PageIndex{31}\), we used the point–slope form to find the equation. We could have looked at this in a different way.

We want to find a line that is perpendicular to x=5 that contains the point (3,−2). The graph shows us the line x=5 and the point (3,−2).

Figure \(\PageIndex{5}\)

We know every line perpendicular to a vertical line is horizontal, so we will sketch the horizontal line through (3,−2).

Figure \(\PageIndex{6}\)

Do the lines appear perpendicular?

If we look at a few points on this horizontal line, we notice they all have *y*-coordinates of −2. So, the equation of the line perpendicular to the vertical line x=5 is y=−2.

Exercise \(\PageIndex{34}\)

Find an equation of a line that is perpendicular to y=−4 that contains the point (−4,2). Write the equation in slope–intercept form.

**Answer**-
The line y=−4 is a horizontal line. Any line perpendicular to it must be vertical, in the form x=a. Since the perpendicular line is vertical and passes through (−4,2), every point on it has an

*x*-coordinate of −4. The equation of the perpendicular line is x=−4. You may want to sketch the lines. Do they appear perpendicular?

Exercise \(\PageIndex{35}\)

Find an equation of a line that is perpendicular to the line y=1 that contains the point (−5,1). Write the equation in slope–intercept form.

**Answer**-
x=−5

Exercise \(\PageIndex{36}\)

Find an equation of a line that is perpendicular to the line y=−5 that contains the point (−4,−5).

**Answer**-
x=−4

Note

Access this online resource for additional instruction and practice with finding the equation of a line.

# Key Concepts

**To Find an Equation of a Line Given the Slope and a Point**- Identify the slope.
- Identify the point.
- Substitute the values into the point-slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope-intercept form.

**To Find an Equation of a Line Given Two Points**- Find the slope using the given points.
- Choose one point.
- Substitute the values into the point-slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope-intercept form.

**To Write and Equation of a Line**- If given slope and
*y*-intercept, use slope–intercept form y=mx+b. - If given slope and a point, use point–slope form \(y−y_{1}=m(x−x_{1})\).
- If given two points, use point–slope form \(y−y_{1}=m(x−x_{1})\).

- If given slope and
**To Find an Equation of a Line Parallel to a Given Line**- Find the slope of the given line.
- Find the slope of the parallel line.
- Identify the point.
- Substitute the values into the point-slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope-intercept form.

**To Find an Equation of a Line Perpendicular to a Given Line**- Find the slope of the given line.
- Find the slope of the perpendicular line.
- Identify the point.
- Substitute the values into the point-slope form, \(y−y_{1}=m(x−x_{1})\).
- Write the equation in slope-intercept form.

## Practice Makes Perfect

**Find an Equation of the Line Given the Slope and y-Intercept**

In the following exercises, find the equation of a line with given slope and y-intercept. Write the equation in slope–intercept form.

Exercise \(\PageIndex{1}\)

slope 3 and *y*-intercept (0,5)

Exercise \(\PageIndex{2}\)

slope 4 and *y*-intercept (0,1)

**Answer**-
y=4x+1

Exercise \(\PageIndex{3}\)

slope 6 and *y*-intercept (0,−4)

Exercise \(\PageIndex{4}\)

slope 8 and *y*-intercept (0,−6)

**Answer**-
y=8x−6

Exercise \(\PageIndex{5}\)

slope −1 and *y*-intercept (0,3)

Exercise \(\PageIndex{6}\)

slope −1 and *y*-intercept (0,7)

**Answer**-
y=−x+7

Exercise \(\PageIndex{7}\)

slope −2 and *y*-intercept (0,−3)

Exercise \(\PageIndex{8}\)

slope −3 and *y*-intercept (0,−1)

**Answer**-
y=−3x−1

Exercise \(\PageIndex{9}\)

slope \(\frac{3}{5}\) and \(y\) -intercept \((0,-1)\)

Exercise \(\PageIndex{10}\)

slope \(\frac{1}{5}\) and \(y\) -intercept \((0,-5)\)

**Answer**-
\(y=\frac{1}{5} x-5\)

Exercise \(\PageIndex{11}\)

slope \(-\frac{3}{4}\) and \(y\) -intercept \((0,-2)\)

Exercise \(\PageIndex{12}\)

slope \(-\frac{2}{3}\) and \(y\) -intercept \((0,-3)\)

**Answer**-
\(y=-\frac{2}{3} x-3\)

Exercise \(\PageIndex{13}\)

slope 0 and \(y\) -intercept \((0,-1)\)

Exercise \(\PageIndex{14}\)

slope 0 and \(y\) -intercept \((0,2)\)

**Answer**-
y=2

Exercise \(\PageIndex{15}\)

slope \(-3\) and \(y\) -intercept \((0,0)\)

Exercise \(\PageIndex{16}\)

slope \(-4\) and \(y\) -intercept \((0,0)\)

**Answer**-
y=−4x

In the following exercises, find the equation of the line shown in each graph. Write the equation in slope–intercept form.

Exercise \(\PageIndex{17}\)

Exercise \(\PageIndex{18}\)

**Answer**-
y=−2x+4

Exercise \(\PageIndex{19}\)

Exercise \(\PageIndex{20}\)

**Answer**-
\(y=\frac{3}{4} x+2\)

Exercise \(\PageIndex{21}\)

Exercise \(\PageIndex{22}\)

**Answer**-
\(y=-\frac{3}{2} x-1\)

Exercise \(\PageIndex{23}\)

Exercise \(\PageIndex{24}\)

**Answer**-
y=6

**Find an Equation of the Line Given the Slope and a Point**

In the following exercises, find the equation of a line with given slope and containing the given point. Write the equation in slope–intercept form.

Exercise \(\PageIndex{25}\)

\(m=\frac{5}{8},\) point \((8,3)\)

Exercise \(\PageIndex{26}\)

\(m=\frac{3}{8},\) point \((8,2)\)

**Answer**-
\(y=\frac{3}{8} x-1\)

Exercise \(\PageIndex{27}\)

\(m=\frac{1}{6},\) point \((6,1)\)

Exercise \(\PageIndex{28}\)

\(m=\frac{5}{6},\) point \((6,7)\)

**Answer**-
\(y=\frac{5}{6} x+2\)

Exercise \(\PageIndex{29}\)

\(m=-\frac{3}{4},\) point \((8,-5)\)

Exercise \(\PageIndex{30}\)

\(m=-\frac{3}{5},\) point \((10,-5)\)

**Answer**-
\(y=-\frac{3}{5} x+1\)

Exercise \(\PageIndex{31}\)

\(m=-\frac{1}{4},\) point \((-12,-6)\)

Exercise \(\PageIndex{32}\)

\(m=-\frac{1}{3},\) point \((-9,-8)\)

**Answer**-
\(y=-\frac{1}{3} x-11\)

Exercise \(\PageIndex{33}\)

Horizontal line containing (−2,5)

Exercise \(\PageIndex{34}\)

Horizontal line containing (−1,4)

**Answer**-
y=4

Exercise \(\PageIndex{35}\)

Horizontal line containing (−2,−3)

Exercise \(\PageIndex{36}\)

Horizontal line containing (−1,−7)

**Answer**-
y=−7

Exercise \(\PageIndex{37}\)

\(m=-\frac{3}{2},\) point \((-4,-3)\)

Exercise \(\PageIndex{38}\)

\(m=-\frac{5}{2},\) point \((-8,-2)\)

**Answer**-
\(y=-\frac{5}{2} x-22\)

Exercise \(\PageIndex{39}\)

\(m=-7,\) point \((-1,-3)\)

Exercise \(\PageIndex{40}\)

\(m=-4,\) point \((-2,-3)\)

**Answer**-
\(y=-4 x-11\)

Exercise \(\PageIndex{41}\)

Horizontal line containing \((2,-3)\)

Exercise \(\PageIndex{42}\)

Horizontal line containing \((4,-8)\)

**Answer**-
y=−8

**Find an Equation of the Line Given Two Points**

In the following exercises, find the equation of a line containing the given points. Write the equation in slope–intercept form.

Exercise \(\PageIndex{43}\)

(2,6) and (5,3)

Exercise \(\PageIndex{44}\)

(3,1) and (2,5)

**Answer**-
y=−4x+13

Exercise \(\PageIndex{45}\)

(4,3) and (8,1)

Exercise \(\PageIndex{46}\)

(2,7) and (3,8)

**Answer**-
y=x+5

Exercise \(\PageIndex{47}\)

(−3,−4) and (5−2)

Exercise \(\PageIndex{48}\)

(−5,−3) and (4,−6)

**Answer**-
\(y=-\frac{1}{3} x-\frac{14}{3}\)

Exercise \(\PageIndex{49}\)

(−1,3) and (−6,−7)

Exercise \(\PageIndex{50}\)

(−2,8) and (−4,−6)

**Answer**-
y=7x+22

Exercise \(\PageIndex{51}\)

(6,−4) and (−2,5)

Exercise \(\PageIndex{52}\)

(3,−2) and (−4,4)

**Answer**-
\(y=-\frac{6}{7} x+\frac{4}{7}\)

Exercise \(\PageIndex{53}\)

(0,4) and (2,−3)

Exercise \(\PageIndex{54}\)

(0,−2) and (−5,−3)

**Answer**-
\(y=\frac{1}{5} x-2\)

Exercise \(\PageIndex{55}\)

(7,2) and (7,−2)

Exercise \(\PageIndex{56}\)

(4,2) and (4,−3)

**Answer**-
x=4

Exercise \(\PageIndex{57}\)

(−7,−1) and (−7,−4)

Exercise \(\PageIndex{58}\)

(−2,1) and (−2,−4)

**Answer**-
x=−2

Exercise \(\PageIndex{59}\)

(6,1) and (0,1)

Exercise \(\PageIndex{60}\)

(6,2) and (−3,2)

**Answer**-
y=2

Exercise \(\PageIndex{61}\)

(3,−4) and (5,−4)

Exercise \(\PageIndex{62}\)

(−6,−3) and (−1,−3)

**Answer**-
y=−3

Exercise \(\PageIndex{63}\)

(4,3) and (8,0)

Exercise \(\PageIndex{64}\)

(0,0) and (1,4)

**Answer**-
y=4x

Exercise \(\PageIndex{65}\)

(−2,−3) and (−5,−6)

Exercise \(\PageIndex{66}\)

(−3,0) and (−7,−2)

**Answer**-
\(y=\frac{1}{2} x+\frac{3}{2}\)

Exercise \(\PageIndex{67}\)

(8,−1) and (8,−5)

Exercise \(\PageIndex{68}\)

(3,5) and (−7,5)

**Answer**-
y=5

**Find an Equation of a Line Parallel to a Given Line**

In the following exercises, find an equation of a line parallel to the given line and contains the given point. Write the equation in slope–intercept form.

Exercise \(\PageIndex{69}\)

line \(y=4 x+2,\) point \((1,2)\)

Exercise \(\PageIndex{70}\)

line \(y=3 x+4,\) point \((2,5)\)

**Answer**-
\(y=3 x-1\)

Exercise \(\PageIndex{71}\)

line \(y=-2 x-3,\) point \((-1,3)\)

Exercise \(\PageIndex{72}\)

line \(y=-3 x-1,\) point \((2,-3)\)

**Answer**-
y=−3x+3

Exercise \(\PageIndex{73}\)

line \(3 x-y=4,\) point \((3,1)\)

Exercise \(\PageIndex{74}\)

line \(2 x-y=6,\) point \((3,0)\)

**Answer**-
y=2x−6

Exercise \(\PageIndex{75}\)

line \(4 x+3 y=6,\) point \((0,-3)\)

Exercise \(\PageIndex{76}\)

line \(2 x+3 y=6,\) point \((0,5)\)

**Answer**-
\(y=-\frac{2}{3} x+5\)

Exercise \(\PageIndex{77}\)

line \(x=-3,\) point \((-2,-1)\)

Exercise \(\PageIndex{78}\)

line \(x=-4,\) point \((-3,-5)\)

**Answer**-
x=−3

Exercise \(\PageIndex{79}\)

line \(x-2=0,\) point \((1,-2)\)

Exercise \(\PageIndex{80}\)

line \(x-6=0,\) point \((4,-3)\)

**Answer**-
x=4

Exercise \(\PageIndex{81}\)

line \(y=5,\) point \((2,-2)\)

Exercise \(\PageIndex{82}\)

line \(y=1,\) point \((3,-4)\)

**Answer**-
y=−4

Exercise \(\PageIndex{83}\)

line \(y+2=0,\) point \((3,-3)\)

Exercise \(\PageIndex{84}\)

line \(y+7=0,\) point \((1,-1)\)

**Answer**-
y=−1

**Find an Equation of a Line Perpendicular to a Given Line**

In the following exercises, find an equation of a line perpendicular to the given line and contains the given point. Write the equation in slope–intercept form.

Exercise \(\PageIndex{85}\)

line \(y=-2 x+3,\) point \((2,2)\)

Exercise \(\PageIndex{86}\)

line \(y=-x+5,\) point \((3,3)\)

**Answer**-
\(y=x\)

Exercise \(\PageIndex{87}\)

line \(y=\frac{3}{4} x-2,\) point \((-3,4)\)

Exercise \(\PageIndex{88}\)

line \(y=\frac{2}{3} x-4,\) point \((2,-4)\)

**Answer**-
\(y=-\frac{3}{2} x-1\)

Exercise \(\PageIndex{89}\)

line \(2 x-3 y=8,\) point \((4,-1)\)

Exercise \(\PageIndex{90}\)

line \(4 x-3 y=5,\) point \((-3,2)\)

**Answer**-
\(y=-\frac{3}{4} x-\frac{1}{4}\)

Exercise \(\PageIndex{91}\)

line \(2 x+5 y=6,\) point \((0,0)\)

Exercise \(\PageIndex{92}\)

line \(4 x+5 y=-3,\) point \((0,0)\)

**Answer**-
\(y=\frac{5}{4} x\)

Exercise \(\PageIndex{93}\)

line \(y-3=0,\) point \((-2,-4)\)

Exercise \(\PageIndex{94}\)

line \(y-6=0,\) point \((-5,-3)\)

**Answer**-
\(x=-5\)

Exercise \(\PageIndex{95}\)

line \(y\) -axis, point \((3,4)\)

Exercise \(\PageIndex{96}\)

line \(y\) -axis, point \((2,1)\)

**Answer**-
\(y=1\)

## Mixed Practice

In the following exercises, find the equation of each line. Write the equation in slope–intercept form.

Exercise \(\PageIndex{97}\)

Containing the points \((4,3)\) and \((8,1)\)

Exercise \(\PageIndex{98}\)

Containing the points \((2,7)\) and \((3,8)\)

**Answer**-
\(y=x+5\)

Exercise \(\PageIndex{99}\)

\(m=\frac{1}{6},\) containing point \((6,1)\)

Exercise \(\PageIndex{100}\)

\(m=\frac{5}{6},\) containing point \((6,7)\)

**Answer**-
\(y=\frac{5}{6} x+2\)

Exercise \(\PageIndex{101}\)

Parallel to the line \(4 x+3 y=6,\) containing point \((0,-3)\)

Exercise \(\PageIndex{102}\)

Parallel to the line \(2 x+3 y=6,\) containing point \((0,5)\)

**Answer**-
\(y=-\frac{2}{3} x+5\)

Exercise \(\PageIndex{103}\)

\(m=-\frac{3}{4},\) containing point \((8,-5)\)

Exercise \(\PageIndex{104}\)

\(m=-\frac{3}{5},\) containing point \((10,-5)\)

**Answer**-
\(y=-\frac{3}{5} x+1\)

Exercise \(\PageIndex{105}\)

Perpendicular to the line \(y-1=0,\) point \((-2,6)\)

Exercise \(\PageIndex{106}\)

Perpendicular to the line y-axis, point \((-6,2)\)

**Answer**-
\(y=2\)

Exercise \(\PageIndex{107}\)

Containing the points \((4,3)\) and \((8,1)\)

Exercise \(\PageIndex{108}\)

Containing the points \((-2,0)\) and \((-3,-2)\)

**Answer**-
\(y=x+2\)

Exercise \(\PageIndex{109}\)

Parallel to the line \(x=-3,\) containing point \((-2,-1)\)

Exercise \(\PageIndex{110}\)

Parallel to the line \(x=-4,\) containing point \((-3,-5)\)

**Answer**-
\(x=-3\)

Exercise \(\PageIndex{111}\)

Containing the points \((-3,-4)\) and \((2,-5)\)

Exercise \(\PageIndex{112}\)

Containing the points \((-5,-3)\) and \((4,-6)\)

**Answer**-
\(y=-\frac{1}{3} x-\frac{14}{3}\)

Exercise \(\PageIndex{113}\)

Perpendicular to the line \(x-2 y=5,\) containing point \((-2,2)\)

Exercise \(\PageIndex{114}\)

Perpendicular to the line \(4 x+3 y=1,\) containing point \((0,0)\)

**Answer**-
\(y=\frac{3}{4} x\)

## Everyday Math

Exercise \(\PageIndex{115}\)

**Cholesterol.** The age, \(x,\) and LDL cholesterol evel, \(y,\) of two men are given by the points \((18,68)\) and \((27,122) .\) Find a linear equation that models the relationship between age and LDL cholesterol level.

Exercise \(\PageIndex{116}\)

**Fuel consumption.** The city mpg, \(x\) , and highway mpg, \(y,\) of two cars are given by the points \((29,40)\) and \((19,28) .\) Find a

linear equation that models the relationship between city mpg and highway mp.

**Answer**-
\(y=1.2 x+5.2\)

## Writing Exercises

Exercise \(\PageIndex{117}\)

Why are all horizontal lines parallel?

Exercise \(\PageIndex{118}\)

Explain in your own words why the slopes of two perpendicular lines must have opposite signs.

**Answer**-
Answers will vary.

## Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

ⓑ On a scale of 1-10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?

# Glossary

**point–slope form**- The point–slope form of an equation of a line with slope mm and containing the point \(\left(x_{1}, y_{1}\right)\) is \(y-y_{1}=m\left(x-x_{1}\right)\).