MIT 18.06 Completed

Lecture 4 · LU decomposition of $A$

Write the elimination process as A=LU and understand why matrix factorization is the core of numerical calculations.

On this page

Factorization into A = LU | Gilbert Strang | MIT 18.06 Linear Algebra

Lecture 4 / Total 35 Lectures |Part 1 · Elimination and Vector Spaces

Video of this lecture: Bilibili p4 · AA LU decomposition of ↗(49:06)| MIT OCW official page ↗

Illustration: MIT OCW 18.06SC official lecture summary (CC BY-NC-SA 4.0) and Bilibili classroom video frames (time stamped), about 10 frames per lecture.

Introduction to this lecture

Lecture 2 writes each step of elimination as an elementary matrix, and Lecture 3 completes the rules for matrix multiplication; together we get E32E21A=UE_{32}E_{21}A=U. This formula is correct, but it is not easy to use. product E=E32E21E=E_{32}E_{21} Mix together the used multipliers from EE I can no longer read on my body what steps Xiaoyuan has taken.

This lecture is about writing the same thing in a different direction. Do not stack the elimination matrix in AA Instead of moving them to the right, you get the most basic factorization of the matrix:

A=LU.A=LU .

UU is the end point of elimination, the upper triangular matrix; LL It is the result of multiplying the inverses of the series of elimination matrices in reverse order. The beauty is: LL Every multiplier used during elimination is kept intact, one step at a time, without interfering with each other. AA All the information is thus split into two halves: the “multiplier” and the “upper triangle”, and no one owes anyone anything.

Before reaching this step, we need to add two tools about inversion and transposition: why the inverse of a product must be in reverse order, and why finding the inverse after transposing is equal to finding the inverse first and then transposing. They are not just techniques; LL It is exactly the “reverse inverse” of the elimination matrix. The second half of the lecture turns to two more practical questions: How many operations are required for elimination? The answer is 13n3\frac13 n^3 magnitude; and when the pivot position appears 00, what matrix should be used when a line break is necessary - permutation matrix (permutation matrix).

Official Handout Summary Page 1/3

MIT OCW Official Lecture Notes Summary Page 1/3 (18.06SC Lecture 4 Summary, CC BY-NC-SA 4.0).

1. Inverse of product and inverse of transpose

Let me ask a direct question first: AA with BB All reversible, (AB)−1(AB)^{-1} What is it? Intuition makes people write A−1B−1A^{-1}B^{-1}, but that’s not right. The two inverses do indeed need to be multiplied, but the order must be reversed:

(AB)−1=B−1A−1.(AB)^{-1}=B^{-1}A^{-1}.

Verification requires only multiplicative associativity. put ABAB with B−1A−1B^{-1}A^{-1} When multiplying, the brackets can be moved around, but the order cannot be changed:

(AB)(B−1A−1)=A(BB−1)A−1=A I A−1=AA−1=I.(AB)\bigl(B^{-1}A^{-1}\bigr)=A\bigl(BB^{-1}\bigr)A^{-1}=A\,I\,A^{-1}=AA^{-1}=I .

The first step is to move the brackets to BB with B−1B^{-1} to get the identity matrix; then multiply it by the left AA, get AA;finally AA with A−1A^{-1} cancel, what remains II. The same holds true when multiplied in the opposite direction:

(B−1A−1)(AB)=B−1(A−1A)B=B−1IB=B−1B=I.\bigl(B^{-1}A^{-1}\bigr)(AB)=B^{-1}\bigl(A^{-1}A\bigr)B=B^{-1}IB=B^{-1}B=I .

Both sides return to the identity matrix, so B−1A−1B^{-1}A^{-1} indeed ABAB The inverse.

Why the order must be reversed? You can use the metaphor of putting on shoes to remember: put on socks first and then put on shoes. To undo this process, you must take off shoes first and then socks. The order of disassembly is always the reverse of the order in which it is performed. This principle will be used repeatedly later - elimination is a series of row transformations, and undoing it naturally starts from the last step.

The second tool is Transpose. known (AB)T=BTAT(AB)^{\mathsf T}=B^{\mathsf T}A^{\mathsf T}, transposing a product also requires reverse order. now from AA−1=IAA^{-1}=I Start and transpose both sides at the same time. The identity matrix remains itself after transposition: it is symmetric about the diagonal, and no change is visible when swapping rows and columns. The left end is expanded in reverse order into (A−1)TAT(A^{-1})^{\mathsf T}A^{\mathsf T}, so

