← Back to learning objective

Left-hand limit at x = 0

Consider the piecewise function f(x)={exx<0x+1x≥0f(x) = \begin{cases} e^x & x < 0 \\ x+1 & x \ge 0 \end{cases}

Find lim⁡x→0−f(x)\displaystyle\lim_{x \to 0^-} f(x).

Hint

For xx approaching 0 from the left, xx is negative, so use the piece of the function defined for x<0x < 0.

Step-by-step solution

Since we are approaching 00 from the left, we only consider values of xx slightly less than 00, so we use the rule f(x)=exf(x) = e^x, which applies for x<0x < 0.

As x→0−x \to 0^-, ex→e0=1e^x \to e^0 = 1. Therefore lim⁡x→0−f(x)=1\displaystyle\lim_{x \to 0^-} f(x) = 1.

Right-hand limit at x = 0

Find lim⁡x→0+f(x)\displaystyle\lim_{x \to 0^+} f(x).

Hint

For xx approaching 0 from the right, xx is nonnegative, so use the piece of the function defined for x≥0x \ge 0.

Step-by-step solution

Since we are approaching 00 from the right, we consider values of xx slightly greater than 00, so we use the rule f(x)=x+1f(x) = x+1, which applies for x≥0x \ge 0.

As x→0+x \to 0^+, x+1→0+1=1x+1 \to 0+1 = 1. Therefore lim⁡x→0+f(x)=1\displaystyle\lim_{x \to 0^+} f(x) = 1.

Existence of the two-sided limit

Based on your results from the previous two parts, does lim⁡x→0f(x)\displaystyle\lim_{x \to 0} f(x) exist? If so, state its value.

Hint

Recall that a two-sided limit exists exactly when the left-hand and right-hand limits both exist and are equal to each other.

Step-by-step solution

The left-hand limit is 11 and the right-hand limit is also 11, as found previously.

Since the one-sided limits agree, the two-sided limit exists and equals their common value: lim⁡x→0f(x)=1\displaystyle\lim_{x \to 0} f(x) = 1.

Which piece defines the right-hand limit

Hint
Step-by-step solution

The right-hand limit was computed using the piece defined for x greater than or equal to zero.

That piece is the linear formula, x plus one, not the exponential formula.

So the correct answer is linear.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap