You can put this solution on YOUR website!
First we should recognize that the graph of a quadratic function, like this one, will have a parabola that opens upward (or downward) as a graph. Such a parabola will have a maximum or minimum value.
Since the coefficient of the squared term is negative (the "a") this parabola will open downward. If you picture such a parabola you will realize that the vertex will be the highest (i.e. maximum) value. So f(x) will have a maximum value at its vertex.
To find this maximum value we just have to find the vertex of the parabola. This can be done by completing the square to put the equation into vertex form. But it is a little easier if you know that the x coordinate of the vertex of any quadratic function will be:
Your "a" is -1 and your "b" is 2. So:
which simplifies to:
Now to find the maximum value we find the y coordinate of the vertex, f(1):
Simplifying...
So the vertex of the parabola is (1, 8) and the maximum value for the function is 8.