Given the two points
and
, we are going to use the slope formula,
, to find the slope of the line passing throughout our two points; then, we are going to replace the values in the point slope formula,
, and simplify to complete the equation of our line.
Let's check this out with an example:
suppose you have the points (1,5) and (3,8), so
,
,
, and
.
First, we are going to use the slope formula to find the slope of the line passing throughout our two points:



Now that we have the slope of our line, we can use the point slope formula to complete our line equation:



