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)=x3−2x,  [0,2]f\left(x\right) = x^{3} - 2x, \; \left[0, 2\right]

2\displaystyle 2
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=0a = 0 and b=2b = 2.

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

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

    Substitute x=0x = 0 into f(x)=x3−2xf\left(x\right) = x^{3} - 2x and work out the value.

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

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

    f(2)=23−2×2=4\begin{aligned} f\left(2\right) &= 2^{3} - 2 \times 2 \\ &= 4 \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.

    4−02−0=42=2\begin{aligned} \frac{4 - 0}{2 - 0} &= \frac{4}{2} \\ &= 2 \end{aligned}
  5. Result

    So the average rate of change of ff from x=0x = 0 to x=2x = 2 is 22.

Worked examples