Evaluating Algebraic Expressions

Learning Outcomes

  • Evaluate algebraic expressions for different values

 Evaluate Algebraic Expressions

In the last section, we simplified expressions using the order of operations. In this section, we’ll evaluate expressions—again following the order of operations. We substitute the given number for the variable in the expression and then simplify the expression using the order of operations.

Any variable in an algebraic expression may take on or be assigned different values. When that happens, the value of the algebraic expression changes. To evaluate an algebraic expression means to determine the value of the expression for a given value of each variable in the expression. Replace each variable in the expression with the given value then simplify the resulting expression using the order of operations. If the algebraic expression contains more than one variable, replace each variable with its assigned value and simplify the expression as before. In the next example we show how to substitute various types of numbers into a mathematical expression.

example

Evaluate [latex]x+7[/latex] when

  1. [latex]x=3[/latex]
  2. [latex]x=12[/latex]

Solution:

1. To evaluate, substitute [latex]3[/latex] for [latex]x[/latex] in the expression, and then simplify.

[latex]x+7[/latex]
Substitute. [latex]\color{red}{3}+7[/latex]
Add. [latex]10[/latex]

When [latex]x=3[/latex], the expression [latex]x+7[/latex] has a value of [latex]10[/latex].
2. To evaluate, substitute [latex]12[/latex] for [latex]x[/latex] in the expression, and then simplify.

[latex]x+7[/latex]
Substitute. [latex]\color{red}{12}+7[/latex]
Add. [latex]19[/latex]

When [latex]x=12[/latex], the expression [latex]x+7[/latex] has a value of [latex]19[/latex].

Notice that we got different results for parts 1 and 2 even though we started with the same expression. This is because the values used for [latex]x[/latex] were different. When we evaluate an expression, the value varies depending on the value used for the variable.

 

try it

 

example

Evaluate [latex]9x - 2,[/latex] when

  1. [latex]x=5[/latex]
  2. [latex]x=1[/latex]

Exercises

Evaluate the expression [latex]2x + 7[/latex] for each value for [latex]x[/latex].

  1. [latex]x=0[/latex]
  2. [latex]x=1[/latex]

try it

 

example

Evaluate [latex]{x}^{2}[/latex] when [latex]x=10[/latex].

 

try it

 

example

[latex]\text{Evaluate }{2}^{x}\text{ when }x=5[/latex].

 

try it

 

example

[latex]\text{Evaluate }3x+4y - 6\text{ when }x=10\text{ and }y=2[/latex].

 

TRY IT

 

example

[latex]\text{Evaluate }2{x}^{2}+3x+8\text{ when }x=4[/latex].

 

try it

In the video below we show more examples of how to substitute a value for variable in an expression, then evaluate the expression.

Eventually you will be performing these operations on decimals, fractions, and negative numbers, so it is important that you get all the rules mastered with whole numbers first!