One-sided limits at x=0 by examining the sign of −1/x as x→0±.
Solution
Step 1 — Continuity for x=0.
For x=0, the exponent −1/x is finite and non-zero, so e−1/x=1, making the denominator 1−e−1/x=0. The function is a composition of elementary continuous functions, hence continuous at every x=0.
Step 2 — One-sided limits at x=0.
As x→0+: −1/x→−∞, so e−1/x→0, giving f(x)→1−01=1.
As x→0−: −1/x→+∞, so e−1/x→+∞, giving f(x)→1−∞1=0.
Step 3 — Compare with f(0)=0.
limx→0−f(x)=0=f(0): f is left-continuous at 0.
limx→0+f(x)=1=0=f(0): f is not right-continuous at 0.
The two one-sided limits exist but are unequal, so the two-sided limit does not exist.