OML Search

Equation Of A Line From Two Points On The Line

Related Topics:
More Lessons for Geometry
Math Worksheets



In this lesson, we will learn how to find the equation of a line when given two points on the line. We will also learn how to determine the equation of a vertical line or a horizontal line given two points on the line.

To find the equation of a line when given two points on the line, we first find the slope and then find the y-intercept.

The slope is the ratio of the change in the y-value over the change in the x-value. Given any two points on a line, you can calculate the slope of the line by using this formula:

slope formula

Example:

Given two points, P = (0, –1) and Q = (4,1), on the line, find the equation of the line.

Solution:

Step 1: Calculate the slope.

    slope = change in y / change in x= slope values

Step 2: Substitute m = , into the equation, y = mx + b, to get the equation

Step 3: Select one of the given points, for example (4, 1), and substitute the x and y values into the equation.

We, then, get that b = −1, which is the y-intercept.

Step 4: Subtitute b = −1 to get the equation.

y = x − 1




How to use the slope formula to calculate the slope of a linear equation given two points. How to find the equation of a line given two points on the line?

Equation of a Vertical Line

This video explains how to determine the equation of a vertical line given two points on the line.

Equation of a Horizontal Line

This video explains how to determine the equation of a horizontal line given two points on the line.

Try out our new and fun Fraction Concoction Game.

Add and subtract fractions to make exciting fraction concoctions following a recipe. There are four levels of difficulty: Easy, medium, hard and insane. Practice the basics of fraction addition and subtraction or challenge yourself with the insane level.

Fraction Concoction Game


OML Search


We welcome your feedback, comments and questions about this site or page. Please submit your feedback or enquiries via our Feedback page.