From Two Points
Part of the Graphs & Systems section of Coddy's Algebra journey. Lesson 24 of 64.
To find the equation of a line through two points, first calculate the slope, then use point-slope form with either point. For the line through (1, 2) and (3, 8):
m = (8 - 2)/(3 - 1) = 3
y - 2 = 3(x - 1)
y = 3x - 1
You can use the other point instead, which gives y - 8 = 3(x - 3). Expanding and rearranging gives the same equation, y = 3x - 1, because both points lie on the same line.
For two points with different x-coordinates, calculate the slope, substitute either point into point-slope form, and simplify. If the points have the same x-coordinate, the line is vertical.
Challenge
MediumFind the equation of the line through (1, 3) and (4, 9).
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
All lessons in Graphs & Systems
1The Coordinate Plane
Two Numbers, One PointThe Four QuadrantsPoints on the AxesMirror PointsRecap: The Plane4Slope-Intercept Form
y = mx + bThe Starting HeightWrite the EquationSolve for yDraw From Any FormRecap: y = mx + b7Parallel & Perpendicular
Same Slope, Never MeetThe Perpendicular SlopeA Right-Angle LineRecap: Two Relations2From Rule to Line
A Rule Makes PointsThe Points Line UpOn the Line or Not?Between the DotsRecap: Rule to Line5Point-Slope Form
A Point and a SlopeFrom Two PointsFlat or Vertical ThroughDraw From a PointRecap: Point-Slope