Evaluating and Simplifying Expressions
Learning goals
- Evaluate with the full order of operations, protecting each substituted sign with parentheses
- Combine like terms by adding coefficients, and explain why using the distributive property run backward
- Distribute first when parentheses are present, then collect, treating a leading minus as
- Distinguish simplifying from evaluating, and say what each produces
Evaluating with the full order of operations
You met substitution in the last lesson: replace each variable with its value, written in parentheses, then compute. With a single small term that is the whole story. The moment an expression has several terms, an exponent, or a grouped piece, the second half of the job starts doing real work. That second half is the order of operations.
Recall the order from the order-of-operations chapter, often remembered as PEMDAS: first whatever is inside Parentheses, then Exponents. Next come Multiplication and Division from left to right, and last Addition and Subtraction from left to right. Substitution does not change any of that. It only swaps a letter for a number; the operations already written around that letter still run in their fixed order.
So evaluating a multi-term expression happens in two steps. Step one: substitute every variable, each value wrapped in its own parentheses. Step two: work through the resulting arithmetic strictly in order, one operation at a time. Wrapping each value in parentheses in step one protects its sign through step two.
Worked example 1 Evaluate when
Substitute for every , each one in its own parentheses, and copy the rest of the expression unchanged:
Now work in order. Exponents come before multiplication, so square the first:
The middle term is a multiplication, . Substituting those two results back leaves only additions and subtractions:
Going left to right, , then . So the expression is worth when . The exponent reached only the , never the coefficient , because squares the variable alone.
When the input is negative
A negative input is where the parentheses earn their keep. The whole point of writing a substituted value as instead of a bare is to keep the minus sign glued to the number. That glue matters when an exponent or a coefficient acts on the number. Two cases trip people up constantly.
The first is squaring a negative. If , then means , and a negative times a negative is positive, so . Without the parentheses you might write , which by the order of operations means , the wrong sign entirely. The parentheses are the difference between and .
The second is a coefficient meeting a negative. In with you get , because the two minus signs multiply to a plus. Keep both signs visible and let the integer rules from chapter 2 settle them.
Worked example 2 Evaluate when
Substitute for each , every value inside parentheses so the sign cannot drift:
Exponents first. Squaring gives a positive result, since a negative times a negative is positive:
Next the multiplication in the middle term. Watch the sign already in front: the term is , so
Substituting both results back, the expression becomes a short arithmetic chain:
So the value is . Every sign survived because each traveled inside its own parentheses.
Check your understanding
Evaluate when .
Substitute for each in parentheses, then apply the order of operations: exponent first, then the multiplication, then add.
The square is positive , and , so the sum is .
Two variables and grouped pieces
Nothing changes when there are two letters: substitute both, still each in parentheses, then compute in order. A grouped piece inside parentheses must be finished first, exactly as the “P” in PEMDAS demands, before it is combined with anything else in the expression.
Worked example 3 Evaluate when and
Replace with and with , keeping the grouping parentheses that were already there:
The order of operations says finish the inside of the parentheses first:
Then the exponent in the last term, . The line is now
So the expression equals . The addition ran before the multiplication by only because parentheses surrounded it. Without them, the order of operations would multiply first and change the answer.
Simplifying: the idea of like terms
Now set substitution aside. To simplify an expression is to rewrite it in a shorter, equivalent form, one that produces the same value for every possible input. You do that rewriting without choosing any input at all. The main tool for doing this is combining like terms.
Two terms are like terms when they have exactly the same variable part: the same letters raised to the same powers. Only the coefficient out front is allowed to differ. The terms and are like terms, both being some number of ‘s. The terms and are like terms. But and are not like terms, because the variables differ, and and are not like terms, because the powers differ. A plain number, a constant, is like only another constant.
Three ‘s plus five ‘s is eight ‘s, the same way three apples plus five apples is eight apples: you are just counting how many copies of the same thing you have. The reason that always works, no matter what the coefficients are, comes straight from the distributive property you proved in chapter 1.
Why #
Recall the distributive property, . Read from right to left it says that a common factor can be pulled out of a sum: . The two terms and share exactly such a common factor, namely , since and .
Pull that shared out front. The distributive property, run backward, gives
Inside the parentheses is ordinary arithmetic: . Therefore
So combining like terms is not a new rule to memorize. It is the distributive property pulling the whole matching variable part out front, then adding the coefficients left behind. That only works when the two variable parts are identical, letter for letter and power for power. and do not match, so there is no single variable part to pull out, and the distributive property gives nothing useful. The sum is already as short as it gets.
Sharing part of a variable part is not enough either. and both contain a factor of , but and are different variable parts, so they stay unlike terms and cannot combine, even though divides evenly into both.
This gives you a shortcut you will use every day. To combine like terms, add or subtract their coefficients and keep the common variable part unchanged. The variable part is a label that rides along: you never add the exponents or change the letter.
Check your understanding
Which pair are NOT like terms, even though both terms contain a factor of ?
and both contain a factor of , but their variable parts are and , different powers. Combining like terms needs the variable parts to match exactly, not just share a factor.
The other pairs are all like terms: and share the variable part , and share the variable part , and and are both constants.
Check your understanding
Which equation is the reason is allowed to combine into ?
Combining like terms is not a separate rule: it is the distributive property, , read from right to left. Because and share the factor , that factor pulls out front: . This only works because the variable parts of and are identical; it would not work for and , since and are different variable parts.
Worked example 4 Simplify
Sort the expression into groups of like terms. The variable terms and are alike; the constants and are alike. Remember each term carries the sign in front of it, so the constants are and :
Each term kept the sign it started with when it moved into its group.
Collect the -terms by adding their coefficients:
Collect the constants the same way:
Put the two simplified groups together:
The expression went from four terms to two, and has no more like terms to combine, so it is in simplest form. The -terms and the constants stay separate because they are unlike.
Check your understanding
Simplify .
Group the like terms: the -terms and , and the constants and .
Combining each group gives . The variable terms and the constants do not mix, since they are unlike.
Simplifying with the distributive property
Many expressions cannot be simplified until you first remove a set of parentheses, and the tool for that is the distributive property running forward, . Multiply the outside factor by every term inside, then look for like terms to collect. With variables in the mix, the only new feature is that the products keep their letters.
For instance, distributes to . The outside reaches both the and the , just as it reached both numbers in the chapter-1 version of the rule. Once the parentheses are gone, any like terms scattered across the expression can be gathered.
Worked example 5 Simplify
Start by distributing the across both terms inside the parentheses:
Rewrite the whole expression with the parentheses gone:
Now combine the like terms. The variable terms and collect, while the constant has no partner:
The simplified expression is . Distributing first was essential. Until the parentheses were cleared, there was no to pair with the .
A minus sign in front of a parenthesis is the classic trap, and it is really just distributing a . The expression means times , so the sign of every term inside flips: . Distributing a negative coefficient works the same way, with the integer sign rules from chapter 2 deciding each product.
Check your understanding
Simplify .
A leading minus is a factor of , so it multiplies every term inside the parentheses, not just the first one.
Both signs flip: the becomes and the becomes .
Worked example 6 Simplify
Distribute each factor across its parentheses, watching the signs in the second group especially. The first factor, , gives
The second factor is , a negative, so it multiplies both inside terms and flips signs accordingly:
The negative times the negative became . Now write the full expression without parentheses and gather like terms:
Combine the -terms and the constants separately:
so the simplified form is . The whole result rested on distributing the correctly, including the sign change on the .
Check your understanding
Simplify .
Distribute the across the parentheses, then combine like terms with the .
The -terms and give , and the constant has no like term, so the result is .
Evaluating versus simplifying
Evaluating and simplifying are distinguished by what you do, not just what you get. Evaluating substitutes a specific value for each variable and always ends in a single number. Simplifying rewrites the expression into an equivalent form that works for every input, without ever substituting a value; that equivalent form usually still carries a variable, but not always, since simplifies to the plain number even though no value was ever chosen.
They cooperate. Because a simplified expression equals the original for every input, you may simplify once and then evaluate as many times as you need. To evaluate at , simplifying it first to turns the work into the single step , and that same simplified form makes evaluating at just as fast: .
Check your understanding
Which word describes turning into with no numbers substituted?
No value was given to , and the result is still an expression with a variable, not a single number.
Rewriting an expression in shorter equivalent form by combining like terms is simplifying. Evaluating would require a value for and produce a number.