Evaluate and Simplify Algebraic Expressions

Learning Outcomes

  • List the constants and variables in an algebraic expression.
  • Evaluate an algebraic expression.
  • Use an algebraic formula.

So far, the mathematical expressions we have seen have involved real numbers only. In mathematics, we may see expressions such as [latex]x+5,\frac{4}{3}\pi {r}^{3}[/latex], or [latex]\sqrt{2{m}^{3}{n}^{2}}[/latex]. In the expression [latex]x+5, 5[/latex] 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.

[latex]\begin{align}&\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)\\ \text{ }\end{align}[/latex]

In each case, the exponent tells us how many factors of the base to use, whether the base consists of constants or variables.

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.

Example: Describing Algebraic Expressions

List the constants and variables for each algebraic expression.

  1. x + 5
  2. [latex]\frac{4}{3}\pi {r}^{3}[/latex]
  3. [latex]\sqrt{2{m}^{3}{n}^{2}}[/latex]

Try It

Example: Evaluating an Algebraic Expression at Different Values

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

  1. [latex]x=0[/latex]
  2. [latex]x=1[/latex]
  3. [latex]x=\dfrac{1}{2}[/latex]
  4. [latex]x=-4[/latex]

Try It

Example: Evaluating Algebraic Expressions

Evaluate each expression for the given values.

  1. [latex]x+5[/latex] for [latex]x=-5[/latex]
  2. [latex]\frac{t}{2t - 1}[/latex] for [latex]t=10[/latex]
  3. [latex]\dfrac{4}{3}\pi {r}^{3}[/latex] for [latex]r=5[/latex]
  4. [latex]a+ab+b[/latex] for [latex]a=11,b=-8[/latex]
  5. [latex]\sqrt{2{m}^{3}{n}^{2}}[/latex] for [latex]m=2,n=3[/latex]

 

Be Careful when simplifying fractions!

Why does the fraction [latex]\dfrac{(25)}{3(25)-1}[/latex] not simplify to [latex]\dfrac{\cancel{(25)}}{3\cancel{(25)}-1}=\dfrac{1}{3-1}=\dfrac{1}{2}[/latex]?

Using the inverse property of multiplication, we are permitted to “cancel out” common factors in the numerator and denominator such that [latex]\dfrac{a}{a}=1[/latex].

But be careful! We have no rule that allows us to cancel numbers in the top and bottom of a fractions that are contained in sums or differences. You’ll see this idea reappear frequently throughout the course.

 

Try It

In the following video we present more examples of how to evaluate an expression for a given value.

Formulas

An equation is a mathematical statement indicating that two expressions are equal. The expressions can be numerical or algebraic. The equation is not inherently true or false, but only a proposition. The values that make the equation true, the solutions, are found using the properties of real numbers and other results. For example, the equation [latex]2x+1=7[/latex] has the unique solution [latex]x=3[/latex] because when we substitute 3 for [latex]x[/latex] in the equation, we obtain the true statement [latex]2\left(3\right)+1=7[/latex].

A formula is an equation expressing a relationship between constant and variable quantities. Very often the equation is a means of finding the value of one quantity (often a single variable) in terms of another or other quantities. One of the most common examples is the formula for finding the area [latex]A[/latex] of a circle in terms of the radius [latex]r[/latex] of the circle: [latex]A=\pi {r}^{2}[/latex]. For any value of [latex]r[/latex], the area [latex]A[/latex] can be found by evaluating the expression [latex]\pi {r}^{2}[/latex].

Example: Using a Formula

A right circular cylinder with radius [latex]r[/latex] and height [latex]h[/latex] has the surface area [latex]S[/latex] (in square units) given by the formula [latex]S=2\pi r\left(r+h\right)[/latex]. Find the surface area of a cylinder with radius 6 in. and height 9 in. Leave the answer in terms of [latex]\pi[/latex].

A right circular cylinder with an arrow extending from the center of the top circle outward to the edge, labeled: r. Another arrow beside the image going from top to bottom, labeled: h.

Right circular cylinder

Try It

/ An art frame with a piece of artwork in the center. The frame has a width of 8 centimeters. The artwork itself has a length of 32 centimeters and a width of 24 centimeters.

Figure 4

A photograph with length L and width W is placed in a mat of width 8 centimeters (cm). The area of the mat (in square centimeters, or cm2) is found to be [latex]A=\left(L+16\right)\left(W+16\right)-L\cdot W[/latex]. Find the area of a mat for a photograph with length 32 cm and width 24 cm.

Simplify Algebraic Expressions

Sometimes we can simplify an algebraic expression to make it easier to evaluate or to use in some other way. To do so, we use the properties of real numbers. We can use the same properties in formulas because they contain algebraic expressions.

Recall: operations on Fractions

When simplifying algebraic expressions, we may sometimes need to add, subtract, simplify, multiply, or divide fractions. It is important to be able to do these operations on the fractions without converting them to decimals.

To multiply fractions, multiply the numerators and place them over the product of the denominators.

[latex]\dfrac{a}{b}\cdot\dfrac{c}{d} = \dfrac {ac}{bd}[/latex]

To divide fractions, multiply the first by the reciprocal of the second.

 [latex]\dfrac{a}{b}\div\dfrac{c}{d}=\dfrac{a}{b}\cdot\dfrac{d}{c}=\dfrac{ad}{bc}[/latex]

To simplify fractions, find common factors in the numerator and denominator that cancel.

 [latex]\dfrac{24}{32}=\dfrac{2\cdot2\cdot2\cdot3}{2\cdot2\cdot2\cdot2\cdot2}=\dfrac{3}{2\cdot2}=\dfrac{3}{4}[/latex]

To add or subtract fractions, first rewrite each fraction as an equivalent fraction such that each has a common denominator, then add or subtract the numerators and place the result over the common denominator.

 [latex]\dfrac{a}{b}\pm\dfrac{c}{d} = \dfrac{ad \pm bc}{bd}[/latex]

 

Example: Simplifying Algebraic Expressions

Simplify each algebraic expression.

  1. [latex]3x - 2y+x - 3y - 7[/latex]
  2. [latex]2r - 5\left(3-r\right)+4[/latex]
  3. [latex]\left(4t-\dfrac{5}{4}s\right)-\left(\dfrac{2}{3}t+2s\right)[/latex]
  4. [latex]2mn - 5m+3mn+n[/latex]

Try It

Example: Simplifying a Formula

A rectangle with length [latex]L[/latex] and width [latex]W[/latex] has a perimeter [latex]P[/latex] given by [latex]P=L+W+L+W[/latex]. Simplify this expression.