# 1.1: Variable Expressions

## Learning Objectives

- Evaluate algebraic expressions.
- Evaluate algebraic expressions with exponents.

## Introduction - The Language of Algebra

No one likes doing the same problem over and over again—that’s why mathematicians invented algebra. Algebra takes the basic principles of math and makes them more general, so we can solve a problem once and then use that solution to solve a group of similar problems.

In arithmetic, you’ve dealt with numbers and their arithmetical operations (such as ). In algebra, we use symbols called **variables** (which are usually letters, such as ) to represent numbers and sometimes processes.

For example, we might use the letter to represent some number we don’t know yet, which we might need to figure out in the course of a problem. Or we might use two letters, like and , to show a relationship between two numbers without needing to know what the actual numbers are. The same letters can represent a wide range of possible numbers, and the same letter may represent completely different numbers when used in two different problems.

Using variables offers advantages over solving each problem “from scratch.” With variables, we can:

- Formulate arithmetical laws such as for all real numbers and .
- Refer to “unknown” numbers. For instance: find a number such that .
- Write more compactly about functional relationships such as, “If you sell tickets, then your profit will be dollars, or “,” where “” is the profit function, and is the input (i.e. how many tickets you sell).

**Example 1**

*Write an algebraic expression for the perimeter and area of the rectangle below.*

To find the perimeter, we add the lengths of all 4 sides. We can still do this even if we don’t know the side lengths in numbers, because we can use variables like and to represent the unknown length and width. If we start at the top left and work clockwise, and if we use the letter to represent the perimeter, then we can say:

We are adding ’s and 's, so we can say that:

It's customary in algebra to omit multiplication symbols whenever possible. For example, means the same thing as or . We can therefore also write:

Area is *length multiplied by width*. In algebraic terms we get:

Note: by itself is an example of a **variable expression**; is an example of an **equation**. The main difference between expressions and **equa**tions is the presence of an **equa**ls sign (=).

In the above example, we found the simplest possible ways to express the perimeter and area of a rectangle when we don’t yet know what its length and width actually are. Now, when we encounter a rectangle whose dimensions we do know, we can simply substitute (or **plug in**) those values in the above equations. In this chapter, we will encounter many expressions that we can evaluate by plugging in values for the variables involved.

## Evaluate Algebraic Expressions

When we are given an algebraic expression, one of the most common things we might have to do with it is **evaluate** it for some given value of the variable. The following example illustrates this process.

**Example 2**

*Let . Find the value of .*

To find the solution, we substitute 12 for in the given expression. Every time we see , we replace it with 12.

**Note:** At this stage of the problem, we place the substituted value in parentheses. We do this to make the written-out problem easier to follow, and to avoid mistakes. (If we didn’t use parentheses and also forgot to add a multiplication sign, we would end up turning into 212 instead of 2 times 12!)

**Example 3**

*Let Find the value of .*

**Solution**

Many expressions have more than one variable in them. For example, the formula for the perimeter of a rectangle in the introduction has two variables: length and width . In these cases, be careful to substitute the appropriate value in the appropriate place.

**Example 5**

*The area of a trapezoid is given by the equation . Find the area of a trapezoid with bases and and height .*

To find the solution to this problem, we simply take the values given for the variables and , and plug them in to the expression for :

**Solution:** *The area of the trapezoid is 100 square centimeters.*

## Evaluate Algebraic Expressions with Exponents

Many formulas and equations in mathematics contain exponents. Exponents are used as a short-hand notation for repeated multiplication. For example:

The exponent stands for how many times the number is used as a factor (multiplied). When we deal with integers, it is usually easiest to simplify the expression. We simplify:

However, we need exponents when we work with variables, because it is much easier to write than .

To evaluate expressions with exponents, substitute the values you are given for each variable and simplify. It is especially important in this case to substitute using parentheses in order to make sure that the simplification is done correctly.

For a more detailed review of exponents and their properties, check out the video at http://www.mathvids.com/lesson/mathhelp/863-exponents---basics.

**Example 5**

*The area of a circle is given by the formula . Find the area of a circle with radius .*

Substitute values into the equation.

The area is approximately 907.92 square inches.

**Example 6**

*Find the value of , for and .*

Substitute the values of and in the following.

**Example 7**

*The height of a ball in flight is given by the formula , where the height is given in feet and the time is given in seconds. Find the height of the ball at time .*

**Solution**

*The height of the ball is 12 feet.*

## Review Questions

- Write the following in a more condensed form by leaving out a multiplication symbol.
- Evaluate the following expressions for and .
- Evaluate the following expressions for and .
- The weekly cost of manufacturing remote controls is given by the formula , where the cost is given in dollars.
- What is the cost of producing 1000 remote controls?
- What is the cost of producing 2000 remote controls?
- What is the cost of producing 2500 remote controls?

- The volume of a box without a lid is given by the formula , where is a length in inches and is the volume in cubic inches.
- What is the volume when ?
- What is the volume when ?