# You have to provide counterexamples ( examples to disprove the statement ) to the following incorrect mathematical statements:

If a function $f(x)$ is continuous on the interval $(a, b)$ and has a local maximum at the point $c \in (a, b)$, then in a sufficiently neighborhood of the point $x = c$, the function is increasing for all $x < c$ and decreasing for all $x > c$.

-
c element of (a,b) not c 2 (a,b) – user57175 Jan 13 '13 at 22:32
Surely you meant to write that you have to provide counterexamples. In your questions there's lacking some self work, self ideas and effort, and even some "please". – DonAntonio Jan 13 '13 at 22:36
very sory,, i only copy and paste.. very very sorry because i didn`t know how to answerd it – user57175 Jan 13 '13 at 22:39
The function $$f(x)=\begin{cases} -\left\lvert x\sin\left(\dfrac{1}{x}\right)\right\rvert, \ x\neq0 \\ \ \ \ \ \ \ 0 \ \ \ \ \ \ \ \ \ \ \ \ \,, \ x=0 \end{cases}$$ is continuous with local max at $x=0$. Is not increasing on $(-\epsilon,0)$ or decreasing on $(0,\epsilon)$ for any $\epsilon>0$.