Prove that if f(x) has a least upper bound M then for every ϵ>0 there exists an ˉx in the domain of f(x) such that |f(ˉx)M|<ϵ.

Problem: 

Prove that if f(x) has a least upper bound M then for every ϵ>0 there exists an ˉx in the domain of f(x) such that |f(ˉx)M|<ϵ.

Answer: