Solution:
Concept: Sum and difference of two cubes: A3+B3=(A+B)(A2−AB+B2) and A3−B3=(A−B)(A2+AB+B2). The sign in the short bracket is the sign between the cubes, and the middle term AB of the long bracket has the opposite sign.
A common factor divides every term of an expression. Taking it out is the distributive law used backwards: ka+kb=k(a+b). We take out the H.C.F. (highest common factor) of all the terms, so that nothing common is left inside the bracket. A whole bracket can also be a common factor.
Step 1 — Factorise each pair.
The first two terms are a difference of cubes (27b3 is (3b)3), and the last two have the common factor 2ab.
a3−27b3=(a−3b)(a2+3ab+9b2)
2a2b−6ab2=2ab(a−3b)
Step 2 — Take out the common bracket.
Both parts contain (a−3b), so we take it out and add the like terms.
a3−27b3+2a2b−6ab2=(a−3b)(a2+3ab+9b2)+2ab(a−3b)=(a−3b)(a2+3ab+9b2+2ab)=(a−3b)(a2+5ab+9b2)
Watch out: Pair the cubes together, and the other two terms together.
Therefore, a3−27b3+2a2b−6ab2=(a−3b)(a2+5ab+9b2).