You probably learned about averages (or mean values) quite some time ago. When you have a finite number of numerical values, you add them together and divide by the number of values you have added. There is nothing preventing us from seeking the average of an infinite number of values (i.e. a function over a given interval). In fact, the formula is intuitive: we add the numbers using an integral and divide by the length of the interval.