Given: y2−7y+12
Since, the coefficient of y2 is unity.
∴ Adding and subtracting (12× coefficient of y)2
i.e., (−72)2=(72)2
⇒ y2–7y+12
=y2–7y+(72)2–(72)2+12
=y2–7y+(72)2–494+12
=y2–7y+(72)2–14
=(y−72)2–(12)2
=(y−72−12)(y−72+12)
=(y−82)(y−62)
=(y–4)(y–3)
Hence, y2−7y+12=(y–4)(y–3)