Row-swap example
Row-swap example
The matrix which swaps rows and (of a vector or another matrix) works like this:
To obtain this row-swap matrix, start with the diagonal matrix with ’s along the diagonal, and then swap rows and .
Projection is not invertible
Projection is not invertible
Consider the projection matrix which sends a vector to the vector . This matrix acts by zero upon any vector , sending to . This action cannot be undone! (What specific vector would the inverse action send to?)
Inverse matrix to find preimage
Inverse matrix to find preimage
Problem: Define
Find a vector with the property that , meaning that sends to the given .
Solution: First we compute using the formula. We have , so . Now compute that , and this is our answer for . Check this answer by computing , as expected.
Finding eigenvectors and eigenvalues
Finding eigenvectors and eigenvalues
Problem: Define . Find the two eigenvalues and some (any) two corresponding eigenvectors of .
Solution: First write . Then means . Solve this quadratic equation to obtain and . We have found the two eigenvalues.
Next, write out the matrices
Our goal is to find and such that . We can guess two solutions: let and let . To check that these are indeed eigenvectors of the original corresponding to and , compute:
You could also use the procedure in the gray box “Derivation.” For we have , and for we have . Then we would get and . Notice that the first eigenvector is a scalar multiple of ours above: .
This is true in general: if , then . In other words, you can scale an eigenvector and the result is still an eigenvector with the same eigenvalue. This is because when is a scalar, and of course when both are scalars. In yet other words, the line spanned by an eigenvector , called an eigenline, is preserved by the matrix: every vector on this line is mapped back to something on this line.