11 Find the Equation of a Line

Learning Objectives

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

  • Find an equation of the line given the slope and y\text{-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

Before you get started, take this readiness quiz.

  1. Solve: \frac{2}{5}\left(x+15\right).

    If you missed this problem, review (Figure).

  2. Simplify: -3\left(x-\left(-2\right)\right).

    If you missed this problem, review (Figure).

  3. Solve for y: y-3=-2\left(x+1\right).

    If you missed this problem, review (Figure).

How do online companies 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.

The physical sciences, social sciences, and the business world are full of situations that can be modeled with linear equations relating two variables. 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 is 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.

Find the equation of a line with slope -9 and y-intercept \left(0,-4\right).

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. .
.
.

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

y=\frac{2}{5}x+4

Find the equation of a line with slope -1 and y-intercept \left(0,-3\right).

y=\text{−}x-3

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

Find the equation of the line shown in the graph.

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The line goes through the points (negative 3, negative 6), (0, negative 4), (3, negative 2), and (6, 0).

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+b.

To find the slope, we choose two points on the graph.

The y-intercept is \left(0,-4\right) and the graph passes through \left(3,-2\right).

Find the slope, by counting the rise and run. .
.
Find the y-intercept. .
Substitute the values into y=mx+b. .
.

Find the equation of the line shown in the graph.

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The line goes through the points (negative 5, negative 2), (0, 1), and (5, 4).

y=\frac{3}{5}x+1

Find the equation of the line shown in the graph.

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The line goes through the points (0, negative 5), (3, negative 1), and (6, 3).

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 m and that contains some specific point \left({x}_{1},{y}_{1}\right) and some other point, which we will just call \left(x,y\right). We can write the slope of this line and then change it to a different form.

\begin{array}{cccccc}& & & \hfill m& =\hfill & \frac{y-{y}_{1}}{x-{x}_{1}}\hfill \\ \text{Multiply both sides of the equation by}\phantom{\rule{0.2em}{0ex}}x-{x}_{1}.\hfill & & & \hfill m\left(x-{x}_{1}\right)& =\hfill & \left(\frac{y-{y}_{1}}{x-{x}_{1}}\right)\left(x-{x}_{1}\right)\hfill \\ \text{Simplify.}\hfill & & & \hfill m\left(x-{x}_{1}\right)& =\hfill & y-{y}_{1}\hfill \\ \text{Rewrite the equation with the}\phantom{\rule{0.2em}{0ex}}y\phantom{\rule{0.2em}{0ex}}\text{terms on the left.}\hfill & & & \hfill y-{y}_{1}& =\hfill & m\left(x-{x}_{1}\right)\hfill \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 m and containing the point \left({x}_{1},{y}_{1}\right) is:

y-{y}_{1}=m\left(x-{x}_{1}\right)

We can use the point-slope form of an equation to find an equation of a line when we know the slope and at least one point. Then, we will rewrite the equation in slope-intercept form. Most applications of linear equations use the the slope-intercept form.

How to Find an Equation of a Line Given a Point and the Slope

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

Step 1 is to identify the slope. The slope is given. m equals negative 1 divided by 3.Step 2 is to identify the point. The point is given. x 1 is 6 and y 1 is negative 4.Step 3 is to substitute the values into the point-slope form y minus y 1 equals m times the quantity x minus x 1 in parentheses. y minus negative 4 equals negative 1 divided by 3 times the quantity x minus 6 in parentheses. This simplifies to y plus 4 equals negative 1 divided by 3 times x plus 2.Step 4 is to write the equation in slope-intercept form. y equals negative 1 divided by 3 times x minus 2.

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

y=-\frac{2}{5}x-1

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

y=-\frac{3}{4}x-4

We list the steps for easy reference.

To find an equation of a line given the slope and a point.
  1. Identify the slope.
  2. Identify the point.
  3. Substitute the values into the point-slope form, y-{y}_{1}=m\left(x-{x}_{1}\right).
  4. Write the equation in slope-intercept form.

Find an equation of a horizontal line that contains the point \left(-2,-6\right). Write the equation in slope-intercept form.

Every horizontal line has slope 0. We can substitute the slope and points into the point-slope form, y-{y}_{1}=m\left(x-{x}_{1}\right).

Identify the slope. .
Identify the point. .
Substitute the values into y-{y}_{1}=m\left(x-{x}_{1}\right). .
.
Simplify. .
.
Write in slope-intercept form. It is in y-form, but could be written y=0x-6.

Did we end up with the form of a horizontal line, y=a?

Find the equation of a horizontal line containing the point \left(-3,8\right).

y=8

Find the equation of a horizontal line containing the point \left(-1,4\right).

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.

So far, we have two options for finding an equation of a line: slope-intercept or point-slope. When we start with two points, it makes 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.

How to Find the Equation of a Line Given Two Points

Find an equation of a line that contains the points \left(-3,-1\right) and \left(2,-2\right) Write the equation in slope-intercept form.

Step 1 is to find the slope using the given points. Find the slope of the line through (negative 3, negative 1) and (2, and negative 2). m equals the quotient of y 2 minus y 1 in parentheses and x 2 minus x 1 in parentheses. m equals the quotient of negative 2 minus negative 1 in parentheses and 2 minus negative 3 in parentheses. m equals negative 1 divided by 5.Step 2 is to identify the point. Choose either point. x 1 is 2 and y 1 is negative 2.Step 3 is to substitute the values into the point-slope form y minus y 1 equals m times the quantity x minus x 1 in parentheses. y minus negative 2 equals negative 1 divided by 5 times the quantity x minus 2 in parentheses. This simplifies to y plus 2 equals negative 1 divided by 5 times x plus 2 divided by 5.Step 4 is to write the equation in slope-intercept form. y equals negative 1 divided by 5 times x minus 8 divided by 5.

Find the equation of a line containing the points \left(-2,-4\right) and \left(1,-3\right).

y=\frac{1}{3}x-\frac{10}{3}

Find the equation of a line containing the points \left(-4,-3\right) and \left(1,-5\right).

y=-\frac{2}{5}x-\frac{23}{5}

The steps are summarized here.

To find an equation of a line given two points.
  1. Find the slope using the given points. m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}
  2. Choose one point.
  3. Substitute the values into the point-slope form: y-{y}_{1}=m\left(x-{x}_{1}\right).
  4. Write the equation in slope-intercept form.

Find an equation of a line that contains the points \left(-3,5\right) and \left(-3,4\right). Write the equation in slope-intercept form.

Again, the first step will be to find the slope.

\begin{array}{cccc}\begin{array}{c}\text{Find the slope of the line through}\phantom{\rule{0.2em}{0ex}}\left(-3,5\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(-3,4\right).\hfill \\ \\ \\ \\ \\ \\ \\ \\ \\ \end{array}\hfill & & & \phantom{\rule{1em}{0ex}}\begin{array}{ccc}\hfill m& =\hfill & \frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\hfill \\ \hfill m& =\hfill & \frac{4-5}{-3-\left(-3\right)}\hfill \\ \hfill m& =\hfill & \frac{-1}{0}\hfill \end{array}\hfill \\ & & & \text{The slope is undefined.}\hfill \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 y, we cannot write it in slope-intercept form.

You may want to sketch a graph using the two given points. Does your graph agree with our conclusion that this is a vertical line?

Find the equation of a line containing the points \left(5,1\right) and \left(5,-4\right).

x=5

Find the equaion of a line containing the points \left(-4,4\right) and \left(-4,3\right).

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.

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\left(x-{x}_{1}\right)
Two points point-slope y-{y}_{1}=m\left(x-{x}_{1}\right)

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.

This graph shows y=2x-3. We want to graph a line parallel to this line and passing through the point \left(-2,1\right).

This figure has a graph of a straight line and a point on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The line goes through the points (0, negative 3), (1, negative 1), and (2, 1). The point (negative 2, 1) is plotted. The line does not go through the point (negative 2, 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}_{\parallel }=2. We’ll use the notation {m}_{\parallel } 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 \left(-2,1\right) and have m=2.

To graph the line, we start at\left(-2,1\right) 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, as shown in the graph.

This figure has a graph of a two straight lines on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The first line goes through the points (0, negative 3), (1, negative 1), and (2, 1). The points (negative 2, 1) and (negative 1, 3) are plotted. The second line goes through the points (negative 2, 1) and (negative 1, 3).

Do the lines appear parallel? Does the second line pass through\left(-2,1\right)?

We were asked to graph the line, 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.

How to Find the Equation of a Line Parallel to a Given Line and a Point

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

Step 1 is to find the slope of the given line. The line is in slope-intercept form, y equals 2 x minus 3. m equals 2.Step 2 is to find the slope of the parallel line. Parallel lines have the same slope. m equals 2.Step 3 is to identify the point. The given point is (negative 2, 1). x 1 is negative 2 and y 1 is 1.Step 4 is to substitute the values into the point-slope form y minus y 1 equals m times the quantity x minus x 1 in parentheses. y minus 1 equals 2 times the quantity x minus negative 2 in parentheses. This simplifies to y minus 1 equals 2 x plus 4.Step 5 is to write the equation in slope-intercept form. y equals 2 x plus 5.

Look at graph with the parallel lines shown previously. Does this equation make sense? What is the y-intercept of the line? What is the slope?

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

y=3x-10

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

Write the equation in slope-intercept form.

y=\frac{1}{2}x+1

Find an equation of a line parallel to a given line.
  1. Find the slope of the given line.
  2. Find the slope of the parallel line.
  3. Identify the point.
  4. Substitute the values into the point-slope form: y-{y}_{1}=m\left(x-{x}_{1}\right).
  5. 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.

This graph shows y=2x-3. Now, we want to graph a line perpendicular to this line and passing through \left(-2,1\right).

This figure has a graph of a straight line and a point on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The line goes through the points (0, negative 3), (1, negative 1), and (2, 1). The point (negative 2, 1) is plotted. The line does not go through the point (negative 2, 1).

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}{cccc}y=2x-3\hfill & & & \text{perpendicular line}\hfill \\ m=2\hfill & & & {m}_{\perp }=-\frac{1}{2}\hfill \end{array}

We now know the perpendicular line will pass through \left(-2,1\right) with {m}_{\perp }=-\frac{1}{2}.

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

This figure has a graph of two perpendicular straight lines on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The first line goes through the points (0, negative 3), (1, negative 1), and (2, 1). The points (negative 2, 1) and (0, 0) are plotted. A right triangle is drawn connecting the points (negative 2, 1), (negative 2, 0), and (0, 0). The second line goes through the points (negative 2, 1) and (0, 0).

Do the lines appear perpendicular? Does the second line pass through\left(-2,1\right)?

We were asked to graph the line, 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.

How to Find the Equation of a Line Perpendicular to a Given Line and a Point

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

Step 1 is to find the slope of the given line. The line is in slope-intercept form, y equals 2 x minus 3. m equals 2.Step 2 is to find the slope of the perpendicular line. The slopes of perpendicular lines are negative reciprocals. m equals negative 1 divided by 2Step 3 is to identify the point. The given point is (negative 2, 1). x 1 is negative 2 and y 1 is 1.Step 4 is to substitute the values into the point-slope form y minus y 1 equals m times the quantity x minus x 1 in parentheses. y minus 1 equals negative 1 divided by 2 times the quantity x minus negative 2 in parentheses. This simplifies to y minus 1 equals negative 1 divided by 2 times the quantity x plus 2 in parentheses. This further simplifies to y minus 1 equals negative 1 divided by 2 times x minus 1.Step 5 is to write the equation in slope-intercept form. y equals negative 1 divided by 2 times x.

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

y=-\frac{1}{3}x+\frac{10}{3}

Find an equation of a line perpendicular to the line y=\frac{1}{2}x-3 that contains the point \left(6,4\right). Write the equation in slope-intercept form.

y=-2x+16

Find an equation of a line perpendicular to a given line.
  1. Find the slope of the given line.
  2. Find the slope of the perpendicular line.
  3. Identify the point.
  4. Substitute the values into the point-slope form, y-{y}_{1}=m\left(x-{x}_{1}\right).
  5. Write the equation in slope-intercept form.

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

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}{cccc}\text{Identify the point.}\hfill & & & \hfill \left(3,-2\right)\hfill \\ \begin{array}{c}\text{Identify the slope of the perpendicular line.}\hfill \\ \text{Substitute the values into}\phantom{\rule{0.2em}{0ex}}y-{y}_{1}=m\left(x-{x}_{1}\right).\hfill \\ \\ \\ \\ \text{Simplify.}\hfill \\ \\ \\ \end{array}\hfill & & & \hfill \begin{array}{ccc}\hfill {m}_{\perp }& =\hfill & 0\hfill \\ \hfill y-{y}_{1}& =\hfill & m\left(x-{x}_{1}\right)\hfill \\ \hfill y-\left(-2\right)& =\hfill & 0\left(x-3\right)\hfill \\ \hfill y+2& =\hfill & 0\hfill \\ \hfill y& =\hfill & -2\hfill \end{array}\hfill \end{array}

Sketch the graph of both lines. On your graph, do the lines appear to be perpendicular?

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

y=-5

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

y=-1

In (Figure), 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 \left(3,-2\right). This graph shows us the linex=5 and the point \left(3,-2\right).

This figure has a graph of a straight vertical line and a point on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The line goes through the points (5, 0), (5, 1), and (5, 2). The point (3, negative 2) is plotted. The line does not go through the point (3, negative 2).

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

This figure has a graph of a straight vertical line and a straight horizontal line on the x y-coordinate plane. The x and y-axes run from negative 8 to 8. The vertical line goes through the points (5, 0), (5, 1), and (5, 2). The horizontal line goes through the points (negative 2, negative 2), (0, negative 2), (3, negative 2), and (6, negative 2).

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.

Find an equation of a line that is perpendicular to y=-3 that contains the point \left(-3,5\right). Write the equation in slope-intercept form.

The line y=-3 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 \left(-3,5\right), every point on it has an x-coordinate of -3. The equation of the perpendicular line is x=-3

You may want to sketch the lines. Do they appear perpendicular?

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

x=-5

Find an equation of a line that is perpendicular to the line y=-5 that contains the point \left(-4,-5\right). Write the equation in slope-intercept form.

x=-4

Key Concepts

  • How to find an equation of a line given the slope and a point.
    1. Identify the slope.
    2. Identify the point.
    3. Substitute the values into the point-slope form, y-{y}_{1}=m\left(x-{x}_{1}\right).
    4. Write the equation in slope-intercept form.
  • How to find an equation of a line given two points.
    1. Find the slope using the given points. m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}
    2. Choose one point.
    3. Substitute the values into the point-slope form: y-{y}_{1}=m\left(x-{x}_{1}\right).
    4. Write the equation in slope-intercept form.
      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\left(x-{x}_{1}\right)
      Two points point-slope y-{y}_{1}=m\left(x-{x}_{1}\right)
  • How to find an equation of a line parallel to a given line.
    1. Find the slope of the given line.
    2. Find the slope of the parallel line.
    3. Identify the point.
    4. Substitute the values into the point-slope form: y-{y}_{1}=m\left(x-{x}_{1}\right).
    5. Write the equation in slope-intercept form
  • How to find an equation of a line perpendicular to a given line.
    1. Find the slope of the given line.
    2. Find the slope of the perpendicular line.
    3. Identify the point.
    4. Substitute the values into the point-slope form, y-{y}_{1}=m\left(x-{x}_{1}\right)
    5. 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.

slope 3 and

y-intercept \left(0,5\right)

y=3x+5

slope 8 and

y-intercept \left(0,-6\right)

slope -3 and

y-intercept \left(0,-1\right)

y=-3x-1

slope -1 and

y-intercept \left(0,3\right)

slope \frac{1}{5} and

y-intercept \left(0,-5\right)

y=\frac{1}{5}x-5

slope -\frac{3}{4} and

y-intercept \left(0,-2\right)

slope 0 and

y-intercept \left(0,-1\right)

y=-1

slope -4 and

y-intercept \left(0,0\right)

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

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, negative 5), (1, negative 2), and (2, 1).

y=3x-5

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, 4), (1, 2), and (2, 0).

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, negative 3), (2, negative 2), and (6, 0).

y=\frac{1}{2}x-3

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, 2), (4, 5), and (8, 8).

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, 3), (3, negative 1), and (6, negative 5).

y=-\frac{4}{3}x+3

This figure has a graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, negative 1), (2, negative 4), and (4, negative 7).

This figure has a graph of a horizontal straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, negative 2), (1, negative 2), and (2, negative 2).

y=-2

This figure has a graph of a horizontal straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, 6), (1, 6), and (2, 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.

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

y=\frac{5}{8}x-2

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

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

y=-\frac{3}{5}x+1

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

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

y=-\frac{3}{2}x+9

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

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

y=-7x-10

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

Horizontal line containing \left(-2,5\right)

y=5

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

Horizontal line containing \left(-1,-7\right)

y=-7

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

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.

\left(2,6\right) and \left(5,3\right)

y=\text{−}x+8

\left(4,3\right) and \left(8,1\right)

\left(-3,-4\right) and \left(5-2\right).

y=\frac{1}{4}x-\frac{13}{4}

\left(-5,-3\right) and \left(4,-6\right).

\left(-1,3\right) and \left(-6,-7\right).

y=2x+5

\left(-2,8\right) and \left(-4,-6\right).

\left(0,4\right) and \left(2,-3\right).

y=-\frac{7}{2}x+4

\left(0,-2\right) and \left(-5,-3\right).

\left(7,2\right) and \left(7,-2\right).

x=7

\left(-2,1\right) and \left(-2,-4\right).

\left(3,-4\right) and \left(5,-4\right).

y=-4

\left(-6,-3\right) and \left(-1,-3\right)

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.

line y=4x+2,

point \left(1,2\right)

y=4x-2

line y=-3x-1,

point \left(2,-3\right).

line 2x-y=6,

point \left(3,0\right).

y=2x-6

line 2x+3y=6,

point \left(0,5\right).

line x=-4,

point \left(-3,-5\right).

x=-3

line x-2=0,

point \left(1,-2\right)

line y=5,

point \left(2,-2\right)

y=-2

line y+2=0,

point \left(3,-3\right)

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.

line y=-2x+3,

point \left(2,2\right)

y=\frac{1}{2}x+1

line y=\text{−}x+5,

point \left(3,3\right)

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

point \left(-3,4\right)

y=-\frac{4}{3}x

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

point \left(2,-4\right)

line 2x-3y=8,

point \left(4,-1\right)

y=-\frac{3}{2}x+5

line 4x-3y=5,

point \left(-3,2\right)

line 2x+5y=6,

point \left(0,0\right)

y=\frac{5}{2}x

line 4x+5y=-3,

point \left(0,0\right)

line x=3,

point \left(3,4\right)

y=4

line x=-5,

point \left(1,-2\right)

line x=7,

point \left(-3,-4\right)

y=-4

line x=-1,

point \left(-4,0\right)

line y-3=0,

point \left(-2,-4\right)

x=-2

line y-6=0,

point \left(-5,-3\right)

line y-axis,

point \left(3,4\right)

y=4

line y-axis,

point \left(2,1\right)

Mixed Practice

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

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

y=-\frac{1}{2}x+5

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

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

y=\frac{1}{6}x

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

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

y=-\frac{4}{3}x-3

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

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

y=-\frac{3}{4}x+1

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

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

x=-2

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

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

x=-2

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

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

y=-\frac{1}{5}x-\frac{23}{5}

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

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

y=-2x-2

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

Writing Exercises

Why are all horizontal lines parallel?

Answers will vary.

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

Self Check

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

The figure shows a table with six rows and four columns. The first row is a header row and it labels each column. The first column header is “I can…”, the second is “confidently”, the third is “with some help”, “no minus I don’t get it!”. Under the first column are the phrases “find the 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”, and “find an equation of a line perpendicular to a given line”. Under the second, third, fourth columns are blank spaces where the learner can check what level of mastery they have achieved.

What does this checklist tell you about your mastery of this section? What steps will you take to improve?

Glossary

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

License

Icon for the Creative Commons Attribution 4.0 International License

Intermediate Algebra imported into JK's account for testing at Douglas College Copyright © 2017 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book