← Back to learning objective

Left-hand limit at x = 0

Consider the piecewise function f(x)={x2−1x≤02x−1x>0f(x) = \begin{cases} x^2 - 1 & x \le 0 \\ 2x - 1 & x > 0 \end{cases} We want to analyze the behavior of f(x)f(x) as xx approaches 00.

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

Hint

For xx approaching 00 from the left, x≤0x \le 0, so use the formula x2−1x^2 - 1.

Step-by-step solution

Since we are approaching 00 from the left, we use the piece of the function defined for x≤0x \le 0, which is f(x)=x2−1f(x) = x^2 - 1.

Substituting x=0x = 0 into this expression gives 02−1=−10^2 - 1 = -1. Therefore lim⁡x→0−f(x)=−1\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 00 from the right, x>0x > 0, so use the formula 2x−12x - 1.

Step-by-step solution

Since we are approaching 00 from the right, we use the piece of the function defined for x>0x > 0, which is f(x)=2x−1f(x) = 2x - 1.

Substituting x=0x = 0 into this expression gives 2(0)−1=−12(0) - 1 = -1. Therefore lim⁡x→0+f(x)=−1\lim_{x \to 0^+} f(x) = -1.

Two-sided limit conclusion

Using your results from the previous two parts, determine whether lim⁡x→0f(x)\displaystyle\lim_{x \to 0} f(x) exists, and if it does, 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.

Step-by-step solution

We found lim⁡x→0−f(x)=−1\lim_{x \to 0^-} f(x) = -1 and lim⁡x→0+f(x)=−1\lim_{x \to 0^+} f(x) = -1.

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

Effect of changing the piecewise formula away from zero

Hint
Step-by-step solution

No, it would not change. The right-hand limit as x approaches zero only depends on the values of the function for x close to zero, not far away. Since the near-zero behavior of the formula two x minus one is unchanged, the right-hand limit remains negative one. This reflects the core idea that limits depend only on nearby behavior, not on the function's behavior elsewhere.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap