I would like to solve the following equation involving a determinant of an $n \times n $ matrix: $$ \begin{vmatrix} 2\cos \theta & -1 & 0 & \cdots & 0 \\ -1 & 2\cos \theta & -1 & \cdots & 0 \\ 0 & -1 & 2\cos \theta & \cdots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0&0&0&\cdots& 2\cos \theta \end{vmatrix} =0$$ where $0 \le \theta \le \pi $. I have made a few tries for small matrices, and it seems that the solution is $\theta=\frac{k\pi}{n+1}$ for $k=1, 2, \cdots, n$
However, I cannot prove a generalized case (for arbitrary $n$). How can I prove the generalized case?
Thank you.
Let $a_n$ be the value of the $n \times n$ determinant in question, we have: $a_n = 2\cos \theta \cdot a_{n-1}- a_{n-2}$. Using the characteristic equation approach we have: $x^2 - 2\cos \theta x + 1 = 0\implies \triangle'=\cos ^2\theta-1 = -\sin^2 \theta\implies x = \dfrac{\cos \theta \pm i\sin \theta}{2}$. Can you continue here?