See How Things Work

Simplifying expressions

Unit
Algebraic Expressions
Part
1. Variables & Expressions
Lesson
1.9

To simplify an expression is to rewrite it, without changing its value, in a standard form with no parentheses and no like terms: 4(3x − 2) − 5(x − 1) becomes 7x − 3. This lesson defines the simplified form and separates its substance from its conventions, gives the complete procedure, proves that every step keeps the expression equivalent, and corrects the most common mistakes.

What “simplified” means

For a numerical expression, to simplify means to do all the operations possible:⁠[1] the result is one number (Order of Operations 1.1). An algebraic expression cannot be worked out to a number until its variables have values. What can be done is to remove the parentheses with the distributive law and to combine like terms;⁠[2] what is left, a sum of unlike terms, cannot be shortened further.⁠[3] The definition below says exactly what the result looks like.

It applies to the expressions of this unit that have no variable in a denominator, in which no sum is raised to a power and no product has two factors that are sums. Products such as (x + 1)(x + 2) and powers such as (x + 1)² are expanded in the unit Polynomials; quotients by expressions with variables are the subject of the unit Rational Expressions.

The degree of a term is the sum of the exponents of its variables; a constant has degree 0.⁠[4] So 7x² and 3xy have degree 2, −5y has degree 1, and 8 has degree 0.

Definition (Simplified form).

An expression is in simplified form when:

  1. it is a single term or a sum of terms, with no grouping symbols;
  2. each term is written in standard form: the coefficient first, then each of its variables once, in alphabetical order, with its exponent; a coefficient 1 is not written, and −1 is written as a minus sign;
  3. no two of its terms are like terms, and no term has the coefficient 0 (unless the whole expression is 0);
  4. its terms are written in order of decreasing degree, the constant term last.
Convention.

Conditions (1) and (3) are the substance of the definition: without parentheses and like terms, the expression is as short as the laws of arithmetic make it. Conditions (2) and (4) are conventions about how to write it, chosen so that everyone writes the same result. The number is written first in a term,⁠[5] and terms are written in decreasing powers of the variable;⁠[6] Wu lists such rules explicitly as conventions.⁠[7] Two further choices are this site’s own: the variables of a term are written in alphabetical order, as in lesson 1.2, and among terms of the same degree the one with the higher power of the alphabetically first variable comes first, and if those powers are equal, the one with the higher power of the next variable: a² + ab + b², x²y + xy². A different order of the factors or of the terms would give an equivalent expression, by the commutative laws; it is simply not the agreed one.

“Simplest” also depends on the purpose. The factored form 6(2x + 3) of lesson 1.8 is not simplified in this sense, yet it shows at once that the value is a multiple of 6 when x is an integer; a form is chosen to reveal what is needed.⁠[8] In this unit, “simplify” means: rewrite in the simplified form defined above.

Example (In simplified form or not?).

Which are in simplified form? (a) 7x² − x + 3; (b) 3x + 2 − x; (c) 5 + 2y; (d) y · 4; (e) 2(x + 1); (f) 0.

  1. (a) Yes: three unlike terms, each in standard form, of degrees 2, 1, 0.
  2. (b) No: 3x and −x are like terms. Combined: 2x + 2.
  3. (c) No, by condition (4) only: the constant comes last. Written as agreed: 2y + 5.
  4. (d) No, by condition (2): the coefficient comes first, 4y.
  5. (e) No: it has parentheses. Expanded: 2x + 2.
  6. (f) Yes: everything may cancel, and then the simplified form is 0.

Answer: (a) and (f).

The procedure

Every expression of this unit is simplified in four steps.

  1. Expand. Remove every pair of grouping symbols, innermost first, with the distributive law and the rule for a minus sign before parentheses (lesson 1.7). By the order of operations, a product is expanded before the sum or difference it stands in.⁠[9] A sum over a fraction bar is first written as the reciprocal of the denominator times the sum.
  2. Write each term in standard form. Multiply the numbers of the term together, and write each variable once with its exponent, in alphabetical order (lesson 1.2, lesson 1.5): 2x · 3x = 6x².
  3. Combine like terms, adding their coefficients (lesson 1.6), and leave out terms whose coefficient is 0.
  4. Order the terms by decreasing degree, the constant last.
Example (Two products).

Simplify 4(3x − 2) − 5(x − 1).

  1. Expand both products; the second is subtracted, so its signs change: 12x − 8 − 5x + 5.
  2. Combine: (12 − 5)x = 7x, and −8 + 5 = −3.
  3. The result 7x − 3 is in order already.
  4. Check at x = 1: 4 × 1 − 5 × 0 = 4, and 7 − 3 = 4.

