I want to find out the spread of values that a particular function can take over an interval. How do I calculate the variance of the values of the function over that interval? For example, if I want to calculate the mean value of the function over an interval, I find out the area under the curve and divide it by the width of the interval. I want to know if there is something similar for variance.
Asked
Active
Viewed 166 times
1 Answers
0
You have described the mean as $$\frac1{b-a}\int_a^b f(x)\, dx$$ Let's call that value $m_f$
Then you could describe the variance as $$\frac1{b-a}\int_a^b \left(f(x)-m_f\right)^2\, dx$$ which is equal to $$\left(\frac1{b-a}\int_a^b f(x)^2\, dx\right) - m_f^2$$
Henry
- 157,058
-
Thank you. This confirms what I thought originally to be right. May be I should have included that in the question. – Mouli Modak Jan 08 '20 at 17:13