Master Mathematics.

Linear Algebra

1. Vector spaces

A vector space over is a set with addition and scalar multiplication satisfying:

  • addition is commutative and associative, there is a zero vector , and each has an additive inverse ;
  • , , , and .

Standard examples

  • .
  • , the real matrices, which has dimension .
  • , the real polynomials of degree , which has dimension .
  • Continuous functions on an interval (infinite-dimensional).

2. Subspaces

is a subspace if and for all and scalars .

Standard subspaces

  • The kernel and image of a linear map.
  • The span of any set of vectors.
  • Intersections of subspaces. (A union is generally not a subspace.)
  • The sum .
  • The orthogonal complement .

Dimension formula: .

Direct sum: means and . Then every is written uniquely as , and .

Counting dimensions of matrix subspaces

  • Symmetric matrices: .
  • Skew-symmetric matrices (): . The diagonal must be zero and the upper triangle determines the rest.
  • Trace-zero matrices: . The trace is a nonzero linear functional, and the kernel of a nonzero functional has codimension .
  • Block-diagonal matrices with independent blocks: the dimensions add.

3. Span, independence, basis, dimension

  • is the set of all finite linear combinations of vectors in .
  • are linearly independent if forces all .
  • A basis is a linearly independent spanning set. Every has a unique expression in a basis.
  • Steinitz exchange: in a space spanned by vectors, any independent set has at most vectors. Hence all bases have the same size, called .
  • In an -dimensional space, any independent vectors form a basis, and any spanning vectors form a basis.
  • Every independent set extends to a basis, and every spanning set contains a basis.

4. Inner products and orthogonality

An inner product on a real vector space is symmetric, linear in each slot, and positive definite ( for ). On the standard one is .

  • Norm: , with .
  • Cauchy–Schwarz: .
  • Triangle inequality: .
  • Orthogonal: when . Orthogonal nonzero vectors are independent.
  • Orthogonal complement: . In :
    • ;
    • ;
    • .
  • Gram–Schmidt turns any basis into an orthonormal basis.
  • For a matrix : and .

5. Linear maps

is linear if .

  • is a subspace of . is a subspace of .
  • is one-one .
  • is onto .
  • A linear map is determined by its values on a basis, and these values can be chosen freely.
  • Compositions and sums of linear maps are linear.
  • is an isomorphism (invertible) it is one-one and onto. Spaces of equal finite dimension are isomorphic. For , one-one onto.

Maps and norms: if for all unit with , then by homogeneity for all . Hence and is injective. Such a map is times an isometry, and it requires . It is not necessarily onto, and it is unbounded in the sense that grows with .

6. Matrices and change of basis

  • For bases of and of , the matrix has columns . Then .
  • Matrix multiplication corresponds to composition of maps.
  • Change of basis for an operator: if is the matrix whose columns are the new basis vectors written in the old basis, then .

Invertibility. For an matrix, the following are equivalent:

  • is invertible.
  • .
  • .
  • .
  • The columns (or rows) are independent.
  • is not an eigenvalue.
  • has a unique solution for every .

7. Rank, kernel, and rank–nullity

Rank. , the dimension of the column space. It equals the dimension of the row space, so . It also equals the number of pivots after row reduction.

Rank–nullity theorem. For with finite-dimensional,

Idea of proof: extend a basis of to a basis of . The images of the added vectors form a basis of .

Rank inequalities

  • for an matrix.
  • .
  • .
  • the number of nonzero rows, and the number of nonzero columns.
  • Multiplying by invertible matrices on either side doesn't change rank.

Rank-one matrices. with . Then the nonzero entries are , and the count of nonzero entries is (number of nonzero ) (number of nonzero ). In a matrix, a rank-one matrix therefore has nonzero entries with , and is not such a product.

Left kernel. has dimension . A nonzero with exists exactly when , because each row of must lie in the left kernel. Any matrix with a zero row has rank less than its number of rows.

8. Eigenvalues, eigenvectors, characteristic polynomial

  • is an eigenvalue of if for some (an eigenvector). Equivalently, .
  • The eigenspace has dimension called the geometric multiplicity.
  • The characteristic polynomial has degree . Its coefficients involve the trace and determinant:
    • the coefficient of is ;
    • the constant term is .
  • The algebraic multiplicity of is its multiplicity as a root of .
  • Always: .
  • Sums and products: the eigenvalues (with multiplicity) add up to and multiply to .
  • Eigenvectors for distinct eigenvalues are linearly independent.
  • If is an eigenvalue of , then is an eigenvalue of for any polynomial . For invertible , is an eigenvalue of .
  • A triangular matrix has its diagonal entries as eigenvalues.

Cayley–Hamilton theorem. .

Minimal polynomial. is the monic polynomial of least degree with . It divides every polynomial that annihilates (in particular ), and it has the same roots as .

Inverse via Cayley–Hamilton. If with , then

For eigenvalues : , so .

9. Similarity

if for some invertible , meaning the two matrices represent the same operator in different bases. Similarity is an equivalence relation.

Preserved by similarity (invariants):

  • rank and nullity;
  • determinant and trace;
  • invertibility;
  • characteristic polynomial, minimal polynomial, eigenvalues with multiplicities;
  • for every and .

Not preserved as sets: the kernel, image and eigenvectors themselves. They are moved by : . Only their dimensions agree.

Two matrices with the same characteristic polynomial need not be similar (for example and ).

10. Diagonalizability

is diagonalizable if with diagonal.

Equivalent conditions

  • has a basis of eigenvectors of .
  • The geometric multiplicity equals the algebraic multiplicity for every eigenvalue, and splits into linear factors over the field.
  • The minimal polynomial is a product of distinct linear factors.

Sufficient conditions: distinct eigenvalues, or real symmetric (spectral theorem).

Spectral theorem. A real symmetric matrix has real eigenvalues, eigenvectors for different eigenvalues are orthogonal, and with orthogonal and diagonal.

Failure of diagonalizability happens when some geometric multiplicity is strictly smaller than the algebraic one, which leads to Jordan form.

11. Nilpotent operators and Jordan form

Nilpotent. for some . Then:

  • the only eigenvalue is (if , then );
  • and the minimal polynomial is for the least such ;
  • always, where .

Nilpotent and diagonalizable implies zero. If were diagonalizable, it would be similar to a diagonal matrix with only zeros, so . Hence a nonzero nilpotent operator is never diagonalizable.

Case , , . Here is a line. For , the pair is a basis, and . This is the only nonzero nilpotent type in .

Jordan block. is the matrix with on the diagonal and on the superdiagonal (or subdiagonal).

Jordan canonical form. If splits over the field, is similar to a block-diagonal matrix of Jordan blocks, unique up to reordering the blocks. For :

  • the number of blocks with eigenvalue equals ;
  • the total size of those blocks equals the algebraic multiplicity;
  • the largest block size equals the multiplicity of as a root of ;
  • the numbers determine all block sizes.

Similarity criterion. Two matrices with split characteristic polynomials are similar they have the same Jordan form. In particular, similar operators have equal for every .

Example: differentiation on . The operator on polynomials of degree (dimension ) sends .

  • It is one Jordan block .
  • and .
  • has (it kills and ), so splits into two Jordan blocks of size and is not similar to .
  • , since powers of one operator commute. It is nilpotent, so is its only eigenvalue.