A linear function has the form of f(x) = ax + b and its graph is a straight line. Since a linear function is a continuous straight line its domain and range would consist of all real numbers. Graphing a linear function can be accomplished by first finding the x- and y-intercepts.