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

4\displaystyle 4
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=3b = 3.

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

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

    Substitute x=1x = 1 into f(x)=x2f\left(x\right) = x^{2} and work out the value.

    f(1)=12=1\begin{aligned} f\left(1\right) &= 1^{2} \\ &= 1 \end{aligned}
  3. Value of f at b

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

    f(3)=32=9\begin{aligned} f\left(3\right) &= 3^{2} \\ &= 9 \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.

    9−13−1=82=4\begin{aligned} \frac{9 - 1}{3 - 1} &= \frac{8}{2} \\ &= 4 \end{aligned}
  5. Result

    So the average rate of change of ff from x=1x = 1 to x=3x = 3 is 44.

Worked examples