A few comments that may help:
(1) Since J > 0, factor it out of the matrix (h1 = H /. J->1
). B and the eigenvalues of h
will be in units of J.
(2) Instead of considering B and $\alpha$ to be the independent variables, define $B_x$ and $B_y$. (h2 = H /. J -> 1 /. Cos[α] -> Bx/B /. Sin[α] -> By/B
)
(3) Another potential set of real, independent variables is {B^2, B^2*Cos[2α]
. Look at the ToRadicals
form of the eigenvalues to find other potential parameters. We know the eigenvalues are real, but choosing real parameters that allow MMA to simplify the imaginary parts to zero is not easy.
(4) Use Manipulate
and Plot
to visualize the eigenvalues as roots of the characteristic polynomial.
c1 = CharacteristicPolynomial[h1, x]
Manipulate[Plot[c1 /. B -> sb /. α -> sa, {x, -10, 10},
PlotRange -> {All, {-100, 100}}],
{{sb, 1, "B"}, 0, 5}, {{sa, π/4, "α"}, 0, π}]
c2 = CharacteristicPolynomial[h2, x]
Manipulate[Plot[c2 /. Bx -> sbx /. By -> sby, {x, -10, 10},
PlotRange -> {All, {-100, 100}}],
{{sbx, 1, "Bx"}, 0, 5}, {{sby, 1, "By"}, 0, 5}]
ToRadicals
. $\endgroup$Eigenvalues[H, Cubics -> True]
gives the same result asEigenvalues[H] // ToRadicals
$\endgroup$