Euler Hall — free maths guides

Identify a linear function f(x) = ax + b and its slope

A plain-language explanation of linear functions and their slope. The idea in plain words, a worked example, and a check with the answers shown — part of the free Precalculus guides.

The coefficient is the slope, the constant is the start

A linear function has the form

f(x)=ax+b,f(x) = ax + b,

where:

  • - *aa is the slope** — how much the output changes per unit of input;
  • - *bb is the vertical intercept** — the output when the input is zero.

The two roles are worth naming separately, because every question about a linear model asks about one or the other and swaps are the commonest error.

A formula is linear exactly when the variable appears only to the first power. A squared term, an absolute value, a reciprocal or a root all bend the graph.

Why linearity means a constant rate

The change over a step ofhh is

f(x+h)−f(x)=a(x+h)+b−(ax+b)=ah.f(x + h) - f(x) = a(x + h) + b - (ax + b) = ah.

The constant term cancels and what remains is proportional to the step, with the coefficientaa. Dividing byhh givesaa — the same number on every interval.

So "linear" and "constant average rate of change" are the same property, stated two ways.

Worked example: reading both numbers off a line

A line passes through(0,3)(0, 3) and(2,11)(2, 11).

The intercept. Atx=0x = 0 the height is 3, sob=3b = 3.

The slope.11−32−0=4\dfrac{11 - 3}{2 - 0} = 4.

The rule.f(x)=4x+3f(x) = 4x + 3.

Check at the second point.4(2)+3=114(2) + 3 = 11, which is where the line passes. The rule and the two points agree, which is what fitting a line means.

Check it is linear. The two steps of input produced equal steps of output, so one slope fits everywhere — no bend anywhere.

By the end you can
  • Read a line's slope
  • Read its vertical intercept
  • Pick the linear function among several
  • Decide whether a table is linear
Check yourself
  1. 1. Slope and intercept off(x)=−2x+9f(x) = -2x + 9.
  2. 2. Isf(x)=3x2+1f(x) = 3x^2 + 1 linear?
  3. 3. A line through(0,−4)(0, -4) and(3,5)(3, 5): give its rule.
Answers
  1. 1. Slope−2-2, intercept99.
  2. 2. No — the square bends it.
  3. 3.f(x)=3x−4f(x) = 3x - 4.
Work out where to start — free, no accountAnswer six real questions — free, no account