The
and
coordinates of points on a straight line are related through a calculation.

Remember that the first number is the
coordinate, the second is the
coordinate, that is:
.
Notice in the picture above:
- The points are plotted such that the
coordinates are going up in ones; - The
coordinates are going up in
s; - The
coordinate is equal to the
, times 4, plus 1.
Take the point
. Notice,
.
Take the point
. Notice,
.
This calculation works for all the coordinate pairs on the line.
We can capture this calculation with an equation
, which is written as:
![]()
Calculating 
To calculate an equation there are two steps:
Calculate 
We use the letter
to represent the number that multiplies
. We call it the slope because the multiplier determines how steep the line is.
In the example above, the
-coordinates increase by
, just like the four times table. That is the value
.
We can also calculate
with:
![]()
or the formula
![]()
Once we know the slope, we know that the equation of the line begins
![]()
2. Calculate the constant 
We complete the equation with a constant. There are different ways to calculate the constant. One way is to use the point that has
. This is the
-intercept. In the example above, the
intercept is
and so the equation above finishes with
.
Example: Determine the equation of the line that goes through the points ![]()

Use any two points to calculate
. Let’s use
and
.
![]()
That tells us that
and so our equation begins
.
The
intercept has coordinates
and so our equation finishes with ![]()
![]()
Check the equation with some other coordinate pairs:
Use point
: ![]()
Use point
:
.
Practice:
In this practice applet, the point
is provided, along with one other point.
Any Two Points
To find the equation of a line using any two points, we begin by calculating the slope with the formula
![]()
To calculate the constant
, substitute the
and
coordinates of one known point
and the slope
into the equation
![]()
Example: Find the equation of the line that goes through the points
,
, and
.

Use any two points:
and
.
First, calculate slope:
![]()
Second, calculate
using slope
, and any point. Let’s use
.
![Rendered by QuickLaTeX.com \begin{align*}y_1&=m\,x_1+b\\[10 pt]4&=-2(7)+b\\[10 pt]4&=-14+b\\[10 pt]18&=b\end{align}](https://tentotwelvemath.com/wp-content/ql-cache/quicklatex.com-84182be7524d0e867629437142adb95d_l3.png)
We now have
and
, therefore the equation of the line is
![]()
which could also be written as
![]()
just by changing the order of the terms.
Practice:
A more efficient formula
If we streamline the process of calculating
, we arrive at the formula
![]()
This is sometimes known as the ‘point/slope’ formula.
Using the same example as before, calculate the equation of the line that goes through the points
and ![]()
We need to calculate the slope
in the same way:
![]()
However, to calculate the equation we substitute
and choose any known point for the
. Let’s use
again:
![Rendered by QuickLaTeX.com \begin{align*}y-y_1&=m(x-x_1)\\[10 pt]y-4&=-2(x-7)\\[10 pt]y-4&=-2x+14\\[10 pt]y&=-2x+18\end{align}](https://tentotwelvemath.com/wp-content/ql-cache/quicklatex.com-9416d7e9b98ca1b8f83aac222b2d7722_l3.png)
Why it works
This formula
is derived as follows:
![Rendered by QuickLaTeX.com \begin{align*}y_1&=m\,x_1+b\\[10pt]y_1-m\,x_1&=b\end{align}](https://tentotwelvemath.com/wp-content/ql-cache/quicklatex.com-23fe1a6c06a82b047c9957e2c1fe3e03_l3.png)
Now substitute
in place of
in the formula
and rearrange:
![Rendered by QuickLaTeX.com \begin{align*}y&=mx+b\\[10 pt]y&=mx+y_1-m\,x_1\\[10 pt]y-y_1&=mx-mx_1\\[10 pt]y-y_1&=m(x-x_1)\quad\text{as required.}\end{align}](https://tentotwelvemath.com/wp-content/ql-cache/quicklatex.com-b0ed21dac21983cf0d62384ed5cc0aea_l3.png)
Use any method to calculate the equation given the coordinates of one point and the slope:
Printed practice:Grade 10 Point Slope