← Back to learning objective

One-sided limits and existence of the two-sided limit at a removable discontinuity

Consider the function f(x)={x2−4x−2x≠25x=2f(x) = \begin{cases} \dfrac{x^2-4}{x-2} & x \neq 2 \\ 5 & x = 2 \end{cases}

Using values of xx close to 22 (but not equal to 22), evaluate lim⁡x→2−f(x)\lim_{x \to 2^-} f(x) and lim⁡x→2+f(x)\lim_{x \to 2^+} f(x). Based on these results, does lim⁡x→2f(x)\lim_{x \to 2} f(x) exist, and if so, what is its value?

One-sided limits and existence of the two-sided limit at a removable discontinuity graph
Hint

Simplify (x2−4)/(x−2)(x^2-4)/(x-2) algebraically for x≠2x \neq 2, then think about what value this simplified expression approaches as xx gets close to 22 from each side. Remember the value f(2)=5f(2)=5 is irrelevant to the limit.

Step-by-step solution

For x≠2x \neq 2, factor the numerator: x2−4x−2=(x−2)(x+2)x−2=x+2\dfrac{x^2-4}{x-2} = \dfrac{(x-2)(x+2)}{x-2} = x+2. This simplification is valid for all xx near 22 except exactly at x=2x=2, which is fine since limits only care about nearby values.

As x→2−x \to 2^-, x+2→4x+2 \to 4, so lim⁡x→2−f(x)=4\lim_{x\to 2^-} f(x) = 4. Similarly, as x→2+x \to 2^+, x+2→4x+2 \to 4, so lim⁡x→2+f(x)=4\lim_{x\to 2^+} f(x) = 4. Since both one-sided limits equal 44, the two-sided limit exists and equals 44 — note this differs from f(2)=5f(2)=5, illustrating that the limit does not depend on the function's actual value at x=2x=2.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap