This is “Simplifying Algebraic Expressions”, section 2.2 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:

Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.

DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

- Apply the distributive property to simplify an algebraic expression.
- Identify and combine like terms.

The properties of real numbers are important in our study of algebra because a variable is simply a letter that represents a real number. In particular, the distributive propertyGiven any real numbers *a*, *b*, and *c*, $a\left(b+c\right)=ab+ac$ or $\left(b+c\right)a=ba+ca$. states that given any real numbers *a*, *b*, and *c*,

This property is applied when simplifying algebraic expressions. To demonstrate how it is used, we simplify $2(5-3)$ in two ways, and observe the same correct result.

Certainly, if the contents of the parentheses can be simplified, do that first. On the other hand, when the contents of parentheses cannot be simplified, multiply every term within the parentheses by the factor outside of the parentheses using the distributive property. Applying the distributive property allows you to multiply and remove the parentheses.

**Example 1:** Simplify: $5\left(7y+2\right)$.

**Solution:** Multiply 5 times each term inside the parentheses.

Answer: $35y+10$

**Example 2:** Simplify: $-3\left(2{x}^{2}+5x+1\right)$.

**Solution:** Multiply −3 times each of the coefficients of the terms inside the parentheses.

Answer: $-6{x}^{2}-15x-3$

**Example 3:** Simplify: $5\left(-2a+5b\right)-2c$.

**Solution:** Apply the distributive property by multiplying only the terms grouped within the parentheses by 5.

Answer: $-10a+25b-2c$

Because multiplication is commutative, we can also write the distributive property in the following manner: $\left(b+c\right)a=ba+ca$.

**Example 4:** Simplify: $\left(3x-4y+1\right)\cdot 3$.

**Solution:** Multiply each term within the parentheses by 3.

Answer: $9x-12y+3$

Division in algebra is often indicated using the fraction bar rather than with the symbol (÷). And sometimes it is useful to rewrite expressions involving division as products:

Rewriting algebraic expressions as products allows us to apply the distributive property.

**Example 5:** Divide: $\frac{25{x}^{2}-5x+10}{5}$.

**Solution:** First, treat this as ${\scriptscriptstyle \frac{1}{5}}$ times the expression in the numerator and then distribute.

**Alternate Solution:** Think of 5 as a common denominator and divide each of the terms in the numerator by 5:

Answer: $5{x}^{2}-x+2$

We will discuss the division of algebraic expressions in more detail as we progress through the course.

**Try this!** Simplify: $\frac{1}{3}\left(-9x+27y-3\right)$.

Answer: $-3x+9y-1$

Terms with the same variable parts are called like termsConstant terms or terms with the same variable parts., or similar termsUsed when referring to like terms.. Furthermore, constant terms are considered to be like terms. If an algebraic expression contains like terms, apply the distributive property as follows:

In other words, if the variable parts of terms are *exactly the same*, then we may add or subtract the coefficients to obtain the coefficient of a single term with the same variable part. This process is called combining like termsAdding or subtracting like terms within an algebraic expression to obtain a single term with the same variable part.. For example,

Notice that the variable factors and their exponents do not change. Combining like terms in this manner, so that the expression contains no other similar terms, is called simplifying the expressionThe process of combining like terms until the expression contains no more similar terms.. Use this idea to simplify algebraic expressions with multiple like terms.

**Example 6:** Simplify: $3a+2b-4a+9b$.

**Solution:** Identify the like terms and combine them.

Answer: $-a+11b$

In the previous example, rearranging the terms is typically performed mentally and is not shown in the presentation of the solution.

**Example 7:** Simplify: ${x}^{2}+3x+2+4{x}^{2}-5x-7$.

**Solution:** Identify the like terms and add the corresponding coefficients.

Answer: $5{x}^{2}-2x-5$

**Example 8:** Simplify: $5{x}^{2}y-3x{y}^{2}+4{x}^{2}y-2x{y}^{2}$.

**Solution:** Remember to leave the variable factors and their exponents unchanged in the resulting combined term.

Answer: $9{x}^{2}y-5x{y}^{2}$

**Example 9:** Simplify: $\frac{1}{2}a-\frac{1}{3}b+\frac{3}{4}a+b$.

**Solution:** To add the fractional coefficients, use equivalent coefficients with common denominators for each like term.

Answer: $\frac{5}{4}a+\frac{2}{3}b$

**Example 10:** Simplify: $-12x{\left(x+y\right)}^{3}+26x{\left(x+y\right)}^{3}$.

**Solution:** Consider the variable part to be $x{\left(x+y\right)}^{3}$. Then this expression has two like terms with coefficients −12 and 26.

Answer: $14x{\left(x+y\right)}^{3}$

**Try this!** Simplify: $-7x+8y-2x-3y$.

Answer: $-9x+5y$

When simplifying, we will often have to combine like terms after we apply the distributive property. This step is consistent with the order of operations: multiplication before addition.

**Example 11:** Simplify: $2\left(3a-b\right)-7\left(-2a+3b\right)$.

**Solution:** Distribute 2 and −7 and then combine like terms.

Answer: $20a-23b$

In the example above, it is important to point out that you can remove the parentheses and collect like terms because you multiply the second quantity by −7, not just by 7. To correctly apply the distributive property, think of this as adding −7 times the given quantity, $2\left(3a-b\right)+(-7)\left(-2a+3b\right)$.

**Try this!** Simplify: $-5\left(2x-3\right)+7x$.

Answer: $-3x+15$

Often we will encounter algebraic expressions like $+\left(a+b\right)$ or $-\left(a+b\right)$. As we have seen, the coefficients are actually implied to be +1 and −1, respectively, and therefore, the distributive property applies using +1 or –1 as the factor. Multiply each term within the parentheses by these factors:

This leads to two useful properties,

**Example 12:** Simplify: $5x-\left(-2{x}^{2}+3x-1\right)$.

**Solution:** Multiply each term within the parentheses by −1 and then combine like terms.

Answer: $2{x}^{2}+2x+1$

When distributing a negative number, all of the signs within the parentheses will change. Note that $5x$ in the example above is a separate term; hence the distributive property does not apply to it.

**Example 13:** Simplify: $5-2\left({x}^{2}-4x-3\right)$.

**Solution:** The order of operations requires that we multiply before subtracting. Therefore, distribute −2 and then combine the constant terms. Subtracting 5 − 2 first leads to an incorrect result, as illustrated below:

Answer: −2*x*^{2} + 8*x* + 11

It is worth repeating that you must *follow the order of operations*: multiply and divide before adding and subtracting!

**Try this!** Simplify: $8-3\left(-{x}^{2}+2x-7\right)$.

Answer: $3{x}^{2}-6x+29$

**Example 14:** Subtract $3x-2$ from twice the quantity $-4{x}^{2}+2x-8$.

**Solution:** First, group each expression and treat each as a quantity:

Next, identify the key words and translate them into a mathematical expression.

Finally, simplify the resulting expression.

Answer: $-8{x}^{2}+x-14$

- The properties of real numbers apply to algebraic expressions, because variables are simply representations of unknown real numbers.
- Combine like terms, or terms with the same variable part, to simplify expressions.
- Use the distributive property when multiplying grouped algebraic expressions, $a\left(b+c\right)=ab+ac$.
- It is a best practice to apply the distributive property only when the expression within the grouping is completely simplified.
- After applying the distributive property, eliminate the parentheses and then combine any like terms.
- Always use the order of operations when simplifying.

Part A: Distributive Property

*Multiply.*

1. $3\left(3x-2\right)$

2. $12(-5y+1)$

3. $-2\left(x+1\right)$

4. $5(a-b)$

5. $\frac{5}{8}\left(8x-16\right)$

6. $-\frac{3}{5}\left(10x-5\right)$

7. $(2x+3)\cdot 2$

8. $(5x-1)\cdot 5$

9. $\left(-x+7\right)(-3)$

10. $\left(-8x+1\right)(-2)$

11. $-(2a-3b)$

12. $-(x-1)$

13. $\frac{1}{3}(2x+5)$

14. $-\frac{3}{4}(y-2)$

15. $-3\left(2a+5b-c\right)$

16. $-\left(2{y}^{2}-5y+7\right)$

17. $5\left({y}^{2}-6y-9\right)$

18. $-6\left(5{x}^{2}+2x-1\right)$

19. $7{x}^{2}-\left(3x-11\right)$

20. $-\left(2a-3b\right)+c$

21. $3\left(7{x}^{2}-2x\right)-3$

22. $\frac{1}{2}\left(4{a}^{2}-6a+4\right)$

23. $-\frac{1}{3}\left(9{y}^{2}-3y+27\right)$

24. $\left(5{x}^{2}-7x+9\right)(-5)$

25. $6\left(\frac{1}{3}{x}^{2}-\frac{1}{6}x+\frac{1}{2}\right)$

26. $-2\left(3{x}^{3}-2{x}^{2}+x-3\right)$

27. $\frac{20x+30y-10z}{10}$

28. $\frac{-4a+20b-8c}{4}$

29. $\frac{3{x}^{2}-9x+81}{-3}$

30. $\frac{-15{y}^{2}+20y-5}{5}$

*Translate the following sentences into algebraic expressions and then simplify.*

31. Simplify two times the expression $25{x}^{2}-9$.

32. Simplify the opposite of the expression $6{x}^{2}+5x-1$.

33. Simplify the product of 5 and ${x}^{2}-8$.

34. Simplify the product of −3 and $-2{x}^{2}+x-8$.

Part B: Combining Like Terms

*Simplify.*

35. $2x-3x$

36. $-2a+5a-12a$

37. $10y-30-15y$

38. $\frac{1}{3}x+\frac{5}{12}x$

39. $-\frac{1}{4}x+\frac{4}{5}+\frac{3}{8}x$

40. $2x-4x+7x-x$

41. $-3y-2y+10y-4y$

42. $5x-7x+8y+2y$

43. $-8\alpha +2\beta -5\alpha -6\beta $

44. $-6\alpha +7\beta -2\alpha +\beta $

45. $3x+5-2y+7-5x+3y$

46. $\u2013y+8x-3+14x+1-y$

47. $4xy-6+2xy+8$

48. $-12ab-3+4ab-20$

49. $\frac{1}{3}x-\frac{2}{5}y+\frac{2}{3}x-\frac{3}{5}y$

50. $\frac{3}{8}a-\frac{2}{7}b-\frac{1}{4}a+\frac{3}{14}b$

51. $-4{x}^{2}-3xy+7+4{x}^{2}-5xy-3$

52. ${x}^{2}+{y}^{2}-2xy-{x}^{2}+5xy-{y}^{2}$

53. ${x}^{2}-{y}^{2}+2{x}^{2}-3y$

54. $\frac{1}{2}{x}^{2}-\frac{2}{3}{y}^{2}-\frac{1}{8}{x}^{2}+\frac{1}{5}{y}^{2}$

55. $\frac{3}{16}{a}^{2}-\frac{4}{5}+\frac{1}{4}{a}^{2}-\frac{1}{4}$

56. $\frac{1}{5}{y}^{2}-\frac{3}{4}+\frac{7}{10}{y}^{2}-\frac{1}{2}$

57. $6{x}^{2}y-3x{y}^{2}+2{x}^{2}y-5x{y}^{2}$

58. $12{x}^{2}{y}^{2}+3xy-13{x}^{2}{y}^{2}+10xy$

59. $-a{b}^{2}+{a}^{2}b-2a{b}^{2}+5{a}^{2}b$

60. ${m}^{2}{n}^{2}-mn+mn-3{m}^{2}n+4{m}^{2}{n}^{2}$

61. $2{\left(x+y\right)}^{2}+3{\left(x+y\right)}^{2}$

62. $\frac{1}{5}{\left(x+2\right)}^{3}-\frac{2}{3}{\left(x+2\right)}^{3}$

63. $-3x\left({x}^{2}-1\right)+5x\left({x}^{2}-1\right)$

64. $5\left(x-3\right)-8\left(x-3\right)$

65. $-14\left(2x+7\right)+6\left(2x+7\right)$

66. $4xy{\left(x+2\right)}^{2}-9xy{\left(x+2\right)}^{2}+xy{\left(x+2\right)}^{2}$

Part C: Mixed Practice

*Simplify.*

67. $5\left(2x-3\right)+7$

68. $-2\left(4y+2\right)-3y$

69. $5x-2(4x-5)$

70. $3-(2x+7)$

71. $2x-\left(3x-4y-1\right)$

72. $\left(10y-8\right)-\left(40x+20y-7\right)$

73. $\frac{1}{2}y-\frac{3}{4}x-\left(\frac{2}{3}y-\frac{1}{5}x\right)$

74. $\frac{1}{5}a-\frac{3}{4}b+\frac{3}{15}a-\frac{1}{2}b$

75. $\frac{2}{3}\left(x-y\right)+x-2y$

76. $-\frac{1}{3}\left(6x-1\right)+\frac{1}{2}\left(4y-1\right)-\left(-2x+2y-\frac{1}{6}\right)$

77. $\left(2{x}^{2}-7x+1\right)+\left({x}^{2}+7x-5\right)$

78. $6\left(-2{x}^{2}+3x-1\right)+10{x}^{2}-5x$

79. $-\left({x}^{2}-3x+8\right)+{x}^{2}-12$

80. $2\left(3a-4b\right)+4\left(-2a+3b\right)$

81. $-7\left(10x-7y\right)-6\left(8x+4y\right)$

82. $10\left(6x-9\right)-\left(80x-35\right)$

