"

8.3 Finding the Equation of a Line

In order to determine the equation of a line, we need both the slope and the y-intercept. If we do not know this information, we can determine it by following these steps:

Step 1:

If the slope is unknown, determine it by computing the rise and run between two points on the graph.

Step 2:

Replace the unknown m in the slope-intercept form of the equation with the slope value from Step 1.

Step 3:

If the y-intercept is unknown, determine it by substituting the coordinates of a point on the line for the x and y values in the slope-intercept form of the equation from Step 2, and solve for b.

Step 4:

Replace the unknown b in the slope-intercept form of the equation from Step 2 with the y-intercept value from Step 3 to arrive at the final equation of the line.

Example 8.3-a: Finding the Equation of a Line Given the Slope and One Point

Find the equation of a line having a slope of −2 and passing through the point (3, 5).

Solution

Step 1:

In this case, the slope is already known: m=2.

Step 2:

Replace m in the equation y=mx+b with the value given.

Substituting for m in the slope-intercept equation y=mx+b, we obtain y=2x+b.

Step 3:

Substitute the coordinates of the given point into the equation to solve for b.

Substituting the x– and y-coordinates of the point (3, 5) into the above equation, we obtain,

5=2(3)+b

b=5+6=11

Step 4:

Write the equation in slope-intercept form, y=mx+b, by substituting for the values of m and b determined in the steps above.

Therefore, the equation of the line is y=2x+11.

Example 8.3-b: Finding the Slope and the Equation of a Line Given Two Points

Find the equation of a line that passes through the points (3, 2) and (4, 5).

Solution

Step 1:

Calculate the slope.

m=Change in y valueChange in x value=y2y1x2x1=5243=31=3

Step 2:

Replace m in the equation y=mx+b with the calculated slope.

Substituting for m in the slope-intercept equation y=mx+b, we obtain y=3x+b.

Step 3:

Substitute the coordinates of one of the given points into the equation to solve for b.

Substituting the x– and y-coordinates of the point (3, 2) into the above equation, we obtain,

2=3(3)+b

b=29=7

Step 4:

Write the equation in slope-intercept form, y=mx+b, by substituting for the values of m and b determined in the steps above.

Therefore, the equation of the line is y=3x7.

Note: A good check to validate the equation is substituting the coordinates of the other point into the equation to ensure that it is a solution.
That is, substituting the x- and y-coordinates of the point (4, 5) into the equation,

y=3x7

5=3(4)7

=127

=5 (True)

Example 8.3 -c: Finding the Equation of a Line Given a Graph

Determine the equation of the line in standard form that is plotted on the graph shown:

Example 8.3 c - The graph shows a positively sloped line with the following coordinates. Any coordinate that sits on the line is a solution to the equation. Points include (1,6) and (4,10).

Solution

Step 1:

Start by choosing any two points (with integer coordinates) on the line: e.g., (1, 6) and (4, 10).

Solution to Example 8,3c selecting two points on the line in the chart (1,6) and (4, 10). From the point (1,6) draw a line horizontally 4 units. From the point (4,10) draw a line vertical 4 units to meet the line drawn from the point (1,6).

The slope of the line is   m=y2y1x2x1=10641=43.

Step 2:

Let the equation of the line be   y=mx+b

Substituting   m=43,

Therefore,   y=43x+b

Step 3:

Substituting the coordinates of one of the points (1, 6) into the above equation and solving for b,

y=43x+b

6=43(1)+b

b=643=1843=143

Step 4:

Therefore, the equation of the line in slope-intercept form is: y=43x+143

y=43x+143   Multiplying each term by 3 and simplifying,

3y=4x+14   Rearranging, ensuring that the coefficient of the x term remains positive,

4x3y=14

Therefore, the equation of the line in standard form is: 4x3y=14.

8.3 Exercises

Answers to the odd-numbered questions are available at the end of the book.

For problems 1 to 4, determine the equations of the lines in slope-intercept form that pass through the points.

  1. (1, 2) and (5, 2)
  2. (5, 0) and (4, 5)
  3. (−3, −5) and (3, 1)
  4. (−4, −7) and (5, 2)

For problems 5 to 14, determine the equations of the lines in slope-intercept form that:

  1. Have a slope of −2 and pass through (2, 6).
  2. Have a slope of 3 and pass through (−3, −2).
  3. Have a slope of 23 and pass through the origin.
  4. Have a slope of 45 and pass through the origin.
  5. Have an x-intercept = 4 and a y-intercept = 6.
  6. Have an x-intercept = −4 and a y-intercept = 2.
  7. The slope of a line is 3. The line passes through A(4, y) and B(6, 8). Find y.
  8. The slope of a line is 2. The line passes through A(x, 8) and B(2, 4). Find x.
  9. Points A(2, 3), B (6, 5), and C(10, y) are on a line. Find y.
  10. Points D(3, 2), E (6, 5), and F(x, 1) are on a line. Find x.

For problems 15 to 18, determine the equation of the line (in standard form) for the graphs.

  1. Exercise 8.3-15. The graph shows a negatively sloped line with the following coordinates (3,0), and (0,5). Any coordinate that sits on the line is a solution to the equation.
  2. Exercise 8.3-16. The graph shows a positively sloped line with the following coordinates (-5,0), and (0,10). Any coordinate that sits on the line is a solution to the equation.
  3. Exercise 8.3-17. The graph shows a negatively sloped line with the following coordinates (-2,5), and (2,-3).. Any coordinate that sits on the line is a solution to the equation.
  4. Exercise 8.3-18. The graph shows a negatively sloped line with the following coordinates (-2,2), and (5,6). Any coordinate that sits on the line is a solution to the equation.

Unless otherwise indicated, this chapter is an adaptation of the eTextbook Foundations of Mathematics (3rd ed.) by Thambyrajah Kugathasan, published by Vretta-Lyryx Inc., with permission. Adaptations include supplementing existing material and reordering chapters.

License

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

Fundamentals of Business Math Copyright © 2023 by Lisa Koster and Tracey Chase is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.