← Back to learning objective

Left-hand limit as x approaches 4

Consider the piecewise function f(x)={x0≤x<46−xx≥4f(x) = \begin{cases} \sqrt{x} & 0 \le x < 4 \\ 6 - x & x \ge 4 \end{cases} We want to investigate the behavior of f(x)f(x) as xx approaches 44.

Evaluate lim⁡x→4−f(x)\lim_{x \to 4^-} f(x). Since values of xx slightly less than 44 use the rule f(x)=xf(x) = \sqrt{x}, determine what value f(x)f(x) approaches from the left.

Hint

For xx slightly less than 4, which piece of the definition applies? Substitute values close to (but less than) 4 into that piece.

Step-by-step solution

For xx values approaching 4 from the left (like 3.9, 3.99, 3.999), we have 0≤x<40 \le x < 4, so f(x)=xf(x) = \sqrt{x} applies. As x→4−x \to 4^-, x\sqrt{x} approaches 4=2\sqrt{4} = 2.

Therefore lim⁡x→4−f(x)=2\lim_{x \to 4^-} f(x) = 2, since the square root function is continuous and x→4\sqrt{x} \to \sqrt{4} as x→4x \to 4 from values less than 4.

Right-hand limit as x approaches 4

Evaluate lim⁡x→4+f(x)\lim_{x \to 4^+} f(x). Since values of xx slightly greater than 44 use the rule f(x)=6−xf(x) = 6 - x, determine what value f(x)f(x) approaches from the right.

Hint

For xx slightly greater than 4, which piece of the definition applies? Substitute values close to (but greater than) 4 into that piece.

Step-by-step solution

For xx values approaching 4 from the right (like 4.1, 4.01, 4.001), we have x≥4x \ge 4, so f(x)=6−xf(x) = 6 - x applies. As x→4+x \to 4^+, 6−x6 - x approaches 6−4=26 - 4 = 2.

Therefore lim⁡x→4+f(x)=2\lim_{x \to 4^+} f(x) = 2, since the linear function 6−x6-x is continuous everywhere and evaluates to 2 at x=4x=4.

Existence of the two-sided limit

Based on your results from the left-hand and right-hand limits, does lim⁡x→4f(x)\lim_{x \to 4} f(x) exist? If it exists, state its value.

Hint

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

Step-by-step solution

We found lim⁡x→4−f(x)=2\lim_{x \to 4^-} f(x) = 2 and lim⁡x→4+f(x)=2\lim_{x \to 4^+} f(x) = 2. Since both one-sided limits exist and are equal to the same value.

By the rule that a two-sided limit exists if and only if the one-sided limits exist and agree, we conclude lim⁡x→4f(x)=2\lim_{x \to 4} f(x) = 2.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap