I'm trying to prove that this symmetric block matrix is positive definite $$ \begin{bmatrix} B & -I & 0 & \dots& 0 \\ -I & B & -I & \ddots & \vdots\\ 0 & -I & \ddots & \ddots & 0\\ \vdots & \ddots & \ddots & \ddots & -I\\ 0 & \dots & 0& - I & B \\ \end{bmatrix} $$
with $I$ the identity matrix
$$B = \begin{bmatrix} 4 & -1 & 0 & \dots& 0 \\ -1 & 4 & -1 & \ddots & \vdots\\ 0 & -1 & \ddots & \ddots & 0\\ \vdots & \ddots & \ddots & \ddots & -1\\ 0 & \dots & 0& - 1 & 4 \\ \end{bmatrix}$$
by proving that this term $x^T A x$ is positive, but given the fact that it is a block matrix I'm stuck. Could you help me please?
As the comment on your post mentions, the Gershgorin circle theorem is enough to prove that the matrix is at least positive semidefinite.
However, it turns out that we can actually find an expression for the eigenvalues of this matrix without too much effort. Suppose that the block-matrix is $m \times m$, with each block an $n \times n$ matrix. Let $M_k$ denote the $k \times k$ matrix $$ M_k = \begin{bmatrix} 0 & -1 & 0 & \dots& 0 \\ -1 & 0 & -1 & \ddots & \vdots\\ 0 & -1 & \ddots & \ddots & 0\\ \vdots & \ddots & \ddots & \ddots & -1\\ 0 & \dots & 0& - 1 & 0 \\ \end{bmatrix}. $$ Because $M_k$ is tridiagonal and Toeplitz, its eigenvalues can be easily found to be $$ \lambda_j = 2 \cos\left(\frac{\pi j}{k + 1}\right), \quad j = 1,\dots,k. $$ Using the Kronecker product and Kronecker sum, we can write this block matrix in the form $$ A = 4 I_{mn} + M_m \otimes I_n + I_m \otimes M_n = 4I_{mn} + (M_m \oplus M_n). $$ It is known that for square matrices $P,Q$, the eigenvalues of $P \oplus Q$ have the form $\lambda + \mu$ for eigenvalues $\lambda$ of $P$ and $\mu$ of $Q$. So, the eigenvalues of $A$ are given by $$ \lambda_{p,q} = 4 + 2 \cos\left(\frac{\pi p}{m + 1}\right) + 2 \cos \left(\frac{\pi q}{n + 1}\right), \quad p = 1,\dots,m, \quad q = 1,\dots,n. $$ We can see that these eigenvalues are non-negative because the minimum possible value for the above is $4 - 2\cdot 1 - 2 \cdot 1 = 0$. Thus, $A$ will always be positive semidefinite.
In fact, we see that $A$ is positive definite since neither of the cosines attain their minimum of $-1$.