a) Suppose that
x→a+limf(x)=f(a)>0.Let ε=f(a)>0. By definition, there exists δ>0 such that for all x,
0≤x−a<δ⟹∣f(x)−f(a)∣<f(a)⟹−f(a)<f(x)−f(a)<f(a)⟹0<f(x)<2f(a).The proof for the case where f(a)<0 is similar except that one can pick ε=−f(a)>0.
b) Proof is similar to that in a) except that the hypothesis is 0≤b−x<δ for some δ.