Let $f$ be continuous in $[a,b]$ and $f(a)<0,\ f(b)>0$.
Then by the intermediate value theorem, $\exists c\in(a,b)$ such that $f(c)=0$.
I was wondering if it is also true that there exists $d\in(a,b)$ such that $f(d)=0$ and $f$ changes sign of the function at $d$. (there is some $>0$ such that $()<0$ when $\in(−,)$ and that $()>0$ when $\in(,+)$ It seems clear but I am not sure how to prove if it is true.

