If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Evaluating expressions with one variable

A mixture of explanations, examples, and practice problems to have you evaluating expressions with one variable in no time!

How to evaluate an expression with one variable

Let's say we want to evaluate the expression a+4. Well, first we need to know the value of the variable a. For example, to evaluate the expression when a=1, we just replace a with 1:
a+4=1+4        Replace a with 1.=5
So, the expression a+4 equals 5 when a=1.
We can just as easily evaluate a+4 when a=5:
a+4=5+4        Replace a with 5.=9
So, the expression a+4 equals 9 when a=5.

Evaluating an expression with multiplication

You might be asked to "Evaluate 3x when x=5."
Notice how the number 3 is right next to the variable x in the expression 3x. This means "3 times x". The reason we do this is because the old way of showing multiplication with the symbol × looks confusingly similar to the variable x.
Okay, so now let's solve the problem:
3x=35        Replace x with 5.=15
So, the expression 3x equals 15 when x=5.

New ways to show multiplication

Hold on a second! Did you notice that we wrote "3 times 5" as 35 instead of as 3×5? Using a dot instead of the symbol × is another new way of showing multiplication:
35=15
Parentheses can also be used to show multiplication:
3(5)=15
Let's summarize the new ways of showing multiplication that we learned.
Old wayNew way
With a variable3×x3x
Without variable3×535 or 3(5)

Evaluating expressions where order of operations matter

For more complex expressions, we'll have to be sure to pay close attention to order of operations. Let's take a look at an example:
Evaluate 5+3e when e=4.
5+3e=5+34        Replace e with 4.=5+12        Multiply first (order of operations)=17
So, the expression 5+3e equals 17 when e=4.
Notice how we had to be careful to think about order of operations when evaluating. A common wrong answer is 32, which comes from first adding 5 and 3 to get 8 then multiplying 8 by 4 to get 32.

Let's practice!

Problem 1
Evaluate the expression 9z when z=4.
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Challenge problems

Challenge problem 1
Evaluate ee5e when e=5.
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Want to join the conversation?