Evaluating Expressions Worksheets

Substitute values for x and y and evaluate the expression, from 3x + 5 to squares, parentheses and fraction bars with negative numbers. Grades 6–8.

Ctrl+P to print worksheet Ctrl+R to randomize

What these worksheets practise

An expression such as 3x+53x + 5 has no value of its own until we know xx. To evaluate it, substitute: replace the letter with its value, then work it out with the order of operations. Each problem gives the value first, then the expression, such as x=4:3x+5x = 4:\quad 3x + 5. Every answer is a whole number.

  • Easy — one variable from 2 to 10, in expressions like 3x+53x + 5 and 7x−47x - 4.
  • Medium — two variables from −6 to 6, at least one negative, in expressions like 4x−5y4x - 5y and xy+3xy + 3.
  • Hard — squares, parentheses and a fraction bar, such as 3x2−43x^{2} - 4, (x+y)2(x + y)^{2} and x+y2\frac{x + y}{2}, with values from −5 to 5.

Worked examples, one step at a time

Step 1: one variable (Easy)

3x3x means 3×x3 \times x. With x=4x = 4, write 4 in parentheses where the xx was, multiply, then add:

x=4:3x+5=3(4)+5=12+5=17x = 4:\quad 3x + 5 = 3(4) + 5 = 12 + 5 = 17
4× 312+ 517
3x+53x + 5 as a machine: multiply by 3, then add 5.

The order of the steps matters. 3(x+5)3(x + 5) adds first and multiplies after, so with x=4x = 4 it gives 3(9)=273(9) = 27, not 17.

4+ 59× 327
3(x+5)3(x + 5): the parentheses put adding 5 first.

Step 2: two variables and a negative (Medium)

Substitute both values, keeping the negative one in parentheses:

x=−3, y=2:4x−5y=4(−3)−5(2)=−12−10=−22x = -3,\ y = 2:\quad 4x - 5y = 4(-3) - 5(2) = -12 - 10 = -22

Step 3: squares (Hard)

Square before multiplying, and square the whole negative number: (−2)2=4(-2)^{2} = 4.

x=−2:3x2−4=3(−2)2−4=3(4)−4=8x = -2:\quad 3x^{2} - 4 = 3(-2)^{2} - 4 = 3(4) - 4 = 8

Step 4: a fraction bar (Hard)

A fraction bar groups everything above it, like parentheses: add first, then divide.

x=5, y=−1:x+y2=5+(−1)2=42=2x = 5,\ y = -1:\quad \frac{x + y}{2} = \frac{5 + (-1)}{2} = \frac{4}{2} = 2

Check your answers

Work it out a second way: 3x+53x + 5 with x=4x = 4 is four 3s and a 5, 3+3+3+3+5=173 + 3 + 3 + 3 + 5 = 17. For two variables, check the sign of each term before adding: 4(−3)4(-3) is negative and −5(2)-5(2) is negative, so the answer must be negative.

Common mistakes

  • Writing the digits side by side. With x=4x = 4, 3x3x is 3×4=123 \times 4 = 12, not 34.
  • Losing the sign of a square. With x=−3x = -3, x2=(−3)2=9x^{2} = (-3)^{2} = 9, not −9-9.
  • Squaring after multiplying. With x=−2x = -2, 3x23x^{2} is 3×4=123 \times 4 = 12, not (3×−2)2=36(3 \times -2)^{2} = 36.
  • Mixing up subtracting a negative. With y=−4y = -4, 2x−3y2x - 3y has −3(−4)=+12-3(-4) = +12.

Sample problems

These problems come from the same generator as the worksheet above. Press Generate for a fresh set.

Easy: one variable

  1. x=10:x = 10:
    3x−4=3x - 4 =
  2. x=5:x = 5:
    8x−16=8x - 16 =
  3. x=10:x = 10:
    3x−12=3x - 12 =

Medium: two variables

  1. x=−2, y=1:x = -2,\ y = 1:
    xy+9=xy + 9 =
  2. x=−4, y=6:x = -4,\ y = 6:
    xy−5=xy - 5 =
  3. x=−6, y=3:x = -6,\ y = 3:
    8x+9y=8x + 9y =

Hard: squares, parentheses and fractions

  1. x=−3:x = -3:
    5x2−9=5x^{2} - 9 =
  2. x=−1, y=1:x = -1,\ y = 1:
    3(x−2y)=3(x - 2y) =
  3. x=1, y=−4:x = 1,\ y = -4:
    (x+y)2=(x + y)^{2} =
Show answers
  1. 26
  2. 24
  3. 18
  4. 7
  5. −29
  6. −21
  7. 36
  8. −9
  9. 9

Tips for teachers and parents

  • Ask students to write the substitution line, 3(4)+53(4) + 5, every time; it is the line that catches most mistakes.
  • The negative values use the sign rules from Integers, and the order of the steps is the Order of Operations.
  • Evaluating is how students check equations later: put the answer back in and see that both sides agree, as in Solving Equations.

Related topics