= ( x2+2xy+y2) -(x+y)-12
= (x+y)2-(x+y)-12
= (x+y)-12
Ta có:
\(x^2+2xy+y^2-x-y-12=(x^2+2xy+y^2)-(x+y)-12\)
\(=(x+y)^2-(x+y)-12 \) \((*)\)
Đặt \(x+y=a\)
từ \((*)\Rightarrow a^2-a-12=(a^2+3a)-(4a+12)\)
\(=(a+3)(a-4)\)
Thay \(a=x+y\)
\(\Rightarrow (x+y+3)(x+y-4)\)