Learning Objectives
- 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[/latex], 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.
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=\frac{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]\frac{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]
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.
Try it
Click on the black dot in the graph below to explore how changing length or width changes the area of a rectangle.
https://www.desmos.com/calculator/eq1cow0lcj
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.
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-\frac{5}{4}s\right)-\left(\frac{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.
Try It
If the amount [latex]P[/latex] is deposited into an account paying simple interest [latex]r[/latex] for time [latex]t[/latex], the total value of the deposit [latex]A[/latex] is given by [latex]A=P+Prt[/latex]. Simplify the expression. (This formula will be explored in more detail later in the course.)