I have a claim I’ve been conjecturing. Not sure if it’s true or not. Context: I’m doing some calculations with finite difference schemes.
Say I have the following real $n \times n$ tridiagonal matrix $A$:
$$ \begin{bmatrix} \;\;\;2 & -1 & & &\\ -1 & \;\;\;2 & -1 & &\\ & \ddots & \ddots & \ddots\\ & & -1 & \;\;\;2 & -1 \\ & & & -1 & \;\;\;2 \end{bmatrix} $$
Does the following system have a unique solution?
$A\mathbf{U}=\mathbf{F}$ where $\mathbf{U} = \begin{bmatrix} U_{1}\\ U_{2}\\ \vdots\\ \\ U_{n} \end{bmatrix}$ and $\mathbf{F}$ is just a real vector of dimension $n$.
Observations:
Other than the fact it’s tridiagonal, I noticed that it is diagonally dominant. I also think I can compute an $LU$ factorization, but I’m not sure how that would help. Any directions?
Could I also do it like this, since $A$ is tridiagonal, an $LU$ factorization exists which can be computed by Thomas algorithm.
Since $A\mathbf{x}=\mathbf{b}$ iff $(LU)\mathbf{x}=\mathbf{b}$
We can solve the lower triangular system $L\mathbf{y} = \mathbf{b}$ which yields a unique solution and we can also solve the upper triangular system $U\mathbf{x} = \mathbf{y}$ resulting in $\mathbf{x}$ being unique.
Also I cannot accept comment answers unfortunately!
– Hinazuki Kayo Jun 22 '16 at 14:27