Suppose there is a δ>0 such that f(x)=g(x) when 0<∣x−a∣<δ. Without loss of generality, let limx→af(x)=l. Choose any ϵ>0. By definition, there exists δ′>0 such that
0<∣x−a∣<δ′⟹∣f(x)−l∣<ϵ.Let δ′′=min(δ′,δ). We thus have
0<∣x−a∣<δ′′⟹∣f(x)−l∣<ϵand∣g(x)−l∣<ϵ.Hence,
x→alimf(x)=x→alimg(x)=l.