Compute the eigenvalues and eigenvectors of the coefficient matrix
If A {\displaystyle A} has two eigenvalues λ 1 , λ 2 {\displaystyle \lambda _{1},\lambda _{2}} with associated eigenvectors v 1 , v 2 {\displaystyle \mathbf {v} _{1},\mathbf {v} _{2}} , then
for some constants c 1 , c 2 {\displaystyle c_{1},c_{2}} .