Identify the pattern before you factor. Two terms that are both cubes point to \(\displaystyle a^{3}\pm b^{3}\); two terms that are both squares point to \(\displaystyle a^{2}-b^{2}\); three terms with two squares point to \(\displaystyle (a\pm b)^{2}\); four terms with two cubes point to \(\displaystyle (a\pm b)^{3}\); and four terms of the form \(\displaystyle a^{3}+b^{3}+c^{3}-3abc\) point to \(\displaystyle (a+b+c)(a^{2}+b^{2}+c^{2}-ab-bc-ca)\).
(i) \(\displaystyle 4y^{2}+1+\frac{1}{16y^{2}}\). Outer squares \(\displaystyle (2y)^{2}\) and \(\displaystyle \left(\frac{1}{4y}\right)^{2}\); check \(\displaystyle 2(2y)\left(\frac{1}{4y}\right)=1\), the middle term.
\[=\left(2y+\tfrac{1}{4y}\right)^{2} \]
(ii) \(\displaystyle 9m^{2}-\frac{1}{25n^{2}}=(3m)^{2}-\left(\frac{1}{5n}\right)^{2}\), a difference of squares.
\[=\left(3m-\tfrac{1}{5n}\right)\left(3m+\tfrac{1}{5n}\right) \]
(iii) \(\displaystyle 27b^{3}-\frac{1}{64b^{3}}=(3b)^{3}-\left(\frac{1}{4b}\right)^{3}\). Use \(\displaystyle a^{3}-b^{3}=(a-b)(a^{2}+ab+b^{2})\), where \(\displaystyle ab=3b\cdot\frac{1}{4b}=\frac{3}{4}\).
\[=\left(3b-\tfrac{1}{4b}\right)\left(9b^{2}+\tfrac{3}{4}+\tfrac{1}{16b^{2}}\right) \]
(iv) \(\displaystyle x^{2}+\frac{5x}{6}+\frac{1}{6}\). Multiply and divide by \(\displaystyle 6\) to clear fractions: \(\displaystyle \frac{1}{6}\left(6x^{2}+5x+1\right)\). Split \(\displaystyle 5x\) using \(\displaystyle 2\) and \(\displaystyle 3\) (product \(\displaystyle 6\times 1=6\), sum \(\displaystyle 5\)):
\[6x^{2}+5x+1=6x^{2}+3x+2x+1=3x(2x+1)+(2x+1)=(2x+1)(3x+1). \]
\[x^{2}+\tfrac{5x}{6}+\tfrac{1}{6}=\tfrac{1}{6}(2x+1)(3x+1)=\left(x+\tfrac{1}{2}\right)\left(x+\tfrac{1}{3}\right) \]
(v) \(\displaystyle 27u^{3}-\frac{1}{125}-\frac{27u^{2}}{5}+\frac{9u}{25}\). Four terms with \(\displaystyle (3u)^{3}\) and \(\displaystyle \left(\frac{1}{5}\right)^{3}\) suggests \(\displaystyle (a-b)^{3}\) with \(\displaystyle a=3u\), \(\displaystyle b=\frac{1}{5}\). Check the two middle terms: \(\displaystyle 3a^{2}b=3(9u^{2})\left(\frac{1}{5}\right)=\frac{27u^{2}}{5}\) (subtracted ✔) and \(\displaystyle 3ab^{2}=3(3u)\left(\frac{1}{25}\right)=\frac{9u}{25}\) (added ✔).
\[=\left(3u-\tfrac{1}{5}\right)^{3} \]
(vi) \(\displaystyle 64y^{3}+\frac{1}{125}z^{3}=(4y)^{3}+\left(\frac{z}{5}\right)^{3}\). Use \(\displaystyle a^{3}+b^{3}=(a+b)(a^{2}-ab+b^{2})\).
\[=\left(4y+\tfrac{z}{5}\right)\left(16y^{2}-\tfrac{4yz}{5}+\tfrac{z^{2}}{25}\right) \]
(vii) \(\displaystyle p^{3}+27q^{3}+r^{3}-9pqr\). Write \(\displaystyle 27q^{3}=(3q)^{3}\); then with \(\displaystyle a=p\), \(\displaystyle b=3q\), \(\displaystyle c=r\) we get \(\displaystyle 3abc=3(p)(3q)(r)=9pqr\), so this is exactly \(\displaystyle a^{3}+b^{3}+c^{3}-3abc\).
\[=(p+3q+r)\left(p^{2}+9q^{2}+r^{2}-3pq-3qr-rp\right) \]
(viii) \(\displaystyle 9m^{2}-12m+4\): squares \(\displaystyle (3m)^{2}\) and \(\displaystyle 2^{2}\), and \(\displaystyle 2(3m)(2)=12m\).
\[=(3m-2)^{2} \]
(ix) \(\displaystyle 9x^{3}-\frac{8}{3}y^{3}+\frac{z^{3}}{3}+6xyz\). None of \(\displaystyle 9x^{3}\), \(\displaystyle \frac{8}{3}y^{3}\), \(\displaystyle \frac{z^{3}}{3}\) is a clean cube, so take out \(\displaystyle \frac{1}{3}\) first:
\[=\tfrac{1}{3}\left(27x^{3}-8y^{3}+z^{3}+18xyz\right). \]
Now \(\displaystyle 27x^{3}=(3x)^{3}\), \(\displaystyle -8y^{3}=(-2y)^{3}\), \(\displaystyle z^{3}=z^{3}\), and with \(\displaystyle a=3x\), \(\displaystyle b=-2y\), \(\displaystyle c=z\) we get \(\displaystyle -3abc=-3(3x)(-2y)(z)=+18xyz\) ✔. So the bracket is \(\displaystyle a^{3}+b^{3}+c^{3}-3abc\) and
\[a^{2}+b^{2}+c^{2}-ab-bc-ca=9x^{2}+4y^{2}+z^{2}+6xy+2yz-3xz. \]
\[9x^{3}-\tfrac{8}{3}y^{3}+\tfrac{z^{3}}{3}+6xyz=\tfrac{1}{3}(3x-2y+z)\left(9x^{2}+4y^{2}+z^{2}+6xy+2yz-3xz\right) \]
(x) \(\displaystyle 4x^{2}+9y^{2}+36z^{2}+12xz+36yz+24xy\).
This one does not factor as printed, and I believe the printed cross terms are swapped. Here is the check. Six terms with the squares \(\displaystyle (2x)^{2}\), \(\displaystyle (3y)^{2}\), \(\displaystyle (6z)^{2}\) invite \(\displaystyle (2x+3y+6z)^{2}\), whose cross terms are forced to be
\[2(2x)(3y)=12xy,\qquad 2(3y)(6z)=36yz,\qquad 2(2x)(6z)=24xz. \]
The printed expression has \(\displaystyle 36yz\) ✔ but \(\displaystyle 24xy\) and \(\displaystyle 12xz\) — the coefficients \(\displaystyle 24\) and \(\displaystyle 12\) are attached to the wrong pairs. Changing the signs of \(\displaystyle 2x\), \(\displaystyle 3y\) or \(\displaystyle 6z\) cannot fix this, because it changes signs, not sizes. A quick numerical check confirms the mismatch: at \(\displaystyle x=y=1\), \(\displaystyle z=0\) the printed expression gives \(\displaystyle 4+9+24=37\), while \(\displaystyle (2x+3y+6z)^{2}=(2+3)^{2}=25\). In fact the printed expression cannot be written as a product of two linear expressions at all, so it is not factorable by any identity in this chapter.
Almost certainly the intended expression is \(\displaystyle 4x^{2}+9y^{2}+36z^{2}+12xy+36yz+24xz\), and then
\[4x^{2}+9y^{2}+36z^{2}+12xy+36yz+24xz=(2x+3y+6z)^{2}. \]
(xi) \(\displaystyle 27u^{3}-\frac{1}{216}-\frac{9u^{2}}{2}+\frac{u}{4}\). Here \(\displaystyle (3u)^{3}=27u^{3}\) and \(\displaystyle \left(\frac{1}{6}\right)^{3}=\frac{1}{216}\), so try \(\displaystyle (a-b)^{3}\) with \(\displaystyle a=3u\), \(\displaystyle b=\frac{1}{6}\). Check: \(\displaystyle 3a^{2}b=3(9u^{2})\left(\frac{1}{6}\right)=\frac{9u^{2}}{2}\) (subtracted ✔) and \(\displaystyle 3ab^{2}=3(3u)\left(\frac{1}{36}\right)=\frac{u}{4}\) (added ✔).
\[=\left(3u-\tfrac{1}{6}\right)^{3} \]
Answers: (i) \(\displaystyle \left(2y+\frac{1}{4y}\right)^{2}\); (ii) \(\displaystyle \left(3m-\frac{1}{5n}\right)\left(3m+\frac{1}{5n}\right)\); (iii) \(\displaystyle \left(3b-\frac{1}{4b}\right)\left(9b^{2}+\frac{3}{4}+\frac{1}{16b^{2}}\right)\); (iv) \(\displaystyle \left(x+\frac{1}{2}\right)\left(x+\frac{1}{3}\right)\); (v) \(\displaystyle \left(3u-\frac{1}{5}\right)^{3}\); (vi) \(\displaystyle \left(4y+\frac{z}{5}\right)\left(16y^{2}-\frac{4yz}{5}+\frac{z^{2}}{25}\right)\); (vii) \(\displaystyle (p+3q+r)\left(p^{2}+9q^{2}+r^{2}-3pq-3qr-rp\right)\); (viii) \(\displaystyle (3m-2)^{2}\); (ix) \(\displaystyle \frac{1}{3}(3x-2y+z)\left(9x^{2}+4y^{2}+z^{2}+6xy+2yz-3xz\right)\); (x) not factorable as printed — with the \(\displaystyle xy\) and \(\displaystyle xz\) coefficients in their intended places it is \(\displaystyle (2x+3y+6z)^{2}\); (xi) \(\displaystyle \left(3u-\frac{1}{6}\right)^{3}\).