Free Pre-Algebra Guide

Evaluating Algebraic Expressions

Learn how to replace variables with numbers, preserve every operation, and simplify expressions correctly using the order of operations.

Evaluating an algebraic expression means finding its value after each variable has been replaced with a given number. Once the substitution is complete, the expression becomes a numerical expression that can be simplified using the order of operations.

Start With the Vocabulary

Parts of an Algebraic Expression

An algebraic expression combines numbers, variables, and operations. Understanding the parts makes substitution much easier.

x is the variable.
It represents a number whose value may change.
3 and −2 are coefficients.
Each coefficient multiplies the variable term beside it.
5 is a constant.
Its value does not depend on the variable.
Variable: x Coefficient: 3 Exponent: 2 Constant: 5 Term: 3x2 Operation: subtraction

Understand the Goal

What Does It Mean to Evaluate?

To evaluate an expression means to calculate its numerical value for a particular set of variable values.

Before Substitution

3x + 2

The expression does not have one fixed value because x has not yet been assigned a number.

After Substitution

x = 5

The expression becomes 3(5) + 2, which has the value 17.

The Expression Stays the Same

You are not changing the algebraic rule. You are finding the value of that rule for one particular input.

Replace the Variable

How Substitution Works

Substitution means replacing every occurrence of a variable with its assigned value while keeping the original coefficients, operations, exponents, and grouping symbols.

3x + 2 Original expression with x = 5
3(5) + 2 Replace x with 5
1. Find the variable
The variable is x.
2. Read its value
The problem tells us that x = 5.
3. Replace the variable
Write 3(5) + 2.
4. Simplify
Multiply first: 15 + 2 = 17.
Final value: 3(5) + 2 = 15 + 2 = 17

Recognize Hidden Multiplication

A Coefficient Means Multiplication

When a number and a variable are written next to each other, multiplication is understood. The expression 4x means 4 × x.

Algebraic Form Multiplication Form After Substitution
3x 3 × x x = 5 → 3(5)
−2y −2 × y y = 4 → −2(4)
ab a × b a = 2, b = 7 → (2)(7)
5(x + 1) 5 × (x + 1) x = 3 → 5(3 + 1)

Parentheses Make Substitution Clear

Writing 3(5) is usually clearer than writing 35. The parentheses show that 3 is being multiplied by 5.

Protect the Sign

Substituting Negative Values

When a variable has a negative value, place that value in parentheses. This preserves the sign and makes exponents and multiplication easier to interpret.

Correct

x = −3

2x + 5 → 2(−3) + 5
Especially Important

x2 with x = −3

x2 → (−3)2 = 9

Parentheses Change the Meaning

(−3)2 = 9, but −32 = −9. The exponent applies only to the 3 unless the negative value is grouped.

Substitute Before Applying the Power

Evaluating Expressions With Exponents

Replace the variable first. Then evaluate the exponent before completing multiplication, division, addition, or subtraction.

Example: Evaluate 2x2 + 3 when x = 4

  1. Substitute 4 for x.
  2. Evaluate the exponent: 42 = 16.
  3. Multiply 2 × 16.
  4. Add 3.
2(4)2 + 3 → 2(16) + 3 → 32 + 3 → 35
The value of the expression is 35.

Follow the Order of Operations

After substitution, treat the result as a numerical expression. Complete grouping symbols and exponents before multiplication, division, addition, or subtraction.

Replace Every Variable

Expressions With Two Variables

Some expressions contain more than one variable. Replace every occurrence of each variable before simplifying.

Example: Evaluate 2x + 3y when x = 4 and y = 5

  1. Replace x with 4.
  2. Replace y with 5.
  3. Evaluate both products.
  4. Add the results.
2(4) + 3(5) → 8 + 15 → 23

Do Not Stop After One Substitution

If the expression contains x and y, the substituted expression should not contain either variable.

Apply the Ideas

Worked Evaluating-Expression Examples

One variable

Evaluate 4n − 7 when n = 6

  1. Replace n with 6.
  2. Multiply 4 × 6.
  3. Subtract 7.
4(6) − 7 → 24 − 7 → 17
Grouping symbols

Evaluate 5(x + 2) when x = 4

  1. Replace x with 4.
  2. Add inside the parentheses.
  3. Multiply by 5.
5(4 + 2) → 5(6) → 30
Exponent

Evaluate x2 + 2y when x = 3 and y = 4

  1. Substitute both values.
  2. Evaluate 32.
  3. Multiply 2 × 4.
  4. Add.
32 + 2(4) → 9 + 8 → 17
Negative value

Evaluate x2 − 3x + 2 when x = −2

  1. Use parentheses around −2.
  2. Evaluate the square.
  3. Multiply −3 by −2.
  4. Add all terms.
(−2)2 − 3(−2) + 2 → 4 + 6 + 2 → 12
Division

Evaluate 24 ÷ (n − 2) when n = 8

  1. Replace n with 8.
  2. Simplify the parentheses.
  3. Divide.
24 ÷ (8 − 2) → 24 ÷ 6 → 4
Two variables

Evaluate 3a2 − 2b when a = −3 and b = 4

  1. Substitute both values.
  2. Square −3.
  3. Evaluate both products.
  4. Subtract.
3(−3)2 − 2(4) → 27 − 8 → 19

Watch for These Errors

Common Mistakes When Evaluating Expressions

Forgetting That Coefficients Multiply

In 3x, the 3 and x are multiplied. If x = 5, write 3(5), not 35.

Changing an Operation During Substitution

Substitution replaces variables only. Keep every original addition, subtraction, multiplication, division, exponent, and grouping symbol.

Leaving a Variable in the Expression

Replace every occurrence of every assigned variable before simplifying.

Dropping Parentheses Around Negatives

A negative substitution should usually be grouped, especially when it is squared or multiplied.

Ignoring the Order of Operations

After substitution, complete grouping symbols and exponents before multiplication, division, addition, or subtraction.

Combining Unlike Terms During Evaluation

Evaluating is not the same as simplifying an algebraic expression symbolically. Substitute the values first, then perform ordinary arithmetic.

A Reliable Process

Steps for Evaluating Algebraic Expressions

1. Identify the variables
Find every letter in the expression.
2. Match the given values
Determine which number belongs to each variable.
3. Substitute carefully
Replace each variable and keep all original operations.
4. Group negative values
Use parentheses to preserve the sign.
5. Apply PEMDAS
Simplify the numerical expression in the correct order.
6. Check the final value
Confirm that no variables remain and every operation was completed.
Final check: every variable should be replaced, negative substitutions should be grouped clearly, and the remaining arithmetic should follow the order of operations.

Practice Evaluating Algebraic Expressions

Work through one-variable and two-variable problems, identify substitutions, write the numerical expression, simplify one step at a time, and check the final value.

Open the Evaluating Expressions Tool

Personalized Math Support

Need Help Making Sense of the Math?

If a concept still feels confusing, you do not have to work through it alone. Tell me what you are studying and where you are getting stuck, and I will help you determine the best next step.