The maximum or minimum of a quadratic function occurs at . If is negative, the maximum value of the function is . If is positive, the minimum value of the function is .

occurs at

Find the value of equal to .

Substitute in the values of and .

Remove parentheses.

Cancel the common factor of and .

Factor out of .

Move the negative one from the denominator of .

Simplify the expression.

Rewrite as .

Multiply by .

Multiply by .

Replace the variable with in the expression.

Simplify each term.

Multiply by by adding the exponents.

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Raise to the power of .

Multiply by .

Simplify by adding and subtracting.

Add and .

Subtract from .

The final answer is .

Use the and values to find where the maximum occurs.

Find the Maximum/Minimum Value -x^2-2x-5