Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I factor $8xy^3+8x^2-8x^3y-8y^2$ or the different form $2x(4y^3+4x)-2y(4x^3+4y)$

Is there any general methods that work?

A possible solution should be $8(x^2-y^2)(1-xy)$ But please do not start from here as in the general case I will not know the answer...

Thanks! Alexander

share|cite|improve this question
The command of Maple $$ factor(-8*x^3*y+8*x*y^3+8*x^2-8*y^2)$$ produces $$-8\, \left( -y+x \right) \left( y+x \right) \left( xy-1 \right) .$$ – user64494 Jul 26 '13 at 19:47
up vote 6 down vote accepted

For polynomials with four terms, try grouping them:


I factored out a $-xy$ from the first group to make the quotient look like the second group. This allowed me to then factor out $x^2-y^2$ from both terms in the square brackets.

share|cite|improve this answer

First take out $8$ as factor


Now, $xy^3-y^2+x^2-x^3y=y^2(xy-1)-x^2(xy-1)=(xy-1)(y^2-x^2)=(xy-1)(y+x)(y-x)$

share|cite|improve this answer

I don't think there is a general method.

However spotting obvious factors - like $8$ - and grouping factors of the same degree together so $x^2$ and $y^2$ have degree $2$ and $xy^3$ and $x^3y$ have degree 4 - is a useful step to have in mind.

share|cite|improve this answer

$$ 8xy^3+8x^2-8x^3y-8y^2= 8xy^3-8x^3y+8x^2-8y^2$$

$$= 8xy(y^2-x^2)-8(y^2-x^2)= (8xy-8)(y^2-x^2) $$

$$ = 8(1-xy)(x^2-y^2). $$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.