Average Value of a Function

Author: John J Weber III, PhD Corresponding Textbook Sections:

Expected Educational Results

Bloom’s Taxonomy

A modern version of Bloom’s Taxonomy is included here to recognize various different levels of understanding and to encourage you to work towards higher-order understanding (those at the top of the pyramid). All Objectives, Investigations, Activities, etc. are color-coded with the level of understanding.

Bloom’s Taxonomy for different levels of understanding
Figure 1.1: Bloom's Taxonomy

Mean Value Theorem [MVT] for Integrals

Theorem: Mean Value Theorem for Integrals

If f(x) is continuous on [a,b], then there exists a number c in [a,b] such that

f(c)=fave=1baabf(x)dx

that is, abf(x)dx=(ba)f(c)

Procedure: How to Use MVT for Integrals

  1. Verify f(x) is continuous on [a,b];
  2. Find fave;
  3. Set f(c)=fave;
  4. Solve for c;
  5. Identify which value(s) of c are in the interval [a,b].

Example 02: Find an exact value c such that f(c) is equal to average value of f(x)=x2+3x+6 on [2,2].

Solution 02:

  1. The polynomial, f(x), is continuous on (,). So, f(x) is continuous on [2,2].

  2. From Example 01 in CPT_13a_Average_Value.html, we calculated fave=223.

  3. By MVT for Integrals, f(c)=setfave

    • By algebra, f(c)=c2+3c+6
    • So, c2+3c+6=set223
  4. Use algebra (or Mathematica [see below]) to solve for c:

    • c2+3c+6=223
    • 3c2+9c4=0
    • c=9±924(3)(4)2(3)c=9±1296
  5. 91296[2,2]. So, c=9+1296[2,2].

Check Your Work

Use Technology to Use Technology to Solve for c in MVT

NOTE: The use of technology in this activity is to algebraically solve for a variable. On all Assessments, you may solve for c without showing any work.

Mathematica

Warnings:

  1. Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: http://www.jjw3.com/TECH_Common_Functions.pdf.

  2. Mathematica requires two == for the equals sign in an equation.

  3. You may need parens, ( and ), to group multiple terms in the numerator and denominator.

  4. Solve[ ] has at least two arguments:

    1. The equation to be solved;
    2. The variable, i.e., c, to be solved for;
    3. The argument Reals to force Mathematica to return only real-valued results.
  5. Mathematica may return complex solutions; thus, either

    1. Identify a complex solution (the result includes the imaginary unit, i), or
    2. Use the argument Reals.
  6. For help on using the Solve[ ] function:

    1. In Mathematica, execute the code: ?Solve
    2. Click on near the bottom-left of output
    3. Click on local
    4. Read how to use the Solve[ ] function – you will be able to copy-paste code.
  7. Mathematica may return a solution to f(c)=favg that is not in [a,b]; .these solutions should not be included in your answer.

  8. Remember, correct Mathematica code will be all black except for variables.

  9. To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.

Consider the embedded DESMOS graph below which diagrams the use of the Mean Value Theorem in Example 02:

The key aspects of the embedded DESMOS graph are:

  1. The area under f(x)=x2+3x+6 on [2,2] is shown in red.
  2. c=9+1296, represented by green vertical line is between a=2 and b=2.
  3. The green vertical line [c] and the blue horizontal line [fave] intersect on the red curve [f(x)=x2+3x+6]. In other words, f(c)=fave.
  4. The horizontal side of the blue rectangle is from x=2 to x=2.
  5. The width of the blue rectangle is ba=2(2)=4.
  6. The height of the blue rectangle is fave=223 shown by the blue horizontal line.
  7. The area of the blue rectangle is A=fave(ba)=(223)4=883.
  8. The red shaded area [under f(x), i.e., abf(x)dx] is equal to blue shaded area [A=(fave)(ba)]; In other words, abf(x)dx=(fave)(ba)fave=1baabf(x)dx.

Example 03: Find an approximate value c [to 4 decimal places] such that f(c) is equal to average value of f(x)=sin2(x) on [0,1].

Solution 03:

  1. The trigonometric function, f(x), is continuous on (,). So, f(x) is continuous on [0,1].

  2. fave=11001sin2(x)dx=10112(1cos(2x))dx=12(xsin(2x)2)01 fave=12sin(2)4

  3. By MVT for Integrals, f(c)=setfave

    • By algebra, f(c)=sin2(c)
    • So, sin2(c)=set12sin(2)4
  4. Use algebra and trigonometry (and Mathematica or DESMOS) to solve for c:

    • sin2(c)=12sin(2)4
    • sin(c)=±12sin(2)4
    • c=sin1(±12sin(2)4)±0.5494
  5. 0.5494[0,1]. So, c0.5494.

Investigation 02

Use the MVT for Integrals to find an exact value c such that f(c)=faverage.

  1. y=1x on [1,4]
  2. y=sin(2x) on [0,π4]
  3. y=2x on [0,2]
  4. y=(x3)2 on [2,5]
  5. y=xcos(3x) on [0,2π]
  6. y=ln(x) on [1,10]
  7. y=11+x2 on [1,1]
  8. y=tan1(x) on [0,5]

Homework

At this time, you should be able to complete the following assignments:

CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License [http://creativecommons.org/licenses/by-nc-sa/4.0/].

Created: Thursday, 8 October 2020 7:40 EDT Last Modified: Monday, 04 July 2022 - 08:56 (EDT)