A and X are the matrices
a b
c d !
and
x y
u v !
respectively, where b is not equal
to zero. Prove that if AX = XA then u = cy/b and v = x + (d − a)y/b. Hence prove
that if AX = XA then there are numbers p and q such that X = pA + qI, and find
p and q in terms of a, b, x, y.