Linear Algebra

Matrix

Super foundational knowledge.

Concepts

Elementary Row Operations (EROs)

  • Swap two rows
  • Add a scalar multiple of one row to another
  • Multiply any row by a nonzero scalar

We say that two systems are equivalent if they have the same solution set.

Row Echelon Form (REF)

• A matrix is in Row Echelon Form (REF) if

  1. All rows whose entries are all zero appear below all rows that contain nonzero entries,
  2. Each leading entry is to the right of the leading entries above it.

Reduced Row Echelon Form (RREF)

• A matrix is in Reduced Row Echelon Form (RREF) if it is in REF and (3) Each leading entry is a 1 called a leading one, (4) Each leading one is the only nonzero entry in its column.

Rank

The rank of a matrix A, denoted by rank(A), is the number of leading entries in any REF of A (excluding ).

Dimension

The dimension is the number of elements in a basis. Definition 22.5. If is a basis for a subspace of , then dim() = . If =, then dim() = 0 since is a basis for .

Matrix Multiplication

IMPORTANT: Matrix multiplication is not commutative.

Matrix Inverse

Definition 30.1. Let . If there exists a such that then is invertible and is an inverse of A (and B is invertible with A an inverse of B).

Unique Inverses

If and are both inverses of , then .

Properties of matrix inverses. Let be invertible and let with . Then

For all , if , then (left cancellation) For all , if , then (right cancellation)

Diagonal Matrix / Diagonalization

An matrix A is diagonalizable if there exists an invertible matrix and an diagonal matrix so that . In this case, we say that P diagonalizes to .

The trace of a square matrix is the sum of its diagonal entries.

An matrix A is diagonalizable if and only if for every eigenvalue of A.

Tridiagonal Matrix

Saw this in CS370.

Powers of Matrices

Let be an diagonalizable matrix. Then for some invertible matrix and diagonal matrix . We have than