I was solving a physics statistical mechanics problem of an interacting system.
In that question, I have to find the eigenvalues of a matrix P whose elements are given by $$P= \begin{bmatrix} e^{x} & 1 & e^{-x}\\ 1 & 1 & 1\\ e^{-x} & 1 & e^{x} \end{bmatrix}$$ I obtained the eigenvalue equation as $$\lambda^3-\lambda^2(e^{2x} - e^{-x}+1) - \lambda(e^{-2x} - e^{2x} - 2e^{x}+1) - (e^{2x} - e^{-2x} - 2e^{x} + 2e^{-x})=0$$
I cannot go further; the solution in the textbook is stated without showing how to calculate the roots.
The eigenvalues are
$$\lambda_1 = 2\sinh (x)$$
$$\lambda_{2,3}:=\frac{1}{2}\bigg[1+2\cosh(x)\pm\sqrt{4\cosh^{2}(x)-4\cosh(x)+9}\bigg]$$
I tried finding info on how to get eigenvalues of a symmetric, definite matrix. I found that for such matrices, the eigenvalue is bounded by the lowest sum of a row and the highest sum of the row. But since the sum of rows is distinct, I can't use that to deduce the exact value of the eigenvalue.
Can anyone help me how to solve this?
Given the form of the answer, it may be easier to work with $\sinh$ and $\cosh$ from the start. To save space, I'm going to write $c$ and $s$ for $\cosh x$ and $\sinh x$. A bit of determinant manipulation gives \begin{eqnarray} \left|\begin{matrix} c + s - \lambda & 1 & c - s \\ 1 & 1-\lambda & 1 \\ c - s & 1 & c + s -\lambda\end{matrix}\right| &=& \left|\begin{matrix} c + s - \lambda & 1 & c - s \\ 1 & 1-\lambda & 1 \\ \lambda - 2s & 0 & 2s -\lambda \end{matrix}\right| \\&=& (\lambda - 2s)\left(\left|\begin{matrix}1 & c-s\\1-\lambda & 1\end{matrix}\right|-\left|\begin{matrix}c+s-\lambda & 1 \\1 & 1-\lambda\end{matrix}\right|\right) \\ &=&(\lambda-2s)[1 - (1-\lambda)(c-s)-(c+s-\lambda)(1-\lambda) + 1] \\ &=& (\lambda - 2s)[2(1 - c) + (2c+1)\lambda-\lambda^2] \end{eqnarray} The first equality comes from the fact that adding a constant multiple of one row to another doesn't change the determinant, and the second comes from the Laplace expansion along the bottom row. So we need to solve the polynomial equation $$ (\lambda - 2\sinh x)[\lambda^2 - (2\cosh x + 1)\lambda - 2(1-\cosh x)] = 0 $$ The linear factor's solution is obvious, and the quadratic factor's solutions can be gotten through the quadratic formula.