Suppose that , now let setting we obtain some such that for any we have that note that we have to find an therefore note that for any we have as we know that , therefore take so then we have that
Note that the above is not an if and only if as on the domain satisfies the characterization, but does not satisfy the right hand limit as it always dips back down to zero infinitely often as we move toward zero.
Without loss of generality assume that has a local maximum at , we want to show that the limit exists and is , or doesn't exist.
Given a limit it either exists or it doesn't, assuming this limit exists, we need to show that it equals zero. So let's assume that the limit exists.
Since it exists the we can consider , in this case , since we know that has a local maximum at then there exists some such that for all , if then