Perhaps you correctly recognized that there are two hills in the interval , but thought that there was a single point on each hill where
, but this is not so. Notice that on the hill the value of
goes up from 0 to 1, and then down from 1 to 0.