Consider this question
The function $u(x)=x(x-1), 0 \leq x \leq 1$, is defined by the equations $u^{\prime \prime}(x)=2,0 \leq x \leq 1$, and $u(0)=u(1)=0$. A difference approximation to the differential equation provides the estimates $u_m \approx u(m h), m=1,2, \ldots, M-1$, through the system of equations $$ \left\{\begin{array}{l} u_{m-1}-2 u_m+u_{m+1}=2 h^2, \quad m=1,2, \ldots, M-1 \\ u_0=u_M=0 \end{array}\right. $$ where $h=1 / M$, and $M$ is a large positive integer. Show that the exact solution of the system is just $u_m=u(m h), m=1,2, \ldots, M-1$. We employ the notation $u_m^{(\infty)}=u(m h)$, because we let the system be solved by the Jacobi iteration, using the starting values $u_m^{(0)}=0, m=1,2, \ldots, M-1$. Prove that the iteration matrix $H$ has the spectral radius $\rho(H)=\cos (\pi / M)$. Further, by regarding the initial error vector $\boldsymbol{u}^{(0)}-\boldsymbol{u}^{(\infty)}$ as a linear combination of the eigenvectors of $H$, show that the largest component of $\boldsymbol{u}^{(k)}-\boldsymbol{u}^{(\infty)}$ for large $k$ is approximately $\left(8 / \pi^3\right) \cos ^k(\pi / M)$. Hence deduce that the Jacobi method requires about $2.5 M^2$ iterations to achieve $\left\|\boldsymbol{u}^{(k+1)}-\boldsymbol{u}^{(\infty)}\right\|_{\infty} \leq 10^{-6}$.
I have done everything except
Further, by regarding the initial error vector $\boldsymbol{u}^{(0)}-\boldsymbol{u}^{(\infty)}$ as a linear combination of the eigenvectors of $H$, show that the largest component of $\boldsymbol{u}^{(k)}-\boldsymbol{u}^{(\infty)}$ for large $k$ is approximately $\left(8 / \pi^3\right) \cos ^k(\pi / M)$. Hence deduce that the Jacobi method requires about $2.5 M^2$ iterations to achieve $\left\|\boldsymbol{u}^{(k+1)}-\boldsymbol{u}^{(\infty)}\right\|_{\infty} \leq 10^{-6}$.
Here is what I tried: Expand in terms of an orthonormal eigenbasis $$ u^0 -u^\infty = \sum a_i v^i, $$ where \begin{align*} \mathbf{v}^k=\sqrt{\frac{2}{M}} \begin{pmatrix} \sin \frac{\pi k}{m} \\ \vdots \\ \sin \frac{\pi k n}{M} \end{pmatrix} : k = 1,\dots ,M-1 \end{align*} as the matrix in this scheme is triangular, symetric and toeplitz.
Then let $\lambda_i$ be the associated eigenvalue with each eigenvector. Whence $$ u^k -u^\infty = H^k \sum a_i v^i = \sum a_i \lambda_i^k v^i \sim a_1 \cos^k (\pi/M) v^1. $$ So I need to find $a_1$. We have $$a_1 = (u^0 - u^\infty) \cdot v^1 = -\sqrt{\frac{2}{M}} (h(h-1) \sin \pi h + (h+1) h \sin \pi h +...)$$ since $$ u^0 - u^\infty = - (u(h) \quad u(2h) \quad ... \quad u(h(M-1))^T. $$ From here on I am struggling to reduce it to the desired form. Moreover, it mentions "approximetly" which I think I should interpret as in asymptotically?
Also, for the very last part, I am struggling to understand what "about" means as all of the above seems to be in the context of asymptotics. It makes it difficult for me to judge the accuracy of my expansions .
Question: If anybody could shine some light on how to get the $8/ \pi ^3$ and about the "about" in the last part I would be very greatefull.