To determine whether the function \( f(x) = 2x - |x - x^2| \) is continuous at \( x = 1 \), we need to examine the behavior of the function around this point. A function is continuous at a point if the following three conditions are satisfied:
Let's verify each of these conditions:
Substitute \( x = 1 \) into the function:
\(f(1) = 2(1) - |1 - 1^2| = 2 - |1 - 1| = 2 - 0 = 2\)
Since \( f(x) = 2x - |x - x^2| \), let's compute the limit from both sides:
For \( x < 1 \) (left-hand limit):
\( |x - x^2| = -(x - x^2) = x^2 - x \) (since \( x - x^2 \) is negative for \( x < 1 \))
\(|x - x^2| = x - x^2\) (since \( x - x^2 \) is positive or zero for \( x > 1 \))
Thus, both limits as \( x \) approaches 1 are:
Left-hand limit:
Right-hand limit:
Since both the left-hand limit and right-hand limit equal 2, we have:
\(\lim_{x \to 1} f(x) = 2\)
Now, comparing with \( f(1) = 2 \), we conclude:
The limit \( \lim_{x \to 1} f(x) = f(1) \), thus the function is continuous at \( x = 1 \).
Therefore, the correct answer is: continuous at \( x = 1 \).