Algebra · real student question

Simplify 6x times (x - y) squared, plus 3 times (y - x) cubed.

Question

Simplify:

6x(xy)2+3(yx)36x(x-y)^2+3(y-x)^3

Step-by-step solution

  1. Relate the two brackets. They are negatives of each other: yx=(xy)y-x=-(x-y). This matters because raising to a power treats the sign differently depending on parity:

    (yx)2=(xy)2but(yx)3=(xy)3(y-x)^2=(x-y)^2\quad\text{but}\quad (y-x)^3=-(x-y)^3

    An even exponent absorbs the minus; an odd one keeps it.

  2. Rewrite everything in terms of (xy)(x-y). Substituting the cube identity,

    6x(xy)2+3(yx)3=6x(xy)23(xy)36x(x-y)^2+3(y-x)^3=6x(x-y)^2-3(x-y)^3

    Now both terms are built from the same bracket, which is what makes factoring possible.

  3. Identify and extract the common factor. The coefficients 66 and 33 share a factor 33, and the lower power of the bracket is (xy)2(x-y)^2, so the GCF is 3(xy)23(x-y)^2:

    6x(xy)23(xy)3=3(xy)2[2x(xy)]6x(x-y)^2-3(x-y)^3=3(x-y)^2\bigl[2x-(x-y)\bigr]

  4. Simplify what is left inside the brackets.

    2x(xy)=2xx+y=x+y2x-(x-y)=2x-x+y=x+y

    The subtraction flips both inner signs — writing 2xxy=xy2x-x-y=x-y would be the standard error here.

  5. State the result and verify.

    6x(xy)2+3(yx)3=3(xy)2(x+y)6x(x-y)^2+3(y-x)^3=3(x-y)^2(x+y)

    Check at x=3x=3, y=1y=1: the original is 6(3)(2)2+3(2)3=7224=486(3)(2)^2+3(-2)^3=72-24=48, and the factored form gives 3(2)2(4)=483(2)^2(4)=48 ✓.

Answer

6x(xy)2+3(yx)3=3(xy)2(x+y)6x(x-y)^2+3(y-x)^3=3(x-y)^2(x+y)

Need to solve a different problem like this? Open the solver →