Evaluating Expressions
with Variables
Learn to substitute values into algebraic expressions and simplify — a core skill tested on the HESI A2 math section.
What Is a Variable?
A variable is a letter (like \( x \), \( y \), or \( n \)) that stands for a number we don't yet know. An expression combines variables, numbers, and operations — for example \( 3x + 5 \).
Substitution: Plug In the Value
The Rule: Order of Operations
After substituting, simplify using PEMDAS — the agreed order in which operations are performed:
Reading Algebraic Shorthand
Expression vs. Equation
| Expression | Equation | |
|---|---|---|
| Looks like | \( 3x + 5 \) | \( 3x + 5 = 17 \) |
| Has an "="? | No | Yes |
| You are asked to | Evaluate (find a value) | Solve (find the variable) |
A 3-Step Method
Example 1: Single Variable
Evaluate \( 4x - 7 \) when \( x = 5 \).
Example 2: Two Variables
Evaluate \( 2a + 3b \) when \( a = 4 \) and \( b = 6 \).
Example 3: Exponents & Negatives
Evaluate \( x^2 - 4x \) when \( x = -3 \).
Common Mistakes
Quick Reference
| Expression | Given | Result |
|---|---|---|
| \( 5x \) | \( x = 3 \) | \( 15 \) |
| \( x + 2y \) | \( x=4,\ y=5 \) | \( 14 \) |
| \( \dfrac{x}{4} \) | \( x = 12 \) | \( 3 \) |
| \( x^2 + 1 \) | \( x = 6 \) | \( 37 \) |
You're Ready
Question 1 of 5
Evaluate \( 6x - 4 \) when \( x = 3 \).
Question 2 of 5
Evaluate \( 3a + 2b \) when \( a = 5 \) and \( b = 4 \).
Question 3 of 5
Evaluate \( \dfrac{x}{3} + 5 \) when \( x = 12 \).
Question 4 of 5
Evaluate \( x^2 + 2x \) when \( x = 4 \).
Question 5 of 5
Evaluate \( 5x - 2y \) when \( x = -2 \) and \( y = 3 \).