Regardless, when I learned this method in my linear algebra it inspired me to write a blog post [1] showing the derivation!<p>This is a classic programming question, and it&#x27;s refreshing to see a closed form solution.<p>[1]:<a href="https:&#x2F;&#x2F;scottsievert.com&#x2F;blog&#x2F;2015&#x2F;01&#x2F;31&#x2F;the-mysterious-eigenvalue&#x2F;" rel="nofollow">https:&#x2F;&#x2F;scottsievert.com&#x2F;blog&#x2F;2015&#x2F;01&#x2F;31&#x2F;the-mysterious-eige...</a>