(A−1)TAT=I.(A^{-1})^{\mathsf T}A^{\mathsf T}=I .

This equation exactly illustrates (A−1)T(A^{-1})^{\mathsf T} Whose converse is it: it is the same as ATA^{\mathsf T} Multiply to get the identity matrix. Therefore

(AT)−1=(A−1)T.\bigl(A^{\mathsf T}\bigr)^{-1}=\bigl(A^{-1}\bigr)^{\mathsf T}.

In other words, transposing a matrix first and then inverting it, and inverting it first and then transposing it, have the same result, and the order of the two things can be interchanged at will. This conclusion will be used repeatedly in the future. At this moment, remember its origin: it is entirely derived from AA−1=IAA^{-1}=I It’s “turned” out of this equation.

Video 00:04:55: Classroom blackboard writing

Video 00:04:55|Approximately corresponding to Section 1 “1. The inverse of the product and the inverse of the transpose”.

2. Second level: A=LUA=LU first example of

Now use the tool on elimination. Let’s start with the simplest second-order situation and see clearly A=LUA=LU How did it come out. take

A=[2187].A=\begin{bmatrix}2&1\\8&7\end{bmatrix}.

The first pivot is 22, to be eliminated (2,1)(2,1) locational 88, the multiplier is 8/2=48/2=4. The second row minus the first row 44 Times: (8,7)−(8,4)=(0,3)(8,7)-(8,4)=(0,3). Written as a matrix, it is

E21=[10−41],E21A=[2103]=U.E_{21}=\begin{bmatrix}1&0\\-4&1\end{bmatrix}, \qquad E_{21}A=\begin{bmatrix}2&1\\0&3\end{bmatrix}=U .

Read this multiplication line by line: E21E_{21} The second line of (−4,1)(-4,1) Explain that the new second line is −4-4 times the first line plus 11 times the second row, i.e. (−8,−4)+(8,7)=(0,3)(-8,-4)+(8,7)=(0,3); first line (1,0)(1,0) Then leave the first line as is. E21E_{21} only in (2,1)(2,1) A number is placed in the position, and its function is to write the sentence “the second row minus four times the first row” into a matrix.

(2,2)(2,2) specially placed in the position 77 instead of 44, there is a reason. if there is 44, the second row happens to be the first row 44 times, after elimination, the entire second row becomes zero, the second pivot does not exist, the matrix is singular, and the entire decomposition is impossible to talk about.

Now put E21E_{21} Move to the right. Take both sides to the left at the same time E21−1E_{21}^{-1}, it only needs to put (2,1)(2,1) locational −4-4 Change to +4+4: How much is subtracted by elimination and how much is added back by inverse operation. So

A=E21−1U=[1041][2103]=LU.A=E_{21}^{-1}U= \begin{bmatrix}1&0\\4&1\end{bmatrix} \begin{bmatrix}2&1\\0&3\end{bmatrix}=LU .

Directly test: LL The second line of (4,1)(4,1) given 4(2,1)+(0,3)=(8,4)+(0,3)=(8,7)4(2,1)+(0,3)=(8,4)+(0,3)=(8,7), exactly AA the second line; the first line (1,0)(1,0) given (2,1)(2,1), that’s right.

UU is the first letter of upper, LL Naturally it is lower: LL It’s a lower triangle, with everything on the diagonal 11; UU It is an upper triangle with two main elements sitting on the diagonal. 22 with 33. In the second-order situation EE with LL There is only one symbol difference, so you can’t see much difference. The real difference is not revealed until the third level.

By the way, the main element can be brought out separately. put UU Divide the first row of 22, the second row is divided by 33, the pivots fit into a diagonal matrix:

A=[1041][2003][11201].A= \begin{bmatrix}1&0\\4&1\end{bmatrix} \begin{bmatrix}2&0\\0&3\end{bmatrix} \begin{bmatrix}1&\tfrac12\\0&1\end{bmatrix}.

On the diagonal of the factor on the left is 11, the one on the right is also the same, with the main element sandwiched in the middle, and the shape is smaller than LULU More symmetrical. This way of writing is written as LDULDU, among which DD is diagonal matrix (diagonal matrix). Both forms of the actual software will be given and will be used in this course from now on. LULU.

3. Third order: the multiplier remains as is LL inside

The second order is too simple, one EE That’s enough. It’s not until level three that you can see why it’s worthwhile to move the reverse to the right. Set AA It is a third-order matrix, no line breaks are needed, and elimination is performed in a fixed order: use E21E_{21} put (2,1)(2,1) The position becomes zero, then use E31E_{31} Process (3,1)(3,1), and finally use E32E_{32} Process (3,2)(3,2), get UU:

