You are on page 1of 5

Finding the Equation of a Line

given Two points, and Graphing


a Line given its Equation

Crisselle Joy V. Ondos


BSED-Mathematics IV
How to Find the Equation of a Line from
Two Points
 Steps to find the equation of a line from two
points:
1. Find the slope using the slope formula
 Slope = m = rise/run = y2−y1/x2−x1
 Point 1 or P1=(x1,y1)
 Point 2 or P2=(x2,y2)
2. Use the slope and one of the points to solve for the
y-intercept (b).
 One of your points can replace the x and y, and the
slope you just calculated replaces the m of your
equation (y = mx + b). Then b is the only variable left.
Use the tools you know for solving for a variable to
solve for b.
3. Once you know the value for m and the value for b,
you can plug these into the slope-intercept form of a
line (y = mx + b) to get the equation for the line.
4. Graph

You might also like