1. Matrix Interpretation#
1.1. Interpretation of equation sets#
Suppose we have the following equation sets
1.1.1. Row Picture#
Hard to draw when dimensions goes beyond 2
1.1.2. Column Picture#
Linear Combination of Columns
1.1.3. Quiz#
Q: Can I solve
My Answer: Yes, if vectors in
Professor’s Answer: If those three vectors lie within the same plane (which means you can get one vector from the linear combination of the other two vectors), then they can only form a plane instead of a 3D space.
1.2. Elimination#
A systematic way to solve the solution
1.2.1. Upper triangular matrix#
The most important purpose in elimination is from
1.2.2. Augmented matrix#
Add y (response) into the x’s (parameters’) matrix
Method of Gaussian Elimination 3x3 Example
Given the system of equations:
We start with the augmented matrix:
Perform row operations to reduce to the row echelon form:
Further reducing to:
This yields the solution:
1.2.3. Failure of Elimination#
Some pivot become 0, which means there are some vectors are parallel(dependent) to each other
1.2.4. Elimination matrix#
Use matrix to represent the elimination steps
means elimination row 1 using row 2
Again, matrix * vector = the combination of the columns of the matrix, therefore, matrix * column = column, matrix * row = row.
1.2.5. Permutation matrix #
Exchange the row
Exchange row 2 and row 1
Exchange column 2 and column 1, example:
1.2.6. Inverse Matrix#
How we can reversing steps and transfer matrix from
? (Inverse Matrix)
means subtract from row2. If we want to reverse the operation, we just need to add to row2. That’s why we could easily calculate the inverse matrix.
1.2.7. Quiz#
Linear Algebra #2
Consider a linear equations
Transform a matrix
to an upper triangular matrix
1.3. Yalin Conclusion#
1.3.1. Row interpretation is suitable for first matrix, column interpretation is for second matrix [行前列后]#
1.4. The meaning of Matrix pre-multiplication(矩阵左乘)#
we can get that, in a plane with basis
, , the vector remains the same.According to this, we can say
indicates, after changing the plane basis from
, to , , the coordinate of vector becomes .Therefore, the matrix pre-multiplication is actually changing the basis.