Maths WorkshopMaths problems with full solutions
Exercise 31Calculus › Single-variable calculus › Continuity › Continuous and discontinuous functionsL1Added 2 Nov 2026

Which of these functions extend by continuity?

#extension by continuity#one-sided limits#exponential

Statement

Decide whether each function can be extended by continuity at the indicated point.

  1. f1(x)=e−1/x2f_1(x)=e^{-1/x^2} at 00.
  2. f2(x)=e−1/xf_2(x)=e^{-1/x} at 00.
  3. f3(x)=sin⁡(x+1) ln⁡∣1+x∣f_3(x)=\sin(x+1)\,\ln|1+x| at −1-1.
Hint

Compute the limit, or the two one-sided limits, at the point. Remember tln⁡∣t∣→0t\ln|t|\to0 as t→0t\to0.

Show solutionHide solution

Solution

1. As x→0x\to0, 1x2→+∞\frac1{x^2}\to+\infty so −1x2→−∞-\frac1{x^2}\to-\infty and e−1/x2→0e^{-1/x^2}\to0. The limit is 00, so f1f_1 extends continuously with f1(0)=0f_1(0)=0.

2. The two sides behave differently.
- For x→0+x\to0^+, −1x→−∞-\frac1x\to-\infty and e−1/x→0e^{-1/x}\to0.
- For x→0−x\to0^-, −1x→+∞-\frac1x\to+\infty and e−1/x→+∞e^{-1/x}\to+\infty.

There is no finite limit at 00, so f2f_2 cannot be extended.

3. Put t=x+1→0t=x+1\to0. Then f3=sin⁡t ln⁡∣t∣=sin⁡tt⋅tln⁡∣t∣f_3=\sin t\,\ln|t|=\dfrac{\sin t}{t}\cdot t\ln|t|. We know sin⁡tt→1\frac{\sin t}t\to1 and tln⁡∣t∣→0t\ln|t|\to0, so the limit is 00. Hence f3f_3 extends continuously with value 00 at −1-1.

Remark. Always test both sides: a function like e−1/xe^{-1/x} is perfectly well behaved on the right of 00 yet explodes on the left.