Solving Polynomial Equations Algebraically

Algebra 2Module 5: Polynomial EquationsAdvanced Math

Learn solving polynomial equations algebraically step by step with worked examples you can follow. Then practise with 22 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.

Factor higher-degree polynomials, solve polynomial equations by factoring, and use quadratic form

Key Concepts

🔑 Today's Vocabulary

prime polynomial — a polynomial that cannot be written as a product of two polynomials with integral coefficients. Its only factors are 1 and itself.
quadratic form — an expression written as au² + bu + c, where u is some expression in x and a ≠ 0.

🔑 Sum and Difference of Two Cubes

Like quadratics, some cubic polynomials can be factored using polynomial identities.

Sum of Two Cubes:    a³ + b³ = (a + b)(a² − ab + b²)
Difference of Two Cubes:  a³ − b³ = (a − b)(a² + ab + b²)
ℹ Memory aid (SOAP): Same sign, Opposite sign, Always Positive. The binomial takes the same sign as the original, the middle term of the trinomial takes the opposite sign, and the last term is always positive.

🔑 Factoring Techniques — Choose by Number of Terms

Always look for a common factor first to simplify the expression. Then decide whether the remaining polynomial factors using one or more methods.

TermsTechniqueGeneral Case
any numberGreatest Common Factor (GCF)2a⁴b³ + 6ab = 2ab(a³b² + 3)
twoDifference of Two Squaresa² − b² = (a + b)(a − b)
twoSum of Two Cubesa³ + b³ = (a + b)(a² − ab + b²)
twoDifference of Two Cubesa³ − b³ = (a − b)(a² + ab + b²)
threePerfect Square Trinomialsa² ± 2ab + b² = (a ± b)²
threeGeneral Trinomialsacx² + (ad + bc)x + bd = (ax + b)(cx + d)
four or moreGroupingax + bx + ay + by = x(a + b) + y(a + b) = (a + b)(x + y)
⚠ Order matters: When an expression is both a difference of squares and a difference of cubes (like 64x⁶ − y⁶), always do the difference of squares first — it factors more completely.

🔑 Solving Polynomial Equations by Factoring

Write the equation so that one side equals 0.
Factor the polynomial completely (GCF first, then a technique from the table).
Apply the Zero Product Property: if AB = 0 then A = 0 or B = 0. Set each factor equal to 0.
Solve each resulting equation and check your solutions in the original equation.

🔑 Quadratic Form

An expression in x can be written in quadratic form as au² + bu + c, where u is some expression in x and a ≠ 0.

Works when:  (highest exponent) = 2 × (middle exponent)

4x²⁰ + 6x¹⁰ + 15  →  u = 2x¹⁰   (since 20 = 2 × 10)  ✓
9x⁶ − 4x² − 12  →  6 ≠ 2 × 2   cannot be written in quadratic form  ✗
ℹ Why it helps: Once in quadratic form you factor a familiar quadratic in u, solve for u, then substitute back to solve for x. Remember to finish by solving for x — not u.

Key Figures

Figure 1 — count the terms, then pick the tool
Always take out the GCF first Now count the terms 2 terms GCF: 3x³ − 12x = 3x(x² − 4) difference of squares: a² − b² sum/difference of cubes: a³ ± b³ 3 terms ordinary trinomial: x² + 5x + 6 quadratic form: x⁴ − 5x² + 4 → let u = x² perfect square: a² ± 2ab + b² 4 terms grouping: pair them up and factor each pair then factor out the common bracket
Factoring feels like guesswork until you notice that the number of terms narrows your options to two or three. Pull out the greatest common factor first — always — because doing so often turns a hard expression into one of the standard patterns. Then count what is left and choose from the matching row.
Figure 2 — why factoring solves the equation
−2 2 −4 −2 2 4 x = −2 x = 0 x = 2 x³ − 4x = x(x − 2)(x + 2) three factors → three zeros → three x-intercepts
Factoring works because of the Zero Product Property: if a product is 0 then one of its factors must be 0. So x(x − 2)(x + 2) = 0 breaks into three tiny equations, and each one gives a zero. On the graph those zeros are exactly the points where the curve meets the x-axis. Factored form and x-intercepts are two ways of writing the same fact.

