1. Matrix Interpretation#

1.1. Interpretation of equation sets#

  • Suppose we have the following equation sets

image.png

1.1.1. Row Picture#

  • Hard to draw when dimensions goes beyond 2

image.png

1.1.2. Column Picture#

  • Linear Combination of Columns

    image.png

    image.png

    image.png

    image.png

1.1.3. Quiz#

Q: Can I solve Av=b for every b? (means, Do the linear combination of the columns fill 3D space?)

My Answer: Yes, if vectors in A are not parallel, then they can be the basis for 3D space.

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 AU(upper triangular matrix )

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:

4x3y+z=82x+y3z=4xy+2z=3
  1. We start with the augmented matrix:

[431|8213|4112|3]
  1. Perform row operations to reduce to the row echelon form:

[112|3012|3017|20]
  1. Further reducing to:

[100|2010|1001|3]
  1. This yields the solution:

x=2y=1z=3

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

E32(E21A)=(E32E21)A=U (Associative law)
  • E21 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 P#

  • Exchange the row

Exchange row 2 and row 1 [0110], example:

[0110][abcd]=[cdab](row operation)

Exchange column 2 and column 1, example:

[abcd][0110]=[badc](column operation)

1.2.6. Inverse Matrix#

  • How we can reversing steps and transfer matrix from UA? (Inverse Matrix)

[100310001][100310001]=[100010001]
  • [100310001] means subtract 3×row1 from row2. If we want to reverse the operation, we just need to add 3×row1 to row2. That’s why we could easily calculate the inverse matrix.

1.2.7. Quiz#

Linear Algebra #2

  • Consider a linear equations

{2x+2y+3z=3xy=2x+2y+z=1(1)
  • Transform a matrix A=(223110121) to an upper triangular matrix (a11a12a130a22a2300a33).

[1000.5100.251.51][223110121]=[22302320014]

1.3. Yalin Conclusion#

1.3.1. Row interpretation is suitable for first matrix, column interpretation is for second matrix [行前列后]#

  • ErowoperationA=U

  • AEcolumnoperation=U

1.4. The meaning of Matrix pre-multiplication(矩阵左乘)#

  1. [1001][x1x2]=[x1x2],

    we can get that, in a plane with basis (1,0), (0,1), the vector (x1,x2) remains the same.

  2. According to this, we can say

    [a11a12a21a22][x1x2]=[b1b2]

    indicates, after changing the plane basis from (1,0), (0,1) to (a11,a21), (a12,a22), the coordinate of vector (x1,x2) becomes (b1,b2).

  3. Therefore, the matrix pre-multiplication is actually changing the basis.