Mathematics

The maximum value of the function f(x) = 2 + x – x2 is

The maximum value of the function
f(x) = 2 + x – x2 is
  • A.
    9/4
  • B.
    7/4
  • C.
    3/2
  • D.
    1/2
Correct Answer: Option 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/21/4
= (8+2-1) / 4 = 9/4