83. $10-5\left({x}^{2}-3x-1\right)$

84. $4+6\left({y}^{2}-9\right)$

85. $\frac{3}{4}x-\left(\frac{1}{2}{x}^{2}+\frac{2}{3}x-\frac{7}{5}\right)$

86. $-\frac{7}{3}{x}^{2}+\left(-\frac{1}{6}{x}^{2}+7x-1\right)$

87. $\left(2{y}^{2}-3y+1\right)-\left(5{y}^{2}+10y-7\right)$

88. $\left(-10{a}^{2}-{b}^{2}+c\right)+\left(12{a}^{2}+{b}^{2}-4c\right)$

89. $-4\left(2{x}^{2}+3x-2\right)+5\left({x}^{2}-4x-1\right)$

90. $2\left(3{x}^{2}-7x+1\right)-3\left({x}^{2}+5x-1\right)$

91. ${x}^{2}y+3x{y}^{2}-\left(2{x}^{2}y-x{y}^{2}\right)$

92. $3\left({x}^{2}{y}^{2}-12xy\right)-\left(7{x}^{2}{y}^{2}-20xy+18\right)$

93. $3-5\left(ab-3\right)+2\left(ba-4\right)$

94. $-9-2\left(xy+7\right)-\left(yx-1\right)$

95. $-5\left(4\alpha -2\beta +1\right)+10\left(\alpha -3\beta +2\right)$

96. $\frac{1}{2}\left(100{\alpha}^{2}-50\alpha \beta +2{\beta}^{2}\right)-\frac{1}{5}\left(50{\alpha}^{2}+10\alpha \beta -5{\beta}^{2}\right)$

*Translate the following sentences into algebraic expressions and then simplify.*

97. What is the difference of $3x-4$ and $-2x+5$?

98. Subtract $2x-3$ from $5x+7$.

99. Subtract $4x+3$ from twice the quantity $x-2$.

100. Subtract three times the quantity $-x+8$ from $10x-9$.

Part D: Discussion Board Topics

101. Do we need a distributive property for division, $(a+b)\xf7c$? Explain.

102. Do we need a separate distributive property for three terms, $a(b+c+d)$? Explain.

103. Explain how to subtract one expression from another. Give some examples and demonstrate the importance of the order in which subtraction is performed.

104. Given the algebraic expression $8-5(3x+4)$, explain why subtracting $8-5$ is not the first step.

105. Can you apply the distributive property to the expression $5(abc)$? Explain why or why not and give some examples.

106. How can you check to see if you have simplified an expression correctly? Give some examples.

1: $9x-6$

3: $-2x-2$

5: $5x-10$

7: $4x+6$

9: $3x-21$

11: $-2a+3b$

13: $\frac{2}{3}x+\frac{5}{3}$

15: $-6a-15b+3c$

17: $5{y}^{2}-30y-45$

19: $7{x}^{2}-3x+11$

21: $21{x}^{2}-6x-3$

23: $-3{y}^{2}+y-9$

25: $2{x}^{2}-x+3$

27: $2x+3y-z$

29: $-{x}^{2}+3x-27$

31: $50{x}^{2}-18$

33: $5{x}^{2}-40$

35: $-x$

37: $-5y-30$

39: $\frac{1}{8}x+\frac{4}{5}$

41: $y$

43: $-13\alpha -4\beta $

45: $-2x+y+12$

47: $6xy+2$

49: $x-y$

51: $-8xy+4$

53: $3{x}^{2}-{y}^{2}-3y$

55: $\frac{7}{16}{a}^{2}-\frac{21}{20}$

57: $8{x}^{2}y-8x{y}^{2}$

59: $6{a}^{2}b-3a{b}^{2}$

61: $5{\left(x+y\right)}^{2}$

63: $2x\left({x}^{2}-1\right)$

65: $-8\left(2x+7\right)$

67: $10x-8$

69: $-3x+10$

71: $-x+4y+1$

73: $-\frac{11}{20}x-\frac{1}{6}y$

75: $\frac{5}{3}x-\frac{8}{3}y$

77: $3{x}^{2}-4$

79: $3x-20$

81: $-118x+25y$

83: $-5{x}^{2}+15x+15$

85: $-\frac{1}{2}{x}^{2}+\frac{1}{12}x+\frac{7}{5}$

87: $-3{y}^{2}-13y+8$

89: $-3{x}^{2}-32x+3$

91: $-{x}^{2}y+4x{y}^{2}$

93: $-3ab+10$

95: $-10\alpha -20\beta +15$

97: $5x-9$

99: $-2x-7$