Solution:
Concept: Perfect squares: A2+2AB+B2=(A+B)2 and A2−2AB+B2=(A−B)2.
Difference of two squares: A2−B2=(A+B)(A−B). Write each term as the square of something, then multiply the sum of the two square roots by their difference.
Step 1 — Complete the square.
A perfect square needs −2x2y2, so we write −27x2y2 as −2x2y2−25x2y2, and 25x2y2 is (5xy)2.
x4+y4−27x2y2=(x4−2x2y2+y4)−25x2y2=(x2−y2)2−(5xy)2
Step 2 — Use the difference of squares.
With A=x2−y2 and B=5xy, we multiply the sum by the difference.
=(x2−y2+5xy)(x2−y2−5xy)=(x2+5xy−y2)(x2−5xy−y2)
Watch out: Split the middle term so that one part completes a perfect square; the rest must itself be a perfect square.
Therefore, x4+y4−27x2y2=(x2+5xy−y2)(x2−5xy−y2).