Worked example
Compare the vertex and endpoints on a closed interval
The function has domain .
Find the value of where the maximum occurs.
Evaluate the two endpoints and the turning point, then compare outputs.
The three candidate values are , and . The right endpoint is farther from the vertex.
Final answer: .