Enter an equation or problem
Camera input is not recognized!

What is a linear function?

What is a linear function?

Learn more with Tiger

A linear function changes by the same amount for every equal step in the input, so its graph is a straight line. It is usually written y = mx + b.

Key rule

In y = mx + b the number m is the slope, the change in y for a one-unit change in x, and b is the y-intercept, the output when x is zero. A positive slope rises left to right, a negative slope falls, and a slope of zero gives a horizontal line. The slope between two points is the change in y divided by the change in x.

Worked example

For y = 2x + 3 the line crosses the y-axis at 3 and climbs 2 for every 1 to the right, so x = 4 gives y = 11. Through (1, 5) and (3, 11) the slope is (11 − 5)/(3 − 1) = 3.

Check: a vertical line is not a linear function. Its slope is undefined and it fails the vertical line test.