Pset 7 Due April 13
(1) GS p.216 17. If $P^2=P$ show that $(I-P)^2=I-P$. When $P$ projects onto the column space of $A$$, what does $I-P$ project onto?
(2) GS p.217 22. Knowing that the inverse of a symmetric matrix is symmetric, prove that projection matrices are symmetric by showing that $P=A(A^TA)^{-1}A^T$ is symmetric. Do this by showing that $P^T=P$.
(3) GS p. 214 1. Project the vector $b$ onto the line through $a$. Check that $e$ is perpendicular to $a$.
(4) GS p. 254 3. True or False, with a reason if true or a counterexample if false
(Notation: $|A|=\det(A)$.)
(a) The determinant of $I+A$ is $1+\det A$.
(b) The determinant of $ABC$ is $|A||B||C|$.
(c) The determinant of $4A$ is $4 |A|$.
(d) The determinant of $AB-BA$ is always zero. (Maybe try A=[0 0;0 1])
(5) GS p 255 12. The inverse of a 2x2 matrix seems to have determinant = 1: $$ \det A^{-1} = \det \frac{1}{ad-bc} \left[ \begin{array}{rr} d & -b \\ -c & a \end{array} \right]= \frac{ad-bc}{ad-bc}=1.$$ What is wrong with this calculation? What is the correct $\det A^{-1}$?
(6) A Hadamard matrix H is a matrix with entries ±1 and orthogonal columns. What is the determinant of H as a function of n? (Hadamard matrices are conjectured to exist for every n that is a multiple of 4, but nobody knows if there is such a matrix even for n=668) (See mathoverflow for example.) If you stumble on a Hadamard matrix of size 668 please let us know. (Extremely unlikely don't waste much time looking.)
(7a)
How many row exchanges would turn this "4-cycle" permutation matrix into I:
$$\begin{pmatrix} 0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1 \\
1 & 0 & 0 & 0
\end{pmatrix}.$$
(7b)(2b)There are 12 edge pieces on a Rubik's cube: An edge piece always has two colored stickers on the two visible faces.
There are also 8 corner pieces
The corners always have three colored stickers on the three visible faces.
Imagine numbering the edge pieces on a solved cube from 1 to 12. Propose a method to encode the position with a 12x12 permutation matrix when the puzzle has evolved. (You may also start to think, but no need to write anything down, how you can do the same with corner pieces numbered 1 to 8 using an 8x8 permutation matrix.)
(7c) A move is defined as a quarter turn of a face. (A half turn is thus two moves.) Use the result in (7a) and what you know about determinants to prove that if you start with a solved cube and apply $k$ moves to return to the solved state, then $k$ must be even.
(7d) Argue that if you plucked out two edge pieces, interchanged them, and put them back in, the cube would be unsolvable. (Hint: Argue that the determinants are the same for the 12x12 and 8x8 permutation matrices for the edges and the corners. Therefore if the edge determinant tells us that we need an odd number of moves to solve the cube, the corner would tell us we simultaneously need an even number, which is impossible.)
(7e) Does the same argument work for the eight corner pieces (you'll need an 8x8 permutation matrix)? (A corner piece has three exposed color faces.) Explain briefly?
(7f) Does the same argument work if you would interchange the two colored stickers on any one edge?
(7g) Does the same argument work if you would permute the three colored stickers on any one corner?
(8) If $\det A = -1$, does that mean that $A$ is orthogonal? Explain why or provide a counterexample if it is false.