Evaluating Algebraic Expressions
So far, the mathematical expressions we have seen have involved real numbers only. In mathematics, we may see expressions such as , or . In the expression , 5 is called a constant because it does not vary and x is called a variable because it does. (In naming the variable, ignore any exponents or radicals containing the variable.) An algebraic expression is a collection of constants and variables joined together by the algebraic operations of addition, subtraction, multiplication, and division. We have already seen some real number examples of exponential notation, a shorthand method of writing products of the same factor. When variables are used, the constants and variables are treated the same way.
Example 8: Describing Algebraic Expressions
List the constants and variables for each algebraic expression.- x + 5
Solution
Constants | Variables | |
---|---|---|
1. x + 5 | 5 | x |
2. | ||
3. | 2 |
Try It 8
List the constants and variables for each algebraic expression.- 2(L + W)
Example 9: Evaluating an Algebraic Expression at Different Values
Evaluate the expression for each value for x.Solution
- Substitute 0 for .
\begin{array}\text{ }2x-7 \hfill& = 2\left(0\right)-7 \\ \hfill& =0-7 \\ \hfill& =-7\end{array}
- Substitute 1 for .
\begin{array}\text{ }2x-7 \hfill& = 2\left(1\right)-7 \\ \hfill& =2-7 \\ \hfill& =-5\end{array}
- Substitute for .
\begin{array}\text{ }2x-7 \hfill& = 2\left(\frac{1}{2}\right)-7 \\ \hfill& =1-7 \\ \hfill& =-6\end{array}
- Substitute for .
\begin{array}\text{ }2x-7 \hfill& = 2\left(-4\right)-7 \\ \hfill& =-8-7 \\ \hfill& =-15\end{array}
Try It 9
Evaluate the expression for each value for y.a. b. c. d.
SolutionExample 10: Evaluating Algebraic Expressions
Evaluate each expression for the given values.- for
- for
- for
- for
- for
Solution
- Substitute for .
\begin{array}\text{ }x+5\hfill&=\left(-5\right)+5 \\ \hfill&=0\end{array}
- Substitute 10 for .
\begin{array}\text{ }\frac{t}{2t-1}\hfill& =\frac{\left(10\right)}{2\left(10\right)-1} \\ \hfill& =\frac{10}{20-1} \\ \hfill& =\frac{10}{19}\end{array}
- Substitute 5 for .
\begin{array}\text{ }\frac{4}{3}\pi r^{3} \hfill& =\frac{4}{3}\pi\left(5\right)^{3} \\ \hfill& =\frac{4}{3}\pi\left(125\right) \\ \hfill& =\frac{500}{3}\pi\end{array}
- Substitute 11 for and –8 for .
\begin{array}\text{ }a+ab+b \hfill& =\left(11\right)+\left(11\right)\left(-8\right)+\left(-8\right) \\ \hfill& =11-8-8 \\ \hfill& =-85\end{array}
- Substitute 2 for and 3 for .
\begin{array}\text{ }\sqrt{2m^{3}n^{2}} \hfill& =\sqrt{2\left(2\right)^{3}\left(3\right)^{2}} \\ \hfill& =\sqrt{2\left(8\right)\left(9\right)} \\ \hfill& =\sqrt{144} \\ \hfill& =12\end{array}