For a straight line, the slope (m) is constant and represented by the difference in the vertical direction (y) divided by the difference in the horizontal direction (x): | For a straight line, the slope (m) is constant and represented by the difference in the vertical direction (y) divided by the difference in the horizontal direction (x): |