If f(x) = x^2 -5x +7 and let A be a matrix . f(A) is written as A^2 -5A +7I where I is an Identity matrix .Why 7 is written as 7I as It is a scalar and multiplying by matrix makes it a matrix .
For a matrix A, if A2=I where I is a unit matrix of same order, then (I - A)(I + A) is