We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Intermediate Algebra

Evaluate Algebraic Expressions

Learning Outcomes

  • Define and identify constants in an algebraic expression
  • Evaluate algebraic expressions for different values
In mathematics, we may see expressions such as x+5,43πr3x+5,\dfrac{4}{3}\normalsize\pi {r}^{3}, or 2m3n2\sqrt{2{m}^{3}{n}^{2}}. In the expression x+5x+5, 55 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. The examples in this section include exponents. Recall that an exponent is shorthand for writing repeated multiplication of the same number. When variables have exponents, it means repeated multiplication of the same variable. The base of an exponent is the number or variable being multiplied, and the exponent tells us how many times to multiply. For example,
(3)5=(3)(3)(3)(3)(3)   x5=xxxxx(27)3=(27)(27)(27)(yz)3=(yz)(yz)(yz)\begin{array}{ll}\left(-3\right)^{5}=\left(-3\right)\cdot\left(-3\right)\cdot\left(-3\right)\cdot\left(-3\right)\cdot\left(-3\right)\,\,\, & x^{5}=x\cdot x\cdot x\cdot x\cdot x \\ \left(2\cdot7\right)^{3}=\left(2\cdot7\right)\cdot\left(2\cdot7\right)\cdot\left(2\cdot7\right) & \left(yz\right)^{3}=\left(yz\right)\cdot\left(yz\right)\cdot\left(yz\right)\end{array}
In each case, the exponent tells us how many factors of the base to use regardless of whether the base consists of constants or variables. In the following example, we will practice identifying constants and variables in mathematical expressions.

Example

List the constants and variables for each algebraic expression.
  1. x+5x+5
  2. 43πr3\dfrac{4}{3}\normalsize\pi {r}^{3}
  3. 2m3n2\sqrt{2{m}^{3}{n}^{2}}

Answer:

Expression Constants Variables
1.  x+5 x + 5 55 xx
2.  43πr3\dfrac{4}{3}\normalsize\pi {r}^{3} 43,π\dfrac{4}{3}\normalsize,\pi rr
3.  2m3n2\sqrt{2{m}^{3}{n}^{2}} 22 m,nm,n

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 the expression 2x72x - 7 for each value for xx.
  1. x=0x=0
  2. x=1x=1
  3. x=12x=\dfrac{1}{2}
  4. x=4x=-4

Answer:

  1. Substitute 0 for xx.
    2x7=2(0)7=07=7\begin{array}{ll}2x-7 \hfill& = 2\left(0\right)-7 \\ \hfill& =0-7 \\ \hfill& =-7\end{array}
  2. Substitute 1 for xx.
    2x7=2(1)7=27=5\begin{array}{ll}2x-7 \hfill& = 2\left(1\right)-7 \\ \hfill& =2-7 \\ \hfill& =-5\end{array}
  3. Substitute 12\frac{1}{2} for xx.
    2x7=2(12)7=17=6\begin{array}{ll}2x-7 \hfill& = 2\left(\frac{1}{2}\right)-7 \\ \hfill& =1-7 \\ \hfill& =-6\end{array}
  4. Substitute 4-4 for xx.
    2x7=2(4)7=87=15\begin{array}{ll}2x-7 \hfill& = 2\left(-4\right)-7 \\ \hfill& =-8-7 \\ \hfill& =-15\end{array}

Now we will show more examples of evaluating a variety of mathematical expressions for various values.

Example

Evaluate each expression for the given values.
  1. x+5x+5 for x=5x=-5
  2. t2t1\dfrac{t}{2t - 1} for t=10t=10
  3. 43πr3\dfrac{4}{3}\normalsize\pi {r}^{3} for r=5r=5
  4. a+ab+ba+ab+b for a=11,b=8a=11,b=-8
  5. 2m3n2\sqrt{2{m}^{3}{n}^{2}} for m=2,n=3m=2,n=3

Answer:

  1. Substitute 5-5 for xx.
    x+5=(5)+5=0\begin{array}{ll}x+5\hfill&=\left(-5\right)+5 \\ \hfill&=0\end{array}
  2. Substitute 10 for tt.
    t2t1=(10)2(10)1=10201=1019\begin{array}{ll}\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}
  3. Substitute 5 for rr.
    43πr3=43π(5)3=43π(125)=5003π\begin{array}{ll}\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}
  4. Substitute 11 for aa and –8 for bb.
    a+ab+b=(11)+(11)(8)+(8)=11888=85\begin{array}{ll}a+ab+b \hfill& =\left(11\right)+\left(11\right)\left(-8\right)+\left(-8\right) \\ \hfill& =11-88-8 \\ \hfill& =-85\end{array}
  5. Substitute 2 for mm and 3 for nn.
    2m3n2=2(2)3(3)2=2(8)(9)=144=12\begin{array}{ll}\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}

In the following video we present more examples of evaluating a variety of expressions for given values. https://youtu.be/MkRdwV4n91g

Licenses & Attributions