Move It Yourself

Step-by-Step Worked Examples

Click any example header to open or close it. Each step shows the algebra on the left and the reason on the right.

Factor each polynomial. If the polynomial cannot be factored, write prime.
a. 8x³ + 125y¹²    b. 54x⁵ − 128x²y³

Part a: 8x³ + 125y¹²

18x³ + 125y¹²Original expression
2GCF of the terms is 1Both terms are perfect cubes
3= (2x)³ + (5y⁴)³(2x)³ = 8x³; (5y⁴)³ = 125y¹²
4= (2x + 5y⁴)[(2x)² − (2x)(5y⁴) + (5y⁴)²]Sum of two cubes
5= (2x + 5y⁴)(4x² − 10xy⁴ + 25y⁸)Simplify
8x³ + 125y¹² = (2x + 5y⁴)(4x² − 10xy⁴ + 25y⁸)

Part b: 54x⁵ − 128x²y³

154x⁵ − 128x²y³Original expression
2= 2x²(27x³ − 64y³)Factor out the GCF, 2x²
3= 2x²[(3x)³ − (4y)³](3x)³ = 27x³; (4y)³ = 64y³
4= 2x²(3x − 4y)[(3x)² + (3x)(4y) + (4y)²]Difference of two cubes
5= 2x²(3x − 4y)(9x² + 12xy + 16y²)Simplify
54x⁵ − 128x²y³ = 2x²(3x − 4y)(9x² + 12xy + 16y²)
⚠ Always take out the GCF first. If you skip the 2x² in part b, neither term is a perfect cube and you will not see the difference-of-cubes pattern.
Factor 14ax² − 16by + 20cy + 28bx² − 35cx² − 8ay. If the polynomial cannot be factored, write prime.
114ax² − 16by + 20cy + 28bx² − 35cx² − 8ayOriginal expression
2= (14ax² + 28bx² − 35cx²) + (−8ay − 16by + 20cy)Group terms that share the most common values
3= 7x²(2a + 4b − 5c) − 4y(2a + 4b − 5c)Factor out the GCF of each group
4= (7x² − 4y)(2a + 4b − 5c)Distributive Property
(7x² − 4y)(2a + 4b − 5c)
ℹ Study Tip — Grouping: When grouping 6 or more terms, group the terms that have the most common values. Both groups must produce the same parenthesised expression, or the grouping will not work.
Factor 64x⁶ − y⁶. If the polynomial cannot be factored, write prime.
ℹ Strategy: This polynomial is both a difference of two squares and a difference of two cubes. The difference of two squares should always be done before the difference of two cubes for easier, more complete factoring.
164x⁶ − y⁶Original expression
2= (8x³)² − (y³)²(8x³)² = 64x⁶; (y³)² = y⁶
3= (8x³ + y³)(8x³ − y³)Difference of squares
4= [(2x)³ + y³][(2x)³ − y³](2x)³ = 8x³
5= (2x + y)(4x² − 2xy + y²)(2x − y)(4x² + 2xy + y²)Sum and difference of cubes
(2x + y)(4x² − 2xy + y²)(2x − y)(4x² + 2xy + y²)
Solve 4x³ + 12x² − 9x − 27 = 0.
14x³ + 12x² − 9x − 27 = 0Original equation
2(4x³ + 12x²) + (−9x − 27) = 0Group to find a GCF
34x²(x + 3) − 9(x + 3) = 0Factor out the GCFs
4(4x² − 9)(x + 3) = 0Distributive Property
5(2x + 3)(2x − 3)(x + 3) = 0Difference of squares
62x + 3 = 0  or  2x − 3 = 0  or  x + 3 = 0Zero Product Property
7x = −3/2,   x = 3/2,   x = −3Solve each equation
x = −3/2,  3/2,  −3
✓ Check: Solve x³ + 4x² − 25x − 100 = 0.  Group: x²(x + 4) − 25(x + 4) = 0 → (x² − 25)(x + 4) = 0 → (x + 5)(x − 5)(x + 4) = 0, so x = −5, 5, −4.
GEOMETRY: The small cube is one fourth the length of the larger cube. The volume of the figure (larger cube with the small cube removed) is 1701 cubic centimetres. What are the dimensions of the cubes?
1(4x)³ − x³ = 1701Volume of the figure; small cube has side x, large cube 4x
264x³ − x³ = 1701(4x)³ = 64x³
363x³ = 1701Subtract
4x³ = 27Divide each side by 63
5x³ − 27 = 0Subtract 27 from each side
6(x − 3)(x² + 3x + 9) = 0Difference of cubes
7x = 3  or  x = (−3 ± 3i√3)/2Solve; only x = 3 is real
Small cube: 3 cm  ·  Large cube: 4(3) = 12 cm
⚠ Reject non-real and negative answers. A length must be a positive real number, so the two complex solutions are discarded in a geometry context.
Write each expression in quadratic form, if possible.
a. 4x²⁰ + 6x¹⁰ + 15    b. 18x⁴ + 180x⁸ − 28    c. 9x⁶ − 4x² − 12

