The maximum value of the function
f(x) = 2 + x – x2 is
The correct answer is: A
Explanation
f(x) = 2 + x - x2dy/dx = 1-2x
As dy/dx = 0
1-2x = 0
2x = 1
x = 1/2
At x = 1/2
f(x) = 2 + x - x2
= 2 + 1/2 -(1/2)2
= 2 + 1/2 - 1/4
= (8+2-1) / 4 = 9/4
The maximum value of the function
f(x) = 2 + x – x2 is