Question: solve systems involving matricies

How can I solve a system like:
A^2=A

det(A)=3

det(A+B)=7
 

where B is a given, say 3x3 matrix and A is an unknown 3x3 matrix?

Please Wait...