This page is a self-test. Each problem is stated cleanly, then its complete solution is hidden inside a collapsible callout — try the problem first, then click to reveal. We climb five difficulty levels: L1 Recognition → L2 Application → L3 Analysis → L4 Synthesis → L5 Mastery.
Every technique used here is built in full on the parent note: the main Factoring topic. Keep it open beside you.
Two terms, both perfect squares: x2=(x)2 and 25=52. This is a difference of squaresa2−b2=(a−b)(a+b) with a=x,b=5.
x2−25=(x−5)(x+5)Check (expand):(x−5)(x+5)=x2+5x−5x−25=x2−25. ✓
Two terms. Coefficients: gcd(7,14)=7. Lowest power of x present in both terms is x2. So the GCF is 7x2.
7x27x3=x,7x214x2=27x3+14x2=7x2(x+2)Check:7x2(x+2)=7x3+14x2. ✓
Three terms. The outer terms are squares: y2=(y)2, 25=52. Test the middle term against the perfect-square pattern a2+2ab+b2=(a+b)2 with a=y,b=5:
2ab=2(y)(5)=10y✓ matches the middle term.y2+10y+25=(y+5)2
Step 1 — GCF first.gcd(2,8,6)=2, no variable common to all as a guaranteed lowest power beyond x0, so GCF =2:
2x2+8x+6=2(x2+4x+3)Step 2 — factor the trinomial. Find two numbers multiplying to 3 and adding to 4: that is 1 and 3.
x2+4x+3=(x+1)(x+3)2x2+8x+6=2(x+1)(x+3)Check:2(x+1)(x+3)=2(x2+4x+3)=2x2+8x+6. ✓
Outer terms are squares: 9m2=(3m)2, 25=52. Test perfect square a2−2ab+b2=(a−b)2 with a=3m,b=5:
2ab=2(3m)(5)=30m✓
The sign is −, so use (a−b)2:
9m2−30m+25=(3m−5)2
Two terms, both cubes: 27t3=(3t)3, 8=23. Difference of cubesa3−b3=(a−b)(a2+ab+b2) with a=3t,b=2:
27t3−8=(3t−2)((3t)2+(3t)(2)+22)=(3t−2)(9t2+6t+4)Check:(3t−2)(9t2+6t+4)=27t3+18t2+12t−18t2−12t−8=27t3−8. ✓
Four terms, no factor common to all four. Try grouping in the given order:
(x3+5x2)+(3x+15)=x2(x+5)+3(x+5)
Both groups now share the binomial (x+5) — pull it out:
=(x+5)(x2+3)x2+3 is a sum, not factorable over the reals, so we stop.
x3+5x2+3x+15=(x+5)(x2+3)
Four terms. Group the first two and last two:
(6xy+4x)+(−15y−10)=2x(3y+2)−5(3y+2)
Notice we factored −5 (not +5) out of the second group so that (3y+2) appears — matching the first group. Now extract the common binomial:
=(3y+2)(2x−5)Check:(3y+2)(2x−5)=6xy−15y+4x−10=6xy+4x−15y−10. ✓
Group as given: (ab+3c)+(3b+ac) — no common binomial. Reorder so terms sharing a factor sit together:
ab+ac+3b+3c=a(b+c)+3(b+c)=(b+c)(a+3)Why reorder? Grouping only works when each pair leaves the same binomial. Rearranging is a legal move (addition commutes) that engineers that match.
Step 1 — GCF.gcd(3,48)=3:
3x4−48=3(x4−16)Step 2 — difference of squares.x4=(x2)2, 16=42:
=3(x2−4)(x2+4)Step 3 — factor again.x2−4=(x−2)(x+2) (another difference of squares). x2+4 is a sum of squares, prime over the reals.
3x4−48=3(x−2)(x+2)(x2+4)
Step 1 — GCF=2a:
2a3−2a2−24a=2a(a2−a−12)Step 2 — factor the trinomial. Two numbers multiplying to −12, adding to −1: that is −4 and 3.
a2−a−12=(a−4)(a+3)2a3−2a2−24a=2a(a−4)(a+3)Check:2a(a−4)(a+3)=2a(a2−a−12)=2a3−2a2−24a. ✓
Here x6=(x2)3=(x3)2 and 64=43=82, so we could treat it as a difference of squares or cubes. Squares first gives the fullest split:
x6−64=(x3)2−82=(x3−8)(x3+8)
Now each factor is a cube. Difference of cubes (a=x,b=2) and sum of cubes (a=x,b=2):
x3−8=(x−2)(x2+2x+4),x3+8=(x+2)(x2−2x+4)x6−64=(x−2)(x+2)(x2+2x+4)(x2−2x+4)
Both quadratics are prime over the reals (their discriminants are negative). See the geometric picture below.
Factor completely over the reals, then over the complex numbers: x4+5x2+4.
Recall Solution 5.1
Treat it as a quadratic in u=x2: u2+5u+4=(u+1)(u+4). Substitute back:
x4+5x2+4=(x2+1)(x2+4)
Over the reals, both are sums of squares — prime. This is the complete real factorization.
x4+5x2+4=(x2+1)(x2+4)(over R)
Over the complex numbers (Complex Numbers, Fundamental Theorem of Algebra), each splits:
x2+1=(x−i)(x+i),x2+4=(x−2i)(x+2i)x4+5x2+4=(x−i)(x+i)(x−2i)(x+2i)
The degree-4 polynomial has exactly 4 complex roots (±i,±2i) — exactly as the Fundamental Theorem of Algebra promises.
Four terms. Group:
(2x3+3x2)+(−8x−12)=x2(2x+3)−4(2x+3)=(2x+3)(x2−4)
Now x2−4 is a difference of squares:
=(2x+3)(x−2)(x+2)2x3+3x2−8x−12=(2x+3)(x−2)(x+2)
The roots are x=−23,2,−2 (each factor set to zero via the Zero Product Property).
Check:(2x+3)(x2−4)=2x3−8x+3x2−12=2x3+3x2−8x−12. ✓
Group:
(x3−3x2)+(−4x+12)=x2(x−3)−4(x−3)=(x−3)(x2−4)
Difference of squares again:
=(x−3)(x−2)(x+2)x3−3x2−4x+12=(x−3)(x−2)(x+2)
Roots x=3,2,−2. (You could also have found these first with the Rational Root Theorem and confirmed by Polynomial Long Division — grouping just did it faster.)
Is x2+x+1 factorable over the reals? Justify. Then factor over the complex numbers.
Recall Solution 5.4
It is a trinomial with no obvious integer split (no two integers multiply to 1 and add to 1). Use the discriminant from the Quadratic Formula — the number under the square root, b2−4ac:
b2−4ac=12−4(1)(1)=1−4=−3<0
A negative discriminant means there are no real roots, so x2+x+1 is prime (irreducible) over the reals.
Over C, the roots are x=2−1±−3=2−1±i3, giving
x2+x+1=(x−2−1+i3)(x−2−1−i3).