24

From Zero to Engineer

Factoring algebraic expressions

Taking out a common factor, factoring by grouping, the algebraic identities, and writing a quadratic expression as a product of two linear factors.

Factoring is the reverse of multiplying: instead of expanding brackets, we look for them again. There are three ways of doing it, and it pays to recognise them at once. If every term has something in common, take it outside the bracket. If not, but the terms can be paired up, look for a common factor in each pair. And if the expression matches one of the algebraic identities, the factorisation is immediate.

Factoring algebraic expressions

Common factors

a)8x4y3+6x3y2=2x3y2(4xy+3)\text{a)}\quad 8x^{4}y^{3} + 6x^{3}y^{2} = 2x^{3}y^{2}(4xy + 3)
b)15a3b9a2b2=3a2b(5a3b)\text{b)}\quad 15a^{3}b - 9a^{2}b^{2} = 3a^{2}b(5a - 3b)

Common factors obtained by grouping

a)x34x2y+xy24y3=x2(x4y)+y2(x4y)==(x2+y2)(x4y)\begin{aligned}\text{a)}\quad x^{3} - 4x^{2}y + xy^{2} - 4y^{3} &= x^{2}(x - 4y) + y^{2}(x - 4y) = \\&= (x^{2} + y^{2})(x - 4y)\end{aligned}
b)20x23y2+4xy215x=20x215x+4xy23y2==5x(4x3)+y2(4x3)=(5x+y2)(4x3)\begin{aligned}\text{b)}\quad 20x^{2} - 3y^{2} + 4xy^{2} - 15x &= 20x^{2} - 15x + 4xy^{2} - 3y^{2} = \\&= 5x(4x - 3) + y^{2}(4x - 3) = (5x + y^{2})(4x - 3)\end{aligned}

Algebraic identities (special products)

1)(a+b)2=a2+2ab+b2\text{1)}\quad (a + b)^{2} = a^{2} + 2ab + b^{2}
the square of a sum
(x+5)2=x2+10x+25(x + 5)^{2} = x^{2} + 10x + 25
2)(ab)2=a22ab+b2\text{2)}\quad (a - b)^{2} = a^{2} - 2ab + b^{2}
the square of a difference
(2a3)2=4a212a+9(2a - 3)^{2} = 4a^{2} - 12a + 9
3)(ab)(a+b)=a2b2\text{3)}\quad (a - b)(a + b) = a^{2} - b^{2}
the difference of two squares
(5x4y)(5x+4y)=25x216y2(5x - 4y)(5x + 4y) = 25x^{2} - 16y^{2}
a)16x2+40xy+25y2=(4x+5y)2\text{a)}\quad 16x^{2} + 40xy + 25y^{2} = (4x + 5y)^{2}
b)9x212xy+4y2=(3x2y)2\text{b)}\quad 9x^{2} - 12xy + 4y^{2} = (3x - 2y)^{2}
c)(2x+3y)2(x4y)2=[2x+3y(x4y)][2x+3y+(x4y)]==(2x+3yx+4y)(2x+3y+x4y)==(x+7y)(3xy)\begin{aligned}\text{c)}\quad (2x + 3y)^{2} - (x - 4y)^{2} &= [2x + 3y - (x - 4y)][2x + 3y + (x - 4y)] = \\&= (2x + 3y - x + 4y)(2x + 3y + x - 4y) = \\&= (x + 7y)(3x - y)\end{aligned}

Here a stands for 2x + 3y and b for x − 4y, so this is the difference of two squares.

Quadratic expressions written as a product of linear factors

1)(x+a)(x+b)=x2+(a+b)x+ab\text{1)}\quad (x + a)(x + b) = x^{2} + (a + b)x + ab
a and b are natural numbers
x2+5x+6=(x+2)(x+3)x^{2} + 5x + 6 = (x + 2)(x + 3)
2)(xa)(xb)=x2(a+b)x+ab\text{2)}\quad (x - a)(x - b) = x^{2} - (a + b)x + ab
x29x+20=(x4)(x5)x^{2} - 9x + 20 = (x - 4)(x - 5)
3)(x+a)(xb)=x2+(ab)xab\text{3)}\quad (x + a)(x - b) = x^{2} + (a - b)x - ab
x22x24=(x+4)(x6)x^{2} - 2x - 24 = (x + 4)(x - 6)
a)x2+7x+12=(x+3)(x+4)\text{a)}\quad x^{2} + 7x + 12 = (x + 3)(x + 4)
d)x2+2x24=(x+6)(x4)\text{d)}\quad x^{2} + 2x - 24 = (x + 6)(x - 4)
b)x211x+28=(x4)(x7)\text{b)}\quad x^{2} - 11x + 28 = (x - 4)(x - 7)
e)x22x35=(x+5)(x7)\text{e)}\quad x^{2} - 2x - 35 = (x + 5)(x - 7)
c)x23x18=(x+3)(x6)\text{c)}\quad x^{2} - 3x - 18 = (x + 3)(x - 6)
f)x210x+16=(x2)(x8)\text{f)}\quad x^{2} - 10x + 16 = (x - 2)(x - 8)

