a maximal interval is the largest interval you can fit while the function is finite while the function is finite.