In optimization, f'(x) = 0 solved via IVT when f' changes sign