Solution:
Concept: Factorisation by grouping: arrange the terms in groups (usually pairs) so that each group has a common factor. Take that factor out of each group; the bracket that is left is then common to every group and is taken out as well.
Step 1 — Part (i).
We open the bracket, then take a out of the first pair and b2 out of the second pair.
a2−ab(1−b)−b3=a2−ab+ab2−b3=a(a−b)+b2(a−b)=(a−b)(a+b2)
Step 2 — Part (ii).
We open the bracket, then take xy out of the first pair and −1 out of the second pair.
xy2+(x−1)y−1=xy2+xy−y−1=xy(y+1)−1(y+1)=(y+1)(xy−1)
Step 3 — Part (iii).
We expand both squares. The terms +2abxy and −2abxy cancel, and the four squares are then grouped in pairs.
(ax+by)2+(bx−ay)2=a2x2+2abxy+b2y2+b2x2−2abxy+a2y2=a2x2+a2y2+b2x2+b2y2=a2(x2+y2)+b2(x2+y2)=(a2+b2)(x2+y2)
Step 4 — Part (iv).
We open the brackets and pair abx2 with −a2xy (common factor ax) and aby2 with −b2xy (common factor −by).
ab(x2+y2)−xy(a2+b2)=abx2+aby2−a2xy−b2xy=(abx2−a2xy)−(b2xy−aby2)=ax(bx−ay)−by(bx−ay)=(bx−ay)(ax−by)
Step 5 — Part (v).
We write am−a as a(m−1), so all three terms contain (m−1).
m−1−(m−1)2+am−a=(m−1)−(m−1)2+a(m−1)=(m−1)[1−(m−1)+a]=(m−1)(2−m+a)
Watch out: After taking a factor out of each pair, the two brackets must be exactly the same; if they differ only in sign, take out a negative factor instead.
Therefore, (i) (a−b)(a+b2); (ii) (y+1)(xy−1); (iii) (a2+b2)(x2+y2); (iv) (bx−ay)(ax−by); (v) (m−1)(2−m+a).