In our curriculum we have various exercises on calculating the three elementary measures of central tendency - mean, median, and mode for grouped data. For the same, we have been taught the following formulae:
Mean: $$\frac{\sum_i f_ix_i}{\sum_i f_i}$$
Median: $$l + \frac{\frac{N}{2}- cf}{f} \cdot h$$ where $l$ is the lower limit, $f$ the frequency, and $h$ the width of the median class, $cf$ the cumulative frequency of the preceding class, and $N = \sum_i {f_i}$
Mode:
$$l + h\cdot \frac{f_1-f_0}{2f_1-f_0-f_2}$$ where $l$, $h$ are similarly defined but this time for the modal class, and $f_1$ being the frequency of the modal class, $f_0$ the frequency of the preceding class, and $f_2$ the frequency of the succeeding class.
Unfortunately, we have just been told to memorise these formulae and taught to find out the different arguments to put into the formulae according to the type of problem. This has left me curious about the intuition and proofs of these formulae.
Further, another book of mine mentions a complete different approach towards finding the mode using “variates”, but does not bother to explain other than some worked out examples.
Online resources are also unhelpful for all I have tried to find.
Hence any explanation on these formulae is appreciated. Any alternative and perhaps more intuitive methods for finding these values are also welcome.