Can I use back substitution to invert a matrix?

  • Context: Undergrad 
  • Thread starter Thread starter NewStudent200
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Discussion Overview

The discussion revolves around the use of back substitution to invert a triangular matrix derived from a system of equations with multiple variables. Participants explore the relationship between the derivatives of the equations and the inversion of the resulting matrix.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant describes a scenario involving n equations and n variables, leading to a matrix of derivatives dC/df, and questions whether finding df/dC equates to inverting this matrix.
  • Another participant confirms that inverting a triangular matrix is indeed possible and suggests that it is relatively straightforward.
  • A further inquiry is made about recommended algorithms for inverting a triangular matrix.
  • A participant responds that "back substitution" is the appropriate method and provides an example of how to derive the inverse of a triangular matrix, detailing the relationships between the elements of the original and inverse matrices.

Areas of Agreement / Disagreement

Participants generally agree that back substitution is a suitable method for inverting a triangular matrix, but there is no consensus on specific algorithms beyond this method.

Contextual Notes

The discussion does not address potential limitations of back substitution or the conditions under which it may be applied, nor does it explore the implications of the triangular matrix structure on the inversion process.

NewStudent200
Messages
5
Reaction score
0
Hello all,

Say I had n equations, with n variables, so that
C1 = C1(f1), C1 is a funtion of f1 only
C2 = C2(f1, f2), C2 is a function of f1 and f2
...
Cn = Cn(f1, f2...fn), Cn is a function of all n vairables

I can calculate the matrix dC/ df where each line is the derivative of Ci with respect to the n vairables, The matrix will look something lile

a 0 0 0... 0
b c 0 0... 0
...
u v w x... z

Now if I was after the matrix df/dC then am I basically just trying to invert this matrix?

Thanks very much for any help
 
Physics news on Phys.org
NewStudent200 said:
Hello all,

Say I had n equations, with n variables, so that
C1 = C1(f1), C1 is a funtion of f1 only
C2 = C2(f1, f2), C2 is a function of f1 and f2
...
Cn = Cn(f1, f2...fn), Cn is a function of all n vairables

I can calculate the matrix dC/ df where each line is the derivative of Ci with respect to the n vairables, The matrix will look something lile

a 0 0 0... 0
b c 0 0... 0
...
u v w x... z

Now if I was after the matrix df/dC then am I basically just trying to invert this matrix?

Thanks very much for any help
Yes, and, for a triangular matrix, that is fairly simple.
 
Great. Thanks very much. Is there a particular algorithm that is recommended for a triangular matrix?

Regards,
 
Just "back substitution". If your matrix is, say,
[tex]\begin{bmatrix}a & 0 & 0 \\ b & c & 0\\ d & e & f\end{bmatrix}[/tex]
then its inverse will be a matrix of the form
[tex]\begin{bmatrix}u & 0 & 0 \\ v & w & 0\\ x & y & z\end{bmatrix}[/tex]
such that
[tex]\begin{bmatrix}a & 0 & 0 \\ b & c & 0\\ d & e & f\end{bmatrix}\begin{bmatrix}u & 0 & 0 \\ v & w & 0\\ x & y & z\end{bmatrix}= \begin{bmatrix}1 & 0 & 0 \\0 & 1 & 0\\ 0 & 0 & 1\end{bmatrix}[/tex]
You must have au= 1 so u= 1/a. Then bu+ cv= b/a+ cv= 0 so v= -b/ac. cw= 1 so w= 1/c, etc.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 25 ·
Replies
25
Views
15K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
17
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K