If $f$ continuous at $x_0$ and $f(x_0)>0$
then how to show there exist $\epsilon>0$ and $\delta>0$ such that $f(x)>0$ for $|x-x_0|<\delta$.
I don't know to start proving and then i use definition continuous function at $x_0$ is
$\forall\epsilon>0, \, \exists\delta>0 \, \text{such that if }|x-x_0|<\delta\implies |f(x)-f(x_0)|<\epsilon$
$f$ continuos at $x_0$, and $f(x_0) >0$.
For every $\epsilon >0$ there is a $\delta >0$ such that
$|x-x_0| \lt \delta$ implies
$|f(x)-f(x_0)| \lt \epsilon.$
Since $|f(x)-f(x_0)| \lt \epsilon$, we have
$-\epsilon \lt f(x)-f(x_0) \lt \epsilon$, or
$f(x_0) -\epsilon \lt f(x)$.
For which choice of $\epsilon$ is the LHS positive?
Recall: $f(x_0) >0.$