Through two distinct points there is exactly one straight line. Here we find the line through and .
First we find the slope, which measures how much increases while increases by . It is the difference in divided by the difference in .
Next we build the equation from the slope and the fact that the line passes through . Writing the line as and substituting gives , so . The line is therefore .
Let us check with the other point : , so the line does pass through .
In general, the line through two points and has slope . Calling this , the line through with slope can be written as follows.
This routine — get the slope from two points, then build the equation through one of them — is the foundation for the intersection problems too. The large dots on the graph are the two points and .