SHSAT Math • Algebraic Expressions and Equations

Evaluating Expressions — Evaluate an expression for a given value of a variable.

Learn how to substitute a number for a variable and simplify to find the value of any algebraic expression.

SHSAT illustration with a school, math function, and reading book
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

People have been solving math puzzles for thousands of years. Long before anyone used the letter x in a math problem, ancient civilizations wrote out word problems to describe unknown quantities. The idea of evaluating expressions (replacing a letter with a number and then simplifying) grew from this long history of algebra.

1800 BCE • Babylonian Word Problems

Ancient Babylonians carved math problems onto clay tablets. They described unknowns with words like "the length" or "the width" instead of letters.

250 CE • Diophantus Uses Symbols

The Greek mathematician Diophantus began using short symbols to stand for unknown numbers. He is often called the "father of algebra."

820 CE • Al-Khwarizmi's Algebra Book

The Persian scholar al-Khwarizmi wrote a famous book on solving equations. The word "algebra" comes from the Arabic title of his book.

1637 • Descartes Introduces x, y, z

French mathematician René Descartes popularized using letters like x, y, and z for unknowns. This is the notation we still use today on the SHSAT.

So why does this matter for you? The SHSAT frequently gives you an expression like 3x + 5 and tells you that x = 4. Your job is to plug in the number, follow the order of operations, and find the answer. Mastering this skill is one of the fastest ways to earn points on test day.

SECTION 2

Core Principles & Definitions

Before we dive into solving problems, let's make sure you know the key vocabulary. These are the building blocks you'll use every time you evaluate an expression.

1

Variable

A letter (like x, y, or n) that stands for a number you don't know yet. Think of it as an empty box waiting to be filled.
2

Expression

A math phrase made of numbers, variables, and operations (like +, −, ×, ÷). For example, 2x + 7 is an expression. It does NOT have an equals sign.
3

Evaluate

To evaluate means to find the numerical value. You replace each variable with its given number and then simplify using order of operations.
4

Substitute

To substitute means to swap a variable for a specific number. If x = 3, you replace every x in the expression with 3.
5

Order of Operations (PEMDAS)

The set of rules that tells you which calculations to do first: Parentheses, Exponents, Multiplication/Division (left to right), then Addition/Subtraction (left to right).
✦

KEY TAKEAWAY

Think of a variable like a nickname. If your friend's nickname is "A" and you find out A stands for "Alex," you just swap in the real name wherever you see the nickname. Evaluating an expression works the same way — swap the letter for the number and simplify!

SECTION 3

Visual Explanation — The Substitution Process

The diagram below shows the step-by-step process of evaluating the expression 3x + 5 when x = 4. Follow the arrows from left to right to see how substitution and simplification work together.

Evaluating 3x + 5 when x = 4ORIGINAL EXPRESSION3x + 5SUBSTITUTE x = 43(4) + 5MULTIPLY12 + 5RESULT17Remember PEMDAS!1. Replace x with 4 → 3(4) + 52. Multiply first: 3 × 4 = 12 → 12 + 53. Then add: 12 + 5 = 17 ✓
The flowchart above shows three stages: substitute the value, multiply before adding (PEMDAS), and arrive at the final result.

Notice that when we wrote 3(4), we used parentheses to show multiplication. This is a smart habit because it prevents confusion. Without parentheses, "34 + 5" would look like the number thirty-four plus five, which is completely wrong!

SECTION 4

Mathematical Framework — The Substitution Rule

Evaluating expressions boils down to one simple rule: wherever you see the variable, replace it with the given number. Then follow PEMDAS to simplify. Let's look at the most common patterns you'll see on the SHSAT.

BASIC SUBSTITUTION

Iftheexpressionisax+b,andx=c,thenthevalueisa×c+bIf the expression is ax + b, and x = c, then the value is a × c + b

Here, a is the number multiplied by x (the coefficient), b is the constant, and c is the given value of x.

EXPRESSIONS WITH EXPONENTS

Iftheexpressionisx2+2x−1,andx=3,then:(3)2+2(3)−1=9+6−1=14If the expression is x² + 2x − 1, and x = 3, then: (3)² + 2(3) − 1 = 9 + 6 − 1 = 14

When a variable has an exponent, replace the variable first, then apply the exponent. Remember: (3)² means 3 × 3 = 9, not 3 × 2 = 6.

EXPRESSIONS WITH TWO VARIABLES