E32E31E21A=U.E_{32}E_{31}E_{21}A=U .

to make AA If you leave it alone on the left, multiply the three inverse matrices from left to right - note that each time you multiply one, it disappears on the left and appears on the right, and the positions where it appears are arranged upside down:

A=E21−1E31−1E32−1⏟L U.A=\underbrace{E_{21}^{-1}E_{31}^{-1}E_{32}^{-1}}_{L}\,U .

The order is completely reversed, which is exactly the result of the “reverse the order of undoing” rule in Section 1 being used three times in a row. The number of matrices is the number of elimination steps: nn order matrix to do 1+2+⋯+(n−1)=n(n−1)21+2+\cdots+(n-1)=\frac{n(n-1)}{2} steps, each step contributes an elimination matrix, that is, LL occupies a grid below the diagonal. The third level has 33 multiplier, the fourth order has 66 , exactly equal to LL The total number of cells below the diagonal.

Let’s use a specific example to see what this string of inverse matrices looks like. Set

E21=[100−210001],E31=I,E32=[1000100−51].E_{21}=\begin{bmatrix}1&0&0\\-2&1&0\\0&0&1\end{bmatrix}, \qquad E_{31}=I, \qquad E_{32}=\begin{bmatrix}1&0&0\\0&1&0\\0&-5&1\end{bmatrix}.

E31=IE_{31}=I express (3,1)(3,1) There is nothing to do at that step, there is already a zero there. Multiply the three elimination matrices in original order:

E=E32E31E21=E32E21=[100−21010−51].E=E_{32}E_{31}E_{21}=E_{32}E_{21}= \begin{bmatrix}1&0&0\\-2&1&0\\10&-5&1\end{bmatrix}.

On the diagonal is 11, there are all zeros above the diagonal - elimination always uses the upper row to change the lower row, and information does not flow upward, which is different from Gauss-Jordan elimination. The problem is (3,1)(3,1) That location 1010. It’s not wrong, but it’s ugly and has no clue where it came from. Let’s trace back: First, subtract the first row from the second row. 22 times, then subtract from the third row new second line 55 times. The new second line already contains the first line −2-2 times, then multiply 55 and subtract from the third row, equal to the first row 1010 Times stuffed into the third row. multiplier 22 and 55 Mutual contamination on this chain gave birth to a 1010.

Now switch to the other side and do the reverse in reverse order. Inverting a single elimination matrix simply flips the signs: −2-2 change +2+2, −5-5 change +5+5.

L=E21−1E32−1=[100210001][100010051]=[100210051].L=E_{21}^{-1}E_{32}^{-1}= \begin{bmatrix}1&0&0\\2&1&0\\0&0&1\end{bmatrix} \begin{bmatrix}1&0&0\\0&1&0\\0&5&1\end{bmatrix} = \begin{bmatrix}1&0&0\\2&1&0\\0&5&1\end{bmatrix}.

Check line by line: take the first line of the second factor from the first line, and get (1,0,0)(1,0,0);The second line is 2(1,0,0)+(0,1,0)=(2,1,0)2(1,0,0)+(0,1,0)=(2,1,0); Take the third row of the second factor as it is from the third row, and we get (0,5,1)(0,5,1).1010 Gone, 22 with 55 Everyone stays in their own cells, and no one interferes with anyone else.

A general conclusion can be drawn from this: As long as there is no row exchange, LL of (i,j)(i,j) Yuan(i>ji>j) is to eliminate (i,j)(i,j) The multiplier used when positioning. Want to get it LL, no additional calculations are required, just write down the multiplier when doing elimination. Furthermore, after clearing the second line, the new second line is stored in UU, the multiplier is deposited into LL, the original AA You can throw it away——AA All the information is already in LL with UU Everyone is in their place. This is the new understanding brought about by writing elimination in matrix form: EE There was a melee on the other side, LL This side is a refreshing ledger.

Once a certain pivot position appears 00, two lines must be exchanged, this neat set of accounting will be disrupted, then A=LUA=LU to be rewritten as PA=LUPA=LU. This is left to the next lecture.

Video 00:14:44: Classroom blackboard writing

Video 00:14:44|Approximately corresponding to Section 3 “3. Third order: the multiplier remains as is LL “nearby”.

Video 00:18:40: Classroom blackboard writing

