Before you readA matrix stretches and shears the plane. Are there any directions it leaves pointing the same way?
Watch: Eigenvectors and eigenvalues · 3Blue1Brown · Essence of Linear Algebra, ch. 14
Most vectors get knocked off their line by a transformation. An eigenvector is one that stays on its line and only gets scaled:
The scale factor is its eigenvalue.
A = [[4, 1], [2, 3]]λ = 5, v = (0.71, 0.71); λ = 2, v = (0.45, -0.89)
Finding them. means for a non-zero so must squash space: For
Then solve for each: gives gives
Three edge cases. An eigenvalue can be then and squashes to the origin. For every non-zero vector is an eigenvector. And a rotation has no real eigenvalues, so no line through the origin stays put.
A shortcut for the eigenvalues add to the trace and multiply to
Watch: A quick trick for computing eigenvalues · 3Blue1Brown · Essence of Linear Algebra, ch. 15
Why ML cares: PCA’s principal components are eigenvectors of the covariance matrix, and their eigenvalues are how much variance each direction carries.
Recall
What is an eigenvector of Recall
Which equation gives the eigenvalues of Recall
For a matrix, what do the eigenvalues sum and multiply to?Exercise
Find both eigenvalues of to two decimal places.Exercise
has eigenvalue Find an eigenvector for it, scaled so its first entry is 1.