I presume that scalars are in ##\mathbb C## for this post
stevendaryl said:
If ##A## is invertible, then there is an invertible matrix ##Q## and a diagonal matrix ##\Lambda## such that ##A = Q \Lambda Q^{-1}##
This is news to me. In general the rank of ##\mathbf A##'s collection of eigenvectors determines diagonalizability. The rank of ##\mathbf A## itself really has no bearing on diagonalizability (ignoring nits like how to think about rank zero matrices).
Note that ##\mathbf A## can always be triangularized i.e. ##\mathbf A = \mathbf{STS}^{-1}## where the triangularization is either Jordan Form or Schur Form, depending on needs and tastes.
stevendaryl said:
Both trace and determinant are invariant under cyclic permutations of matrices: ##det(XYZ) = det(YZX)## and ##tr(XYZ) = tr(YZX)##
For this problem, this holds I think, but the statement strikes me as dangerous. For convenience I'll define ##\mathbf B := \mathbf{YZ}##
Technically trace has a provable cyclic property over square matrices, but determinants don't -- they have a multiplicative property. In general these operations are valid when ##\mathbf B## is ##n ## x ##m## and ##\mathbf X## is ##m## x ##n##.
i.e. ##trace\big(\mathbf {BX}\big) = trace\big(\mathbf {XB}\big)##, but we can only be sure that ##det\big(\mathbf {BX}\big) = det\big(\mathbf {XB}\big)## if ##m = n## (or if we know there is a rank deficiency for both, then both have determinants of zero). Another way to think about it is, if ##m = n## we can write ##det\big(\mathbf {XB}\big) = det\big(\mathbf X\big) det\big(\mathbf B\big) = det\big(\mathbf {BX}\big)## i.e. we get commutativity--which gives you a cyclic property for free.
A better statement in my view is that ##\big(\mathbf {XB}\big)## and ##\big(\mathbf {BX}\big)## have the same non-zero eigenvalues-- or equivalently, the same characteristic polynomials, after factoring out zero roots. Trace gives the sum of eigenvalues -- equivalently, the sum of non-zero eigenvalues. Determinant is product of eigenvalues -- and this in general is impacted by the presence of extra zero roots (which must occur if ##m \neq n##).