In an attempt to formulate a answer to this (in)famous question
I'm trying to construct three $n\times n$ matrices $A,B,C$ that are (a) symmetric, (b) positive definite, (c) add to $I_n$ . Note that I've already decided to restrict attention to the reals and I have replaced Hermitian by symmetric (which IMO is difficult enough).My unsuccessful tries are a wild mixture of two extremes:
- Make a random square matrix $H$ and form $A = H^TH$ . Make another random square matrix $H$ and form $B = H^TH$ . In the same way, form $C = H^TH$ . Then $A,B,C$ are symmetric and positive definite. But in general $A+B+C \ne I$ .
- Generate random numbers for $A_{ij} = A_{ji}$ , $B_{ij} = B_{ji}$ and form $C_{ij} = C_{ji} = I_{ij}-A_{ij}-B_{ij}$ . Then $A,B,C$ are symmetric and $A+B+C = I$ , but it cannot be guaranteed that these are positive definite matrices.
n=2;tol=1e-6;for k=1:10000,A=diag(rand(n,1));R=sqrt(A);[U,S,V]=svd(rand(n,n)+i*rand(n,n));B=R*U*diag(rand(n,1))*U'*R;C=eye(n)-A-B;d=det(6*(A^3+B^3+C^3)+eye(n))-det(5*(A^2+B^2+C^2));if d<-tol,A,B,C,d,break;end;end– user1551 Jan 06 '17 at 12:55