Rewrite as .

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify each term.

Multiply by .

Move to the left of .

Multiply by .

Subtract from .

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 .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

Divide by .

Multiply by .

Replace the variable with in the expression.

Simplify each term.

Raise to the power of .

Multiply by .

Simplify by adding and subtracting.

Subtract from .

Add and .

The final answer is .

Use the and values to find where the minimum occurs.

Find the Maximum/Minimum Value p(x)=(x-4)^2