Answer: 7x − 3.

Example (Nested grouping symbols).

Simplify 2[3(y + 4) − y] − 10.

  1. Innermost first: 3(y + 4) = 3y + 12, so the bracket holds 3y + 12 − y, which combines to 2y + 12.
  2. Expand the bracket: 2(2y + 12) = 4y + 24.
  3. Combine the constants: 24 − 10 = 14. Result: 4y + 14.
  4. Check at y = 1: 2 × (15 − 1) − 10 = 28 − 10 = 18, and 4 + 14 = 18.

Answer: 4y + 14. Combining inside the bracket before expanding it is allowed, and keeps the numbers small.

Example (Two variables and squares).

Simplify x(x − 3y) + 2y(4x + y) − x².

  1. Expand: x² − 3xy + 8xy + 2y² − x², writing 2y · 4x = 8xy with the variables in alphabetical order.
  2. Combine: x² − x² = 0 drops out; −3xy + 8xy = 5xy; 2y² stays.
  3. Order: both terms have degree 2, and xy has the higher power of x: 5xy + 2y².
  4. Check at x = y = 1: 1 × (−2) + 2 × 5 − 1 = 7, and 5 + 2 = 7.

Answer: 5xy + 2y².

Example (A fraction bar and a fraction coefficient).

Simplify 6a − 93 + a2.

  1. The fraction bar: 13(6a − 9) = 2a − 3. The second term is 12a (lesson 1.5).
  2. Combine: (2 + 12)a = 52a. Result: 52a − 3.
  3. Check at a = 2: 3 ÷ 3 + 1 = 2, and 5 − 3 = 2.

Answer: 52a − 3, also written 5a2 − 3.

Example (An edge case: everything cancels).

Simplify 3(2m + 1) − 6(m + 12).

  1. Expand: 6m + 3 − 6m − 3, since 6 × 12 = 3.
  2. Combine: (6 − 6)m = 0 and 3 − 3 = 0.
  3. Check at m = 1: 3 × 3 − 6 × 32 = 9 − 9 = 0.

Answer: 0. The expression has the value 0 for every m, although it does not look like it.

Why every step keeps the value

Theorem (simplifying).

Applied to an expression of the kind described in Section 1, the procedure stops after finitely many steps. Its result is in simplified form and is equivalent to the expression it started from.

Proof.

Each step keeps the value. Every step replaces one part of the expression by an expression that has the same value at every value of the variables: the distributive law and the rule for a minus sign (lesson 1.7); multiplying by a reciprocal instead of dividing by a nonzero number (Rational Numbers 1.4); reordering and regrouping the factors of a product, and x · x = x² (lesson 1.2); combining like terms (lesson 1.6); and the commutative and associative laws of addition for reordering terms. By the Theorem on replacing a part, each new expression has the same value as the one before at every value of the variables, and by the Proposition on chains of equivalences the last one is equivalent to the first (lesson 1.4). No step divides by an expression with a variable, so every expression in the chain has a value everywhere.

The procedure stops. An innermost group contains no group, so it is a sum of terms, and its factor contains no sum (no product has two factors that are sums), so the factor is a term. The product of a term and a term is a term, so expanding it gives a sum of terms: one pair of grouping symbols disappears and none appears. There are finitely many pairs, so after finitely many expansions none is left. Combining then lowers the number of terms each time, and the terms can be ordered in one step.

The result is simplified. It has no grouping symbols, each term is written in standard form, each group of like terms has become one term, the zeros have been left out, and the terms are in order.

The Theorem explains why a check at one value is a good test but not a proof: the proof that the result is right is the chain of laws, step by step. A check that fails, on the other hand, proves that some step is wrong, as a single counterexample disproves an equivalence (lesson 1.4).

Looking ahead.

Two different simplified forms are never equivalent; lesson 1.6 proved cases of this, such as x + x² differing from every single term. The general fact follows from a theorem of the later unit Polynomial & Rational Functions, that a nonzero polynomial has only finitely many roots. So the simplified form is a canonical form: every expression of this kind has exactly one, and two such expressions are equivalent exactly when their simplified forms are the same.⁠[10]

Common mistakes

Most errors in simplifying break one of the laws behind the steps. Each of them changes the value, so each is caught by a check at one value of the variables.

2(x + 3)

x111x + 3x111x + 3

2x + 3

xx111

x + x

xx

x²

