Factorising polynomials
🖨 Print a self-study sheet Why print?
Can you work out quickly without a calculator? If you notice that the factor appears in both products, you can write . We have just pulled a common factor out of both terms.
Now suppose a rectangular plot has area (m²) and width m. What is its length? We need to write as a product with a factor . This is called factorising a polynomial, the reverse of multiplying polynomials.
Factorising polynomials
For example, is a factorisation, with the two factors and . To check, we multiply the factors and compare with the original polynomial.
Method: taking out a common factor
When every term has the same factor, we use the distributive property backwards: The factor is the common factor.
For example, in the greatest common divisor of and is , and the common variables are and with smallest exponent . So the common factor is and .
Method: using identities
We read the identities we know backwards: We recognise the shape of the polynomial and then identify and .
Method: grouping terms
When the terms have no common factor for all of them, we put them into groups so that each group has a common factor, and then a new common factor appears between the groups: ax+ay+bx+by=a(x+y)+b(x+y)=(a+b)(x+y).
A polynomial is completely factorised when its factors cannot be factorised any further.
Examples
We begin with taking out a common factor.
Next we use identities.
Now we group terms.
Often we must combine several methods.
We can also use factorising for quick calculation.
Finally, a real problem about the area of a yard.
Connections. Factorising is the reverse operation of multiplying polynomials, and it uses the identities from the last two lessons. Later, when you simplify algebraic fractions and solve equations written as products, you will use it often.
Key terms
Summary
- To factorise a polynomial is to rewrite it as a product of polynomials.
- Taking out a common factor: AB+AC=A(B+C); use the greatest common divisor of the coefficients and the common variables with their smallest exponents.
- Use the identities backwards to write an expression as a square, a cube or a product.
- Grouping terms: put terms together so that a new common factor appears.
- Order to try: common factor, then identities, then grouping; factorise until it is complete.
Practice
Each exercise has the knowledge you need and the steps. Try it yourself first, then open the solution.
Factorise:
a) 4x^2-6x.
b) 12x^3y-18x^2y^2.
c) 5x(y-2)-3(y-2).
What you need: AB+AC=A(B+C); the common factor has the greatest common divisor of the coefficients and the common variables with their smallest exponents.
Steps:
- Find the common factor.
- Divide each term by the common factor and write the results in the bracket.
Show solution
We take out the common factor: find the greatest common divisor of the coefficients and the common powers of the variables.
a) The two terms 4x^2 and 6x have common factor 2x. We have 4x^2-6x=2x\cdot2x-2x\cdot3=2x(2x-3).
b) The greatest common divisor of 12 and 18 is 6; the common variable part is x^2y. The common factor is 6x^2y, so 12x^3y-18x^2y^2=6x^2y\cdot2x-6x^2y\cdot3y=6x^2y(2x-3y).
c) The two terms have common factor (y-2). We have 5x(y-2)-3(y-2)=(y-2)(5x-3).
So a) 2x(2x-3); b) 6x^2y(2x-3y); c) (y-2)(5x-3).
Answer. a) 2x(2x-3). b) 6x^2y(2x-3y). c) (y-2)(5x-3).
Factorise:
a) 2x(x-3)+5(x-3).
b) x(x-y)+y(y-x).
c) 3a(b-1)-6(1-b).
What you need: B-A=-(A-B); change signs so that the factors match.
Steps:
- In b) and c), rewrite y-x and 1-b so that a common factor appears.
- Take out the common factor.
Show solution
a) The two terms have common factor (x-3). We have 2x(x-3)+5(x-3)=(x-3)(2x+5).
b) We have y-x=-(x-y), so y(y-x)=-y(x-y). Hence x(x-y)+y(y-x)=x(x-y)-y(x-y)=(x-y)(x-y)=(x-y)^2.
c) We have 1-b=-(b-1), so -6(1-b)=6(b-1). Hence 3a(b-1)-6(1-b)=3a(b-1)+6(b-1)=(b-1)(3a+6)=3(b-1)(a+2).
So a) (x-3)(2x+5); b) (x-y)^2; c) 3(b-1)(a+2).
Answer. a) (x-3)(2x+5). b) (x-y)^2. c) 3(b-1)(a+2).
Factorise using identities:
a) 9x^2-16y^2.
b) x^2-10x+25.
c) 4x^2+12x+9.
What you need: A^2-B^2=(A-B)(A+B) and A^2\pm2AB+B^2=(A\pm B)^2.
Steps:
- Recognise the shape of the polynomial.
- Identify A and B and write the result.
Show solution
a) We have 9x^2=(3x)^2 and 16y^2=(4y)^2. Using the difference of two squares A^2-B^2=(A-B)(A+B): 9x^2-16y^2=(3x)^2-(4y)^2=(3x-4y)(3x+4y).
b) We have x^2, 25=5^2 and 10x=2\cdot x\cdot5. Using the square of a difference A^2-2AB+B^2=(A-B)^2: x^2-10x+25=x^2-2\cdot x\cdot5+5^2=(x-5)^2.
c) We have 4x^2=(2x)^2, 9=3^2 and 12x=2\cdot2x\cdot3. Using the square of a sum A^2+2AB+B^2=(A+B)^2: 4x^2+12x+9=(2x)^2+2\cdot2x\cdot3+3^2=(2x+3)^2.
So a) (3x-4y)(3x+4y); b) (x-5)^2; c) (2x+3)^2.
Answer. a) (3x-4y)(3x+4y). b) (x-5)^2. c) (2x+3)^2.
Factorise using the identities for cubes:
a) x^3+8.
b) 27x^3-1.
c) x^3+6x^2+12x+8.
What you need: A^3\pm B^3=(A\pm B)(A^2\mp AB+B^2) and (A+B)^3=A^3+3A^2B+3AB^2+B^3.
Steps:
- Recognise the cubes in the polynomial.
- Watch the sign in the second factor.
Show solution
a) We have 8=2^3. Using the sum of two cubes A^3+B^3=(A+B)(A^2-AB+B^2): x^3+8=x^3+2^3=(x+2)\left(x^2-2x+4\right).
b) We have 27x^3=(3x)^3 and 1=1^3. Using the difference of two cubes A^3-B^3=(A-B)(A^2+AB+B^2): 27x^3-1=(3x)^3-1^3=(3x-1)\left(9x^2+3x+1\right).
c) We have 8=2^3, 6x^2=3\cdot x^2\cdot2 and 12x=3\cdot x\cdot2^2. Using the cube of a sum: x^3+6x^2+12x+8=x^3+3\cdot x^2\cdot2+3\cdot x\cdot2^2+2^3=(x+2)^3.
So a) (x+2)(x^2-2x+4); b) (3x-1)(9x^2+3x+1); c) (x+2)^3.
Answer. a) (x+2)(x^2-2x+4). b) (3x-1)(9x^2+3x+1). c) (x+2)^3.
Factorise by grouping terms:
a) xy+2x+3y+6.
b) x^2-2xy+x-2y.
c) a^2-ab-4a+4b.
What you need: put terms together so that each group has a common factor and the groups share a new common factor.
Steps:
- Group the first two terms and the last two terms.
- Take out the common factor in each group, then the new common factor.
Show solution
We group the terms so that each group has a common factor, then take out the common factor of the whole expression.
a) Group the first two terms and the last two terms: xy+2x+3y+6=(xy+2x)+(3y+6)=x(y+2)+3(y+2)=(y+2)(x+3).
b) Group the first two terms and the last two terms: x^2-2xy+x-2y=(x^2-2xy)+(x-2y)=x(x-2y)+(x-2y)=(x-2y)(x+1).
c) Group the first two terms and the last two terms: a^2-ab-4a+4b=(a^2-ab)-(4a-4b)=a(a-b)-4(a-b)=(a-b)(a-4).
So a) (y+2)(x+3); b) (x-2y)(x+1); c) (a-b)(a-4).
Answer. a) (y+2)(x+3). b) (x-2y)(x+1). c) (a-b)(a-4).
Factorise completely:
a) 3x^3-12x.
b) 2x^2-12x+18.
c) x^4-16.
What you need: take out a common factor first, then use identities; continue until no further factorising is possible.
Steps:
- Find a common factor of all terms (if there is one).
- Factorise what remains using identities.
Show solution
Factorising completely means continuing until no factor can be factorised further.
a) Take out the common factor 3x, then use the difference of two squares: 3x^3-12x=3x\left(x^2-4\right)=3x(x-2)(x+2).
b) Take out the common factor 2, then use the square of a difference: 2x^2-12x+18=2\left(x^2-6x+9\right)=2(x-3)^2.
c) Use the difference of two squares twice, since x^4=(x^2)^2 and 16=4^2: x^4-16=\left(x^2\right)^2-4^2=\left(x^2-4\right)\left(x^2+4\right)=(x-2)(x+2)\left(x^2+4\right).
The factor x^2+4 cannot be factorised further (over the real numbers).
So a) 3x(x-2)(x+2); b) 2(x-3)^2; c) (x-2)(x+2)(x^2+4).
Answer. a) 3x(x-2)(x+2). b) 2(x-3)^2. c) (x-2)(x+2)(x^2+4).
Calculate quickly:
a) 45\cdot37+45\cdot63.
b) 65^2-35^2.
c) 76^2+2\cdot76\cdot24+24^2.
What you need: take out a common factor or use an identity, then calculate.
Steps:
- Spot a common factor or the shape of an identity.
- Factorise, then calculate.
Show solution
a) Take out the common factor 45: 45\cdot37+45\cdot63=45(37+63)=45\cdot100=4500.
b) Use the difference of two squares A^2-B^2=(A-B)(A+B): 65^2-35^2=(65-35)(65+35)=30\cdot100=3000.
c) The expression has the form A^2+2AB+B^2 with A=76, B=24. Using the square of a sum: 76^2+2\cdot76\cdot24+24^2=(76+24)^2=100^2=10\,000.
So a) 4500; b) 3000; c) 10\,000.
Answer. a) 4500. b) 3000. c) 10\,000.
Suppose a rectangular garden has area (x^2+6x) m² and width x m. Write the length of the garden in terms of x, then find the length and the area when x=14.
What you need: area of a rectangle = length \times width; factorise the area into a product with a factor x.
Steps:
- Take out the common factor x from x^2+6x.
- The other factor is the length; substitute x=14.
Show solution
We have x^2+6x=x(x+6), so the length is (x+6) m.
When x=14, the length is 20 m and the area is 14\cdot20=280 (m²). (Check: 14^2+6\cdot14=196+84=280.)
So the length is (x+6) m; when x=14 the length is 20 m and the area is 280 m².
Answer. (x+6) m; 20 m; 280 m².
Recall the lesson on the difference of two squares. Suppose a square piece of card with side 12 cm has a square of side 8 cm cut out of one corner. Find the area of what remains by factorising.
What you need: the remaining area is 12^2-8^2=(12-8)(12+8).
Steps:
- Write the difference of two squares.
- Factorise it into a product, then calculate.
Show solution
The remaining area equals the area of the square card minus the area of the square that is cut out: S=12^2-8^2.
Using the difference of two squares A^2-B^2=(A-B)(A+B), we have S=(12-8)(12+8)=4\cdot20=80\ (\text{cm}^2).
Check: 12^2-8^2=144-64=80.
So the remaining area is 80\ \text{cm}^2.
Answer. 80\ \text{cm}^2.
Prove that for every integer n, the expression n^3-n is divisible by 6.
What you need: n^3-n=n(n^2-1); among three consecutive integers one is divisible by 3 and at least one is even.
Steps:
- Factorise n^3-n as a product of three consecutive integers.
- Argue about divisibility by 2 and by 3.
Show solution
We have n^3-n=n(n^2-1)=n(n-1)(n+1)=(n-1)\,n\,(n+1), which is the product of three consecutive integers.
Among three consecutive integers there is at least one even number, so the product is divisible by 2. Among them there is also exactly one multiple of 3, so the product is divisible by 3. Since 2 and 3 are coprime, the product is divisible by 2\cdot3=6.
So n^3-n is divisible by 6 for every integer n.
Answer. n^3-n=(n-1)n(n+1) is divisible by 6.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
The common factor is 3x: 6x^2-9x=3x(2x-3). A does not take out the whole common factor, D has the wrong sign, C divides the second term wrongly.
4x^2-9=(2x)^2-3^2=(2x-3)(2x+3). A and D are the square of a difference or a sum (they have a term \pm12x), B is wrong when multiplied back.
x^3-8=x^3-2^3=(x-2)(x^2+2x+4). B has four terms when expanded, C has the wrong sign on the middle term, A lacks the term 2x.
xy+2x+3y+6=x(y+2)+3(y+2)=(x+3)(y+2). A and C give wrong terms when multiplied back, D is not yet a product.
Part II. True or false
| a) 2x^2-8=2(x^2-4). | ||
| b) 2x^2-8=2(x-2)^2. | ||
| c) 2x^2-8=2(x-2)(x+2). | ||
| d) The value of 2x^2-8 at x=3 is 10. |
a) True: take out the common factor 2. b) False: 2(x-2)^2=2x^2-8x+8. c) True: x^2-4=(x-2)(x+2). d) True: 18-8=10 and 2\cdot1\cdot5=10.
Part III. Short answer
65^2-35^2=(65-35)(65+35)=30\cdot100=3000.
x^2-y^2=(x-y)(x+y)=3\cdot5=15.
Show answers and explanations
- Part I, question 1: B. The common factor is 3x: 6x^2-9x=3x(2x-3). A does not take out the whole common factor, D has the wrong sign, C divides the second term wrongly.
- Part I, question 2: C. 4x^2-9=(2x)^2-3^2=(2x-3)(2x+3). A and D are the square of a difference or a sum (they have a term \pm12x), B is wrong when multiplied back.
- Part I, question 3: D. x^3-8=x^3-2^3=(x-2)(x^2+2x+4). B has four terms when expanded, C has the wrong sign on the middle term, A lacks the term 2x.
- Part I, question 4: A. xy+2x+3y+6=x(y+2)+3(y+2)=(x+3)(y+2). A and C give wrong terms when multiplied back, D is not yet a product.
- Part II, question 1: a) True; b) False; c) True; d) True. a) True: take out the common factor 2. b) False: 2(x-2)^2=2x^2-8x+8. c) True: x^2-4=(x-2)(x+2). d) True: 18-8=10 and 2\cdot1\cdot5=10.
- Part III, question 1: 3000. 65^2-35^2=(65-35)(65+35)=30\cdot100=3000.
- Part III, question 2: 15. x^2-y^2=(x-y)(x+y)=3\cdot5=15.