Comprehensive Linear Algebra Notes
Chapter 1 Matrices and Basic Operations
Introduction
- Linear algebra studies sets of matrices and operations on them.
- Matrices help organise coefficients/ constants of linear systems.
Matrices
- A matrix is a rectangular array of numbers written inside brackets/parentheses.
- Order: means rows, columns.
- Entry notation: is element in row column .
- Special names
- Row vector: one-row matrix.
- Column vector: one-column matrix.
- Square matrix: .
- Real vs complex matrices: entries real ⇒ real matrix, else complex.
Equality (1.3)
- iff same order and every corresponding entry equal.
Addition (1.4)
- where .
- Laws
- Commutative: .
- Associative: .
- Zero/Null matrix : all entries 0; .
- Negative: has entries ; .
Scalar Multiplication (1.5)
- multiplies every entry by scalar .
- .
Matrix Multiplication (1.6)
- Defined when columns of = rows of .
- entry:
- Identity : ones on main diagonal, zeros elsewhere. and unique.
- Laws (selected)
- Associative: .
- Distributive: .
- Scalar: .
- Non-commutative: generally .
Powers of a Matrix (1.7)
- , .
- Laws:
Idempotent Matrix (1.8)
- Then for .
Chapter 2 Transpose of a Matrix
Definition
- obtained by interchanging rows & columns, .
Properties
- .
- .
- .
- .
Special Square Matrices
- Diagonal: off-diagonal zeros.
- Upper triangular: elements below main diagonal 0.
- Lower triangular: elements above main diagonal 0.
- Symmetric: .
- Skew-symmetric: (diagonal entries 0).
- Every square matrix with symmetric, skew-symmetric.
Chapter 3 Systems of Linear Equations
Terminology
- Linear system in variables : for
- Homogeneous: all (always consistent; trivial solution all zeros).
Matrix Form
- where coefficient matrix, variable column, RHS.
- Augmented matrix .
Row Operations (EROs)
- Swap rows.
- Multiply row by non-zero scalar.
- Add multiple of one row to another.
Gaussian Elimination
- Reduce to Row-Echelon (RE) form then solve by back-substitution.
- RE conditions:
- Zero rows below non-zero.
- Leading entry of each non-zero row to right of row above.
- Reduced Row-Echelon (RRE): additionally leading entries are 1 and column-unique.
Rank (to preview)
- Number of non-zero rows in RE form = rank.
Solution Types
- Unique: rank .
- Infinite: rank < n and consistent.
- None: inconsistent (e.g. 0=2 row).
Chapter 4 Inverse of a Matrix
Definition
- invertible if such that ; then (unique).
Properties
- .
- .
- .
- .
2×2 Formula
A=\begin{bmatrix}a&b\c&d\end{bmatrix},\;\det A\neq0\Rightarrow A^{-1}=\frac{1}{ad-bc}\begin{bmatrix}d&-b\-c&a\end{bmatrix}.
Elementary Matrices
- Obtained by applying one ERO to .
- Invertible; inverse is elementary.
- Pre-multiplying by elementary matrix ⇔ performing same ERO.
Finding via EROs
- Form .
Positive & Negative Powers
- For integer , defined using when k<0.
Chapter 5 Determinants
Definitions
- Order 1: .
- Order 2: \begin{vmatrix}a&b\c&d\end{vmatrix}=ad-bc.
- Order 3 (Sarrus):
\begin{vmatrix}a1&b1&c1\a2&b2&c2\a3&b3&c3\end{vmatrix}=a1b2c3+b1c2a3+c1a2b3-a3b2c1-b3c2a1-c3a2b_1. - General : expand along a row/column using minors & cofactors.
Cofactor .
Properties (selection)
- Row/col swap multiplies det by .
- Factor in a row ⇒ det multiplies by .
- Row addition ((Ri+kRj)) keeps det.
- Zero row/col ⇒ det 0.
- Equal rows ⇒ det 0.
- Triangular: det = product diagonal.
Adjoint & Inverse
- Adjoint .
- (if ).
Cramer’s Rule
- Unique solution (): where replaces -th column by RHS.
Chapter 6 Linear Independence & Rank
Linear Combination
- .
Independence
- Vectors independent if only with all ; otherwise dependent.
Tests via Matrices
- Arrange vectors as rows or columns; reduce to RE.
- Dependent ⇔ zero row appears.
Rank
- Maximum number of independent rows (equals column rank).
- Equal to non-zero rows in any RE form.
System Consistency (Rouché–Capelli)
- AX=B consistent iff .
- Number of solutions:
- Unique: .
- Infinite: r<n.
Chapter 7 Eigenvalues, Eigenvectors & Diagonalization
Definitions
- Eigenvalue : non-zero vector s.t. .
- Eigenvector: associated .
Characteristic Polynomial
- .
- Roots are eigenvalues.
- Properties: product of eigenvalues ; sum .
Finding Eigenvectors
- Solve for each eigenvalue.
Similarity & Diagonalization
- if Similar matrices share eigenvalues & trace.
- Diagonalizable ⇔
- Sufficient condition: distinct eigenvalues ⇒ diagonalizable.
- General criterion (Theorem): diagonalizable iff it has linearly independent eigenvectors; then formed by these eigenvectors yields .
Cayley–Hamilton Theorem
- Every square matrix satisfies its characteristic polynomial: .
- Applications
- Compute when by rearranging .
- Express high powers via lower powers.