Let the sets of eigenvalues and eigenvectors of a matrix $B$ be $\{\lambda_k \mid 1 \le k \le n\}$ and $\{\mathbf{v}_k \mid 1 \le k \le n\}$, respectively.
For any invertible matrix $P$, the sets of eigenvalues and eigenvectors of the matrix $A$, where $B=P^{-1}AP$, respectively, are