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 two variables

We've already evaluated expressions with one variable. Now it's time to do it with two variables.
Khan Academy video wrapper
Evaluating expressions with two variablesSee video transcript

How to evaluate an expression with two variables

Let's say we want to evaluate the expression 10+2p3r. Well, first we need to know the values of p and r. For example, to evaluate the expression when p=4 and r=5, we just replace p with 4 and r with 5:
=10+2p3r
=10+2435
=10+815
=3
So, the expression 10+2p3r equals 3 when p=4 and r=5.

Now, let's practice

Problem 1
Evaluate 6a+4b6 when a=1 and b=3.
  • 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?