The matrix given to me is :
$$A=\begin{pmatrix}1&r&r\\r&1&r\\r&r&1 \end{pmatrix} $$ Find the values of $r$ for which this is positive definite. So,I naturally try to find the determinant of the matrix $$A-xI$$ where $$I$$ is the $3\times 3$ identity matrix.
The determinant is $${(1-x)}^3-2r^2(1-x)+2r^3$$
My idea was that solving this equation $${(1-x)}^3-2r^2(1-x)+2r^3=0$$ for $x$ in terms of $r$ and keeping in mind that each value of $x$ that is the eigen value has to be $\gt 0$ , I could find the required possibilities for $r.$ But the problem here became that I failed to solve this equation.
Please help me solve the equation for $x$ and I think I can finish the rest by myself .
Also, any suggestion of a different approach or different trick is most welcome .
Thank you .