Ok, so I know that the mean value of a function, $f(x)$, on the interval $[a,b]$ is given by (or defined by?) $$\frac{1}{b-a}\int_a^bf(x)~dx$$ but I have $2$ basic questions about this:
$1$: From a purely mathematical point of view, does this have any practical use? Does it give us any extra weapon to add to our mathematical arsenal?
$2$: How excatly can I interpret this as a mean value? I've seen the geometrical interpretation (looking at the area under the graph within the given interval), but I still don't understand how it links to a mean value. For a finite set of values I divide the sum of the values by however many values I have to obtain the mean, but in this case there are infinitely many values, so how is this a mean value?
Thanks for your help.
Let $f:[a,b] \to \Bbb R$ be integrable. Consider the equidistant partition of $[a,b]$ into $n$ subintervals: $$\mathcal{P}_n: \quad a < a + \frac{b-a}{n} < a + 2\frac{(b-a)}{n} < \cdots < a + (n-1)\frac{(b-a)}{n} < b.$$The length of every subinterval is $(b-a)/n$. Then by definition of integral, we have $$\lim_{n \to +\infty} \sum_{k=1}^n f\left(a+k\frac{(b-a)}{n}\right) \frac{b-a}{n} = \int_a^b f(x)\,{\rm d}x,$$ and hence $$\lim_{n\to +\infty} \frac{1}{n} \sum_{k=1}^n f\left(a+k\frac{(b-a)}{n}\right) = \frac{1}{b-a} \int_a^bf(x)\,{\rm d}x.$$The thing inside the limit is the arithmethic mean of the values of $f$ on right-endpoints of the intervals in the partition. And the integral is a limit of means, i.e., a "continuous" mean of $f$ on the entire interval $[a,b]$. Of course, you can do the same with left-endpoints.
Such means are very frequent in Measure Theory, where one replaces the Riemann integral by a Lebesgue integral, and so on. For instance, Lebesgue's differentiation theorem gives the most general statement of what happens when, say, you have intervals of the form $[x_0,x_0+h]$ and want to see what happens with $$\lim_{h \to 0} \frac{1}{h} \int_{x_0}^{x_0+h} f(x)\,{\rm d}x.$$The above is the mean of $f$ on the interval $[x_0,x_0+h]$ and, under suitable assumptions, this limit equals $f(x_0)$, as one might expect.
One tool for proving theorems of this type is the so-called Hardy-Littlewood maximal operator, which is defined in terms of means. And so on and so on.
Bottom line: keep studying analysis and you will see this appear everywhere.