Key idea: The condition xTAy=0 for all x,y∈W means W is a totally isotropic subspace for the quadratic form q(x)=xTAx. The maximum dimension of such a subspace is determined by the signature of A.
Step 1: The matrix A is block diagonal with blocks (0220). The eigenvalues of each block are $2$ and −2. Thus, A has two positive and two negative eigenvalues, so its signature is (2,2).
Step 2: By Sylvester's Law of Inertia, the maximum dimension of a totally isotropic subspace for a quadratic form of signature (p,q) is min(p,q). Here, min(2,2)=2. Thus, the maximum dimension of W is 2. (Option A is true).
Step 3: The eigenvectors of A are proportional to (1,1,0,0)T, (1,−1,0,0)T, (0,0,1,1)T, and (0,0,1,−1)T. Consider the subspace W=span{e1,e3}. For any x,y∈W, xTAy=0 because Ae1=2e2 and Ae3=2e4, which are orthogonal to e1 and e3. Thus, W is totally isotropic. However, W is not spanned by eigenvectors of A. (Option B is true).
Step 4: For the same W=span{e1,e3}, Ae1=2e2∈/W, so W is not an invariant subspace of A. (Option C is false).
Step 5: Let W=span{e1+e2,e3+e4}. This W is totally isotropic. Its orthogonal complement is W⊥=span{e1−e2,e3−e4}. For y=e1−e2∈W⊥, yTAy=−4=0. Thus, W⊥ is not necessarily totally isotropic. (Option D is false).
Answer: A, B