To find a function that has roots at -2 and -1, we need to check each of the given options by substituting these values into the function and verifying if they result in f(x) equal to zero.
Option A:
f(x)= (x + 2)(x - 1)
When we substitute x = -2, we get: f(-2) = (-2 + 2)(-2 - 1) = 0 * -3 = 0.
When we substitute x = -1, we get: f(-1) = (-1 + 2)(-1 - 1) = 1 * -2 = -2.
Option A does not satisfy the condition.
Option B:
f(x)= (x - 2)(x - 1)
When we substitute x = -2, we get: f(-2) = (-2 - 2)(-2 - 1) = -4 * -3 = 12.
When we substitute x = -1, we get: f(-1) = (-1 - 2)(-1 - 1) = -3 * -2 = 6.
Option B does not satisfy the condition.
Option C:
Click "Show Answer" to reveal the answer and analysis