Evaluate the algebraic expression for and .
Substitute the given values. Replace each variable, keeping the parentheses intact: Keeping the grouping is essential — multiplies the whole difference, not just the .
Work inside the parentheses first. , so the expression is .
Evaluate the exponent. , giving . Exponents come before multiplication in the order of operations.
Multiply. , so the expression is .
Subtract to finish. .
Need to solve a different problem like this? Open the solver →