BASIC ALGEBRAAlgebraic Expressions: Operations and Examples
Learn how variables, coefficients and operations form algebraic expressions. Evaluate a variable, combine like terms and compare expressions with equations.
Expressions and equations
An expression represents a value; an equation states that two expressions are equal. A variable stands for a number that may change or needs to be found.
2x + 5 is an expression. 2x + 5 = 11 is an equation.
Evaluate an expression
Substitute a value for each variable, then follow the order of operations. Use brackets when substituting a negative value.
If x = −3, then x² + 2x = (−3)² + 2(−3) = 3.
Simplify like terms
Combine matching variable parts and keep unlike terms separate.
4x + 3y − x + 2y = 3x + 5y.
Substitute a negative value carefully
For P(x) = 2x² − 3x + 1 at x = −2, put parentheses around each substituted value. The square of −2 is positive, and multiplying −3 by −2 also gives a positive number.
P(−2) = 2(−2)² − 3(−2) + 1 = 8 + 6 + 1 = 15
A second method: use a nested expression
The same polynomial can be written as (2x − 3)x + 1. Substituting −2 gives (−4 − 3)(−2) + 1, again 15. This form offers a separate arithmetic route without changing the polynomial.
2x² − 3x + 1 = (2x − 3)x + 1; (−7)(−2) + 1 = 15
Common mistakes to avoid
- Dropping parentheses around a negative value
- (−2)² is 4, whereas −2² means −(2²), or −4. Parentheses preserve the value being substituted.
- Adding unlike powers
- 3x² + 2x cannot be combined into 5x³. Only terms with the same variable part and exponent combine by addition.
Sources & further reading
These textbook sections explain the rules used in this guide. The worked examples and practice questions here are published by CalcSolver.
Written and maintained by CalcSolver. See our math checking and correction policy for how examples, rounding and input limits are handled.
Found a mistake? Report a correction on GitHub ↗. The draft includes this page’s address. A GitHub account is required, and submitted reports are public.