Let $f$ be a continuous function defined on $\mathbb{R}$
- In case of $f(0)=-1$ Prove that there exists values $x>0$ with $f(x)<0$
- In case of $f(1)=1$ Prove that there exists values $0<x<1$ with $f(x)>0$
Indeed, I'm supposed to use the definition of continuity here
$f$ is continuous at x = a iff $$\forall \varepsilon > 0 \quad \exists \eta > 0 \quad \forall x \in I \quad \Big[|x - a| <\eta \Rightarrow|f(x) - f(a)|<\varepsilon\Big].$$
- To prove question $1$ it's suffice to take $a=0,\ \varepsilon= 1 \implies \exists \eta > 0 \ |x| <\eta \Rightarrow|f(x) - f(0)|<1 $ $|f(x)-f(0)|<1 \implies f(x) <f(0) + |f(x) - f(0)| < 0$
Then $f(x)<0$ and $\exists \eta > 0, \text{ such that } |x| <\eta$ here i'm stuck how can i say that $\exists \eta > 0, \text{ such that } |x| <\eta \implies x>0$ i can't see
- To prove question 2: it's suffice to take $a=1,\ \varepsilon= 1 \implies \exists \eta > 0 \ |x| <\eta \Rightarrow|f(x) - f(1)|<1 $ $|f(x)-f(1)|<1 \implies f(x)> f(1) - |f(x) - f(1)| > 0$
Then $f(x)>0$ and $\exists \eta > 0, \text{ such that } |x-1| <\eta$ here i'm stuck how can i say that $\exists \eta > 0, \text{ such that } |x-1| <\eta \implies 0<x<1$ i can't see
any help would be greatly appreciated