I would like to check if the determinant of the following matrix is nonzero.
\begin{bmatrix} 1 & -2 & 1 & & & & & \\ 1 & 4 & 1 & & & & & \\ & 1 & 4 & 1 & & & & \\ & & 1 & 4 & \ddots & & & \\ & & & \ddots & \ddots & \ddots \\ & & & & \ddots & 4 & 1 & & \\ & & & & & 1 & 4 & 1 & \\ & & & & & & 1 & 4 & 1 \\ & & & & & & 1 & -2 & 1 \end{bmatrix}
I tried using Laplace expansion but I think this leads to nothing. Is there another way to see regularity of such a "tridiagonal" matrix. Unfortunately, the matrix is not strictly diagonal dominant either. That is why I tried using Laplace but the submatrices I get from doing that are looking almost the same. Maybe one has another idea.