- f is continuous on a closed interval
- β΄ there is an absolute max or min on that interval
Proof
- Suppose f is continuous on closed interval [a,b]
- by Boundedness Theorem, f is bounded on [a,b]
- by Completeness Axiom, f has a supremum and infimum
- Let sup(range(f))=M
- Then, βf(x)βrange(f),f(x)β€M
- Let inf(range(f))m
- Then, βf(x)βrange(f),f(x)β₯m
- Suppose for sake of contradiction that βxβ[a,b],f(x)ξ =M
- Then, this means that βf(x)βrange(f),f(x)<M
- Then Mβf(x)>0
- This means g(x)=Mβf(x)1β>0
- Note that g(x) is continuous as f(x) is cont by Continuity Theorem
- Then g(x) is bounded by Boundedness Theorem
- Then, there exists a upper bound K>0 and Kβ₯g(x)
- This means Kβ₯Mβf(x)1β
- This means K1ββ₯Mβf(x)
- This means f(x)β€Mβk1β
- This contradicts that M is the least upper bound
- Thus, βxβ[a,b],f(x)=M
- Suppose for sake of contradiciton that βxβ[a,b],f(x)ξ =m
- Then, this means that βf(x)βrange(f),f(x)>M
- Then Mβf(x)<0
- This means g(x)=mβf(x)1β<0
- Note that g(x) is continuous as f(x) is cont by Continuity Theorem
- Then g(x) is bounded by Boundedness Theorem
- Then, there exists a upper bound K>0 and Kβ€g(x)
- This means Kβ€mβf(x)1β
- This means K1ββ€mβf(x)
- This means f(x)β₯mβk1β
- This contradicts that m is the greatest lower bound
- Thus, βxβ[a,b],f(x)=m
- Thus, there exists M and m that are attainable by xβ[a,b] so f(x) is guaranteed a local minima/maxima