Linear Algebra

An m×nm \times n matrix is a grid of numbers with mm rows and nn columns that can be regarded as function (linear transformation) from Rn\mathbf{R}^n to Rm\mathbf{R}^m via matrix multiplication. For a matrix AA we usually denote the (i,j)(i,j)-entry of AA as aija_{ij} and write A=(aij)A = (a_{ij}) to express AA in terms of its entries. The n×nn \times n identity matrix, denoted In,\mathrm{I}_n, has ones along its diagonal and zeros elsewhere, and corresponds to the identity function.

Given a matrix AA its transpose AtA^t is the result of reflecting the entries of AA over its diagonal — the (i,j)(i,j)-entry of AtA^t is aji.a_{ji}. For a matrix AA with complex entries, its conjugate A\overline{A} is the matrix whose entries are the complex conjugates of those of A.A. A matrix AA is symmetric if At=A,A^t = A, skew-symmetric if At=A,A^t = -A, and Hermitian if At=A.A^t = \overline{A}. The inverse of a square matrix A,A, denoted A1,A^{-1}, is defined by the property that AA1=A1A=In.AA^{-1} = A^{-1}A = \mathrm{I}_n. The trace of a square matrix A,A, denoted tr(A),\operatorname{tr}(A), is the sum of the diagonal entries of A.A. A fun property of the trace: for matrices AA and BB and C,C, tr(ABC)=tr(CAB)=tr(BCA).\operatorname{tr}(ABC) = \operatorname{tr}(CAB) = \operatorname{tr}(BCA). The determinant of a matrix A,A, denoted either det(A)\operatorname{det}(A) or aij,\bigl|a_{ij}\bigr|, is equal to σ(sign(σ)i=1naiσ(i))\sum_\sigma \biggl(\operatorname{sign}(\sigma)\prod_{i=1}^n a_{i\,\sigma(i)}\biggr) where the sum is taken over all permutations σ\sigma of {1,2,,n}.\{1, 2, \dotsc, n\}. Intuitively though the determinant is just how much the volume of space scales under the transformation A;A; a negative determinant indicates a reflection of space.

Regarding AA as a linear transformation, for any vector v\bm{v} for which there exists a constant λ\lambda such that A(v)=λvA(\bm{v}) = \lambda\bm{v} is called an eigenvector of A,A, and λ\lambda its corresponding eigenvalue. The trace of a matrix will be the sum of eigenvalues. The eigenvalues can also be defined as the roots of det(λInA),\operatorname{det}\bigl(\lambda \mathrm{I}_n-A\bigr), the characteristic polynomial of A.A.