Unit 1: Matrix Methods and Linear Systems
1. Mathematical Foundations of Matrices and Vector Spaces
1.1 Matrices as Linear Transformations
In engineering analysis, a matrix is not merely a tabular rectangular array of numbers, but the algebraic representation of a linear operator acting on vector spaces. For any vector , the mapping is governed by matrix-vector multiplication:
where is an matrix with real or complex coefficients . Linear transformations preserve vector addition and scalar scaling:
Matrices govern coordinate rotations, shear strains, scaling transformations, electrical network mesh loops, structural stiffness formulations, and discrete dynamical transitions.
1.2 Fundamental Matrix Algebra and Special Matrix Classes
- Transpose and Conjugate Transpose:
- Transpose: where . Notice .
- Conjugate Transpose (Hermitian Adjoint): .
- Symmetric and Skew-Symmetric Matrices:
- Symmetric: (). All eigenvalues of a real symmetric matrix are guaranteed to be real, and eigenvectors corresponding to distinct eigenvalues are mutually orthogonal.
- Skew-Symmetric (Antisymmetric): (). Main diagonal entries must be strictly zero (), and eigenvalues are either pure imaginary or zero.
- Any square matrix can be uniquely decomposed as the sum of a symmetric and skew-symmetric matrix:
- Orthogonal Matrices:
- An real matrix is orthogonal if , implying .
- The row and column vectors of an orthogonal matrix form an orthonormal basis.
- Orthogonal transformations preserve Euclidean vector lengths (norms) and angles: and .
- The determinant of an orthogonal matrix satisfies .
- Hermitian and Unitary Matrices (Complex Spaces):
- Hermitian: .
- Unitary: , implying .
2. Elementary Row Operations and Echelon Reductions
2.1 Elementary Row Operations (EROs)
Matrix reduction relies on three row operations that preserve the solution space of the associated linear system:
- Row Swapping (): Interchanging two rows.
- Scalar Multiplication ( where ): Multiplying every entry of a row by a non-zero scalar.
- Row Addition (): Adding a scalar multiple of row to row .
Each elementary row operation corresponds to pre-multiplying by an elementary matrix . Since elementary matrices are invertible, row operations preserve matrix rank and invertibility.
2.2 Row Echelon Form (REF) vs Reduced Row Echelon Form (RREF)
- Row Echelon Form (REF):
- All non-zero rows lie above any rows of all zeros.
- The leading entry (pivot) of a non-zero row appears strictly to the right of the leading entry of the row above it.
- All entries in a column directly below a pivot are zero.
- Algorithm: Gauss elimination produces REF, enabling back-substitution.
- Reduced Row Echelon Form (RREF):
- Satisfies all REF requirements.
- Every leading pivot entry is scaled to exactly .
- Every pivot is the only non-zero entry in its entire column (all entries above and below pivots are zero).
- Algorithm: Gauss-Jordan elimination converts any matrix into its unique RREF canonical form.
3. Matrix Rank and Vector Independence
3.1 Definition of Rank
The rank of an matrix , denoted or , is the fundamental dimension metric of the transformation:
- Echelon Definition: The rank equals the total number of non-zero rows (or equivalently, the number of pivot columns) in its row echelon form.
- Determinant Definition: The rank equals the order of the largest square submatrix of having a non-vanishing determinant (non-zero minor), while all minors of order and higher vanish.
- Column / Row Space Definition: The rank equals the maximum number of linearly independent column vectors (or row vectors) in . For any matrix, .
3.2 Linear Dependence, Independence, and Bases
- A set of vectors is linearly independent if the vector equation:
forces all scalar coefficients to be zero: . - If there exists a non-trivial linear combination where at least one , the vectors are linearly dependent.
- Rank-Nullity Theorem (Fundamental Theorem of Linear Algebra):
For an matrix representing linear operator :
where is the number of columns (dimension of the domain), and represents the dimension of the null space (the solution set to ).
4. Systems of Linear Algebraic Equations
Consider the general system of linear algebraic equations in unknowns:
where is the coefficient matrix (), is the column vector of unknowns (), and is the non-homogeneous right-hand-side vector (). The augmented matrix is denoted .
4.1 Consistency and the Rouché-Capelli Theorem
The Rouché-Capelli theorem provides the exact algebraic condition for the solvability of linear systems:
- Inconsistent System (No Solution):
Geometrically, the right-hand vector lies outside the column space of . In echelon reduction, this manifests as an invalid row of the form with . - Consistent System (At Least One Solution Exists):
- Case 2A: Unique Solution:
If (rank equals the number of unknowns), the system has zero free variables, yielding a single unique solution vector (for square non-singular systems). - Case 2B: Infinitely Many Solutions:
If , there exist free independent variables (parameters). The solution space forms an affine subspace of dimension .
- Case 2A: Unique Solution:
4.2 Homogeneous Linear Systems ()
- In a homogeneous system, . The augmented matrix has identical rank to , guaranteeing that every homogeneous system is always consistent.
- The vector is the trivial solution.
- Condition for Non-Trivial Solutions:
Non-trivial (non-zero) solutions exist if and only if:
For a square system, non-trivial solutions exist if and only if . The dimension of the non-trivial solution space (the kernel) is .
5. Matrix Inversion Techniques
A square matrix is invertible (non-singular) if there exists a matrix such that . Invertibility is equivalent to or .
5.1 Adjoint Method
The classical formula for the matrix inverse:
where , the transpose of the matrix of algebraic cofactors . While conceptually instructive, the adjoint method incurs computational complexity, making it impractical for .
5.2 Gauss-Jordan Inversion Algorithm
Gauss-Jordan elimination computes in operations by forming the augmented partitioned matrix and applying elementary row operations:
If reduction encounters a zero pivot that cannot be bypassed, is singular and has no inverse.
6. Spectral Analysis: Eigenvalues and Eigenvectors
6.1 The Characteristic Equation
For an square matrix , a non-zero vector is an eigenvector corresponding to scalar eigenvalue if:
Because non-trivial solutions require the operator to be singular, eigenvalues are the roots of the characteristic polynomial:
Expanding the determinant yields an -th degree algebraic polynomial:
6.2 Key Spectral Theorems and Algebraic Properties
- Trace Invariant: The sum of all eigenvalues equals the matrix trace (sum of main diagonal elements):
- Determinant Invariant: The product of all eigenvalues equals the matrix determinant:
Consequently, a matrix is invertible if and only if all its eigenvalues are non-zero. - Triangular and Diagonal Matrices: The eigenvalues of upper triangular, lower triangular, or diagonal matrices are simply the diagonal entries themselves.
- Shifted and Scaled Matrices:
- If has eigenvalue with eigenvector , then has eigenvalue with the same eigenvector .
- The matrix has eigenvalues .
- For an invertible matrix , has eigenvalue .
- Multiplicities:
- Algebraic Multiplicity (AM): The multiplicity of as a root of .
- Geometric Multiplicity (GM): The dimension of the eigenspace corresponding to , given by .
- For every eigenvalue, .
7. Cayley-Hamilton Theorem and Matrix Diagonalization
7.1 Cayley-Hamilton Theorem
The fundamental theorem states: Every square matrix satisfies its own characteristic equation.
If the characteristic polynomial of is , then substituting matrix yields the zero matrix:
Major Engineering Applications:
- Computation of Inverse :
Multiplying the equation by gives:
(provided ). - Evaluation of High Matrix Powers ():
Any polynomial in of degree can be reduced modulo to a polynomial of degree at most , bypassing expensive iterative multiplications.
7.2 Matrix Diagonalization
An matrix is diagonalizable if there exists an invertible modal matrix and a diagonal matrix such that:
- The columns of modal matrix are the linearly independent eigenvectors of .
- The diagonal matrix contains the corresponding eigenvalues.
- Criterion for Diagonalizability: A matrix is diagonalizable if and only if the geometric multiplicity of each eigenvalue equals its algebraic multiplicity () for all eigenvalues. In particular, any matrix with distinct eigenvalues is guaranteed to be diagonalizable.
- Power Calculation: , where .