Answer:
x = 1/2
Explanation:
The standard equation of a quadratic function is given by:
y = ax² + bx + c, If a > 0 then the graph has a minimum but if a < 0, then the graph has a maximum. To find the maximum or minimum, we differentiate the function with respect to x and equate to zero that is y'(x) = 0.
For the function y = 5 + x - x², a = -1 < 0, therefore it has a maximum.
Differentiating with respect to x:
y'(x) = 1 - 2x
Equating to zero
-2x + 1 = 0
-2x = -1
x = -1/ -2
x = 1/2
The function has a maximum at x = 1/2