Which of the following represents the average value of f\left(x\right) on the interval \left[a,b\right]?
- \frac{f\left(b\right)-f\left(a\right)}{b-a}
- \frac{1}{b-a}\int_a^bf\left(x\right)dx
- f\left(\frac{a+b}{2}\right)
- \frac{f\left(a\right)+f\left(b\right)}{2}