-2
$\begingroup$

Solve this equation AX=B \begin{align} \begin{bmatrix} 1 & 1 & 1 & \cdots & 1 \\ 0 & 1 & 1 & \ddots & 1 \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ \vdots & \ddots & \ddots & 1 & 1 \\ 0 & \cdots & \cdots & 0 & 1 \end{bmatrix} \cdot X = \begin{bmatrix} 2 & 1 & 0 & \cdots & 0 \\ 1 & 2 & 1 & \ddots & \vdots \\ 0 & 1 & 2 & \ddots & 0 \\ \vdots & \ddots & \ddots & 2 & 1 \\ 0 & \cdots & 0 & 1 & 2 \end{bmatrix} \end{align} I have never found inverse of a nxn tridiagonal matrix and multiplied them before ($X = A^{-1}\cdot B$) Thanks for your help

$\endgroup$

1 Answer 1

0
$\begingroup$

By Gauss-Jordan method we can easy see that

$$ \begin{bmatrix} 1 & 1 & 1 & \cdots & 1 \\ 0 & 1 & 1 & \ddots & 1 \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ \vdots & \ddots & \ddots & 1 & 1 \\ 0 & \cdots & \cdots & 0 & 1 \end{bmatrix}^{-1}=\begin{bmatrix} 1 & -1 & 0 & \cdots & 0 \\ 0 & 1 & -1 & \ddots & 0 \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ \vdots & \ddots & \ddots & 1 & -1 \\ 0 & \cdots & \cdots & 0 & 1 \end{bmatrix}$$

$\endgroup$
2
  • $\begingroup$ i already know it, but then how to multiply 2 matrices $\endgroup$ Commented Oct 17, 2019 at 7:18
  • $\begingroup$ We need to solve $AX=B \implies X=A^{-1}B$. Once we know $A^{-1}$ we can just multiply $A^{-1}B$ with the ordinary rules for matrix multiplication. $\endgroup$
    – user
    Commented Oct 17, 2019 at 7:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .