Chapter 3: Graphing

3.5 Constructing Linear Equations

Quite often, students are required to find the equation of a line given only a data point and a slope or two data points. The simpler of these problems is to find the equation when given a slope and a data point. To do this, use the equation that defines the slope of a line:

m=\dfrac{y_2-y_1}{x_2-x_1},\text{ where }y_2\text{ is replaced by }y\text{ and }x_2\text{ is replaced by }x

This becomes:

m=\dfrac{y-y_1}{x-x_1},\text{ where }x_1\text{ and }y_1\text{ are replaced by the coordinates and }m \text{ by the given slope}

To illustrate this method, consider the following example.

Example 3.5.1

Find the equation that has slope m = 2 and passes through the point (2, 5).

First, replace m with 2 and x_1, y_1 with (2, 5).

m=\dfrac{y_2-y_1}{x_2-x_1} \text{ becomes } 2=\dfrac{y-5}{x-2}

Next, reduce the resulting equation.

First, multiply both sides by the denominator to eliminate the fraction:

(x-2)2=\dfrac{y-5}{x-2}(x-2)

This leaves:

(x - 2) 2 =  y - 5

Which simplifies to:

2x - 4  =  y - 5

This can be written in the y-intercept form by isolating the variable y:

\begin{array}{rrrrrrr} 2x&-&4&=&y&-&5 \\ &+&5&&&+&5 \\ \midrule 2x&+&1&=&y&& \\ \\ &&&\text{or}&&& \\ \\ &&y&=&2x&+&1 \end{array}

It is also useful to write the equation in the general form of Ax + By + C = 0, where A, B, and C are integers and A is positive.

In general form, 2x - 4  =  y - 5 becomes:

\begin{array}{rrrrrrrrr} 2x&-&4&&&=&y&-&5 \\ &-&y&+&5&&-y&+&5 \\ \midrule 2x&-&y&+&1&=&0&& \end{array}

The standard form of a linear equation is written as Ax + By = C.

In standard form,  2x - 4  =  y - 5 becomes:

\begin{array}{rrrrrrr} 2x&-&4&=&y&-&5 \\ -y&+&4&&-y&+&4 \\ \midrule 2x&-&y&=&-1&& \end{array}

The three common forms that a linear equation can be written in are:

    \[\begin{array}{rl} \text{Slope-intercept form:}& y = mx + b \\ \\ \text{General form:}&Ax + By + C = 0 \\ \\ \text{Standard form:}&Ax + By = C \end{array}\]

Example 3.5.2

Find the equation having slope m = -\dfrac{1}{2} that passes though the point (1, -4).

Write the solutions in slope-intercept form and in both general and standard forms.

First, replace m with -\dfrac{1}{2} and x_1, y_1 with (1, -4).

m=\dfrac{y_2-y_1}{x_2-x_1}\text{ becomes }-\dfrac{1}{2}=\dfrac{y--4}{x-1}

Multiplying both sides by 2(x - 1) to eliminate the denominators yields:

-1 (x - 1) = 2 (y + 4)

Which simplifies to:

-x + 1 = 2y + 8

 

Writing this solution in all three forms looks like:

    \[\begin{array}{rl} \text{Slope-intercept form:}&y=-\dfrac{1}{2}x-7 \\ \\ \text{General form:}&x+2y+7=0 \\ \\ \text{Standard form:}&x+2y=-7 \end{array}\]

The more difficult variant of this type of problem is that in which the equation of a line that connects two data points must be found. However, this is simpler than it may seem.

The first step is to find the slope of the line that would connect those two points. Use the slope equation, as has been done previously in this textbook. After this is done, use this slope and one of the two data points given at the beginning of the problem. The following example illustrates this.

Example 3.5.3

Find the equation of the line that runs through (-1, -2) and (3, 8).

First, find the slope:

    \[\begin{array}{rrl} m&=&\dfrac{y_2-y_1}{x_2-x_1} \\ \\ m&=&\dfrac{8--2}{3--1} \text{ or } \dfrac{8+2}{3+1} \\ \\ m&=&\dfrac{10}{4} \text{ or } \dfrac{5}{2} \end{array}\]

Now, treat this as a problem of finding a line with a given slope m running through a point (x, y).

The slope is \dfrac{5}{2}, and there are two points to choose from: (-1, -2) and (3, 8). Choose the simplest point to work with. For this problem, either point works. For this example, choose (3, 8).

    \[\begin{array}{rrl} m&=&\dfrac{y-y_1}{x-x_1} \\ \\ \dfrac{5}{2}&=&\dfrac{y-8}{x-3} \end{array}\]

Eliminate the fraction by multiplying both sides by 2(x - 3).

This leaves 5(x-3)=2(y-8), which must be simplified:

    \[\begin{array}{rrrrrrr} 5(x&-&3)&=&2(y&-&8) \\ 5x&-&15&=&2y&-&16 \\ -2y&+&15&&-2y&+&15 \\ \midrule 5x&-&2y&=&-1&& \end{array}\]

This answer is in standard form, but it can easily be converted to the y-intercept form or general form if desired.

Questions

For questions 1 to 12, write the slope-intercept form of each linear equation using the given point and slope.

  1. (2, 3) and m = \dfrac{2}{3}
  2. (1, 2) and m = 4
  3. (2, 2) and m = \dfrac{1}{2}
  4. (2, 1) and m = -\dfrac{1}{2}
  5. (-1, -5) and m = 9
  6. (2, -2) and m = -2
  7. (-4 , 1) and m = \dfrac{3}{4}
  8. (4, -3) and m = -2
  9. (0, -2) and m = -3
  10. (-1, 1) and m = 4
  11. (0, -5) and m = -\dfrac{1}{4}
  12. (0, 2) and m= -\dfrac{5}{4}

For questions 13 to 24, write the general form of each linear equation using the given point and slope.

  1. (-1, -5) and m = 2
  2. (2, -2) and m= -2
  3. (5, -1) and m= -\dfrac{3}{5}
  4. (-2, -2) and m= -\dfrac{2}{3}
  5. (-4, 1) and m= \dfrac{1}{2}
  6. (4, -3) and m=-\dfrac{7}{4}
  7. (4, -2) and m= -\dfrac{3}{2}
  8. (-2, 0) and m= -\dfrac{5}{2}
  9. (-5, -3) and m= -\dfrac{2}{5}
  10. (3, 3) and m= \dfrac{7}{3}
  11. (2, -2) and m= 1
  12. (-3, 4) and m= -\dfrac{1}{3}

For questions 25 and 32, write the slope-intercept form of each linear equation using the given points.

  1. (-4, 3) and (-3, 1)
  2. (1, 3) and (-3, -3)
  3. (5, 1) and (-3, 0)
  4. (-4, 5) and (4, 4)
  5. (-4, -2) and (0, 4)
  6. (-4, 1) and (4, 4)
  7. (3, 5) and (-5, 3)
  8. (-1, -4) and (-5, 0)

For questions 33 to 40, write the general form of each linear equation using the given points.

  1. (3, -3) and (-4, 5)
  2. (-1, -5) and (-5, -4)
  3. (3, -3) and (-2, 4)
  4. (-6, -7) and (-3, -4)
  5. (-5,1) and (-1, -2)
  6. (-5,-1) and (5, -2)
  7. (-5, 5) and (2, -3)
  8. (1, -1) and (-5, -4)

Answer Key 3.5

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Intermediate Algebra Copyright © 2020 by Terrance Berg is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book