Matrix Types

Diagonally Dominant Matrix

An n×nn \times n matrix AA is diagonally dominant iff

∣aii∣≥∑j=1,j≠in∣aij∣|a_{ii}| \geq \sum_{j=1, j \neq i}^{n} |a_{ij}|

holds for each i=1,2,…,ni = 1, 2, \dots, n.

Strictly Diagonally Dominant Matrix

AA is strictly diagonally dominant iff the inequality above is strict for each ii. Non-singular.

Gaussian elimination on Ax=bAx = b then proceeds without row or column interchanges, and the computation is stable with respect to round-off error growth.

Positive Definite Matrix

See Positive Definite Matrix for the definition and eigenvalue characterization.

A leading principal submatrix AkA_k of AA is the k×kk \times k block

Ak=[a11⋯a1k⋮⋱⋮ak1⋯akk]A_k = \begin{bmatrix} a_{11} & \cdots & a_{1k} \\ \vdots & \ddots & \vdots \\ a_{k1} & \cdots & a_{kk} \end{bmatrix}

for some 1≤k≤n1 \leq k \leq n.

A symmetric matrix AA is positive definite iff every leading principal submatrix has a positive determinant.

A symmetric matrix AA is positive definite iff Gaussian elimination on Ax=bAx = b can be performed without row interchanges with all pivot elements positive. The computation is then stable with respect to round-off error growth.

Condition Number

For an invertible matrix AA, the condition number relative to a chosen matrix norm is

κ∥⋅∥(A)=∥A∥∥A−1∥\kappa_{\lVert\cdot\rVert}(A) = \lVert A \rVert \lVert A^{-1} \rVert

The condition number depends on the chosen norm. For the matrix norm induced by the vector pp-norm, write

κp(A)=∥A∥p∥A−1∥p\kappa_p(A) = \lVert A \rVert_p \lVert A^{-1} \rVert_p

When the norm is understood, write κ(A)\kappa(A).

For a singular matrix, κ(A)=∞\kappa(A) = \infty. For every invertible matrix, κ(A)≥1\kappa(A) \geq 1.

The condition number quantifies the degree of ill-conditioning. A large condition number indicates that small relative changes in the input can produce large relative changes in the solution.

  • Well-conditioned matrix
    κ(A)\kappa(A) is close to 11. Small relative changes in the input produce small relative changes in the solution.
  • Ill-conditioned matrix
    κ(A)\kappa(A) is large. Small relative changes in the input can produce large relative changes in the solution.

For Ax=bAx = b and a perturbation δb\delta b in bb,

∥δx∥∥x∥≤κ(A)∥δb∥∥b∥\frac{\lVert \delta x \rVert}{\lVert x \rVert} \leq \kappa(A)\frac{\lVert \delta b \rVert}{\lVert b \rVert}

For example,

{x+y=2x+1.001y=2{x+y=2x+1.001y=2.001\begin{cases} x + y = 2 \\ x + 1.001y = 2 \end{cases} \qquad \begin{cases} x + y = 2 \\ x + 1.001y = 2.001 \end{cases}

The left system has solution x=2x = 2, y=0y = 0. The right system, obtained by a 0.0010.001 change in one constant, has solution x=1x = 1, y=1y = 1. The coefficient matrix is ill-conditioned, with condition number 40044004.

For a symmetric positive definite matrix, the eigenvalues in the spectrum are positive. The 22-norm condition number is

κ2(A)=λmax⁡(A)λmin⁡(A)\kappa_2(A) = \frac{\lambda_{\max}(A)}{\lambda_{\min}(A)}

Convergent Matrix

An n×nn \times n matrix AA is convergent to BB iff

lim⁡k→∞Ak=B\lim_{k \to \infty} A^k = B

For a square matrix AA, the following are equivalent:

  • AA is convergent to 00, i.e. lim⁡k→∞Ak=0\lim_{k \to \infty} A^k = 0
  • lim⁡k→∞∥Ak∥m=0\lim_{k \to \infty} \lVert A^k \rVert_m = 0 for some matrix norm ∥⋅∥m\lVert \cdot \rVert_m
  • ρ(A)<1\rho(A) < 1, where ρ(A)\rho(A) is the spectral radius

Worked Example

Check whether

A=(72035−105−6)A = \begin{pmatrix} 7 & 2 & 0 \\ 3 & 5 & -1 \\ 0 & 5 & -6 \end{pmatrix}

is strictly diagonally dominant.

Solution Reveal Hide
∣7∣=7>2+0=2|7| = 7 > 2 + 0 = 2∣5∣=5>3+1=4|5| = 5 > 3 + 1 = 4∣−6∣=6>0+5=5|-6| = 6 > 0 + 5 = 5

All 3 rows satisfy the strict inequality. AA is strictly diagonally dominant, hence non-singular.

Check whether

A=(2−10−12−10−12)A = \begin{pmatrix} 2 & -1 & 0 \\ -1 & 2 & -1 \\ 0 & -1 & 2 \end{pmatrix}

is positive definite.

Solution Reveal Hide

AA is symmetric. Its leading principal submatrices have determinants

det⁡A1=2,det⁡A2=3,det⁡A3=4\det A_1 = 2, \qquad \det A_2 = 3, \qquad \det A_3 = 4

All are positive. AA is positive definite.

Check whether

B=(4−10−14−10−14)B = \begin{pmatrix} 4 & -1 & 0 \\ -1 & 4 & -1 \\ 0 & -1 & 4 \end{pmatrix}

is positive definite.

Solution Reveal Hide

BB is symmetric. The leading principal submatrices have determinants

det⁡B1=4\det B_1 = 4det⁡B2=4⋅4−(−1)(−1)=15\det B_2 = 4 \cdot 4 - (-1)(-1) = 15det⁡B3=4(16−1)+1(−4−0)=56\det B_3 = 4(16 - 1) + 1(-4 - 0) = 56

All are positive. BB is positive definite.

Check whether

C=(0.500.250.5)C = \begin{pmatrix} 0.5 & 0 \\ 0.25 & 0.5 \end{pmatrix}

is convergent.

Solution Reveal Hide

CC is lower triangular, so its eigenvalues are the diagonal entries 0.50.5 and 0.50.5.

ρ(C)=0.5<1\rho(C) = 0.5 < 1

CC is convergent to 00.

Wolfram Mathematica notebook

The summary notebook defines every function used in this module, with documentation and no examples, as a starting point for your own problems.

Written by November 6, 2026 3 min read
Was this helpful?