Unit 1: Matrix Algebra
1. Introduction to Matrices and Systems of Linear Equations
Matrices are fundamental mathematical arrays used across computational engineering, graphics, signal processing, and numerical physics. An matrix contains rows and columns of scalar entries.
Elementary Row Operations
Elementary row operations (EROs) transform a matrix into simpler canonical forms without altering the solution space of the corresponding linear system:
- Row Swapping (): Interchanging two distinct rows.
- Scalar Multiplication (): Scaling every entry of a row by a non-zero scalar.
- Row Addition / Elimination (): Adding a scalar multiple of row to row .
Each elementary row operation corresponds to pre-multiplying the matrix by an elementary matrix , formed by applying the identical operation to the identity matrix . Because every elementary matrix is non-singular, EROs preserve row equivalence and matrix rank.
2. Row Echelon Form (REF) and Reduced Row Echelon Form (RREF)
A matrix is in Row Echelon Form (REF) if:
- All non-zero rows lie strictly above any rows consisting entirely of zeros.
- The leading coefficient (pivot) of a non-zero row is positioned strictly to the right of the pivot in the preceding row.
- All entries directly below a pivot are zero.
A matrix is in Reduced Row Echelon Form (RREF) if, in addition to the REF criteria:
- Every pivot entry equals .
- Each pivot is the sole non-zero entry in its entire column (entries both above and below the pivot are zero).
While a matrix can have multiple row echelon forms depending on the sequence of operations, its reduced row echelon form is strictly unique.
3. Rank of a Matrix and the Rank-Nullity Theorem
The rank of a matrix , denoted or , is defined as:
- The maximum number of linearly independent row vectors (row rank).
- The maximum number of linearly independent column vectors (column rank).
- The order of the largest non-zero sub-determinant (minor) of .
- The total count of pivot positions (non-zero rows) in its row echelon form.
Fundamental Rank Properties:
- For an matrix : .
- .
- Rank-Nullity Theorem: For an matrix representing a linear transformation :
where represents the dimension of the null space .
4. Matrix Inversion and Gauss-Jordan Elimination
A square matrix is invertible (non-singular) if there exists a matrix such that:
Adjoint Method:
where , the transpose of the cofactor matrix .
Gauss-Jordan Elimination:
Construct the augmented block matrix and apply elementary row operations until the left block reduces to :
If the left block cannot be reduced to (i.e., a zero row appears), and is singular.
5. Consistency and Solutions of Linear Systems ()
Let be an coefficient matrix, an vector of unknowns, and an vector of constants. The augmented matrix is denoted .
Rouché-Capelli (Consistency) Theorem:
- Inconsistent System (No Solution):
This occurs when row reduction yields a contradictory row where . - Consistent with Unique Solution:
Every column contains a pivot; no free variables exist. - Consistent with Infinitely Many Solutions:
The solution space has free variables (degrees of freedom).
Homogeneous Linear Systems ():
- Always consistent because the trivial solution always satisfies .
- Possesses non-trivial (non-zero) solutions if and only if . For a square matrix , this is equivalent to .
6. Eigenvalues and Eigenvectors
Let be an square matrix. A scalar is an eigenvalue of if there exists a non-zero vector such that:
Characteristic Equation:
Non-trivial solutions exist if and only if:
This determinant expands into the characteristic polynomial .
Crucial Eigenvalue Theorems:
- Trace Property: The sum of all eigenvalues (counted with multiplicity) equals the trace of :
- Determinant Property: The product of all eigenvalues equals the determinant:
- Triangular Matrices: The eigenvalues of upper triangular, lower triangular, and diagonal matrices are precisely the primary diagonal elements.
- Spectral Mapping: If is an eigenvalue of with eigenvector :
- has eigenvalue .
- (if invertible) has eigenvalue .
- has eigenvalue .
- Algebraic vs. Geometric Multiplicity:
- Algebraic Multiplicity (): The multiplicity of as a root of .
- Geometric Multiplicity (): The dimension of the eigenspace .
- Always . A matrix is diagonalizable if and only if for every eigenvalue.
7. The Cayley-Hamilton Theorem
Theorem Statement:
Every square matrix satisfies its own characteristic equation. That is, if:
then substituting the matrix yields the zero matrix:
Primary Applications:
- Evaluating Inverse Matrices:
If , multiplying by allows direct computation of :
- Computing Higher Matrix Powers:
Express (where ) as a polynomial in of degree at most , vastly accelerating numerical computations and matrix exponentiation.