← Back to learning objective

One-sided limits and existence of a two-sided limit at a piecewise boundary

Consider the piecewise function f(x)={exx<02−x2x≥0f(x) = \begin{cases} e^x & x < 0 \\ 2 - x^2 & x \geq 0 \end{cases}

Using the definition of f(x)f(x) above, evaluate lim⁡x→0−f(x)\lim_{x \to 0^-} f(x) and lim⁡x→0+f(x)\lim_{x \to 0^+} f(x). Based on these results, does lim⁡x→0f(x)\lim_{x \to 0} f(x) exist? If it exists, state its value; if it does not, explain why not.

Hint

For xx near 00 but negative, use the formula exe^x; for xx near 00 but positive (or at 00), use the formula 2−x22 - x^2. Compare the two one-sided results.

Step-by-step solution

As x→0−x \to 0^-, we use the branch f(x)=exf(x) = e^x since this applies for x<0x < 0. Since exe^x is continuous, lim⁡x→0−ex=e0=1\lim_{x \to 0^-} e^x = e^0 = 1.

As x→0+x \to 0^+, we use the branch f(x)=2−x2f(x) = 2 - x^2 since this applies for x≥0x \geq 0. Since this is a polynomial, lim⁡x→0+(2−x2)=2−0=2\lim_{x \to 0^+} (2 - x^2) = 2 - 0 = 2. Since the left-hand limit (11) and right-hand limit (22) are unequal, lim⁡x→0f(x)\lim_{x \to 0} f(x) does not exist.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap