(called slope-intercept form), where m and b are realconstants and x is a real variable. The constant m is often called the slope while b is the y-intercept, which gives the point of intersection between the graph of the function and the y-axis. Changing m makes the line steeper or shallower, while changing b moves the line up or down.
Three geometric linear functions — the red and blue ones have the same slope (m), while the red and green ones have the same y-intercept (b).
Examples of functions whose graph is a line include the following:
f1(x) = 2x + 1
f2(x) = x / 2 + 1
f3(x) = x / 2 − 1
The graphs of these are shown in the image at right.