Intro to Eigenvectors

Eigenvalues and Eigenvectors

Consider a square matrix of size n. The eigenvectors of the matrix describe the directions over which the datapoints are scaled (e.g. only stretch or shrink without changing their direction) when a linear transformation is applied to them. Mathematically speaking, they are vectors such that Av = λv, where λ is a scalar. This number is called its eigenvalue, and represents the amount by which they stretch.

To find the eigenvectors of a matrix, first find the eigenvalues by solving the characteristic equation det(A - λI) = 0, where A is the matrix, λ is the eigenvalue, I is the identity matrix, and 0 is the zero vector. Knowing the eigenvalues, we then solve for (A-λI)x=0, where the possible solutions for the vector x are the eigenvectors.

Woo-o-f!

Check out this set of exercises on calculating eigenvalues from Libretexts.org. If you want to cheat, I’ve written a solver.




    Enjoy Reading This Article?

    Here are some more articles you might like to read next:

  • Self Hosting Through A CGNAT For Free Part 4: Getting a subdomain
  • Self Hosting Through A CGNAT For Free Part 3: Configuring an NGINX Reverse Proxies
  • Self Hosting Through A CGNAT For Free Part 2: How to setup your a free VPS
  • Self Hosting Through A CGNAT For Free Part 1: How to setup your own VPN
  • How to easily serve docker services in SE-Linux with compose