For N=0
- Assume f is cont on [a,b] and f(a)<0<f(b)
-
We need to show that there is a set of (a,a+δ) such that, ∀x∈(a,a+δ),f(x)<0
or in other words, that S={x∈(a+δ)∣f(x)<0} is non-empty
- Let δ>0 be arbitrary
- since f is continuous on [a,b], then f is continuous at a
- Thus, we can say that * : ∀ϵ>0,∃δ>0 s.t ∣x−a∣<δ⟹∣f(x)−f(a)∣<ϵ
- Invoke * with −f(a) as −f(a)>0
- Thus, ∃δ>0 s.t ∣x−c∣<δ⟹∣f(x)−f(a)∣<−f(a)
- This means ∃δ>0 s.t ∣x−a∣<δ⇒f(x)<0
- So on, ∃δ,(a−δ)∪(a+δ), f(x)<0
- So, on ∃δ,(a+δ),f(x)<0
- This means S={x∈(a+δ)∣f(x)<0} set is non-empty
- Since S is non-empty, by completenes axiom, S has a supremum s
- Note that s∈(a,b) because s:
- f must be continuous at s
- and a<0 which would mean if s=a, then s∈S
- and b>0 which would mean s is not the least upper bound
- Then, s=0 as:
- ∀x∈S,s≥x which means x≥0
- ∀x that is an upper bound on s, meaning it is on interval (a+δ,b), s<x so this means x≤0
- Thus, s=0
- as this supremum that = 0 always exists, ∃x∈(a,b) s.t f(x)=0
For Arbitrary N
- Suppose f is continuous on [a,b]
- Let N be arbitrary number that follows f(a)<N<f(b)
- Let g(x) = f(x)−N
- Note that g(x) is continuous on [a,b]
- Also note that g(a)=f(a)−N and as f(a)<N⟹f(a)−N<0 thus g(a)<0
- Also note that g(b)=f(b)−N and as f(b)>N⟹f(b)−N>0 thus g(b)>0
- Then, by IVT on n=0, ∃x∈(a,b) s.t g(x)=0
- Then, ∃x∈(a,b) s,t 0=f(x)−N
- ∃x∈(a,b) N=f(x)
- Therefore ∀N∈(f(a),f(b)),∃x∈(a,b) s.t f(x)=N
□