Video 00:18:40|Approximately corresponding to Section 3 “3. Third order: the multiplier remains as is LL “nearby”.

Official Handout Summary Page 2/3

MIT OCW Official Lecture Notes Summary Page 2/3 (18.06SC Lecture 4 Summary, CC BY-NC-SA 4.0).

4. The cost of elimination: why 13n3\frac13 n^3

So far we have talked about “how to do it”, and next we have to ask “how expensive”. one nn For a system of first-order equations, how many operations are required for elimination? This question has practical weight: Engineering always hopes to nn The bigger the matrix, the better, because the larger the matrix, the more information it can hold and the more reliable the results, but the price will also increase, so you must know how fast it increases. n=1000n=1000 Can the system of equations be solved in one second? n=106n=10^6 How long will it take? The key is to understand that the amount of calculation varies with nn Ways of growing - like nn With linear growth like that, doubling only takes twice as long; like n2n^2 For square growth like that, it takes four times the time to double; like n3n^3 In this way, if the cube grows, doubling it will take eight times; if it is like n!n! In that case, doubling it would be a disaster.

First, let’s define “one operation” clearly. A typical action is to multiply one row by a multiplier and then subtract from another row, with one multiplication and one subtraction in between. Here, multiplication and addition are counted as one operation; if the numbers are divided, the number of multiplications and subtractions is half, and the total number is only doubled, which does not affect the magnitude of the increase.

Now count the first steps. nn The order matrix has n2n^2 elements. In the first step of elimination, the first row does not move, and all the following rows need to be changed, so approximately n2n^2 elements, the cost is approximately n2n^2. Strictly speaking, the first line has not been changed, the real number is less nn one, but compared to n2n^2 The difference is trivial—what is required here is the magnitude of the first item, not a precise item-by-item account.

In the second step, the first row is already in place, and there is no need to worry about the first column. The remaining (n−1)(n-1) A small problem of order, the cost is about (n−1)2(n-1)^2. The next step is (n−2)2(n-2)^2, so decreasing, the last few steps are just spinning around on a few numbers. The total is approx.

n2+(n−1)2+(n−2)2+⋯+22+12.n^2+(n-1)^2+(n-2)^2+\cdots+2^2+1^2 .

What is this sum? it obviously isn’t nn, nor n2n^2;There are a total of nn terms, the largest term is n2n^2, so the worst is nn multiply n2n^2, that is n3n^3. While each item is decreasing, the actual ratio is n3n^3 Small, about one-third the size:

n2+(n−1)2+⋯+12≈13n3.n^2+(n-1)^2+\cdots+1^2\approx\frac13 n^3 .

that 13\frac13 It is calculated from the fact that “the numbers are getting smaller”. If you want to see its origin clearly, you can borrow calculus: in the continuous version, put x2x^2 from 00 accumulated to nn,

∫0nx2 dx=13n3,\int_0^n x^2\,\mathrm{d}x=\frac13 n^3 ,

The same coefficients are obtained as the discrete summation. The summation is a discrete integral, and the integral is a continuous summation. The two must be consistent in the magnitude of the leading term.

This conclusion has two direct consequences. First, nn from 100100 double to 200200, the price rises to approximately 88 Times: 13⋅1003≈3.3×105\frac13\cdot100^3\approx3.3\times10^5, 13⋅2003≈2.7×106\frac13\cdot200^3\approx2.7\times10^6. Second, elimination is far better than any “formula solution”. The big formula for determinant is n!n! items, nn Anything larger is completely unfeasible; n3n^3 with n!n! The gap between them is the actual reason why modern numerical linear algebra is all based on elimination.

right end vector b\boldsymbol{b} The account must be settled separately. It only has one column. Follow elimination all the way and do back-substitution at a cost of only n2n^2 magnitude, ratio n3n^3 One factor less nn. This is exactly A=LUA=LU The Economics of: Flowers 13n3\frac13 n^3 put AA split into LL with UU Once, every time a new right-hand end vector comes, you only need to pay again n2n^2. In engineering, it is often the same AA With many b\boldsymbol{b}, first AA Breaking it down and then dealing with the right end one by one is the most cost-effective way to organize it.

Video 00:31:55: Classroom blackboard writing

Video 00:31:55|Approximately corresponding to Section 4 “4. The cost of elimination: why 13n3\frac13 n^3“Nearby.

5. Permutation matrix: Line wrapping is also a matrix multiplication

