Check that a projection matrix equals its transpose
Verify PT = P by comparing mirrored entries. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
Here is a matrix that projects onto a line:
Look at it for one second. The two off-diagonal entries are equal. That is not a coincidence and it is not a decoration — it is the statement, and every orthogonal projection matrix has it.
Here is a matrix that also satisfies:
Its off-diagonal entries are and. It is not symmetric, and it is not an orthogonal projection — it is an oblique projection, which slides a vector along the horizontal instead of dropping it perpendicular.
So symmetry is the property that distinguishes the two kinds of projection, and it is one comparison of two entries. That is the best value-per-second test in this whole chapter.
You do not have to verify by hand, because the formula forces it. Write and transpose the whole thing, remembering that:
Two facts finish it. First,, so is symmetric — you can see that from the entries, since. Second, the inverse of a symmetric matrix is symmetric. So and
The shape of the argument is worth remembering on its own: any matrix of the form with symmetric is symmetric. The projection matrix is that pattern with.
What symmetry buys, geometrically. gives a split into two pieces, but says nothing about the angle between them. Symmetry is exactly the statement that those two pieces are perpendicular:
That uses on the first step and on the second. Without symmetry the cross term is with in place of, and it need not vanish.
A matrix is claimed to be the orthogonal projection onto a line:
Symmetry is already satisfied — the off-diagonal entries agree — so the missing entry is decided by idempotence.
Route 1: the determinant. A rank-one projection is singular, so:
Route 2: the trace. A rank-one projection has trace 1, so, giving ✓.
Both routes agree, which is the check that the answer is right. Then, which is indeed for.
Which route to use on an exam. The trace route is instant for a and a good sanity check for a. The determinant route generalises further, but the trace alone is not enough in (three unknowns, one equation).
- Verify P^T = P by comparing mirrored entries
- Explain from (XYZ)^T = Z^T Y^T X^T why A(A^T A)^-1 A^T is always symmetric
- Use symmetry to prove the projection and the error are perpendicular
(a) is, symmetric, idempotent, and. What is, and what does project onto?
(b). Is it a projection matrix? Give the decisive check.
Answers
(a), and it projects onto a 2-dimensional subspace of — a plane through the origin.
(b) No. It is symmetric, so it passes the first test — but its determinant is with rank 1, and its trace is. A rank-one projection must have trace 1, and squaring gives in any case. This is the pattern with the wrong denominator: the correct projection onto the line through is.