Evaluating algebraic expressions by substitution
Replace every occurrence of the variable, preserve the expression's grouping, and simplify only after the substitution is complete.
LaTeX article Updated July 13, 2026
Substitution is replacement, not multiplication
A variable holds a place in an expression. Evaluating means replacing that place with a supplied value everywhere it appears.
Write the replacement first and postpone arithmetic. That short line exposes missing replacements before they become calculation errors.
Parentheses preserve the variable's role
If a negative value replaces a powered variable, the entire value becomes the base. Without parentheses, the exponent may attach to the number but not its sign.
The same rule applies when an expression replaces a variable. Group the whole replacement so multiplication, powers, and subtraction still act on the intended object.
Finish with ordinary order of operations
Once every variable has been replaced, the problem is numerical. Evaluate grouping and powers before products and sums.
Keep exact fractions until the final line when possible. Early decimal rounding can hide a correct structure behind an inaccurate approximation.
Worked example
Common mistakes
- Replacing only the first occurrence of a variable.
- Substituting a negative value without parentheses.
- Starting arithmetic before all replacements are visible.
Keep these ideas
- Replace every occurrence.
- Parentheses protect the input.
- Simplify after substitution.