Menu

Math Lesson 14.3.3 - Finding the Equation of a Line that Passes through Two Known Points

Please provide a rating, it takes seconds and helps us to keep this resource free for all to use

[ 1 Votes ]

Welcome to our Math lesson on Finding the Equation of a Line that Passes through Two Known Points, this is the third lesson of our suite of math lessons covering the topic of Equation of Linear Graphs, you can find links to the other lessons within this tutorial and access additional Math learning resources below this lesson.

Finding the Equation of a Line that Passes through Two Known Points

Now, let's consider the reverse problem, i.e. when the linear equation is unknown but we know two points of the line. These two points, say A(x1, y1) and B(x2, y2) help us find the equation of the line expressed in the form y = mx + n in two steps:

Step 1: Calculating the gradient m through the formula

m = y2 - y1/x2 - x1

Step 2: Substitute the value found in Step 1 and the coordinates of one of the known points in the equation of the line to find the constant c.

Let's explain this procedure through a couple of examples.

Example 4

Find the equation of the straight line that passes through the points

  1. A(-1, 2) and B(3, 4)
  2. A(2, -4) and B(5, -3)

Solution 4

  1. First, let's calculate the gradient m. Thus, from the equation of gradient
    m = yB - yA/xB - xA
    we obtain after substituting the known values:
    m = 4 - 2/3 - (-1)
    = 4 - 2/3 + 1
    = 2/4
    = 1/2
    Now, we substitute the coordinates of any of the two given points (for example those of point B given that both values are positive) in the equation
    y = mx + n
    which already became
    y = 1/2 x + n
    This allows us to find the constant n. Thus,
    4 = 1/2 ∙ 3 + n
    4 = 3/2 + n
    n = 4 - 3/2
    = 8/2 - 3/2
    = 5/2
    Therefore, the line's equation that passes through the two given points is
    y = 1/2 x + 5/2
  2. The procedure is the same as in (a). Thus, first, we find the gradient m,
    m = yB - yA/xB - xA
    = -3 - (-4)/5 - 2
    = -3 + 4/3
    = 1/3
    then, we find the constant n by substituting the coordinates of any point in the line's equation. For example let's choose the coordinates of point A(2, -4) to insert into the equation
    y = 1/3 x + n
    This allows us to find the constant n. Thus,
    -4 = 1/3 ∙ 2 + n
    -4 = 2/3 + n
    n = -4 - 2/3
    = -12/3 - 2/3
    = -14/3
    Hence, the equation of the line that passes through the two given points is
    y = 1/3 x - 14/3

More Equation of Linear Graphs Lessons and Learning Resources

Linear Graphs Learning Material
Tutorial IDMath Tutorial TitleTutorialVideo
Tutorial
Revision
Notes
Revision
Questions
14.3Equation of Linear Graphs
Lesson IDMath Lesson TitleLessonVideo
Lesson
14.3.1Review of the Linear Equations Concepts previously covered
14.3.2How to find the Equation of a Line?
14.3.3Finding the Equation of a Line that Passes through Two Known Points
14.3.4Finding the Equation of a Line from a given Graph

Whats next?

Enjoy the "Finding the Equation of a Line that Passes through Two Known Points" math lesson? People who liked the "Equation of Linear Graphs lesson found the following resources useful:

  1. Line Two Points Feedback. Helps other - Leave a rating for this line two points (see below)
  2. Linear Graphs Math tutorial: Equation of Linear Graphs. Read the Equation of Linear Graphs math tutorial and build your math knowledge of Linear Graphs
  3. Linear Graphs Revision Notes: Equation of Linear Graphs. Print the notes so you can revise the key points covered in the math tutorial for Equation of Linear Graphs
  4. Linear Graphs Practice Questions: Equation of Linear Graphs. Test and improve your knowledge of Equation of Linear Graphs with example questins and answers
  5. Check your calculations for Linear Graphs questions with our excellent Linear Graphs calculators which contain full equations and calculations clearly displayed line by line. See the Linear Graphs Calculators by iCalculator™ below.
  6. Continuing learning linear graphs - read our next math tutorial: Parallel, Perpendicular and Intersecting Graphs

Help others Learning Math just like you

Please provide a rating, it takes seconds and helps us to keep this resource free for all to use

[ 1 Votes ]

We hope you found this Math tutorial "Equation of Linear Graphs" useful. If you did it would be great if you could spare the time to rate this math tutorial (simply click on the number of stars that match your assessment of this math learning aide) and/or share on social media, this helps us identify popular tutorials and calculators and expand our free learning resources to support our users around the world have free access to expand their knowledge of math and other disciplines.

Linear Graphs Calculators by iCalculator™