Math › Grade 9: Algebraic expressions › Lesson 1 of 5

Evaluating expressions

To evaluate an expression, put a number in place of the variable and work it out in the right order.

Learn

An algebraic expression uses letters (variables) for numbers, like 3x² − 2x + 5. Each part separated by + or − is a term. The number in front of a variable is its coefficient, and a term with no variable is a constant.

Substitution, step by step

  1. Rewrite the expression, putting the value in brackets wherever the variable appears.
  2. Work out powers first, then multiplication, then addition and subtraction (BEDMAS).

Brackets matter most with negative numbers. If x = −3, then x² = (−3)² = 9, but −x² = −(3²) = −9. The square applies only to what is right next to it.

Habit that prevents mistakes: always replace x with (value) in brackets before you calculate.

See three worked examples

Evaluate 2x² − 3x + 1 when x = 4.
  1. Replace x: 2(4)² − 3(4) + 1.
  2. Power first: 4² = 16, so 2(16) − 3(4) + 1.
  3. Multiply: 32 − 12 + 1.
  4. Add and subtract left to right: 21.

Answer: 21

Evaluate x² + 5x − 6 when x = −2.
  1. Replace x: (−2)² + 5(−2) − 6.
  2. Power: (−2)² = 4. Multiply: 5(−2) = −10.
  3. 4 − 10 − 6 = −12.

Answer: −12

Evaluate −x² + 2x when x = 3.
  1. Replace x: −(3)² + 2(3).
  2. The negative is outside the square: −9 + 6.
  3. −9 + 6 = −3.

Answer: −3

Try 10 practice questions with the steps

Play match the pairs

Tap one on the left, then its partner on the right.

Test 10 questions, 8 to pass

No steps are shown until the end. Your best score is kept on this device only.

Challenge harder problems that take a few steps