Linear Algebra Lecture Notes Flashcards

Linear Algebra: Matrix Definitions and Classifications

  • Matrix Structure: A matrix is an m×nm \times n arrangement of numbers (elements or entries) organized into $m$ rows and $n$ columns.
  • Notation: Am×n=[aij]m×nA_{m \times n} = [a_{ij}]_{m \times n}, where 1im1 \le i \le m (row index) and 1jn1 \le j \le n (column index).
  • Fields: A matrix whose entries are from a field FF is known as a matrix over field FF.
  • Square Matrix: A matrix where the number of rows is equal to the number of columns (n×nn \times n or An×nA_{n \times n}).
  • Principal Diagonal: The line containing elements aiia_{ii} (where i=ji = j). These are called the principal diagonal elements.
  • Other Diagonal Lines:
    • Super-diagonal line: Contains elements ai,i+1a_{i, i+1}.
    • Sub-diagonal line: Contains elements ai,i1a_{i, i-1}.
  • Element Counts in Square Matrices of Order nn:
    • Total number of principal diagonal elements = nn.
    • Total number of super-diagonal elements = n1n-1.
    • Total number of sub-diagonal elements = n1n-1.
  • Diagonal Matrix: A square matrix in which all non-diagonal elements (aija_{ij} where iji \neq 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==anna_{11} = a_{22} = \dots = a_{nn}).
  • Unit Matrix (Identity Matrix): A scalar matrix where the diagonal entries are all equal to 11.
  • Triangular Matrices:
    • Upper Triangular Matrix: A matrix [aij]n×n[a_{ij}]_{n \times n} where all elements below the principal diagonal are zero (aij=0a_{ij} = 0 for all i>ji > j).
    • Strictly Upper Triangular: An upper triangular matrix where the diagonal elements are also zero (aij=0a_{ij} = 0 for all iji \ge j).
    • Lower Triangular Matrix: A matrix where all elements above the principal diagonal are zero (aij=0a_{ij} = 0 for all i<ji < j).