Part a: 4x²⁰ + 6x¹⁰ + 15

1Examine the variable exponents: 20 and 1020 = 2 × 10, so quadratic form is possible
2(2x¹⁰)² = 4x²⁰Choose u = 2x¹⁰
34x²⁰ + 6x¹⁰ + 15 = (2x¹⁰)² + 3(2x¹⁰) + 15Rewrite each term using u
(2x¹⁰)² + 3(2x¹⁰) + 15   [u = 2x¹⁰]

Part b: 18x⁴ + 180x⁸ − 28

118x⁴ + 180x⁸ − 28 = 180x⁸ + 18x⁴ − 28Write in standard form of a polynomial first
2(6x⁴)² = 36x⁸Choose u = 6x⁴
3= 5(6x⁴)² + 3(6x⁴) − 285(36x⁸) = 180x⁸; 3(6x⁴) = 18x⁴
5(6x⁴)² + 3(6x⁴) − 28   [u = 6x⁴]

Part c: 9x⁶ − 4x² − 12

1Compare exponents: 6 and 2Is 6 = 2 × 2? No — x⁶ ≠ (x²)²
2x⁶ ≠ (x²)²(x²)² = x⁴, not x⁶
9x⁶ − 4x² − 12 CANNOT be written in quadratic form
✓ Check: What is the quadratic form of 10x⁴ + 100x⁸ − 9?  Standard form: 100x⁸ + 10x⁴ − 9 = (10x⁴)² + (10x⁴) − 9.
Solve 8x⁴ + 10x² − 12 = 0.
18x⁴ + 10x² − 12 = 0Original equation
22(2x²)² + 5(2x²) − 12 = 02(2x²)² = 2(4x⁴) = 8x⁴
32u² + 5u − 12 = 0Let u = 2x²
4(2u − 3)(u + 4) = 0Factor
5u = 3/2  or  u = −4Zero Product Property
62x² = 3/2     2x² = −4Replace u with 2x²
7x² = 3/4      x² = −2Divide each side by 2
8x = ±√3/2    x = ±i√2Take the square root of each side
x = √3/2,  −√3/2,  i√2,  −i√2
⚠ Do not stop at u. Solving 2u² + 5u − 12 = 0 gives u, not x. You must substitute u = 2x² back and solve again.
✓ Check: Solve 16x⁴ + 24x² − 40 = 0.  Divide by 8: 2x⁴ + 3x² − 5 = 0 → (2x² + 5)(x² − 1) = 0 → x² = 1 or x² = −5/2, so x = ±1, ±(i√10)/2.

Try It Yourself

Factor and solve each one, then reveal. Problem 4 is quadratic form and problem 6 has a trap in it.

Problem 1

Solve 3x³ − 12x = 0.
13x(x² − 4) = 0GCF first — take out 3x
23x(x − 2)(x + 2) = 0x² − 4 is a difference of squares
3x = 0, x = 2, x = −2Zero Product Property on each factor
x = −2, 0 or 2
Never divide both sides by x to “simplify” — that throws away the solution x = 0. Factor it out instead and keep it.

Problem 2

