Whiteboard
The whiteboard is the heart of our platform. See how you can work with it.
Explore the tools of our whiteboard
Find out what you can do with PhiBoard
Knowledge base
Courses, exercises with worked solutions and printable sheets. Everything you need to learn and teach maths.
Who it is for
Students, teachers, tutors and schools each use PhiBoard their own way. See how the whiteboard fits yours.
Our missionContact
PhiBoardKnowledge base · From Zero to Engineer
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)15a3b−9a2b2=3a2b(5a−3b)\text{b)}\quad 15a^{3}b - 9a^{2}b^{2} = 3a^{2}b(5a - 3b)

Common factors obtained by grouping

a)x3−4x2y+xy2−4y3=x2(x−4y)+y2(x−4y)==(x2+y2)(x−4y)\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)20x2−3y2+4xy2−15x=20x2−15x+4xy2−3y2==5x(4x−3)+y2(4x−3)=(5x+y2)(4x−3)\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)(a−b)2=a2−2ab+b2\text{2)}\quad (a - b)^{2} = a^{2} - 2ab + b^{2}
the square of a difference
(2a−3)2=4a2−12a+9(2a - 3)^{2} = 4a^{2} - 12a + 9
3)(a−b)(a+b)=a2−b2\text{3)}\quad (a - b)(a + b) = a^{2} - b^{2}
the difference of two squares
(5x−4y)(5x+4y)=25x2−16y2(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)9x2−12xy+4y2=(3x−2y)2\text{b)}\quad 9x^{2} - 12xy + 4y^{2} = (3x - 2y)^{2}
c)(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)\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)(x−a)(x−b)=x2−(a+b)x+ab\text{2)}\quad (x - a)(x - b) = x^{2} - (a + b)x + ab
x2−9x+20=(x−4)(x−5)x^{2} - 9x + 20 = (x - 4)(x - 5)
3)(x+a)(x−b)=x2+(a−b)x−ab\text{3)}\quad (x + a)(x - b) = x^{2} + (a - b)x - ab
x2−2x−24=(x+4)(x−6)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+2x−24=(x+6)(x−4)\text{d)}\quad x^{2} + 2x - 24 = (x + 6)(x - 4)
b)x2−11x+28=(x−4)(x−7)\text{b)}\quad x^{2} - 11x + 28 = (x - 4)(x - 7)
e)x2−2x−35=(x+5)(x−7)\text{e)}\quad x^{2} - 2x - 35 = (x + 5)(x - 7)
c)x2−3x−18=(x+3)(x−6)\text{c)}\quad x^{2} - 3x - 18 = (x + 3)(x - 6)
f)x2−10x+16=(x−2)(x−8)\text{f)}\quad x^{2} - 10x + 16 = (x - 2)(x - 8)

Review exercises

Factor the following expressions.

a)18xy3−8x3y=2xy(9y2−4x2)=2xy(3y−2x)(3y+2x)\text{a)}\quad 18xy^{3} - 8x^{3}y = 2xy(9y^{2} - 4x^{2}) = 2xy(3y - 2x)(3y + 2x)
b)x3−6x2y−2xy+12y2=x2(x−6y)−2y(x−6y)==(x2−2y)(x−6y)\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)16x2−24xy−18x+27y=8x(2x−3y)−9(2x−3y)==(8x−9)(2x−3y)\begin{aligned}\text{c)}\quad 16x^{2} - 24xy - 18x + 27y &= 8x(2x - 3y) - 9(2x - 3y) = \\&= (8x - 9)(2x - 3y)\end{aligned}
d)(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)\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+7x−30=(x+10)(x−3)\text{e)}\quad x^{2} + 7x - 30 = (x + 10)(x - 3)
f)4x2−36=(2x−6)(2x+6)=4(x−3)(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)3x2−11x−4=3x2−12x+x−4=3x(x−4)+(x−4)==(3x+1)(x−4)\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}

PhiBoard is a free online whiteboard for maths

This lesson is part of it. On the board itself you can draw a number line, a graph or a figure, write a formula and solve a problem together with a teacher or a friend - live, in the browser. Our app is completely free.

Create a free account
See what the board can do

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).

A lesson from the PhiBoard knowledge base: phiboard.com/en/knowledge-base/from-zero-to-engineer/factoring-algebraic-expressions. On the lesson page you will also find games and practice exercises - free and without an account.
PhiBoard

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

PhiBoard

ToolsCapabilities

Mobile app

For schoolsOur goalNews

FAQ

Contact

Documents

TermsPrivacy policy

office@phiboard.com

Support the project

© 2026 PhiBoard. All rights reserved.

Online math whiteboardOnline tutoring whiteboardWhiteboard for teachersFunction graphs online

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.

We use cookies to keep the site working and to improve it. Choose which ones you accept.

Factoring algebraic expressions | PhiBoard