cách 1 : \(x^2\)\(-\)\(5x\)\(+\)\(6\)
\(=\)\(x^2\)\(-\)\(2x\)\(-\)\(3x\)\(+\)\(6\)
\(=\)\(\left(x^2-2x\right)-\left(3x-6\right)\)
\(=\)\(x\left(x-2\right)-3\left(x-2\right)\)
\(=\)\(\left(x-3\right)\left(x-2\right)\)
Cách 2 : \(x^2\)\(-\)\(5x\)\(+\)\(6\)
\(=\)\(x^2\)\(-\)\(4x\)\(+\)\(4\)\(-\)\(x\)\(+\)\(2\)
\(=\)\(\left(x-2\right)^2\)\(-\)\(\left(x-2\right)\)
\(=\)\(\left(x-2\right)\)\(\left(x-2-1\right)\)
\(=\)\(\left(x-2\right)\left(x-3\right)\)
Mình chỉ biết một cách thôi
x^2-5x+6
=x^2-2x-3x+6
=x(x-2)-3(x-2)
=(x-3)(x-2)