# The matrix P is a permutation matrix that records row swaps, which we did not discuss in class. View P as follows: row1 went to row 2 (since [1,0,0] should be in the first row of an identity matrix but is now in the second row), row2 swapped to row3, and row3 was swapped up to row1.P