1. The function \( f(x) \) is a polynomial of degree 101, with roots at \( x = 0, 1, 2, \dots, 100 \). These roots divide the real line into 100 intervals.
2. Between each pair of consecutive roots, the polynomial changes sign. This implies that there are turning points (local extrema) in each interval.
3. The total number of turning points of \( f(x) \) is given by the formula:
\[ \text{Number of turning points} = \text{Degree of the polynomial} - 1 = 101 - 1 = 100. \]
4. Turning points alternate between local maxima and local minima:
5. Since the first and every alternate turning point is a local maximum, the total number of local maxima is:
\[ \text{Total turning points} + 1 \div 2 = \frac{100 + 1}{2} = 50. \]
6. The remaining 49 turning points are local minima.