Average Rate of Change Calculator

Find the slope of the secant line of f between two values of x.

A polynomial in x, such as x^2 - 3x or x^3 - 2x.

The start of the interval.

The end of the interval.

Try

Result

You enteredf(x)=3x+1,  [−1,5]f\left(x\right) = 3x + 1, \; \left[-1, 5\right]

3\displaystyle 3
Show the work
  1. Average rate of change

    The average rate of change is the slope of the straight line through the points at x=ax = a and x=bx = b on the graph of ff: the change in ff divided by the change in xx. Here a=−1a = -1 and b=5b = 5.

    Using f(b)−f(a)b−a\frac{f\left(b\right) - f\left(a\right)}{b - a}

    f(5)−f(−1)5−(−1)\frac{f\left(5\right) - f\left(-1\right)}{5 - \left(-1\right)}
  2. Value of f at a

    Substitute x=−1x = -1 into f(x)=3x+1f\left(x\right) = 3x + 1 and work out the value.

    f(−1)=3×(−1)+1=−2\begin{aligned} f\left(-1\right) &= 3 \times \left(-1\right) + 1 \\ &= -2 \end{aligned}
  3. Value of f at b

    Substitute x=5x = 5 in the same way.

    f(5)=3×5+1=16\begin{aligned} f\left(5\right) &= 3 \times 5 + 1 \\ &= 16 \end{aligned}
  4. Change in f over change in x

    Subtract the two values of ff for the top, subtract the two values of xx for the bottom, and divide.

    16−(−2)5−(−1)=186=3\begin{aligned} \frac{16 - \left(-2\right)}{5 - \left(-1\right)} &= \frac{18}{6} \\ &= 3 \end{aligned}
  5. Result

    So the average rate of change of ff from x=−1x = -1 to x=5x = 5 is 33.

Worked examples