The last topic returns to the gap where elimination fails: the pivot position is 00, two lines must be swapped, sometimes even twice. Swapping two rows is the same as “subtracting a multiple of one row from another row”. It is a row transformation of the matrix, so it can also be written as left multiplication of a matrix. The only question is what this matrix looks like. The matrix that does this is called permutation matrix, recorded as PP. Its construction method is extremely simple: rearrange the rows of the identity matrix, and it can do the same row rearrangement for any matrix. The principle of inspection is the same as before——PP Each row of has only one 11, that 11 The position of indicates that the row of the product should be AA Which row of .

First list all third-order permutation matrices. II If you count yourself as one, it will not change anything; II By swapping the first two lines of , we get P12P_{12}, swap the first and last two lines to get P13P_{13}, they exchange the first and second rows with the first and third rows respectively:

I=[100010001],P12=[010100001],P13=[001010100].I=\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}, \qquad P_{12}=\begin{bmatrix}0&1&0\\1&0&0\\0&0&1\end{bmatrix}, \qquad P_{13}=\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix}.

In the same way, swap the second and third rows P23P_{23} swapped II The last two lines of are obtained. The first three PP(P12P_{12}, P13P_{13}, P23P_{23}) only exchanges one pair of rows, the remaining possibility is to rotate the three rows as a whole:

P23=[100001010],Q=[010001100],Q′=[001100010].P_{23}=\begin{bmatrix}1&0&0\\0&0&1\\0&1&0\end{bmatrix}, \qquad Q=\begin{bmatrix}0&1&0\\0&0&1\\1&0&0\end{bmatrix}, \qquad Q'=\begin{bmatrix}0&0&1\\1&0&0\\0&1&0\end{bmatrix}.

QQ It is a cycle: the second row goes up to the first row, the third row goes up to the second row, the first row goes down to the third row; Q′Q' Then rotate in the opposite direction. Counting, there are exactly six. Generally, nn The number of order permutation matrices is n!n!, because each row arrangement corresponds to a matrix; the fourth order has 4!=244!=24 .

These six matrices form a small closed family. When two permutation matrices are multiplied, the result is still in the list - first do a row rotation, then do a row rotation, and the total is nothing more than a row wrap. You can’t get out even by doing the inverse: if you put the changed lines back, you still get a line break. In algebraic language, they form a group (group), six elements, multiplication and inversion are not out of bounds.

Specifically, look at a few inverses. After exchanging the first and second lines, you only need to exchange them again to return to the original state, so P12P_{12} It is the opposite of itself, P12−1=P12P_{12}^{-1}=P_{12}. And QQ with Q′Q' Inverse of each other: Q′Q' doing exactly QQ The reverse rotation of II.

The permutation matrix also has a beautiful property: Inverse equals transpose, P−1=PTP^{-1}=P^{\mathsf T}. The reason is that each row and column of the permutation matrix has exactly one 11, the rest are all zero; transpose the “th ii “Which row the row is taken from” becomes “th ii where the rows were sent”, which happens to be the reverse description of the same row rearrangement. So for a permutation matrix, inversion and transposition are the same thing.

This closure has a very practical corollary: no matter how many times the rows are swapped during the elimination process, these swaps can eventually be merged into one PP, written as a clean prefix. This is exactly what the next lecture will do A=LUA=LU repair into PA=LUPA=LU The confidence: when the elimination must wrap, put PP ride on the left AA in front, LL with UU You can keep that refreshing accounting. At this point, the main line of elimination is finished.

Video 00:38:39: Classroom blackboard writing

Video 00:38:39|Approximately corresponding to Section 5 “5. Permutation matrix: line wrapping is also a matrix multiplication”.

Video 00:39:17: Classroom blackboard writing

Video 00:39:17|Approximately corresponding to section 5 “5. Permutation matrix: line wrapping is also a matrix multiplication”.

Video 00:44:11: Classroom blackboard writing

Video 00:44:11|Approximately corresponding to Section 5 “5. Permutation matrix: Line wrapping is also a matrix multiplication”.

Official Handout Summary Page 3/3

MIT OCW Official Lecture Notes Summary Page 3/3 (18.06SC Lecture 4 Summary, CC BY-NC-SA 4.0).

