How do I evaluate an expression when a variable has a given value?
Quick answer
Replace each variable with its given value, putting parentheses around substituted negative numbers. Then simplify using the order of operations: handle powers first, then multiplication or division, then addition or subtraction. For example, if x = -3, then x² + 2x becomes (-3)² + 2(-3) = 9 - 6 = 3. [S1]
The question, the details, the next step.
A practical checklist
Write down the given value for each variable.
Replace every occurrence of each variable.
Put parentheses around each substituted negative value.
Keep the original grouping and operation signs unchanged.
Simplify powers, multiplication or division, then addition or subtraction.
Recheck the substitution and arithmetic against the original expression.
A few more useful answers
Do I substitute the value everywhere the variable appears?
Yes. Replace every occurrence of that variable in the expression with the given value, including occurrences inside parentheses or powers.
Why use parentheses for a negative value?
They show that the negative number as a whole replaces the variable. This is especially helpful when the variable is squared or appears beside another operation.
What if the expression contains more than one variable?
Use the given value for each variable wherever it appears, then simplify in order. A short note listing each variable and its value can help prevent mix-ups.
Sources
References used for this guide.
- [S1] OpenStax Elementary Algebra 2e: Use the Language of Algebra openstax.org · Checked