Iftheexpressionis2a−3b,anda=5,b=2,then:2(5)−3(2)=10−6=4If the expression is 2a − 3b, and a = 5, b = 2, then: 2(5) − 3(2) = 10 − 6 = 4

When there are two or more variables, substitute each one with its given value. Be careful to match each letter to the correct number.

⚠

SHSAT Tip: Use Parentheses!

Always wrap the substituted number in parentheses. This is especially important with negative numbers. For example, if x = −2 and the expression is x², then x² = (−2)² = 4. Without parentheses, you might accidentally write −2² = −4, which is wrong!

SECTION 5

Types of Expressions You'll See on the SHSAT

SHSAT problems come in several flavors. The diagram below organizes the main types of expressions you might be asked to evaluate. Knowing what to expect helps you work faster on test day.

Types of Expressions on the SHSATEVALUATE AN EXPRESSIONONE VARIABLE3x + 5when x = 4TWO VARIABLES2a − 3bwhen a = 5, b = 2WITH EXPONENTSx² + 2x − 1when x = 3Replace x → 3(4)+5= 17Replace a,b → 2(5)−3(2)= 4Replace x → (3)²+2(3)−1= 14⚡ TRICKY VARIATIONS−x² when x = 3= −(3)² = −9|2x − 7| when x = 1= |2(1)−7| = |−5| = 5x/(x+1) when x = 3= 3/(3+1) = 3/4
This tree diagram shows the three main types of evaluation problems and some tricky variations at the bottom. Notice how every type follows the same process: substitute, then simplify.
Expression TypeExampleWatch Out For…
Single variable, no exponent4x − 7, x = 3Multiply before subtracting
Single variable, with exponentx² + 1, x = −2Use parentheses: (−2)² = 4, not −4
Two variables3a + 2b, a = 4, b = −1Match each letter to the right number
Fractions or division(x + 3) / 2, x = 5Simplify the numerator first
Absolute value|x − 8|, x = 3Evaluate inside, then take positive result

Common expression types and common mistakes

SECTION 6

Worked Example

Let's walk through a full SHSAT-style problem step by step. Pay attention to how we use parentheses and follow PEMDAS carefully.

Evaluate 2x² − 5x + 3 when x = −2

  1. 1

    Step 1 — Write the Expression

    Start by writing out the expression clearly: 2x² − 5x + 3
  2. 2

    Step 2 — Substitute x = −2 (Use Parentheses!)

    Replace every x with (−2). This gives us: 2(−2)² − 5(−2) + 3
    Expression becomes: 2(−2)² − 5(−2) + 3
  3. 3

    Step 3 — Exponents First (the E in PEMDAS)

    Handle the exponent first. (−2)² means (−2) × (−2) = 4. A negative times a negative is positive! Our expression is now: 2(4) − 5(−2) + 3
    (−2)² = 4
  4. 4

    Step 4 — Multiply (the M in PEMDAS)

    Now multiply left to right. 2 × 4 = 8. And −5 × (−2) = 10 (negative times negative = positive). The expression is now: 8 + 10 + 3
    2(4) = 8 and −5(−2) = +10
  5. 5

    Step 5 — Add (the A in PEMDAS)

    Finally, add everything together: 8 + 10 + 3 = 21.
    Final Answer: 21
💡

Double-Check Strategy

On the SHSAT, if you finish early, go back and re-substitute to verify. Plug x = −2 back in and make sure you get 21 again. This takes about 30 seconds and can save you from a careless mistake!

SECTION 7

Common Mistakes & How to Avoid Them

Even strong students lose points on expression evaluation because of small, avoidable errors. Here are the most common traps and how to dodge them.

MistakeWhat It Looks LikeThe Fix
Forgetting parentheses with negativesWriting −2² = −4 instead of (−2)² = 4Always wrap negative numbers in parentheses before applying exponents.
Ignoring order of operationsCalculating 3 + 2 × 4 as 20 instead of 11Multiply and divide before you add and subtract. Think: PEMDAS!
Mixing up variablesUsing b's value for a when evaluating 2a + bWrite each substitution clearly: a = ?, b = ?. Circle each letter before replacing.
Dropping the signWriting 5 − (−3) = 2 instead of 8Subtracting a negative is the same as adding. Think: two negatives make a positive.

Top 4 mistakes on SHSAT expression problems

✦

KEY TAKEAWAY