Summary of this lecture

  • The inverse of the product is in reverse order: (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}, because undoing a series of operations must start from the last step; verification only uses the associative law, (AB)(B−1A−1)=A(BB−1)A−1=I(AB)(B^{-1}A^{-1})=A(BB^{-1})A^{-1}=I.
  • Transpose and inversion can exchange the order: by AA−1=IAA^{-1}=I Transpose both sides (A−1)TAT=I(A^{-1})^{\mathsf T}A^{\mathsf T}=I, so (AT)−1=(A−1)T(A^{\mathsf T})^{-1}=(A^{-1})^{\mathsf T}.
  • Second order example A=[2187]A=\begin{bmatrix}2&1\\8&7\end{bmatrix} The medium multiplier is 44, E21=[10−41]E_{21}=\begin{bmatrix}1&0\\-4&1\end{bmatrix} put AA turn into U=[2103]U=\begin{bmatrix}2&1\\0&3\end{bmatrix}; put E21E_{21} Move it to the right A=LUA=LU, L=[1041]L=\begin{bmatrix}1&0\\4&1\end{bmatrix}.
  • LL It is the lower triangle and the diagonal elements are all 11; UU It is the upper triangle and the diagonal element are the two main elements. If the pivot element is extracted separately, we will get LDULDU In the form, the diagonal matrix in the middle contains the pivot element, and the diagonal elements of the factors on both sides are 11.
  • third order situation E32E31E21A=UE_{32}E_{31}E_{21}A=U Correspond A=E21−1E31−1E32−1UA=E_{21}^{-1}E_{31}^{-1}E_{32}^{-1}U; in the example EE of (3,1)(3,1) Yuan is 1010(22 with 55 caused by mutual contamination), and LL only clean ones 22 with 55.
  • Core conclusion: When no row exchange is performed, the multiplier used for elimination enters directly LL corresponding position without any additional calculation; new rows are stored in the elimination process UU, deposit multiplier LL, the original AA It can be discarded.
  • The amount of operation of elimination: the first step is about n2n^2, followed by (n−1)2,…,12(n-1)^2,\dots,1^2, the total is approximately 13n3\frac13 n^3 (available ∫0nx2 dx=13n3\int_0^n x^2\,\mathrm{d}x=\frac13 n^3 control).
  • The cost of the right-hand vector is only n2n^2; therefore first AA decomposed into LL with UU (pay 13n3\frac13 n^3), and then process multiple right-hand vectors one by one, which is the most economical approach. determinant formula n!n! Magnitude explains why only elimination is used in calculations.
  • The permutation matrix is obtained by rearranging the rows of the identity matrix, nn level total n!n! one; the third level has 66 There are 4 levels 2424 . They are closed to multiplication and inversion and form a group.
  • The permutation matrix satisfies P−1=PTP^{-1}=P^{\mathsf T};Swap a pair of rows PP It is the inverse of itself, and the two three cycles are the inverse of each other. The next lecture on writing in the context of line exchange PA=LUPA=LU.

keywords

EnglishChineseOne sentence explanation
factorizationdecomposeWrite a matrix as the product of several matrices with a simpler structure, such as A=LUA=LU
LU factorizationLU decompositionput AA written as unit lower triangle LL and upper triangle UU The product of LL Record elimination multiplier
lower triangular matrixlower triangular matrixA matrix with all zeros above the main diagonal, LL The diagonal elements of are all 11
upper triangular matrixupper triangular matrixA matrix with all zeros below the main diagonal, UU The diagonal element of is the pivot element
diagonal matrixdiagonal matrixA matrix whose off-diagonal elements are all zeros, LDULDU The factor in the middle of the form
multipliermultiplierThe “multiple of the pivot row” subtracted from a certain row during elimination. Enter directly without row exchange. LL
elementary matrixelementary matrixThe matrix corresponding to one elimination step, its inverse only needs to change the sign of the multiplier
identity matrixidentity matrixAll diagonal elements are 11 The matrix of is still itself after transposition
inverse matrixinverse matrixMultiply the original matrix to obtain the matrix of the identity matrix; the inverse of the product is taken in reverse order
transposetransposeSwap rows and columns; for a single matrix, transpose and inversion can swap the order
permutation matrixpermutation matrixThe matrix obtained by rearranging the rows of the identity matrix is used to exchange the rows to satisfy P−1=PTP^{-1}=P^{\mathsf T}
row exchangerow swapWhen the pivot position is zero, swap the two rows to obtain a non-zero pivot, as shown in PP Implemented by left multiplication
operation countAmount of operationThe number of multiplications, additions and subtractions required to complete an algorithm, elimination is 13n3\frac13 n^3 magnitude
groupgroupA set of matrices that is closed to both multiplication and inversion, such as all nn order permutation matrix

← Lecture 3 | Course Catalog | Lecture 5 →

Machine-assisted translation · Read Chinese original