1.8: Evaluate Variable Expressions with Given Values
Did you know that you can evaluate a variable expression for a given value? Have you ever been shopping and had to use math in the store? Take a look at this dilemma.
Hanson went shopping and bought cashews and almonds for his Mom. The cashews were $4.99 per pound, and the almonds were $3.50 per pound. Hanson looked at the prices and wrote down the following variable expression.
If Hanson bought four pounds of cashews and four pounds of almonds, can you figure out how much money he spent? Use the information in this Concept to help you to evaluate this variable expression.
Guidance
Before you can learn how to evaluate a variable expression with a given value, you need to know how to identify a variable expression.
What is a variable expression?
A variable expression is a group of numbers, operations and variables without using an equal sign. A variable is a letter used to represent an unknown quantity. A constant is a number without a variable.
Here is a variable expression.
In this variable expression,
Let’s look at evaluating variable expressions when we have been given a value for the variable.
Evaluate the expression
Step 1: Substitute 8 for the variable “
Step 2: Follow the standard order of operations to solve: parentheses, exponents, multiply, divide, add, and then subtract.
Our answer is 33.5
Evaluate the expression
Yes, there are. But don’t let that take you off course. If you simply substitute the given values into the expression and use the order of operations, you will end up with the correct answer.
Step 1: Substitute 2 for the variable “
Step 2: Follow the standard order of operations to solve: parentheses, exponents, multiply, divide, add, and then subtract.
The answer is 37.
Example A
Evaluate the expression
Solution:
Example B
Evaluate the expression
Solution:
Example C
Evaluate the expression
Solution:
Now let's go back to the dilemma from the beginning of the Concept. Here is the variable expression that Hanson wrote.
We know that he bought 4 pounds of cashews and 4 pounds of almonds. Let's substitute those values into the expression for
Now we can solve for the total cost.
This is our final answer.
Vocabulary
 Variable Expression
 a group of numbers, operations and variables without an equal sign.
 Variable
 a letter used to represent an unknown number
 Constant
 a number in an expression that does not have a variable.
Guided Practice
Here is one for you to try on your own.
Evaluate
Solution
First, substitute the given values into the expression for
Now we can evaluate the expression using the order of operations.
This is our final answer.
Video Review
Khan Academy Evaluating Variable Expressions
Practice
Directions: Evaluate each variable expression using the given values for each variable.

6a+7 whena is 8 
9x−y whenx is 2 andy is 4. 
5a+b2 whena is 12 andb is 4. 
8x+2 whenx is 4 
6x+2.5 when \begin{align*}x\end{align*} is 2.  \begin{align*}y^2+4\end{align*} when \begin{align*}y\end{align*} is 9
 \begin{align*}7x+2y\end{align*} when \begin{align*}x\end{align*} is 3 and \begin{align*}y\end{align*} is 5
 \begin{align*}9xy+ x^2\end{align*} when \begin{align*}x\end{align*} is 4 and \begin{align*}y\end{align*} is 2
 \begin{align*}3ab+ b^3\end{align*} when \begin{align*}a\end{align*} is 9 and \begin{align*}b\end{align*} is 2
 \begin{align*}16xy^2+ 14\end{align*} when \begin{align*}x\end{align*} is 3 and \begin{align*}y\end{align*} is 4
11. \begin{align*}6xy + 4x\end{align*} when \begin{align*}x\end{align*} is 2 and \begin{align*}y\end{align*} is 7
12. \begin{align*}16y + 8xy\end{align*} when \begin{align*}x\end{align*} is 3 and \begin{align*}y\end{align*} is 4
13. \begin{align*}3x^2 + 24y\end{align*} when \begin{align*}x\end{align*} is 3 and \begin{align*}y\end{align*} is 4
14. \begin{align*}xy + 8xy\end{align*} when \begin{align*}x\end{align*} is 3 and \begin{align*}y\end{align*} is 4
15. \begin{align*}22x + 4y  3xy\end{align*} when \begin{align*}x\end{align*} is 3 and \begin{align*}y\end{align*} is 4
constant
A constant is a value that does not change. In Algebra, this is a number such as 3, 12, 342, etc., as opposed to a variable such as x, y or a.Exponent
Exponents are used to describe the number of times that a term is multiplied by itself.Variable
A variable is a symbol used to represent an unknown or changing quantity. The most common variables are a, b, x, y, m, and n.Variable Expression
A variable expression is a mathematical phrase that contains at least one variable or unknown quantity.Image Attributions
Here you'll learn to evaluate variable expressions with given values.
Concept Nodes:
constant
A constant is a value that does not change. In Algebra, this is a number such as 3, 12, 342, etc., as opposed to a variable such as x, y or a.Exponent
Exponents are used to describe the number of times that a term is multiplied by itself.Variable
A variable is a symbol used to represent an unknown or changing quantity. The most common variables are a, b, x, y, m, and n.Variable Expression
A variable expression is a mathematical phrase that contains at least one variable or unknown quantity.