Chapter 8 · Expressions
Evaluate Expressions by Substituting Numbers
Learn to find the value of an expression by replacing its variable with a whole number, a decimal or a fraction, then calculating in the correct order.
A bowling alley charges 3 dollars for each game and 5 dollars to rent shoes. Let be the number of games you play. Then your total cost, in dollars, is . The term means : 3 dollars for each of the games.
Here is a variable: a letter that stands for a number. So is not one number yet. It is a rule that gives the cost as soon as you know .
To evaluate an expression means to find the single number it equals when its variable has a given value. That number is the value of the expression. You find it by substituting: you replace the variable with the given number, and then you calculate.
The table evaluates for 1 game, 2 games and 4 games.
| Games played | Substitute for the variable | After multiplying | Cost in dollars |
|---|---|---|---|
Key concept
Evaluate by substituting
To evaluate an expression, replace the variable with the given number wherever the variable appears. Then calculate until one number is left. The expression stays the same. Its value depends on the number you substitute.
Two facts guide the calculation:
- A number written directly in front of a variable multiplies it. So becomes when .
- The expressions in this lesson use only , , and , with no parentheses. For these, multiply and divide first, from left to right. Then add and subtract, from left to right.
The given number can be a whole number, a decimal or a fraction. The steps are the same each time.
Worked example
A whole-number value
Evaluate for .
Show the hidden multiplication. The term 3n means 3 times n, because a number written directly in front of a variable multiplies it. The new line means exactly the same as the old one.
Substitute 4 for n. The variable appears twice, and each n stands for the same number, so replace it in both places.
Multiply and divide before you add. The expression adds two parts, so you need the value of each part first. This expression has no parentheses, so that is the agreed order.
Add the two parts. You are finished when one number is left.
Answer
When , the value of is .
So far, every value has been a whole number. In the bowling example, counts games, so it is a whole number. But many quantities, such as a length or a weight, are often decimals or fractions. A variable can stand for those numbers too.
The method does not change. You still substitute, and you still calculate in the same order. Only the arithmetic is different, because now you work with decimals and fractions.
The table evaluates one expression, , for a whole number, a decimal and a fraction.
| Value of the variable | Substitute | Multiply first | Then subtract |
|---|---|---|---|
Worked example
A decimal value
Evaluate for .
Substitute 0.6 for w. Write the times sign, because 2.5w means 2.5 times w.
Multiply before you subtract. Since 0.6 is 6 tenths, first find 2.5 times 6, which is 15. So the product is 15 tenths, and 15 tenths is 1.5.
Subtract by place value: 5 tenths minus 2 tenths is 3 tenths, and 1 one minus 1 one is 0 ones.
Answer
When , the value of is .
Worked example
A fraction value
Evaluate for .
Substitute three fourths for r and write the times sign. Without the sign, a 6 next to three fourths would look like the mixed number six and three fourths, which means 6 plus three fourths. The expression needs 6 times three fourths.
Multiply first. To multiply a whole number by a fraction, multiply the whole number by the numerator and keep the denominator.
Write eighteen fourths with a denominator of 2 so that it matches one half. Dividing the numerator and the denominator by the same number, 2, gives an equal fraction.
Subtract. The denominators are the same, so subtract the numerators and keep the denominator.
Eight halves make 4, because 8 divided by 2 is 4.
Answer
When , the value of is .
The big idea: to evaluate an expression with one variable, substitute the given number for the variable wherever it appears, then calculate until one number is left. Write hidden multiplication with a sign. For expressions like the ones here, with only the four operations and no parentheses, multiply and divide before you add and subtract. The method is the same for whole numbers, decimals and fractions.
Next, you will evaluate expressions that have more than one variable, and expressions with exponents and grouping symbols.