Cách khác :
\(a^2-7a+10\)
\(=a^2-2a.\dfrac{7}{2}+\dfrac{49}{4}-\dfrac{9}{4}\)
\(=\left(a-\dfrac{7}{2}\right)^2-\dfrac{9}{4}\)
\(=\left(a-\dfrac{7}{2}\right)^2-\left(\dfrac{3}{2}\right)^2\)
\(=\left(a-\dfrac{7}{2}-\dfrac{3}{2}\right)\left(a-\dfrac{7}{2}+\dfrac{3}{2}\right)\)
\(=\left(a-5\right)\left(a-2\right)\)
a2 - 7a + 10
= a2 - 2a - 5a + 10
= a(a - 2) - 5(a - 2)
= (a - 2)(a - 5)