Average Value of a Function Calculator

Type a function and an interval to find its average value.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

A number such as 0 or 1/2, pi, e, inf or -inf.

A number larger than the lower limit, pi, e, inf or -inf.

Try

Result

You enteredfavg=13∫03x2 dxf_{\text{avg}} = \frac{1}{3}\int_{0}^{3} x^{2}\,dx

favg=3\displaystyle f_{\text{avg}} = 3
Show the work
  1. Average value of a function

    The average of ff over an interval is the area under it divided by the width of the interval: the height of the rectangle with the same area.

    Using 1b−a∫abf(x) dx\frac{1}{b - a}\int_a^b f(x)\,dx

    favg=13−0∫03x2 dx=13∫03x2 dx\begin{aligned} f_{\text{avg}} &= \frac{1}{3 - 0}\int_{0}^{3} x^{2}\,dx \\ &= \frac{1}{3}\int_{0}^{3} x^{2}\,dx \end{aligned}
  2. Antiderivative

    An antiderivative of the integrand is found (see the integral calculator for the working of this step).

    F(x)=x33F(x) = \frac{x^{3}}{3}
  3. Fundamental theorem of calculus

    Evaluate the antiderivative at the two limits and subtract.

    Using ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)

    [x33]03=9−(0)=9\begin{aligned} \left[\frac{x^{3}}{3}\right]_{0}^{3} &= 9 - \left(0\right) \\ &= 9 \end{aligned}
  4. Divide by the width

    Divide the integral by 33.

    favg=93=3\begin{aligned} f_{\text{avg}} &= \frac{9}{3} \\ &= 3 \end{aligned}
  5. Result

    The average value of the function on the interval.

    favg=3f_{\text{avg}} = 3
03
The area between y = x^2 and the x-axis from x = 0 to x = 3

Worked examples