Given two distinct points in the Cartesian plane, the learner determines the line’s slope as the change in divided by the change in , then uses that relationship to write and interpret an equation in point-slope, slope-intercept, or an equivalent form. This includes recognizing horizontal lines as having zero slope and vertical lines as having undefined slope, and checking that both points satisfy the equation; parametric, vector, three-dimensional, and other advanced line representations are not included.
On this page:
To write the equation of a line through two points:
Write the equation of the line through and .
Step 1: Find the slope.
Let and .
The slope is , meaning increases by for every increase of in .
Step 2: Use point-slope form.
Use the point :
This is a correct equation of the line.
Step 3: Rewrite in slope-intercept form.
Distribute and simplify:
So the equation is
Step 4: Check both points.
For :
For :
Both points satisfy the equation, so the equation is correct.
Remember: A horizontal line has slope and can be written as . A vertical line has an undefined slope and can be written as .
Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill
Earned ?
Print this free 'Write the equation of a line through two points' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.
These adaptive units introduce, teach, or reinforce this skill (Write the equation of a line through two points) through scaffolded problems that grow in difficulty as concepts are understood.