原式=x²(1-y)+x(y²-1)+y(1-y)
=x²(1-y)-x(1+y)(1-y)+y(1-y)
=(1-y)(x²-x-xy+y)
=-(y-1)[x(x-1)-y(x-1)]
=-(y-1)(x-1)(x-y)
x²-x²y+xy²-x+y-y²
=(x²-y²)-(x²y-xy²)-(x-y)
=(x-y)(x+y)-xy(x-y)-(x-y)
=(x-y)(x+y-xy-1)
=-(x-y)(xy-x-y+1)
=-(x-y)[(xy-x)-(y-1)]
=-(x-y)[x(y-1)-(y-1)]
=-(x-y)(x-1)(y-1)
x²-y²+xy²-x²y-(x-y)=(x-y)(x+y)-xy(x-y)-(x-y)=(x-y)(x+y-xy-1)=-(x-y)(x(y-1)-(y-1))=-(x-y)(x-1)(y-1)
x²-x²y+xy²-x+y-y²
=x²-y²-(x²y-xy²)-(x-y)
=(x+y)(x-y)-xy(x-y)-(x-y)
=(x-y)(x+y-xy-1)
=(x-y)[(x-xy)+(y-1)]
=(x-y)[x(1-y)-(1-y)]
=(x-y)(1-y)(x-1)