Gradient

If A(x1,y1) and points B(x2, y2) are points in the plane, x2x1 ≠ 0, the gradient of the line segment (interval) AB = = .

The gradient of a line is the gradient of any line segment (interval) within the line.