To determine whether \( f(x) \) has a local minimum or maximum at \( x = 1 \), we need to check the behavior of the function on both sides of \( x = 1 \). The function is defined as:
We'll evaluate the function and its derivative at \( x = 1 \) from both sides.
The function should be continuous at \( x = 1 \) for it to have a local extremum. Let's verify:
Since both limits and the function value at \( x = 1 \) are equal, \( f(x) \) is continuous at \( x = 1 \).
Next, we look at the derivative on either side of \( x = 1 \):
Since the derivative from the left (0) is greater than the derivative from the right (-2), it indicates a decrease as \( x \) crosses 1 from left to right:
Thus, the correct answer is that the function has a local maximum at \( x = 1 \).
Define \( f(x) = \begin{cases} x^2 + bx + c, & x< 1 \\ x, & x \geq 1 \end{cases} \). If f(x) is differentiable at x=1, then b−c is equal to