If f is not continuous then there exist ϵ>0 such that for any δ>0, must exist points xk,yk such that ∣xk−yk∣<2kδ but ∣f(xk)−f(yk)∣>ϵ for each k>0. Now the sequence is bounded by the interval, hence by Bolzano-Weirstrass a subsequence of xk which converges. For simplicity let us call this sequence also as xk. Now let xk→x. Then we claim yk→x. Let ϵ′>0 be given. Then there exists k1,N>0, such that 2k1δ<2ϵ′ and ∣xk−x∣<ϵ′ ∀ k≥N. We take k=max{k1,N}.
By triangle inequality ∣yk−x∣≤∣yk−xk∣+∣xk−x∣<2k1δ+2ϵ′≤2kδ+2ϵ′<2ϵ′+2ϵ′=ϵ′.
Now f being continuous, f(yk)→f(x). Also, f(xk)→f(x). So given ϵ>0 there exist N1,N2 such that for all k>N1,N2 ,∣f(xk)−f(x)∣<2ϵ,∣f(yk)−f(x)∣<2ϵ. Hence ∣f(xk)−f(yk)∣≤∣f(xk)−f(x)∣+∣f(yk)−f(x)∣ ≤ϵ contradicting ∣f(xk)−f(yk)∣>ϵ.
Comments