Expanding parentheses Using distributive property, we can expand parentheses in an expression. Consider the expression \boldsymbol{4(3x - 1)} . In the expression \boldsymbol{4(3x - 1)} , we can simplify it by multiplying each term inside the parentheses, \boldsymbol{3x} and \boldsymbol{-1} , by the outside factor, which is \boldsymbol{+4} as follows. {4(3x - 1) = 4 \times 3x + 4 \times (-1)} = 12x - 4 Therefore, \boldsymbol{12x - 4} is the simplified answer for the expression \boldsymbol{4(3x - 1)} . Now let’s see how we can simplify the expression -3(2y - 3) . In the expression -3(2y - 3) , we can simplify it by multiplying each term inside the parentheses, 2y and -3 , by the outside factor, which is -3 as follows. -3(2y - 3) = (-3) \times 2y - 3 \times (-3) = -6y + 9 Therefore, \boldsymbol{-6y + 9} is the simplified answer for the expression -3(2y - 3) . Consider the following question. The price of a pen is 2 dollars less than the price of a notebook. If you buy 8 notebooks and 5 pens, find the difference in total cost between the notebooks and pens. Let x denote the price of a notebook. Since the price of a pen is 2 dollars less than the price of a notebook, we can write an expression for the price of a pen in terms of x and that will be x - 2 . Now, we will first find the total cost when buying 8 books by multiplying x and 8 . Total cost of note books = x \times 8 = 8x Then we can find the total cost when buying 5 pens by multiplying x - 1 and 5 . Total cost of pens = 5 \times (x - 2) = 5(x - 2) Finally, we can write the difference in total cost between the notebooks and pens by subtracting two expressions as follows. The difference in total cost between the notebooks and pens = 8x - 5(x - 2) But, this cannot be the final answer as this expression can be simplified further. With knowledge of distributive law, we can expand -5(x - 2) and then combine like terms to get the final answer. Let’s see how we can simplify the above expression and get the final answer. 8x - 5(x - 2) = 8x - 5 \times x - 5 \times (-2) = 8x - 5x + 10 = 3x + 10 Therefore, The difference in total cost between the notebooks and pens \boldsymbol{= 3x + 10} Let’s consider a few examples. Examples Simplify each of the following (3p + 4) - ( p - 1) = 3p + 4 - p + 1 = 3p - p + 4 + 1 = 2p + 5 2(x^2 - 1) + 3(x^2 +9) = 2x^2 + 2 × (-1) + 3x^2 + 3 × 9 = 2x^2 - 2 - 3x^2 + 27 = 2x^2 - 3x^2 - 2 + 27 = - x^2 + 25 (a^2 - 6a +5) - (a^2 - 9) = a^2 - 6a +5 - a^2 + 9 = a^2 - a^2 - 6a + 5 + 9 = -6a + 14 n(3n - 2) + 3(2n + 1) = 3n^2 + n × (-2) + 3 × 2n + 3 × 1 = 3n^2 - 2n + 6n + 3 = 3n^2 + 4n + 3 Factoring Consider the expression 6x + 9 and factorize it. As you can see in the above diagram, we can factor out 3 because both terms in the expression which are 6x and 9 are divisible by 3 without remainder. Therefore, when factoring, the product of factors can be expressed as follows. 6x + 9 = 3 \times 2x + 3 \times 3 = 3 (2x + 3) Consider the expression y(y - 3) + 2(y - 3) . In this expression, we have two terms which are y(y - 3) and 2(y - 3) . So, these both terms have a common factor which is (y - 3) . Therefore, we can factorize the expression y(y - 3) + 2(y - 3) as follows. y(y - 3) + 2(y - 3) = (y - 3) \times y + (y - 3) \times 2 = (y - 3)(y + 2) Let’s consider a few examples. Factor out each of the following expression 2x + 6 = 2 \times x + 2 \times 3 = 2(x + 3) 5a^2 - 10a = 5a \times a - 5a \times 2 = 5a(a - 2) -3p^3 - 15p^2 - 6p = -3p \times p^2 -3p \times 5p -3p \times 2 = -3p(p^2 + 5p + 2) m(m + 1) - 3(m + 1) = (m + 1) \times m + (m + 1) \times (-3) = (m + 1)(m - 3) (t - 3) + t^2 -3t = (t - 3) + t \times t + t \times (-3) = 1(t -3) +t(t - 3) = (t - 3)(1 + t) = (t - 3)(t + 1) A student has 4x pens. The number of pencils the student has is 2 more than the number of pens. What is the total number of pens and pencils? Put your answer as product of its factors. Number of pencils = 4x + 2 Total pens and pencils = 4x + (4x + 2) = 4x + 4x + 2 = 8x + 2 = 2 \times 4x + 2 \times 1 = 2(4x + 1) Simplify each of the following (5x + 7) − (3x − 2) 4(2y + 3) +5(y − 1) 2m(m + 3) −3(m − 5) 3a(4a + 5) −2a(3a − 7) 5(3k − 2) +4(k + 6) 2x+9 13y+7 2m^2 + 3m + 15 6a^2 + 29a 19k+14 Factor out the following expression 4x + 12 6b^2 − 12b −2q^3 − 8q^2 − 4q x(x + 4) −2(x + 4) 3y^2 − 6y + y − 2 4(x+3) 6b(b−2) −2q(q^2+4q+2) (x - 2)(x + 4) (3y + 1)(y - 2) Solve the following problems A library has 3b fiction books. The number of non-fiction books is 8 more than the number of fiction books. What is the total number of fiction and non-fiction books? Write your answer as a product of its factors. A farmer has 12p oranges. The number of apples is 9 fewer to 6p. What is the difference between the number of oranges and apples? Express your answer as a product of its factors 3b+8 6(p+3)