Think of parentheses like a protective shield around a negative number. Without the shield, the negative sign can "fall off" and give you the wrong answer. Always write (−2), never just −2, when substituting into an expression.

SECTION 8

Connection to Solving Equations & Advanced Topics

Evaluating expressions is the foundation for more advanced algebra. Once you're comfortable plugging in values, you're ready to tackle problems where you need to find the unknown value instead of being given one. That's called solving an equation.

SkillEvaluating Expressions (This Lesson)Solving Equations (Next Step)
What you knowThe expression AND the variable's valueThe equation AND the final result
What you findThe numerical value of the expressionThe value of the variable
DirectionPlug in → simplify → get a numberUndo operations → isolate variable → find its value
ExampleEvaluate 2x + 1 when x = 5 → 11Solve 2x + 1 = 11 → x = 5

Evaluating vs. Solving: two sides of the same coin

Here's a cool fact: you can actually use evaluation to check your work when solving equations! If you solve 2x + 1 = 11 and get x = 5, you can evaluate 2(5) + 1 to confirm you get 11. This "plug-back-in" strategy is extremely useful on the SHSAT when you're not sure about an answer.

💡

SHSAT Strategy: Back-Solving

On multiple-choice questions, you can sometimes plug each answer choice into the expression to see which one works. This is called back-solving, and it's one of the most powerful test-taking strategies you can learn. It turns solving into evaluating — a skill you already have!

SECTION 9

Practice Problems

Try these five problems on your own. They get harder as you go. Work through each one step by step, then check the answer to see if you're right.

Question 1: CONCEPTUAL

What does it mean to "evaluate" the expression 5x − 2 when x = 3? Describe the process in your own words, then find the answer.
Show answer
To evaluate means to replace the variable x with the given number 3 and then simplify. You substitute to get 5(3) − 2. Next, you multiply: 5 × 3 = 15. Then subtract: 15 − 2 = 13. The value of the expression is 13.

Question 2: BASIC CALCULATION

Evaluate 4n + 9 when n = 6.
Show answer
Substitute n = 6 into the expression: 4(6) + 9. Multiply first: 4 × 6 = 24. Then add: 24 + 9 = 33. The answer is 33. Remember to always multiply before adding, following PEMDAS.

Question 3: INTERMEDIATE

Evaluate x² − 4x + 7 when x = −3.
Show answer
Substitute x = −3 using parentheses: (−3)² − 4(−3) + 7. First, handle the exponent: (−3)² = (−3)(−3) = 9. Next, multiply: −4 × (−3) = 12 (negative times negative is positive). Now add: 9 + 12 + 7 = 28. The answer is 28. The key here was using parentheses around −3 so the exponent applies to the whole number.

Question 4: APPLIED

A movie theater charges $8 per ticket and a $3 service fee per order. The total cost for t tickets is given by the expression 8t + 3. How much does it cost to buy 5 tickets?
Show answer
The expression is 8t + 3, and we're told t = 5. Substitute: 8(5) + 3. Multiply first: 8 × 5 = 40. Then add: 40 + 3 = 43. The total cost is $43. This is a great example of how evaluating expressions shows up in real life. The variable t stands for the number of tickets, and the expression gives us the total cost.

Question 5: CRITICAL THINKING

The expression 3a − 2b + c has a value of 20 when a = 4, b = 1, and c = ?. Find the value of c.
Show answer
First, substitute the values you know: 3(4) − 2(1) + c = 20. Simplify: 12 − 2 + c = 20, which gives 10 + c = 20. Now solve for c by subtracting 10 from both sides: c = 20 − 10 = 10. The answer is c = 10. This problem combines evaluating (plugging in a and b) with solving (finding c). It previews how these two skills work together on harder SHSAT questions.

SUMMARY

Lesson Summary

Summary

Evaluating an expression means replacing each variable with its given number and then simplifying using PEMDAS (Parentheses, Exponents, Multiplication/Division, Addition/Subtraction). The process is the same whether the expression has one variable, two variables, exponents, or fractions. The three steps are always: substitute, simplify, and check your work.

The biggest mistakes come from forgetting parentheses around negative numbers and ignoring the order of operations. Always wrap substituted values in parentheses, and always multiply/divide before you add/subtract. This skill is the foundation for solving equations, graphing, and tackling word problems on the SHSAT.

Varsity Tutors • SHSAT Math • Evaluating Expressions