Stuck on this? Solve it with AI
Algebra · real student question

Factor 6x(x − y)² + 3(y − x)(y − x)².

Question

Factor completely:

6x(x−y)2+3(y−x)(y−x)26x(x-y)^2 + 3(y-x)(y-x)^2

Step-by-step solution

  1. Collapse the second term into a single power. The product (y−x)(y−x)2(y-x)(y-x)^2 is just (y−x)3(y-x)^3:

    6x(x−y)2+3(y−x)36x(x-y)^2 + 3(y-x)^3

    Writing it as one power makes the parity of the exponent visible, which is what the next step depends on.

  2. Align the two binomials using the sign rule. Since y−x=−(x−y)y - x = -(x-y), an odd power picks up a minus sign while an even power does not:

    (y−x)3=[−(x−y)]3=−(x−y)3,(y−x)2=(x−y)2(y-x)^3 = \left[-(x-y)\right]^3 = -(x-y)^3, \qquad (y-x)^2 = (x-y)^2

    This is the single step where most sign errors happen: only odd exponents flip.

  3. Rewrite the whole expression in terms of (x − y).

    6x(x−y)2+3(y−x)3=6x(x−y)2−3(x−y)36x(x-y)^2 + 3(y-x)^3 = 6x(x-y)^2 - 3(x-y)^3

    Now both terms share the same binomial base, so a common factor can be extracted.

  4. Take out the greatest common factor. The numerical GCF of 66 and 33 is 33, and the lower power of the binomial is (x−y)2(x-y)^2:

    6x(x−y)2−3(x−y)3=3(x−y)2[2x−(x−y)]6x(x-y)^2 - 3(x-y)^3 = 3(x-y)^2\Big[2x - (x-y)\Big]

  5. Simplify the remaining bracket.

    2x−(x−y)=2x−x+y=x+y2x - (x - y) = 2x - x + y = x + y

    ⟹6x(x−y)2+3(y−x)(y−x)2=3(x−y)2(x+y)\Longrightarrow \quad 6x(x-y)^2 + 3(y-x)(y-x)^2 = 3(x-y)^2(x+y)

  6. Check with test values. At (x,y)=(3,5)(x,y) = (3,5) the original is 6(3)(4)+3(2)(4)=72+24=966(3)(4) + 3(2)(4) = 72 + 24 = 96, and the factored form gives 3(4)(8)=963(4)(8) = 96. The same agreement holds at (−2,7)(-2, 7) and (12,13)\left(\tfrac12, \tfrac13\right) in exact fraction arithmetic. Neither (x−y)2(x-y)^2 nor x+yx+y factors further, so this is complete.

Answer

6x(x−y)2+3(y−x)(y−x)2=3(x−y)2(x+y)6x(x-y)^2 + 3(y-x)(y-x)^2 = 3(x-y)^2(x+y)

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