x²
Figure. Two mistakes seen in tiles (schematic, as in lesson 1.2). 2(x + 3) is two copies of x + 3: two tiles for x and six for 1, so it is 2x + 6, not 2x + 3, which has only three. And x + x is two tiles for x, that is 2x; the square x² is a different quantity.
Example (Four common mistakes).

Each “simplification” is wrong. Find a counterexample and correct it: (a) −(x − 3) = −x − 3; (b) 2(x + 3) = 2x + 3; (c) x + x = x²; (d) 7 − 2(x + 4) = 5(x + 4).

  1. (a) At x = 0: −(0 − 3) = 3, but −0 − 3 = −3. The minus sign changes the sign of every term inside: −(x − 3) = −x + 3 (lesson 1.7).
  2. (b) At x = 0: 2 × 3 = 6, but 0 + 3 = 3. The factor multiplies every term: 2(x + 3) = 2x + 6.
  3. (c) At x = 3: 3 + 3 = 6, but 3² = 9. Adding like terms adds the coefficients: x + x = 2x (lesson 1.6); a square comes from multiplying, x · x = x².
  4. (d) At x = 0: 7 − 8 = −1, but 5 × 4 = 20. The product is formed before the subtraction (Order of Operations 1.3): 7 − 2x − 8 = −2x − 1.

Answer: −x + 3, 2x + 6, 2x and −2x − 1. In simplified form, (a) is written −x + 3: decreasing degree, the constant last.

Example (A mistake in the middle of a chain).

Someone simplifies 5(2k − 1) − (3k − 4) as follows: line 1, the expression; line 2, 10k − 5 − 3k − 4; line 3, 7k − 9. Which line is wrong?

  1. Check line 2 against line 1 at k = 1: line 1 is 5 × 1 − (−1) = 6, and line 2 is 10 − 5 − 3 − 4 = −2. The first error is in line 2.
  2. The group 3k − 4 is subtracted, so −4 becomes +4: line 2 should be 10k − 5 − 3k + 4.
  3. Then line 3 is 7k − 1. Check at k = 1: 7 − 1 = 6.

Answer: line 2 is wrong, and line 3 inherits the error. Line 3 follows correctly from line 2, so checking only the last step would miss it.

Game

Find the first wrong line

Round
1
Score
0
Streak
0

Someone simplified the expression below, one step per line. Which line is the first wrong one?

Line 14(4x − 6y) − (2x − 4y)

Exercises

Exercise .

Simplify 5(2k − 3) + 4k and check at one value.

▸ Show solution

10k − 15 + 4k = 14k − 15. Check at k = 1: 5 × (−1) + 4 = −1, and 14 − 15 = −1.

Exercise .

Simplify 9 − 2(3a − 4) + a.

▸ Show solution

9 − 6a + 8 + a (the product is expanded first, and subtracting it changes both signs) = −5a + 17. Check at a = 1: 9 − 2 × (−1) + 1 = 12, and −5 + 17 = 12.

Exercise .

Simplify 3x(x + 2) − x(x − 5).

▸ Show solution

3x² + 6x − x² + 5x = 2x² + 11x. Check at x = 1: 3 × 3 − 1 × (−4) = 13, and 2 + 11 = 13.

Exercise .

Simplify 8n + 44 − (n − 1).

▸ Show solution

14(8n + 4) = 2n + 1, and −(n − 1) = −n + 1. Sum: 2n + 1 − n + 1 = n + 2. Check at n = 2: 20 ÷ 4 − 1 = 4, and 2 + 2 = 4.

Exercise .

Which are in simplified form? Simplify the others. (a) 4 + 3t; (b) y² − 2y + 1; (c) 6p − p; (d) a · 5b; (e) 2(x − 1).

▸ Show solution

(a) No, only by the convention on order: 3t + 4. (b) Yes. (c) No, like terms: 5p. (d) No, the coefficient comes first: 5ab. (e) No, parentheses: 2x − 2 (the factored form may still be the more useful one for some purposes).

Exercise .

Find and correct the error: 6 − (2x − 5) = 6 − 2x − 5 = 1 − 2x.

▸ Show solution

At x = 0 the left side is 6 − (−5) = 11, but 1 − 0 = 1. The whole group 2x − 5 is subtracted, so −5 becomes +5: 6 − 2x + 5 = −2x + 11.

Exercise .

Show that 4(x + 2) − 2(2x + 3) has the same value for every x, and find that value.

▸ Show solution

4x + 8 − 4x − 6 = 2: the terms in x cancel. So the expression has the value 2 for every rational x. Check at x = 5: 4 × 7 − 2 × 13 = 28 − 26 = 2.

Exercise .

Simplify a(b + c) − b(a − c), then factor the result.

▸ Show solution

