Linear Algebra Lecture Notes Flashcards
Linear Algebra: Matrix Definitions and Classifications
- Matrix Structure: A matrix is an m×n arrangement of numbers (elements or entries) organized into $m$ rows and $n$ columns.
- Notation: Am×n=[aij]m×n, where 1≤i≤m (row index) and 1≤j≤n (column index).
- Fields: A matrix whose entries are from a field F is known as a matrix over field F.
- Square Matrix: A matrix where the number of rows is equal to the number of columns (n×n or An×n).
- Principal Diagonal: The line containing elements aii (where i=j). These are called the principal diagonal elements.
- Other Diagonal Lines:
- Super-diagonal line: Contains elements ai,i+1.
- Sub-diagonal line: Contains elements ai,i−1.
- Element Counts in Square Matrices of Order n:
- Total number of principal diagonal elements = n.
- Total number of super-diagonal elements = n−1.
- Total number of sub-diagonal elements = n−1.
- Diagonal Matrix: A square matrix in which all non-diagonal elements (aij where i=j) are zero. A square null matrix is a diagonal matrix, but a diagonal matrix need not be a null matrix.
- Scalar Matrix: A diagonal matrix where all diagonal elements are identical (a11=a22=⋯=ann).
- Unit Matrix (Identity Matrix): A scalar matrix where the diagonal entries are all equal to 1.
- Triangular Matrices:
- Upper Triangular Matrix: A matrix [aij]n×n where all elements below the principal diagonal are zero (aij=0 for all i>j).
- Strictly Upper Triangular: An upper triangular matrix where the diagonal elements are also zero (aij=0 for all i≥j).
- Lower Triangular Matrix: A matrix where all elements above the principal diagonal are zero (aij=0 for all i<j).
Submatrices: Definitions and Counting Principles
- Submatrix Definition: A matrix obtained from a given matrix A by deleting any number of rows and columns. Note that deleting zero rows or zero columns results in the matrix itself as a submatrix.
- Counting Submatrices of Order p×q from Matrix Am×n:
- If all entries of A are distinct: Total number = (pm)×(qn).
- If all entries of A are the same: Total number = 1.
- Total Number of Submatrices of Matrix Am×n:
- If all entries are distinct: Total = ∑p=1m∑q=1n(pm)×(qn)=(2m−1)(2n−1).
- If all entries are the same: Total = m×n.
- Numerical Examples for Submatrices:
- Let A be of order 5×6.
- Minimum number of submatrices (α where entries are same) = 5×6=30.
- Maximum number of submatrices (β where entries are distinct) = (25−1)(26−1)=31×63=1953.
- Resulting pair (α,β)=(30,1953).
- Example for 1-rowed submatrices of a 5×6 matrix: α=6 if entries are same; if distinct, it would be (15)×(26−1).
- Consecutive Submatrix: A matrix obtained by taking adjacent (consecutive) rows and columns from the original matrix.
- If entries are distinct, total consecutive submatrices of order p×q = (m−p+1)(n−q+1).
- Total number of all consecutive submatrices = 2m(m+1)×2n(n+1).
- If entries are the same, the total is 1 for a specific order p×q, and the total distinct consecutive submatrices by content remains based on the dimensions.
Principal Submatrices
- Definition: A square submatrix of a square matrix An×n in which the principal diagonal entries are also principal diagonal entries of the original matrix.
- Counting Principal Submatrices of Order r:
- If entries are distinct: Total = (rn).
- If entries are the same: Total = 1.
- Total Number of Principal Submatrices:
- If entries are distinct: Total = ∑r=1n(rn)=2n−1.
- If entries are the same: Total = n.
- Example: For order 5 and distinct entries, total = 25−1=31. If entries are same, total = 5.
Matrix Operations and Algebraic Properties
- Addition: Two matrices A and B can be added if and only if they have the same order. Addition is commutative: A+B=B+A.
- Multiplication by Scalar: k⋅[aij]m×n=[kaij]m×n.
- Matrix Multiplication: Two matrices Am×n and Bn×p can be multiplied, resulting in Cm×p. Multiplication is generally not commutative (AB=BA) but is associative: A(BC)=(AB)C and distributive: A(B+C)=AB+AC.
- Transpose Properties:
- (A+B)T=AT+BT
- (kA)T=kAT
- (AB)T=BTAT (Reversal Law)
- (AT)T=A
Trace of a Matrix
- Definition: The trace of a square matrix tr(A) is the sum of the principal diagonal elements: tr(A)=∑i=1naii.
- Properties:
- tr(A+B)=tr(A)+tr(B)
- tr(kA)=ktr(A)
- tr(AB)=tr(BA)
- tr(ABC)=tr(BCA)=tr(CAB) (Cyclic Permutation).
- Note: tr(ABC) is generally not equal to tr(ACB).
- Theorems on Row and Column Sums:
- If the sum of elements of each row of matrix A is α and for matrix B is β, then the sum of elements of each row of the product matrix AB is αβ.
- Similarly, if the sum of elements of each column of A is α and for B is β, the column sum of AB is αβ.
- If each row/column sum is α, the total sum of all elements in An×n is nα.
- Example: If row sum of square matrix A of order 5 is 1, then the row sum of A5 is 15=1, and the total sum of all elements of A5 is 5×1=5.
Determinants and Adjoint Matrices
- Determinant Properties:
- ∣AB∣=∣A∣⋅∣B∣
- ∣kA∣=kn∣A∣ for order n.
- If two adjacent rows/columns are interchanged, the determinant sign changes.
- If two rows/columns are identical or linearly dependent (LD), the determinant is 0.
- ∣AT∣=∣A∣
- For similar matrices (PMP−1=N), ∣M∣=∣N∣.
- Minors and Cofactors:
- Minor (Mij): Determinant of the submatrix after deleting the i-th row and j-th column.
- Cofactor (Cij): Cij=(−1)i+jMij.
- Determinant calculation: Sum of products of elements of any row/column with their corresponding cofactors.
- Adjoint and Inverse:
- Adjoint (adj A): Transpose of the cofactor matrix.
- Properties:
- A(adj A)=(adj A)A=∣A∣I
- ∣adj A∣=∣A∣n−1
- ∣adj(adj A)∣=∣A∣(n−1)2
- adj(adj A)=∣A∣n−2A
- adj(AB)=adj(B)⋅adj(A)
- adj(AT)=(adj A)T
- adj(λA)=λn−1adj A
- Rank and Adjoint Relation:
- If rank(A)=n, then rank(adj A)=n.
- If rank(A)=n−1, then rank(adj A)=1.
- If rank(A)<n−1, then rank(adj A)=0.
- Inverse: A−1=∣A∣adj A, provided ∣A∣=0 (Non-singular).
Matrix Conjugation and Hermitian Properties
- Conjugate (Aˉ): A matrix where every element is replaced by its complex conjugate (a+ib→a−ib).
- Tranjugate (Aθ): Transpose of the conjugate matrix (Aθ=(Aˉ)T).
- Hermitian Matrix: Aθ=A. Principal diagonal elements must be real.
- Skew-Hermitian Matrix: Aθ=−A. Principal diagonal elements are either zero or purely imaginary.
- Unitary Matrix: AAθ=I.
- Properties: det(A) has modulus equal to 1. All orthogonal matrices are unitary matrices (real entries only).
Symmetric and Orthogonal Matrices
- Symmetric Matrix: AT=A.
- Skew-Symmetric Matrix: AT=−A. Principal diagonal elements are all zero.
- The determinant of a skew-symmetric matrix of odd order is always 0.
- Orthogonal Matrix: AAT=I=ATA.
- Property: Sum of squares of elements in any row/column is 1. Sum of products of corresponding elements of two distinct rows/columns is zero.
- The determinant of an orthogonal matrix is always ±1.
Specialized Square Matrices
- Idempotent Matrix: A2=A.
- If A and B are idempotent and AB=BA, then AB is idempotent.
- If AB=BA=0, then A+B is idempotent.
- Involutory Matrix: A2=I.
- Characteristic: (A+I)(A−I)=0.
- Nilpotent Matrix: Ak=0 for some positive integer k. The smallest such k is the index of the matrix.
- Property: Index of nilpotency is always ≤ the order of the matrix. Trace and determinant of a nilpotent matrix are zero.
Rank of a Matrix
- Definition: The largest order of a non-zero minor.
- Computation via Echelon Form: Rank equals the number of non-zero rows in the row echelon form obtained via elementary row transformations (ERT).
- Equivalent Matrices: Two matrices A and B are equivalent if one is obtained from the other by finite elementary transformations (B=PAQ, where P and Q are non-singular). Equivalent matrices have the same rank.
- Normal Form: A matrix transformed into the block form (Ir000) has rank r.
- Rank Properties:
- rank(A+B)≤rank(A)+rank(B).
- rank(AB)≤min(rank(A),rank(B)).
- rank(AB)≥rank(A)+rank(B)−n (Sylvester's Law of Nullity).
- rank(AT)=rank(A)=rank(AAT).
- Rank of skew-symmetric matrix cannot be 1.
Systems of Linear Equations
- Form: AX=B, where [A∣B] is the augmented matrix.
- Consistency:
- If rank(A)=rank(A∣B), the system has no solution (Inconsistent).
- If rank(A)=rank(A∣B)=n (number of variables), the system has a unique solution.
- If rank(A)=rank(A∣B)<n, the system has infinite solutions.
- Homogeneous Systems (AX=0):
- Always consistent (X=0 is the trivial solution).
- Non-trivial solutions exist if rank(A)<n.
Eigenvalues and Eigenvectors
- Characteristic Equation: ∣A−λI∣=0. Solutions for λ are the eigenvalues.
- Eigenvector: A non-zero vector X such that AX=λX.
- Algebraic Multiplicity (AM): The number of times an eigenvalue repeats in the characteristic equation.
- Geometric Multiplicity (GM): The number of linearly independent eigenvectors associated with an eigenvalue: GM(λ)=n−rank(A−λI).
- Relationship: 1≤GM(λ)≤AM(λ).
- Properties:
- Sum of eigenvalues = tr(A).
- Product of eigenvalues = ∣A∣.
- Cayley-Hamilton Theorem: Every square matrix satisfies its own characteristic equation. It can be used to find A−1.
- Minimal Polynomial: The smallest degree monic polynomial that annihilates matrix A. It divides the characteristic polynomial.
Groups, Fields, and Vector Spaces
- Binary Operation: A function mapping S×S→S (Internal) or F×V→V (External).
- Group: A set with a binary operation satisfying closure, associativity, identity existence, and inverse existence. If commutative, it is an Abelian group.
- Field: A set with two operations (addition and multiplication) where it is an abelian group under addition, the set excluding zero is an abelian group under multiplication, and multiplication is distributive over addition.
- Example: R, C, and Q are fields. Integers Z do not form a field because non-zero elements lack multiplicative inverses in Z.
- Vector Space: A set of vectors V over a field F satisfying 10 axioms involving vector addition (Abelian group) and scalar multiplication properties (distributivity, associativity of scalars, scalar unity).