Factor completely: x³ − 27.
1x³ − 3³Two terms, both perfect cubes → difference of cubes
2a³ − b³ = (a − b)(a² + ab + b²)Standard pattern with a = x, b = 3
(x − 3)(x² + 3x + 9)
Remembering the signs: the binomial copies the sign of the original, and the trinomial's middle term takes the opposite… no — simpler and safer: Same, Opposite, Always Positive. Binomial sign is the same (−), middle term is opposite (+3x), last term always positive (+9).

Problem 3

Factor by grouping: x³ + 2x² − 9x − 18.
1(x³ + 2x²) + (−9x − 18)Four terms → pair them up
2x²(x + 2) − 9(x + 2)Factor each pair — both give (x + 2)
3(x + 2)(x² − 9)Factor out the common bracket
4(x + 2)(x − 3)(x + 3)x² − 9 factors further — go all the way
(x + 2)(x − 3)(x + 3)
If the two brackets do not match after step 2, try pairing differently, or factor −1 out of the second pair. Matching brackets are the signal that grouping is working.

Problem 4

Solve x⁴ − 13x² + 36 = 0.
1let u = x², so u² − 13u + 36 = 0Quadratic form — the exponents 4 and 2 are in a 2:1 ratio
2(u − 4)(u − 9) = 0 → u = 4 or 9Factor the ordinary trinomial
3x² = 4 → x = ±2Substitute back — do not stop at u
4x² = 9 → x = ±3And the second branch
x = −3, −2, 2 or 3 — four solutions, as a degree-4 equation allows
Two traps: answering u = 4, 9 and forgetting to convert back to x, and forgetting the ± on each square root. Either one halves your marks.

Problem 5

Solve x³ = 4x² + 21x.
1x³ − 4x² − 21x = 0Get everything to one side — the Zero Product Property needs a 0
2x(x² − 4x − 21) = 0GCF is x
3x(x − 7)(x + 3) = 0Factor the trinomial: −7 × 3 = −21 and −7 + 3 = −4
x = 0, x = 7 or x = −3
Check x = 7: 343 on the left, and 4(49) + 21(7) = 196 + 147 = 343 on the right ✓

Problem 6

Solve x⁴ − 16 = 0 over the real numbers, then over the complex numbers.
1(x² − 4)(x² + 4) = 0Difference of squares with a = x², b = 4
2(x − 2)(x + 2)(x² + 4) = 0x² − 4 factors again; x² + 4 does not factor over the reals
3x² = −4 → x = ±2iThe remaining factor gives complex roots
Real: x = ±2. Complex: x = 2, −2, 2i, −2i — four roots in total
A sum of squares is not factorable over the reals. x² + 4 is not (x + 2)², and it is not (x + 2)(x − 2). Only the difference of squares factors. Over the complex numbers it does split, into (x + 2i)(x − 2i).

Summary & Common Mistakes

📝 Which Method Should I Use?

What you seeWhat to doResult
Every term shares a factorFactor out the GCF first, alwaysA simpler polynomial inside parentheses
Two terms, both perfect squares, subtractionDifference of squares(a + b)(a − b)
Two terms, both perfect cubesSum or difference of cubesBinomial × trinomial
Both squares and cubes (x⁶ terms)Squares FIRST, then cubesFour factors
Four or more termsGrouping — look for a shared binomialProduct of two factors
Exponents where highest = 2 × middleRewrite in quadratic form, let u = ...Solve a quadratic, then back-substitute
Equation set to 0 and fully factoredZero Product PropertyOne equation per factor

⚠ Common Mistakes to Avoid

⚠ Forgetting the GCF. 54x⁵ − 128x²y³ looks unfactorable until you pull out 2x². Check for a common factor before anything else.
⚠ Wrong sign in the cube identity. a³ + b³ = (a + b)(a² − ab + b²). The middle sign of the trinomial is the opposite of the binomial sign, and the last term is always positive.
⚠ Cubes before squares. Factoring 64x⁶ − y⁶ as a difference of cubes first gives an incomplete factorisation. Do the difference of squares first.
⚠ Solving for u and stopping. In quadratic form, u is a substitution. Replace u and solve for x, and remember that x² = negative gives imaginary solutions.
⚠ Assuming everything factors. If no technique applies and the coefficients are integral, the polynomial is prime — that is a valid answer.

Practice Quiz

15 questions · click an answer to check it instantly

0/15

๐Ÿ“ Test your understanding