Review exercises

Factor the following expressions.

a)18xy38x3y=2xy(9y24x2)=2xy(3y2x)(3y+2x)\text{a)}\quad 18xy^{3} - 8x^{3}y = 2xy(9y^{2} - 4x^{2}) = 2xy(3y - 2x)(3y + 2x)
b)x36x2y2xy+12y2=x2(x6y)2y(x6y)==(x22y)(x6y)\begin{aligned}\text{b)}\quad x^{3} - 6x^{2}y - 2xy + 12y^{2} &= x^{2}(x - 6y) - 2y(x - 6y) = \\&= (x^{2} - 2y)(x - 6y)\end{aligned}
c)16x224xy18x+27y=8x(2x3y)9(2x3y)==(8x9)(2x3y)\begin{aligned}\text{c)}\quad 16x^{2} - 24xy - 18x + 27y &= 8x(2x - 3y) - 9(2x - 3y) = \\&= (8x - 9)(2x - 3y)\end{aligned}
d)(x2y)2(2xy)2=[x2y(2xy)][x2y+(2xy)]==(x2y2x+y)(x2y+2xy)=(xy)(3x3y)==3(x+y)(xy)\begin{aligned}\text{d)}\quad (x - 2y)^{2} - (2x - y)^{2} &= [x - 2y - (2x - y)][x - 2y + (2x - y)] = \\&= (x - 2y - 2x + y)(x - 2y + 2x - y) = (-x - y)(3x - 3y) = \\&= -3(x + y)(x - y)\end{aligned}
e)x2+7x30=(x+10)(x3)\text{e)}\quad x^{2} + 7x - 30 = (x + 10)(x - 3)
f)4x236=(2x6)(2x+6)=4(x3)(x+3)\text{f)}\quad 4x^{2} - 36 = (2x - 6)(2x + 6) = 4(x - 3)(x + 3)
g)x2+10x+25=(x+5)2\text{g)}\quad x^{2} + 10x + 25 = (x + 5)^{2}
h)3x211x4=3x212x+x4=3x(x4)+(x4)==(3x+1)(x4)\begin{aligned}\text{h)}\quad 3x^{2} - 11x - 4 &= 3x^{2} - 12x + x - 4 = 3x(x - 4) + (x - 4) = \\&= (3x + 1)(x - 4)\end{aligned}

Frequently asked questions

Where do you start when factoring?

Always with a factor common to every term. In 18xy³ − 8x³y the common part is 2, x and y, which gives 2xy(9y² − 4x²), and only then does the difference of two squares appear inside the bracket.

What is factoring by grouping?

Split the terms into pairs so that each pair has a common factor and the brackets come out the same. Then take that bracket out once more: x³ − 4x²y + xy² − 4y³ gives x²(x − 4y) + y²(x − 4y), that is (x² + y²)(x − 4y).

How do you factor the quadratic x² + 7x + 12?

Look for two numbers that add up to 7 and multiply to 12. Those are 3 and 4, so the quadratic is (x + 3)(x + 4). When the constant term is negative, the two numbers have opposite signs.

What if the coefficient of x² is not 1?

Split the middle term so that grouping becomes possible. In 3x² − 11x − 4 write −11x as −12x + x, which gives 3x(x − 4) + (x − 4), that is (3x + 1)(x − 4).

PhiBoard

A modern, interactive board for study and work. Create, teach and collaborate - completely free.

Coming soon to

Google Play

Download on the

App Store

PhiBoard

Tools

Capabilities

Knowledge base

Support

FAQ

Our mission

Contact

More

Our goalFor schoolsNews

Documents

TermsPrivacy policy

office@phiboard.com

Support the project

© 2026 PhiBoard. All rights reserved.

We Use Cookies

To improve the quality of our services, we use cookies. Cookies help us tailor our website to your preferences, analyze how you use the site, and provide a better user experience. By accepting cookies, you consent to their use for optimizing functionality and content on the site.

Factoring algebraic expressions | PhiBoard