How Do You Calculate the Average Value of a Function Using Integrals?

  • Context: Undergrad 
  • Thread starter Thread starter Flatland
  • Start date Start date
  • Tags Tags
    Figure Integral
Click For Summary

Discussion Overview

The discussion revolves around the method for calculating the average value of a function using integrals, specifically focusing on the function f(x) = 4 - x² over the interval [-2, 2]. Participants explore the calculation process and address discrepancies in results.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions the method for finding the average value of the function, expressing confusion over obtaining a negative result (-11/3) when the expected answer is 8/3.
  • Another participant points out that since the function is nonnegative on the interval [-2, 2], the average value cannot be negative.
  • A participant explains the concept of average value in terms of replacing the function with a constant that has the same area under the curve, suggesting this makes the calculation easier.
  • A detailed calculation is provided by a participant, outlining the steps to find the average value, ultimately arriving at the expected result of 8/3.
  • One participant later indicates they resolved their confusion regarding their earlier calculation error.

Areas of Agreement / Disagreement

There is no consensus on the initial confusion regarding the negative result, but participants generally agree on the method for calculating the average value of the function. The discussion includes both agreement on the correct answer and a challenge to the initial incorrect calculation.

Contextual Notes

Some participants' calculations and assumptions about integration methods are not fully detailed, leading to potential misunderstandings about the process. The discussion does not resolve all uncertainties regarding the initial negative result.

Flatland
Messages
218
Reaction score
11
what is the proper method for finding the average of an integral? For example, the question I'm trying to answer is this:

"Find the average value of the function f(x) = 4 - x² over the interval [-2, 2]."

Now the answer is suppost to be 8/3. But I keep getting an answer of -11/3 no matter what I do. WTF??
 
Physics news on Phys.org
f is nonnegative on the interval [-2,2], so how can the average possibly be negative?
 
Well, what did you do to get -11/3?

The function you are given here is \geq 0 in [-2,2]. This makes things quite a lot easier.
By integration you can find out the area under the curve. When you say you'd like to know the average value, it means this: replace the function by a constant one that has the same area under its curve (this time it must be a rectangle).
I hope it's clear now.
Best regards

Cliowa
 
Flatland said:
what is the proper method for finding the average of an integral? For example, the question I'm trying to answer is this:

"Find the average value of the function f(x) = 4 - x² over the interval [-2, 2]."

Now the answer is suppost to be 8/3. But I keep getting an answer of -11/3 no matter what I do. WTF??

How did you get -11/3? Are you sure you integrated the function correctly?
 
Greetings Flatland:

For any continuous function, f(x), on the interval [a,b], the average value of f on that interval is given by:

f_ave = 1/(b-a) * Integral f(x) dx ; [a,b]. So, in the present case,

f_ave = 1/(2+2) * Integral (4 - x^2) dx; [-2,2]
= (1/4)(4x - (1/3) x^3) = (x/12)(12 - x^2); [-2,2]
= (1/6)(12-4) - (-1/6)(12-4)
= (1/6)(8+8)
= 8/3

I hope this helps.

Regards,

Rich B.
 
nvm I figured out what I did wrong thx
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K