One way to determine if points are is to calculate and compare the of the line between points in the data set. We can do this by using the . Note that it is enough to check each point with just one other point in the data set.
Rate of change between...
|
x2−x1y2−y1
|
m
|
(0,1.2) and (1,1.4)
|
1−01.4−1.2
|
0.2
|
(1,1.4) and (2,1.6)
|
2−11.6−1.4
|
0.2
|
(2,1.6) and (4,2)
|
4−22−1.6
|
0.2
|
We see that the slope between each pair of points is
m=0.2. Since the rate of change is constant, we know that the points are collinear. To write an equation for this line, we will use the .
y−y1=m(x−x1)
In this form,
m is the slope of the line and the point
(x1,y1) lies on the line. Let's substitute the slope we calculated above and one of the given points,
(4,2), into this equation.
y−2=0.2(x−4)
Note that
any point that lies on the same line as the given points would create a valid equation for this line. To write a
unique linear equation that represents
y as a function of
x, we will rewrite this point-slope form equation in .
y=mx+b
In this form,
m represents the slope of the line and
b represents the
y-intercept.
y−2=0.2(x−4)
y−2=0.2x−0.8
y=0.2x+1.2