Bài 4
c) x(x - 2) + (x - 2)²
= (x - 2)(x + x - 2)
= (x - 2)(2x - 2)
= 2(x - 2)(x - 1)
d) 2x(x - y)² - 5(y - x)
= 2x(x - y)² + 5(x - y)
= (x - y)(2x + 5)
Bài 5
a) x² - 6x - 2xy + 12y
= (x² - 6x) - (2xy - 12y)
= x(x - 6) - y(x - 6)
= (x - 6)(x - y)
b) 10ax - 5ay - 2x + y
= (10ax - 5ay) - (2x - y)
= 5a(2x - y) - (2x - y)
= (2x - y)(5a - 1)
c) x⁴ + x³y - x - y
= (x⁴ + x³y) - (x + y)
= x³(x + y) - (x + y)
= (x + y)(x³ - 1)
= (x + y)(x - 1)(x² + x + 1)
d) x³ + 2x² - 4x - 8
= (x³ + 2x²) - (4x + 8)
= x²(x + 2) - 4(x + 2)
= (x + 2)(x² - 4)
= (x + 2)(x + 2)(x - 2)
= (x + 2)²(x - 2)
e) xy - 5x - y² + 5y
= (xy - 5x) - (y² - 5y)
= x(y - 5) - y(y - 5)
= (y - 5)(x - y)
f) ax - bx - 2cx - 2a + 2b + 4c
= (ax - bx - 2cx) - (2a - 2b - 4c)
= x(a - b - 2c) - 2(a - b - 2c)
= (a - b - 2c)(x - 2)
g) 5x²y + 5xy² - b²x - b²y
= (5x²y + 5xy²) - (b²x + b²y)
= 5xy(x + y) - b²(x + y)
= (x + y)(5xy - b²)
h) 4x³ - 4x² - 9x + 9
= (4x³ - 4x²) - (9x - 9)
= 4x²(x - 1) - 9(x - 1)
= (x - 1)(4x² - 9)
= (x - 1)(2x - 3)(2x + 3)