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