Average value of a function formula

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
tandoorichicken
Messages
245
Reaction score
0
I forgot the formula for the average value of a function.
Is that [tex]f(b) - f(a) = f'(c)(b-a)[/tex] or am I thinking of something else?
 
Physics news on Phys.org
Try:

[tex]\frac{\int_a^b f(x)\,dx}{b-a}}[/tex]

Just remember that you're turning the area under the curve into a rectangle of base (b - a). The height is the average value.

cookiemonster
 
okay, the actual problem now becomes
[tex]\frac{\int_{-1}^{1} e^{-x^2} \,dx}{-2}[/tex]
any takers?
 
You've got an extra negative in the denominator.

The expression can be simplified at most to:

[tex]\int_0^1 e^{-x^2}\,dx[/tex]

Which must be integrated numerically. Mathematica gives:

[tex]\int_0^1 e^{-x^2}\,dx = .746824[/tex]

cookiemonster