Câu a:
\(x^2-y^2-x+3y-2=\left(x^2-2.x.\frac{1}{2}+\frac{1}{4}\right)-\left(y^2-2.y.\frac{3}{2}+\frac{9}{4}\right)\)
\(< =>\left(x-\frac{1}{2}\right)^2-\left(y-\frac{3}{2}\right)^2\)
\(< =>\left(x-\frac{1}{2}+y-\frac{3}{2}\right)\left(x-\frac{1}{2}-y+\frac{3}{2}\right)=\left(x+y-2\right)\left(x-y+1\right)\)