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:

[latex]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[/latex]

This becomes:

[latex]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}[/latex]

To illustrate this method, consider the following example.

Example 3.5.1

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

First, replace [latex]m[/latex] with 2 and [latex]x_1, y_1[/latex] with [latex](2, 5)[/latex].

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

Next, reduce the resulting equation.

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

[latex](x-2)2=\dfrac{y-5}{x-2}(x-2)[/latex]

This leaves:

[latex](x-2)2=y-5[/latex]

Which simplifies to:

[latex]2x-4=y-5[/latex]

This can be written in the [latex]y[/latex]-intercept form by isolating the variable [latex]y[/latex]:

[latex]\begin{array}{rrrrrrr} 2x&-&4&=&y&-&5 \\ &+&5&&&+&5 \\ \hline 2x&+&1&=&y&& \\ \\ &&&\text{or}&&& \\ \\ &&y&=&2x&+&1 \end{array}[/latex]

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

In general form, [latex]2x-4=y-5[/latex] becomes:

[latex]\begin{array}{rrrrrrrrr} 2x&-&4&&&=&y&-&5 \\ &-&y&+&5&&-y&+&5 \\ \hline 2x&-&y&+&1&=&0&& \end{array}[/latex]

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

In standard form, [latex]2x-4=y-5[/latex] becomes:

[latex]\begin{array}{rrrrrrr} 2x&-&4&=&y&-&5 \\ -y&+&4&&-y&+&4 \\ \hline 2x&-&y&=&-1&& \end{array}[/latex]

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

[latex]\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}[/latex]

Example 3.5.2

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

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

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

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

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

[latex]-1 (x - 1) = 2 (y + 4)[/latex]

Which simplifies to:

[latex]-x + 1 = 2y + 8[/latex]

 

Writing this solution in all three forms looks like:

[latex]\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}[/latex]

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 [latex](-1, -2)[/latex] and [latex](3, 8)[/latex].

First, find the slope:

[latex]\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}[/latex]

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

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

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

Eliminate the fraction by multiplying both sides by [latex]2(x - 3)[/latex].

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

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

This answer is in standard form, but it can easily be converted to the [latex]y[/latex]-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. [latex](2, 3)[/latex] and [latex]m = \dfrac{2}{3}[/latex]
  2. [latex](1, 2)[/latex] and [latex]m = 4[/latex]
  3. [latex](2, 2)[/latex] and [latex]m = \dfrac{1}{2}[/latex]
  4. [latex](2, 1)[/latex] and [latex]m = -\dfrac{1}{2}[/latex]
  5. [latex](-1, -5)[/latex] and [latex]m = 9[/latex]
  6. [latex](2, -2)[/latex] and [latex]m = -2[/latex]
  7. [latex](-4 , 1)[/latex] and [latex]m = \dfrac{3}{4}[/latex]
  8. [latex](4, -3)[/latex] and [latex]m = -2[/latex]
  9. [latex](0, -2)[/latex] and [latex]m = -3[/latex]
  10. [latex](-1, 1)[/latex] and [latex]m = 4[/latex]
  11. [latex](0, -5)[/latex] and [latex]m = -\dfrac{1}{4}[/latex]
  12. [latex](0, 2)[/latex] and [latex]m= -\dfrac{5}{4}[/latex]

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

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

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

  1. [latex](-4, 3)[/latex] and [latex](-3, 1)[/latex]
  2. [latex](1, 3)[/latex] and [latex](-3, -3)[/latex]
  3. [latex](5, 1)[/latex] and [latex](-3, 0)[/latex]
  4. [latex](-4, 5)[/latex] and [latex](4, 4)[/latex]
  5. [latex](-4, -2)[/latex] and [latex](0, 4)[/latex]
  6. [latex](-4, 1)[/latex] and [latex](4, 4)[/latex]
  7. [latex](3, 5)[/latex] and [latex](-5, 3)[/latex]
  8. [latex](-1, -4)[/latex] and [latex](-5, 0)[/latex]

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

  1. [latex](3, -3)[/latex] and [latex](-4, 5)[/latex]
  2. [latex](-1, -5)[/latex] and [latex](-5, -4)[/latex]
  3. [latex](3, -3)[/latex] and [latex](-2, 4)[/latex]
  4. [latex](-6, -7)[/latex] and [latex](-3, -4)[/latex]
  5. [latex](-5,1)[/latex] and [latex](-1, -2)[/latex]
  6. [latex](-5,-1)[/latex] and [latex](5, -2)[/latex]
  7. [latex](-5, 5)[/latex] and [latex](2, -3)[/latex]
  8. [latex](1, -1)[/latex] and [latex](-5, -4)[/latex]

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