Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Factorising polynomials

Lesson 2.3 · 35 min read · Updated

Can you work out 37⋅68+37⋅3237\cdot68+37\cdot32 quickly without a calculator? If you notice that the factor 3737 appears in both products, you can write 37⋅(68+32)=37⋅100=370037\cdot(68+32)=37\cdot100=3700. We have just pulled a common factor out of both terms.

Now suppose a rectangular plot has area x2+6xx^2+6x (m²) and width xx m. What is its length? We need to write x2+6xx^2+6x as a product with a factor xx. This is called factorising a polynomial, the reverse of multiplying polynomials.

Factorising polynomials

For example, x2−9=(x−3)(x+3)x^2-9=(x-3)(x+3) is a factorisation, with the two factors (x−3)(x-3) and (x+3)(x+3). 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: AB+AC=A(B+C).AB+AC=A(B+C). The factor AA is the common factor.

For example, in 6x2y−9xy26x^2y-9xy^2 the greatest common divisor of 66 and 99 is 33, and the common variables are xx and yy with smallest exponent 11. So the common factor is 3xy3xy and 6x2y−9xy2=3xy(2x−3y)6x^2y-9xy^2=3xy(2x-3y).

Method: using identities

We read the identities we know backwards: A2±2AB+B2=(A±B)2,A2−B2=(A−B)(A+B),A^2\pm2AB+B^2=(A\pm B)^2,\qquad A^2-B^2=(A-B)(A+B), A3±3A2B+3AB2±B3=(A±B)3,A3±B3=(A±B)(A2∓AB+B2).A^3\pm3A^2B+3AB^2\pm B^3=(A\pm B)^3,\qquad A^3\pm B^3=(A\pm B)(A^2\mp AB+B^2). We recognise the shape of the polynomial and then identify AA and BB.

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.

Exercise 1

Factorise:

a) 4x^2-6x.

b) 12x^3y-18x^2y^2.

c) 5x(y-2)-3(y-2).

What you need and how to start

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:

  1. Find the common factor.
  2. 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).

Exercise 2

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 and how to start

What you need: B-A=-(A-B); change signs so that the factors match.

Steps:

  1. In b) and c), rewrite y-x and 1-b so that a common factor appears.
  2. 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).

Exercise 3

Factorise using identities:

a) 9x^2-16y^2.

b) x^2-10x+25.

c) 4x^2+12x+9.

What you need and how to start

What you need: A^2-B^2=(A-B)(A+B) and A^2\pm2AB+B^2=(A\pm B)^2.

Steps:

  1. Recognise the shape of the polynomial.
  2. 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.

Exercise 4

Factorise using the identities for cubes:

a) x^3+8.

b) 27x^3-1.

c) x^3+6x^2+12x+8.

What you need and how to start

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:

  1. Recognise the cubes in the polynomial.
  2. 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.

Exercise 5

Factorise by grouping terms:

a) xy+2x+3y+6.

b) x^2-2xy+x-2y.

c) a^2-ab-4a+4b.

What you need and how to start

What you need: put terms together so that each group has a common factor and the groups share a new common factor.

Steps:

  1. Group the first two terms and the last two terms.
  2. 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).

Exercise 6

Factorise completely:

a) 3x^3-12x.

b) 2x^2-12x+18.

c) x^4-16.

What you need and how to start

What you need: take out a common factor first, then use identities; continue until no further factorising is possible.

Steps:

  1. Find a common factor of all terms (if there is one).
  2. 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).

Exercise 7

Calculate quickly:

a) 45\cdot37+45\cdot63.

b) 65^2-35^2.

c) 76^2+2\cdot76\cdot24+24^2.

What you need and how to start

What you need: take out a common factor or use an identity, then calculate.

Steps:

  1. Spot a common factor or the shape of an identity.
  2. 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.

Exercise 8

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 and how to start

What you need: area of a rectangle = length \times width; factorise the area into a product with a factor x.

Steps:

  1. Take out the common factor x from x^2+6x.
  2. 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².

Exercise 9

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 and how to start

What you need: the remaining area is 12^2-8^2=(12-8)(12+8).

Steps:

  1. Write the difference of two squares.
  2. 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.

Exercise 10 Challenge

Prove that for every integer n, the expression n^3-n is divisible by 6.

What you need and how to start

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:

  1. Factorise n^3-n as a product of three consecutive integers.
  2. 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

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

Question 1. Factorising 6x^2-9x gives
Question 2. Factorising 4x^2-9 gives
Question 3. Factorising x^3-8 gives
Question 4. Factorising xy+2x+3y+6 gives

Part II. True or false

Question 1. Consider the polynomial 2x^2-8.
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.

Part III. Short answer

Question 1. Calculate 65^2-35^2 quickly.

Question 2. Given x+y=5 and x-y=3, find x^2-y^2.

Show answers and explanations
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Part III, question 1: 3000. 65^2-35^2=(65-35)(65+35)=30\cdot100=3000.
  7. Part III, question 2: 15. x^2-y^2=(x-y)(x+y)=3\cdot5=15.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email