← Back to learning objective

Identifying the critical number at a non-differentiable point

Consider the function f(x)=∣x−2∣+3f(x) = |x - 2| + 3 on the closed interval [−1,5][-1, 5].

The function f(x)=∣x−2∣+3f(x) = |x-2| + 3 is continuous everywhere but fails to be differentiable at one point in [−1,5][-1,5]. Find this critical number, and determine whether ff has a local maximum, a local minimum, or neither there.

Identifying the critical number at a non-differentiable point graph
Hint

Think about where the slope of ff abruptly changes sign, since f′(x)f'(x) does not exist there. Check the sign of f′f' just to the left and just to the right of that point.

Step-by-step solution

The absolute value function ∣x−2∣|x-2| has a corner at x=2x = 2, where the left-hand and right-hand derivatives disagree, so f′(2)f'(2) does not exist. This makes x=2x = 2 a critical number of ff on [−1,5][-1,5].

For x<2x < 2, f(x)=−(x−2)+3=−x+5f(x) = -(x-2)+3 = -x+5, so f′(x)=−1<0f'(x) = -1 < 0. For x>2x > 2, f(x)=(x−2)+3=x+1f(x) = (x-2)+3 = x+1, so f′(x)=1>0f'(x) = 1 > 0. Since f′f' changes from negative to positive at x=2x = 2, the First Derivative Test says ff has a local minimum there, with f(2)=3f(2) = 3.

Comparing the endpoint value to the local minimum

Is the function value at the left endpoint bigger or smaller than the local minimum value?

Hint
Step-by-step solution

At the left endpoint x equals negative one, f equals six, since f is negative x plus five there. The local minimum found earlier occurs at x equals two, where f equals three. Since six is greater than three, the function value at the left endpoint is bigger than the local minimum value.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap