How to write the algorithm? I have figured out a method to find the inverse.

Click For Summary
SUMMARY

This discussion focuses on the algorithm for finding the inverse of triangular matrices, specifically using properties of upper and lower triangular matrices. The inverse of a triangular matrix retains its triangular form, simplifying the inversion process. Key formulas for calculating the elements of the inverse matrix are provided, including specific equations for variables x, y, and z. The discussion also outlines the method for transforming a general matrix into a triangular form using row and column operations, ultimately leading to the computation of the inverse.

PREREQUISITES
  • Understanding of triangular matrices and their properties
  • Familiarity with matrix operations, including row and column transformations
  • Knowledge of determinants and adjugate matrices
  • Basic linear algebra concepts, particularly matrix inversion
NEXT STEPS
  • Study the properties of triangular matrices in depth
  • Learn about matrix row reduction techniques and their applications
  • Explore the computation of determinants for submatrices
  • Investigate the adjugate matrix and its role in matrix inversion
USEFUL FOR

Mathematicians, computer scientists, and students studying linear algebra who are interested in matrix theory and algorithms for matrix inversion.

Ask4material
Messages
17
Reaction score
0
How to write the algorithm? I figured out a method to find the inverse.

The assignment is making use of the property of triangular matrices to find the inverse of a matrix [itex]\displaystyle A[/itex].

The inverse of a triangular matrix(Upper/ Lower) is also triangular(Upper/ Lower) and is easy to find.

[itex]\displaystyle \begin{bmatrix} a & b & c\\ 0 & d & e\\ 0 & 0& f \end{bmatrix} \begin{bmatrix}\frac{1}{a} & x & z\\ 0 & \frac{1}{d} & y \\ 0 & 0 &\frac{1}{f} \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1 \end{bmatrix}[/itex]

By equating the Upper 0s, [itex]\displaystyle x, y, z[/itex] are readily to be found.

[itex]\displaystyle x = -a^{-1} b d^{-1}[/itex], [itex]\displaystyle y = -d^{-1} e f^{-1}[/itex], [itex]\displaystyle z = a^{-1} b d^{-1} c f^{-1} - a^{-1} c f^{-1}[/itex]

In higher order matrices:

[itex]\displaystyle a d x= - \begin{vmatrix} b \end{vmatrix}[/itex]

[itex]\displaystyle d f y = - \begin{vmatrix} e \end{vmatrix}[/itex]

[itex]\displaystyle a d f z= + \begin{vmatrix} b & c \\ d & e \end{vmatrix}[/itex]

[itex]\displaystyle \pm[/itex] signs follow the plan:

[itex]\displaystyle \begin{bmatrix} + & - & + \\ - & + & -\\ + & -& + \end{bmatrix} \sim \begin{bmatrix} + & x & z \\ - & + & y\\ + & - & + \end{bmatrix}[/itex]

If [itex]\displaystyle A[/itex] is invertible, find [itex]\displaystyle A^{-1}[/itex] by changing [itex]\displaystyle A[/itex] triangular...

[itex]\displaystyle AX=I[/itex]

[itex]\displaystyle E_3E_2E_1AX=E_3E_2E_1I[/itex]

[itex]\displaystyle E_jAX=E_jI[/itex]

Take Row operation and Column operation on [itex]\displaystyle E_jA[/itex] to become a triangular matrix

[itex]\displaystyle R_jE_jAC_j = U[/itex] is triangular.

[itex]\displaystyle (R_jE_jAC_j)^{-1} = U^{-1}[/itex] can be found by the method above.[itex]\displaystyle (R_jE_jAC_j)^{-1}=C_j^{-1}A^{-1}E_j^{-1}R_j^{-1} = U^{-1}[/itex]

[itex]\displaystyle A^{-1}=C_j(C_j^{-1}A^{-1}E_j^{-1}R_j^{-1})R_jE_j = C_j(U^{-1})R_jE_j[/itex]

[itex]\displaystyle E_j = E_jAX = E_jI[/itex] is computed in the beginning.
 
Last edited:
Physics news on Phys.org
Triangular matrices are comparably easy to invert. One only needs the explicit formula for matrix inversion by determinants of submatrices, the adjugate matrix and a backwards substitution.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
4K
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K