Evaluate Expressions
With Variables
Learn to substitute values into algebraic expressions and calculate the result using the order of operations.
What Is a Variable?
A variable is a letter (like \( x \), \( y \), or \( n \)) that stands in for a number we don't know yet. Think of it as a blank box waiting to be filled with a specific value.
What Is an Expression?
An algebraic expression is a combination of numbers, variables, and operations. It does not have an equals sign: that would make it an equation.
\( 2n - 4 \)
\( y^2 + 7 \)
\( 2n - 4 = 10 \)
These are equations
Why Evaluate Expressions?
In real life, we use expressions as formulas. When we know the actual value of a variable, we substitute it in and calculate to get a concrete answer.
The Substitution Rule
To evaluate an expression, replace every variable with its given value, then simplify using the order of operations.
Order of Operations: PEMDAS
After substituting, you must simplify in the correct order. Remember PEMDAS:
Expression vs Equation
Students often confuse these two. Here's how they differ:
| Expression | Equation | |
|---|---|---|
| Equals sign? | No | Yes |
| Example | \( 4n + 7 \) | \( 4n + 7 = 19 \) |
| What you do | Evaluate (substitute and simplify) | Solve (find the unknown) |
| Result | A single number | A value of the variable |
How to Evaluate Step by Step
Example 1: Evaluate \( 5x - 3 \)
Evaluate \( 5x - 3 \) when \( x = 6 \).
Example 2: Two Variables
Evaluate \( 2a + 3b \) when \( a = 4 \) and \( b = 5 \).
Example 3: Exponents Involved
Evaluate \( x^2 + 4x - 1 \) when \( x = 3 \).
Example 4: A Real-World Problem
A taxi charges a base fare of \( \$3 \) plus \( \$2 \) per mile. The total cost is \( 3 + 2m \). How much for a \( 7 \)-mile ride?
Example 5: Expressions with Fractions
Evaluate \( \frac{n + 8}{3} \) when \( n = 7 \).
Common Mistakes to Avoid
Summary Reference Table
| Expression | Given Values | Substitution | Result |
|---|---|---|---|
| \( 5x - 3 \) | \( x = 6 \) | \( 5(6) - 3 \) | 27 |
| \( 2a + 3b \) | \( a = 4, b = 5 \) | \( 2(4) + 3(5) \) | 23 |
| \( x^2 + 4x - 1 \) | \( x = 3 \) | \( (3)^2 + 4(3) - 1 \) | 20 |
| \( \frac{n+8}{3} \) | \( n = 7 \) | \( \frac{7+8}{3} \) | 5 |
Question 1 of 5
Evaluate \( 4x + 7 \) when \( x = 3 \).
Question 2 of 5
Evaluate \( n^2 - 5 \) when \( n = 4 \).
Question 3 of 5
Evaluate \( 3a + 2b \) when \( a = 5 \) and \( b = 4 \).
Question 4 of 5
Evaluate \( \frac{2x + 6}{4} \) when \( x = 5 \).
Question 5 of 5
A store sells notebooks for \( \$3 \) each. The expression \( 3p \) gives the total cost for \( p \) notebooks. What is the cost of 9 notebooks?