Given: a2−10a+25 =a2−5a−5a+25, split middle term so that resultant is same
=(a2−5a)+(−5a+25), group pair of terms
=a(a−5)−5(a−5), factor each binomials
=(a−5)(a−5), factor out common factor (a−5)
=(a−5)2
Aliter, use (a−b2)=a2−2ab+b2
⇒a2−10a+25=a2−2×5x+52=(a−5)2