I have been reading Introduction to Algorithms by Cormen et al. and I'm reading the statement of the Master theorem starting on page 73. In case 3 there is also a regularity condition that needs to be satisfied to use the theorem:
... 3. If
$\qquad \displaystyle f(n) = \Omega(n^{\log_b a + \varepsilon})$
for some constant $\varepsilon > 0$ and if
$\qquad \displaystyle af(n/b) \leq cf(n)$ [this is the regularity condition]
for some constant $c < 1$ and for all sufficiently large $n$, then ..
Can someone tell me why the regularity condition is needed? How does the theorem fail if the condition is not satisfied?