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.
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.
- x + 5
- [latex]\frac{4}{3}\pi {r}^{3}[/latex]
- [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.
- [latex]x=0[/latex]
- [latex]x=1[/latex]
- [latex]x=\dfrac{1}{2}[/latex]
- [latex]x=-4[/latex]
Try It
Example: Evaluating Algebraic Expressions
Evaluate each expression for the given values.
- [latex]x+5[/latex] for [latex]x=-5[/latex]
- [latex]\frac{t}{2t - 1}[/latex] for [latex]t=10[/latex]
- [latex]\dfrac{4}{3}\pi {r}^{3}[/latex] for [latex]r=5[/latex]
- [latex]a+ab+b[/latex] for [latex]a=11,b=-8[/latex]
- [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].
Try It
A photograph with length L and width W is placed in a matte of width 8 centimeters (cm). The area of the matte (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 matte 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.
- [latex]3x - 2y+x - 3y - 7[/latex]
- [latex]2r - 5\left(3-r\right)+4[/latex]
- [latex]\left(4t-\dfrac{5}{4}s\right)-\left(\dfrac{2}{3}t+2s\right)[/latex]
- [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.
Candela Citations
- Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
- Area of a Rectangle Interactive. Authored by: Lumen Learning. Located at: https://www.desmos.com/calculator/eq1cow0lcj. License: Public Domain: No Known Copyright
- Quiestion ID 3616. Authored by: triplett,shawn. License: Other. License Terms: IMathAS Community License CC-BY + GPL
- Question ID 1976, 1980. Authored by: Morales, Lawrence. License: Other. License Terms: IMathAS Community License CC-BY + GPL
- Question ID 483. Authored by: Eldridge,Jeff, mb Sousa,James. License: Other. License Terms: IMathAS Community License CC-BY + GPL
- Question ID 92388. Authored by: Jenck,Michael for Lumen Learning. License: Other. License Terms: IMathAS Community License CC-BY + GPL
- Question ID 109700, 110263, 109667. Authored by: Day, Alyson. License: Other. License Terms: IMathAS Community License CC-BY + GPL
- Question ID 50617. Authored by: Gardner,Brenda. License: Other. License Terms: IMathAS Community License CC-BY + GPL
- College Algebra. Authored by: Abramson, Jay et al.. Provided by: OpenStax. Located at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2
- Evaluating Algebraic Expressions. Authored by: James Sousa (Mathispower4u.com). Located at: https://youtu.be/MkRdwV4n91g. License: CC BY: Attribution
- College Algebra. Authored by: OpenStax College Algebra. Provided by: OpenStax. Located at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1/Preface. License: CC BY: Attribution