Submatrices: Definitions and Counting Principles

  • Submatrix Definition: A matrix obtained from a given matrix AA 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×qp \times q from Matrix Am×nA_{m \times n}:
    • If all entries of AA are distinct: Total number = (mp)×(nq)\binom{m}{p} \times \binom{n}{q}.
    • If all entries of AA are the same: Total number = 11.
  • Total Number of Submatrices of Matrix Am×nA_{m \times n}:
    • If all entries are distinct: Total = p=1mq=1n(mp)×(nq)=(2m1)(2n1)\sum_{p=1}^{m} \sum_{q=1}^{n} \binom{m}{p} \times \binom{n}{q} = (2^m - 1)(2^n - 1).
    • If all entries are the same: Total = m×nm \times n.
  • Numerical Examples for Submatrices:
    • Let AA be of order 5×65 \times 6.
      • Minimum number of submatrices (α\alpha where entries are same) = 5×6=305 \times 6 = 30.
      • Maximum number of submatrices (β\beta where entries are distinct) = (251)(261)=31×63=1953(2^5 - 1)(2^6 - 1) = 31 \times 63 = 1953.
      • Resulting pair (α,β)=(30,1953)(\alpha, \beta) = (30, 1953).
    • Example for 1-rowed submatrices of a 5×65 \times 6 matrix: α=6\alpha = 6 if entries are same; if distinct, it would be (51)×(261)\binom{5}{1} \times (2^6 - 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×qp \times q = (mp+1)(nq+1)(m-p+1)(n-q+1).
    • Total number of all consecutive submatrices = m(m+1)2×n(n+1)2\frac{m(m+1)}{2} \times \frac{n(n+1)}{2}.
    • If entries are the same, the total is 11 for a specific order p×qp \times 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×nA_{n \times n} in which the principal diagonal entries are also principal diagonal entries of the original matrix.
  • Counting Principal Submatrices of Order rr:
    • If entries are distinct: Total = (nr)\binom{n}{r}.
    • If entries are the same: Total = 11.
  • Total Number of Principal Submatrices:
    • If entries are distinct: Total = r=1n(nr)=2n1\sum_{r=1}^{n} \binom{n}{r} = 2^n - 1.
    • If entries are the same: Total = nn.
    • Example: For order 55 and distinct entries, total = 251=312^5 - 1 = 31. If entries are same, total = 55.

Matrix Operations and Algebraic Properties

  • Addition: Two matrices AA and BB can be added if and only if they have the same order. Addition is commutative: A+B=B+AA + B = B + A.
  • Multiplication by Scalar: k[aij]m×n=[kaij]m×nk \cdot [a_{ij}]_{m \times n} = [k a_{ij}]_{m \times n}.
  • Matrix Multiplication: Two matrices Am×nA_{m \times n} and Bn×pB_{n \times p} can be multiplied, resulting in Cm×pC_{m \times p}. Multiplication is generally not commutative (ABBAAB \neq BA) but is associative: A(BC)=(AB)CA(BC) = (AB)C and distributive: A(B+C)=AB+ACA(B+C) = AB + AC.
  • Transpose Properties:
    • (A+B)T=AT+BT(A+B)^T = A^T + B^T
    • (kA)T=kAT(kA)^T = k A^T
    • (AB)T=BTAT(AB)^T = B^T A^T (Reversal Law)
    • (AT)T=A(A^T)^T = A

Trace of a Matrix

  • Definition: The trace of a square matrix tr(A)\text{tr}(A) is the sum of the principal diagonal elements: tr(A)=i=1naii\text{tr}(A) = \sum_{i=1}^{n} a_{ii}.
  • Properties:
    • tr(A+B)=tr(A)+tr(B)\text{tr}(A+B) = \text{tr}(A) + \text{tr}(B)
    • tr(kA)=ktr(A)\text{tr}(kA) = k \text{tr}(A)
    • tr(AB)=tr(BA)\text{tr}(AB) = \text{tr}(BA)
    • tr(ABC)=tr(BCA)=tr(CAB)\text{tr}(ABC) = \text{tr}(BCA) = \text{tr}(CAB) (Cyclic Permutation).
    • Note: tr(ABC)\text{tr}(ABC) is generally not equal to tr(ACB)\text{tr}(ACB).
  • Theorems on Row and Column Sums:
    • If the sum of elements of each row of matrix AA is α\alpha and for matrix BB is β\beta, then the sum of elements of each row of the product matrix ABAB is αβ\alpha \beta.
    • Similarly, if the sum of elements of each column of AA is α\alpha and for BB is β\beta, the column sum of ABAB is αβ\alpha \beta.
    • If each row/column sum is α\alpha, the total sum of all elements in An×nA_{n \times n} is nαn \alpha.
    • Example: If row sum of square matrix AA of order 55 is 11, then the row sum of A5A^5 is 15=11^5 = 1, and the total sum of all elements of A5A^5 is 5×1=55 \times 1 = 5.

Determinants and Adjoint Matrices

  • Determinant Properties:
    • AB=AB|AB| = |A| \cdot |B|
    • kA=knA|kA| = k^n |A| for order nn.
    • If two adjacent rows/columns are interchanged, the determinant sign changes.
    • If two rows/columns are identical or linearly dependent (LD), the determinant is 00.
    • AT=A|A^T| = |A|
    • For similar matrices (PMP1=NP M P^{-1} = N), M=N|M| = |N|.
  • Minors and Cofactors:
    • Minor (MijM_{ij}): Determinant of the submatrix after deleting the ii-th row and jj-th column.
    • Cofactor (CijC_{ij}): Cij=(1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}.
    • Determinant calculation: Sum of products of elements of any row/column with their corresponding cofactors.
  • Adjoint and Inverse:
    • Adjoint (adj AA): Transpose of the cofactor matrix.
    • Properties:
      • A(adj A)=(adj A)A=AIA(\text{adj } A) = (\text{adj } A)A = |A|I
      • adj A=An1|\text{adj } A| = |A|^{n-1}
      • adj(adj A)=A(n1)2|\text{adj}(\text{adj } A)| = |A|^{(n-1)^2}
      • adj(adj A)=An2A\text{adj}(\text{adj } A) = |A|^{n-2} A
      • adj(AB)=adj(B)adj(A)\text{adj}(AB) = \text{adj}(B) \cdot \text{adj}(A)
      • adj(AT)=(adj A)T\text{adj}(A^T) = (\text{adj } A)^T
      • adj(λA)=λn1adj A\text{adj}(\lambda A) = \lambda^{n-1} \text{adj } A
    • Rank and Adjoint Relation:
      • If rank(A)=n\text{rank}(A) = n, then rank(adj A)=n\text{rank}(\text{adj } A) = n.
      • If rank(A)=n1\text{rank}(A) = n-1, then rank(adj A)=1\text{rank}(\text{adj } A) = 1.
      • If rank(A)<n1\text{rank}(A) < n-1, then rank(adj A)=0\text{rank}(\text{adj } A) = 0.
    • Inverse: A1=adj AAA^{-1} = \frac{\text{adj } A}{|A|}, provided A0|A| \neq 0 (Non-singular).

Matrix Conjugation and Hermitian Properties

  • Conjugate (Aˉ\bar{A}): A matrix where every element is replaced by its complex conjugate (a+ibaiba + ib \rightarrow a - ib).
  • Tranjugate (AθA^{\theta}): Transpose of the conjugate matrix (Aθ=(Aˉ)TA^{\theta} = (\bar{A})^T).
  • Hermitian Matrix: Aθ=AA^{\theta} = A. Principal diagonal elements must be real.
  • Skew-Hermitian Matrix: Aθ=AA^{\theta} = -A. Principal diagonal elements are either zero or purely imaginary.
  • Unitary Matrix: AAθ=IA A^{\theta} = I.
    • Properties: det(A)\text{det}(A) has modulus equal to 11. All orthogonal matrices are unitary matrices (real entries only).

Symmetric and Orthogonal Matrices

  • Symmetric Matrix: AT=AA^T = A.
  • Skew-Symmetric Matrix: AT=AA^T = -A. Principal diagonal elements are all zero.
    • The determinant of a skew-symmetric matrix of odd order is always 00.
  • Orthogonal Matrix: AAT=I=ATAA A^T = I = A^T A.
    • Property: Sum of squares of elements in any row/column is 11. Sum of products of corresponding elements of two distinct rows/columns is zero.
    • The determinant of an orthogonal matrix is always ±1\pm 1.

Specialized Square Matrices

  • Idempotent Matrix: A2=AA^2 = A.
    • If AA and BB are idempotent and AB=BAAB = BA, then ABAB is idempotent.
    • If AB=BA=0AB = BA = 0, then A+BA+B is idempotent.
  • Involutory Matrix: A2=IA^2 = I.
    • Characteristic: (A+I)(AI)=0(A+I)(A-I) = 0.
  • Nilpotent Matrix: Ak=0A^k = 0 for some positive integer kk. The smallest such kk is the index of the matrix.
    • Property: Index of nilpotency is always \le 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 AA and BB are equivalent if one is obtained from the other by finite elementary transformations (B=PAQB = PAQ, where PP and QQ are non-singular). Equivalent matrices have the same rank.
  • Normal Form: A matrix transformed into the block form (Ir000)\begin{pmatrix} I_r & 0 \\ 0 & 0 \end{pmatrix} has rank rr.
  • Rank Properties:
    • rank(A+B)rank(A)+rank(B)\text{rank}(A+B) \le \text{rank}(A) + \text{rank}(B).
    • rank(AB)min(rank(A),rank(B))\text{rank}(AB) \le \min(\text{rank}(A), \text{rank}(B)).
    • rank(AB)rank(A)+rank(B)n\text{rank}(AB) \ge \text{rank}(A) + \text{rank}(B) - n (Sylvester's Law of Nullity).
    • rank(AT)=rank(A)=rank(AAT)\text{rank}(A^T) = \text{rank}(A) = \text{rank}(A A^T).
    • Rank of skew-symmetric matrix cannot be 11.

Systems of Linear Equations

  • Form: AX=BAX = B, where [AB][A|B] is the augmented matrix.
  • Consistency:
    • If rank(A)rank(AB)\text{rank}(A) \neq \text{rank}(A|B), the system has no solution (Inconsistent).
    • If rank(A)=rank(AB)=n\text{rank}(A) = \text{rank}(A|B) = n (number of variables), the system has a unique solution.
    • If rank(A)=rank(AB)<n\text{rank}(A) = \text{rank}(A|B) < n, the system has infinite solutions.
  • Homogeneous Systems (AX=0AX = 0):
    • Always consistent (X=0X=0 is the trivial solution).
    • Non-trivial solutions exist if rank(A)<n\text{rank}(A) < n.

Eigenvalues and Eigenvectors

  • Characteristic Equation: AλI=0|A - \lambda I| = 0. Solutions for λ\lambda are the eigenvalues.
  • Eigenvector: A non-zero vector XX such that AX=λXAX = \lambda 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(λ)=nrank(AλI)\text{GM}(\lambda) = n - \text{rank}(A - \lambda I).
    • Relationship: 1GM(λ)AM(λ)1 \le \text{GM}(\lambda) \le \text{AM}(\lambda).
  • Properties:
    • Sum of eigenvalues = tr(A)\text{tr}(A).
    • Product of eigenvalues = A|A|.
    • Cayley-Hamilton Theorem: Every square matrix satisfies its own characteristic equation. It can be used to find A1A^{-1}.
    • Minimal Polynomial: The smallest degree monic polynomial that annihilates matrix AA. It divides the characteristic polynomial.

Groups, Fields, and Vector Spaces

  • Binary Operation: A function mapping S×SSS \times S \rightarrow S (Internal) or F×VVF \times V \rightarrow 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\mathbb{R}, C\mathbb{C}, and Q\mathbb{Q} are fields. Integers Z\mathbb{Z} do not form a field because non-zero elements lack multiplicative inverses in Z\mathbb{Z}.
  • Vector Space: A set of vectors VV over a field FF satisfying 1010 axioms involving vector addition (Abelian group) and scalar multiplication properties (distributivity, associativity of scalars, scalar unity).