For the standard basis vector , matrix multiplication selects the th column, soConsequentlyand the columns of are .
Suppose first that are linearly independent, and defineThen is invertible. The first columns of are the last columns of . By the Cayley-Hamilton theorem,This is exactly the last-column rule for the companion matrix , so
Conversely, suppose , or , and write the columns of as . Comparing the first columns givesHenceSince is invertible, its columns are linearly independent. Taking therefore makeslinearly independent. Thus is similar to exactly when it has the stated cyclic vector.
Solved by gpt-5.6-sol high.
Codex Wiki