Linear Algebra · Siblings

“Singular” and “defective” each say that a set of vectors made from an $n \times n$ matrix $A$ does not span the whole space, but the two words look at different sets of vectors. A singular matrix has columns that do not span $\reals^n$, so $A$ sends some nonzero vector $\vect{x}$ to $\vect{0}$ and has no inverse. A defective matrix has eigenvectors that do not span $\complexes^n$, so $A$ has no basis of eigenvectors and is not diagonalizable. The two properties are independent of each other: a matrix can be singular, defective, both, or neither.

Definitions

singular (matrix)

High school

A square matrix $A$ is singular if $A$ is not invertible.

Examples
  • The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is singular, because its determinant is $1 \cdot 4 - 2 \cdot 2 = 0$.
  • The matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) is singular, because it sends the nonzero vector $(1, 0)$ to $\vect{0}$.
  • The $2 \times 2$ zero matrix is singular, because its determinant is $0$.
Non-examples
Things that may be mistaken for examples of this term.
  • The matrix \(A = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}\) is not singular, because $\det A = 2 \neq 0$.
  • The matrix \(A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is not singular, because its determinant is $1$.
Properties
  • A square matrix $A$ is singular if and only if its determinant is zero: \[\det A = 0.\]
  • A square matrix $A$ is singular if and only if there is a nonzero vector $\vect{x}$ such that \[A \vect{x} = \vect{0}.\]
  • A square matrix $A$ is singular if and only if $0$ is an eigenvalue of $A$.
  • An $n \times n$ matrix is singular if and only if its rank is less than $n$, if and only if its nullity is positive.

defective (matrix)

Undergraduate

Consider an $n \times n$ matrix $A$ with real entries, and an eigenvalue $\lambda$ of $A$ (real or complex). The algebraic multiplicity $\mathrm{AM}(\lambda)$ of $\lambda$ is the number of times $\lambda$ is a root of the characteristic polynomial $\det(A - x I)$. The geometric multiplicity $\mathrm{GM}(\lambda)$ of $\lambda$ is the largest number of linearly independent eigenvectors of $A$ for $\lambda$. The matrix $A$ is defective if $A$ has an eigenvalue $\lambda$ whose geometric multiplicity is less than its algebraic multiplicity:

\[\mathrm{GM}(\lambda) < \mathrm{AM}(\lambda).\]
Graduate

Consider an $n \times n$ matrix $A$ with complex entries. The matrix $A$ is defective if $A$ has an eigenvalue $\lambda$ that has fewer linearly independent eigenvectors than its multiplicity $\mathrm{AM}(\lambda)$ as a root of the characteristic polynomial $\det(A - x I)$:

\[\dim(\nullspaceOf{A - \lambda I}) < \mathrm{AM}(\lambda).\]
Examples
  • The matrix \(A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is defective, because its eigenvalue $1$ has multiplicity $2$, but its eigenvectors are the nonzero multiples of $(1, 0)$.
  • The matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) is defective, because its eigenvalue $0$ has multiplicity $2$, but its eigenvectors are the nonzero multiples of $(1, 0)$, which span only a line.
Non-examples
Things that may be mistaken for examples of this term.
  • The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is not defective, because its eigenvalues $0$ and $5$ are distinct, so it has two linearly independent eigenvectors.
  • The matrix \(A = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}\) is not defective, because its eigenvalues $(5 \pm \sqrt{17}) / 2$ are distinct.
  • The $2 \times 2$ zero matrix is not defective, because its eigenvalue $0$ has multiplicity $2$ and every nonzero vector is an eigenvector, so it has $2$ linearly independent eigenvectors.
Properties

Examples

Example singular (matrix) defective (matrix) Why
The matrix $[2, 1; 4, 3]$ ✗✗
singular (matrix): The matrix \(A = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}\) is not singular, because $\det A = 2 \neq 0$.
defective (matrix): The matrix \(A = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}\) is not defective, because its eigenvalues $(5 \pm \sqrt{17}) / 2$ are distinct.
The matrix $[1, 2; 2, 4]$ ✓✗
singular (matrix): The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is singular, because its determinant is $1 \cdot 4 - 2 \cdot 2 = 0$.
defective (matrix): The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is not defective, because its eigenvalues $0$ and $5$ are distinct, so it has two linearly independent eigenvectors.
The matrix $[1, 1; 0, 1]$ ✗✓
singular (matrix): The matrix \(A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is not singular, because its determinant is $1$.
defective (matrix): The matrix \(A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is defective, because its eigenvalue $1$ has multiplicity $2$, but its eigenvectors are the nonzero multiples of $(1, 0)$.
The matrix $[0, 1; 0, 0]$ ✓✓
singular (matrix): The matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) is singular, because it sends the nonzero vector $(1, 0)$ to $\vect{0}$.
defective (matrix): The matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) is defective, because its eigenvalue $0$ has multiplicity $2$, but its eigenvectors are the nonzero multiples of $(1, 0)$, which span only a line.
The $2 \times 2$ zero matrix ✓✗ The $2 \times 2$ zero matrix is as singular as a matrix can be, but the zero matrix is not defective, because the zero matrix is already diagonal.

Notes

Columns versus eigenvectors

The columns of $A$ span $\reals^n$ exactly when $A \vect{x} = \vect{b}$ has a solution for every $\vect{b}$, which is the question of whether $A$ is invertible. The eigenvectors of $A$ span $\complexes^n$ exactly when $A$ acts on some basis by stretching each basis vector, which is the question of whether $A$ is diagonalizable. Invertibility is about solving equations with $A$, and diagonalizability is about how $A$ acts when it is applied over and over, as in $A^k$ or $e^{t A}$.

Where the two meet: the eigenvalue $0$

A matrix $A$ is singular if and only if $0$ is an eigenvalue of $A$, and the eigenvectors for $0$ are the nonzero vectors of the null space of $A$. So “singular” is a statement about the single eigenvalue $0$: its geometric multiplicity is at least $1$. “Defective” is a statement about the gap between the geometric and algebraic multiplicity of some eigenvalue, which can be $0$ or a nonzero number. For the matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix},\) the gap is at the eigenvalue $0$, so the matrix is both singular and defective.

Neither property implies the other

The matrix \(\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is invertible but defective, because its only eigenvalue is $1$, with algebraic multiplicity $2$ and geometric multiplicity $1$. The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is singular but not defective, because its two eigenvalues, $0$ and $5$, are distinct.

Real matrices and complex eigenvectors

Whether a real matrix is singular does not depend on whether it is viewed as a real or a complex matrix. Whether it is defective is decided by its complex eigenvectors. The rotation \(\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\) has no real eigenvectors, but it is not defective, because its complex eigenvectors $(1, -i)$ and $(1, i)$ span $\complexes^2$.

Both properties are fragile

A small change to the entries of a singular matrix generally makes the determinant nonzero, and a small change to the entries of a defective matrix generally splits its repeated eigenvalue into distinct eigenvalues. So a matrix whose entries are chosen at random is, with probability $1$, neither singular nor defective, but matrices that come from structured problems, such as the matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) of the double integrator $\dot{x}_1 = x_2$, $\dot{x}_2 = u$, are often both.

See also

All distinctions · All definitions · Notation