Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

4.2: Evaluating Algebraic Expressions

( \newcommand{\kernel}{\mathrm{null}\,}\)

In this section we will evaluate algebraic expressions for given values of the variables contained in the expressions. Here are some simple tips to help you be successful.

Tips for Evaluating Algebraic Expressions

  1. Replace all occurrences of variables in the expression with open parentheses. Leave room between the parentheses to substitute the given value of the variable.
  2. Substitute the given values of variables in the open parentheses prepared in the first step.
  3. Evaluate the resulting expression according to the Rules Guiding Order of Operations.

Let's begin with an example.

Example 1

Evaluate the expression x22xy+y2 at x=3 and y=2.

Solution

Following “Tips for Evaluating Algebraic Expressions,” first replace all occurrences of variables in the expression x2 − 2xy + y2 with open parentheses.

x22xy+y2=( )22( )( )+( )2

Secondly, replace each variable with its given value, and thirdly, follow the “Rules Guiding Order of Operations” to evaluate the resulting expression.

x22xy+y2  Original expression.=(3)22(3)(2)+(2)2  Substitute 3 for xand 2 for y.=92(3)(2)+4  Evaluate exponents first.=9(6)(2)+4  Left to right, multiply 2(3)=6.=9(12)+4  Left to right, multiply: (6)(2)=12.=9+12+4  Add the opposite.=25  Add.

Exercise

If x = −2 and y = −1, evaluate x3y3.

Answer

−7

Example 2

Evaluate the expression (ab)2 for a = 3 and b = −5.

Solution

Following “Tips for Evaluating Algebraic Expressions,” first replace all occurrences of variables in the expression (ab)2 with open parentheses.

(ab)2=(()())2

Secondly, replace each variable with its given value, and thirdly, follow the “Rules Guiding Order of Operations” to evaluate the resulting expression.

(ab)2=((3)(5))2  Substitute 3 for a and 5 for b.=(3+5)2  Add the opposite: (3)(5)=3+5=82  Simplify inside parentheses: 3+5=8=64  Evaluate exponent: 82=64

Exercise

If a = 3 and b = −5, evaluate a2b2.

Answer

−16

Example 3

Evaluate the expression |a|−|b| at a = 5 and b = −7.

Solution

Following “Tips for Evaluating Algebraic Expressions,” first replace all occurrences of variables in the expression |a|−|b| with open parentheses.

|a||b|=|( )||( )|

Secondly, replace each variable with its given value, and thirdly, follow the “Rules Guiding Order of Operations” to evaluate the resulting expression.

|a||b|=|(5)|=|(7)|  Substitute 5 for a and 7 for b.=57  Absolute values first: |(5)|=5 and |(7)|=7|=5+(7)  Add the opposites: 57=5+(7).=2  Add: 5+(7)=2.

Exercise

If a = 5 and b = −7, evaluate 2|a| − 3|b|.

Answer

−11

Example 4

Evaluate the expression |ab| at a = 5 and b = −7.

Solution

Following “Tips for Evaluating Algebraic Expressions,” first replace all occurrences of variables in the expression |ab| with open parentheses.

|ab|=|( )( )|

Secondly, replace each variable with its given value, and thirdly, follow the “Rules Guiding Order of Operations” to evaluate the resulting expression.

|ab|=|(5)(7)|  Substitute 5 for a and 7 for b.=|5+7|  Add the opposite: 5(7)=5+7.=|12|  Add: 5+7=12.=12  Take the absolute value: |12|=12.

Exercise

If a = 5 and b = −7, evaluate |2a − 3b|.

Answer

31

Example 5

Evaluate the expression

adbca+b

at a = 5, b = −3, c = 2, and d = −4.

Solution

Following “Tips for Evaluating Algebraic Expressions,” first replace all occurrences of variables in the expression with open parentheses.

adbca+b=( )( )( )( )( )+( )

Secondly, replace each variable with its given value, and thirdly, follow the “Rules Guiding Order of Operations” to evaluate the resulting expression.

adbca+b=(5)(3)(2)(5)+(3)  Substitute: 5 for a, 3 for b, 2 for c, 4 for d.=20(6)2  Numerator: (5)(=4)=20, (3)(2)=6. Denominator: 5+(3)=2.=20+62  Numerator: Add the opposite.=142  Numerator: 20+6=14.=7 Divide.

Exercise

If a = −7, b = −3, c = −15, and d = −14, evaluate:

a2+b2c+d

Answer

−2

Example 6

Pictured below is a rectangular prism.

Screen Shot 2019-08-19 at 6.09.16 PM.png

The volume of the rectangular prism is given by the formula

V=LWH,

where L is the length, W is the width, and H is the height of the rectangular prism. Find the volume of a rectangular prism having length 12 feet, width 4 feet, and height 6 feet.

Solution

Following “Tips for Evaluating Algebraic Expressions,” first replace all occurrences of of L, W, and H in the formula

V=LWH

with open parentheses.

V=( )( )( )

Next, substitute 12 ft for L, 4 ft for W, and 6 ft for H and simplify.

V=(12ft)(4ft)(6ft)=288ft3

Hence, the volume of the rectangular prism is 288 cubic feet.

Exercise

The surface area of the prism pictured in this example is given by the following formula:

S=2(WH+LH+LW)

If L = 12, W = 4, and H = 6 feet, respectively, calculate the surface area.

Answer

288 square feet

 

 

Exercises

Evaluate the expression at the given value of x and/or y.

1. −3x2 − 6x + 3 at x = 7

3. −6x − 6 at x = 3

5. 5x2 + 2x + 4 at x = −1

7. −9x − 5 at x = −2

11. 12x + 10 at x = −12

13. |x|−|y| at x = −5 and y = 4

15. −5x2 + 2y2 at x = 4 and y = 2

19. |x − y| at x = 4 and y = 5

21. 5x2 − 4xy + 3y2 at x = 1 and y = −4

23. |x − y| at x = 4 and y = 4

27. 5x2 + 4y2 at x = −2 and y = −2

33. 4+9x7x at x = 2

35. 127xx at x = −1

41. The formula

d=16t2

gives the distance (in feet) that an object falls from rest in terms of the time t that has elapsed since its release. Find the distance d (in feet) that an object falls in t = 4 seconds.

43. The formula

C=5(F32)9

gives the Celcius temperature C in terms of the Fahrenheit temperature F. Use the formula to find the Celsius temperature (◦ C) if the Fahrenheit temperature is F = 230◦ F.

 

 

 

Answers

1. −186

3. −24

5. 7

7. 13

11. −134

13. 1

15. −72

19. 1

21. 69

23. 0

27. 36

33. 1

35. 5

41. 256 feet

43. 110 degrees

 


This page titled 4.2: Evaluating Algebraic Expressions is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by David Arnold.

Support Center

How can we help?