You can
put this solution on YOUR website!
(x-y)² + 3(y-x)³
Notice that (x-y) and (y-x) are opposite differences,
we can write either one in terms of the other. Let's
write (x-y) in terms of (y-x)
(x-y) =
Write the two terms in the opposite order:
(-y+x) =
factor out -1:
-1(y-x)
replace (x-y) by -1(y-x) using brackets
[-1(y-x)]² + 3(y-x)³
Remove the brackets by squaring each of the two factors within
(-1)²(y-x)² + 3(y-x)³
and since (-1)² is 1
(y-x)² + 3(y-x)³
Now we can factor out (y-x)²
(y-x)²[1 + 3(y-x)]
Remove the parentheses inside the bracket:
(y-x)²[1+3y-3x]
Chance brackets to parentheses:
(y-x)²(1-3y+3x)
Edwin