Expand: ab + ac − ab + bc. The terms ab and −ab cancel, leaving ac + bc, in simplified form.

Factor out the common factor c (lesson 1.8): ac + bc = c(a + b). Check at a = 1, b = 2, c = 3: 1 × 5 − 2 × (−2) = 9, and 3 × 3 = 9.

Summary

  1. An expression is in simplified form when it has no grouping symbols and no like terms, each term is written coefficient first with its variables in alphabetical order, and the terms are in decreasing degree. The first and third conditions are the substance; the order is a convention.
  2. To simplify: expand every group, innermost first; write each term in standard form; combine like terms; order the terms.
  3. Every step replaces a part by an equal part, so the result is equivalent to the original expression; the procedure always ends in simplified form.
  4. The common mistakes each break a law: −(x − 3) is −x + 3, 2(x + 3) is 2x + 6, x + x is 2x, and a product is expanded before it is subtracted.
  5. A check at one value catches a wrong step but never proves a right one; the proof is the chain of laws.

Sources

  1. 1.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Foundations”, section 1.2, “Use the Language of Algebra” (“Simplify Expressions Using the Order of Operations”), p. 26 (the whole topic: pp. 26–27).
    “To simplify an expression means to do all the math possible.”
    Used for: to simplify a numerical expression means to do all the operations possible.
  2. 2.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 2, “Solving Linear Equations and Inequalities”, section 2.4, “Use a General Strategy to Solve Linear Equations” (“Solve Equations Using the General Strategy”), p. 243 (the whole topic: pp. 242–245).
    “Simplify each side of the equation as much as possible. Use the Distributive Property to remove any parentheses. Combine like terms.”
    Used for: simplifying an algebraic expression means removing the parentheses with the distributive law and combining like terms.
  3. 3.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 2, “The Language of Algebra”, section 2.2, “Evaluate, Simplify, and Translate Expressions” (“Simplify Expressions by Combining Like Terms”), p. 121 (the whole topic: pp. 119–121).
    “These are not like terms and cannot be combined.”
    Used for: a sum of unlike terms cannot be shortened further; the source goes on to call such an expression “in simplest form”.
  4. 4.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 6, “Polynomials”, section 6.1, “Add and Subtract Polynomials” (“Determine the Degree of Polynomials”), p. 687 (the whole topic: pp. 687–688).
    “The degree of a term is the sum of the exponents of its variables. The degree of a constant is 0.”
    Used for: the degree of a term is the sum of the exponents of its variables; a constant has degree 0.
  5. 5.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.3, “Distributive Property” (“Simplify Expressions Using the Distributive Property”), p. 561 (the whole topic: pp. 557–563).
    “the product of a number and a variable, we write the number first.”
    Used for: the convention that in a term the number is written first (the sentence begins on p. 560: “When a term is”).
  6. 6.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 6, “Polynomials”, section 6.1, “Add and Subtract Polynomials” (“Determine the Degree of Polynomials”), p. 687 (the whole topic: pp. 687–688).
    “A polynomial is in standard form when the terms of a polynomial are written in descending order of degrees.”
    Used for: the convention that terms are written in decreasing degree.
  7. 7.
    H. Wu, Introduction to School Algebra (draft of July 24, 2010, Department of Mathematics, University of California, Berkeley, 2010).
    Chapter 1, “Symbolic Expressions”, section “Polynomials and order of operations”, p. 22 (the whole topic: pp. 22–24).
    “Observe that we have followed three conventions in writing the latter sum involving the powers of a fixed number x:”
    Used for: the rules for writing a simplified sum are conventions (p. 22; among Wu’s three: “Powers of x are placed last in each term” and “The terms are written in decreasing powers of the number x”).
  8. 8.
    National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).
    Section “High School Algebra, Seeing Structure in Expressions, standard A-SSE.3 (p. 64)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
    “Choose and produce an equivalent form of an expression to reveal and explain properties of the quantity represented by the expression.”
    Used for: which equivalent form is best depends on what it should reveal; a factored form can be the more useful one.
  9. 9.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 158 (the whole topic: pp. 155–159).
    “If the expression inside the parentheses cannot be simplified, the next step would be multiply using the distributive property, which removes the parentheses.”
    Used for: within the order of operations, a product with a group is expanded before the sum or difference it stands in.
  10. 10.
    Eric W. Weisstein, “Canonical Form”, MathWorld, A Wolfram Resource.
    “Two objects are equivalent precisely when they have the same canonical form, so canonical forms can be used to test equivalence.”
    Used for: a canonical form: two objects are equivalent exactly when their canonical forms are the same.