I have four matrices with below structures (mat1, mat2, mat3 and mat4). With real coefficients (c1, c2, c3) I have created the matrix matcomplete=(mat1+c1*mat2)+c3*(mat3+c2*mat4). All mat's are Hermitian matrices. I know in this case of real coefficients (as it is the my case), matcomplete will be Hermitian. Then the eigenvalues of matcomplete have to be real. But when I use of here method:
Eigenvalues[matcomplete, Cubics -> True]
the some eigenvalues will be Imaginary. I mean in one term I see
(* ((1 + I Sqrt[3]) *)
I wanted to use of FullSimplify[Eigenvalues[matcomplete, Cubics -> True], Assumptions{c1>0,c2>0,c3>0}] but it has taken too long!!.
There are some assumptions (but I think the third is true):
1-Eigenvalues of a Hermitian matrix such as matcomplete maybe are not always real.
2- matcomplete is not a Hermitian matrix even with real coefficients.
3-Eigenvalues[matcomplete, Cubics -> True] is not a good way for these matrices.
How can I reach to the correct eigenvalues of the matcomplete?
here introduces a method that has been suggested by Feyre. It means that one way is use of numeric values but I have to obtain eigenvalues parametricaly.
mat1={{0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0,0,
0, 1, 1, 0, 0, 0, 0, 1, 0, 0}, {0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1,
0, 0, 1, 0}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {0,
0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 0, 1,
0, 0, 1, 0, 0, 1, 0, 0, 0}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0,
0, 0, 1}, {0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0}, {0, 1,
0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 1, 0, 0,
0, 0, 1, 0, 0, 0, 0, 1}, {0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0,
0,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, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {0, 0, 0, -1, 0, 0, 0, 0, 0, 0,
0, 0, -1, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0,
0}, {0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, -1,
0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0}, {1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1,
0}, {0, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 0}, {0, 0, 0,
0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0,
0, 0, -1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0,
0, 0}};

FullSimplify[], and it still contains complex values, note that substituting in real positive values for the constants also still gives complex values. – Feyre Aug 16 '16 at 11:07Chop[]is to illustrate that the Imaginary components of the eigenvalues are close to zero, and the result of cancellation errors. – Feyre Aug 16 '16 at 13:51Rootof any eigenvalues equations. – Unbelievable Aug 16 '16 at 14:00Rootform, it's better anyway. – Daniel Lichtblau Aug 16 '16 at 14:34matcompletefrom 4 Hermitian matrix, and if I understand correctly, you find some complex eigenvalues which lead you to your three assumptions. Can you give an example whenmatcompletereturns complex eigenvalues. If it is happening for some values ofc1,c2,c3, what are those values? – Sumit Aug 16 '16 at 15:16Chop. But if you attack to the problem parametricaly (not numerics) you can see that appeared (1-Sqrt[3] I) term and so on. and I need to parametric configuration of eigenvalues unfortunately! – Unbelievable Aug 16 '16 at 15:43(a+b I). I just chooseaand I knowbis not important. but answers are not written asa+b I?!!!! I have written another question which strongly related to this question. – Unbelievable Aug 16 '16 at 17:02