Mathwords logoMathwords

Matrix Analysis — Definition, Formula & Example

Matrix analysis is the part of math that measures how large a matrix is and how much its outputs change when its entries change slightly. It also covers functions of matrices, such as the matrix exponential.

Matrix analysis is the study of matrices with analytic tools. These tools include matrix norms (for example, the induced norm ∥A∥=max⁡x≠0∥Ax∥/∥x∥\|A\| = \max_{x \neq 0} \|Ax\|/\|x\|), inequalities and perturbation bounds for eigenvalues and singular values, and functions f(A)f(A) defined by power series, such as eA=∑k=0∞Ak/k!e^A = \sum_{k=0}^{\infty} A^k/k!.

Key Formula

∥A∥2=σmax⁡(A)=λmax⁡(ATA),κ(A)=∥A∥2 ∥A−1∥2=σmax⁡(A)σmin⁡(A)\|A\|_2 = \sigma_{\max}(A) = \sqrt{\lambda_{\max}(A^{T}A)}, \qquad \kappa(A) = \|A\|_2\,\|A^{-1}\|_2 = \frac{\sigma_{\max}(A)}{\sigma_{\min}(A)}
Where:
  • AA = An invertible square matrix with real entries (the condition number requires invertibility)
  • ∥A∥2\|A\|_2 = Spectral norm: the largest factor by which A stretches any vector
  • σmax⁡,σmin⁡\sigma_{\max}, \sigma_{\min} = Largest and smallest singular values of A
  • λmax⁡(ATA)\lambda_{\max}(A^{T}A) = Largest eigenvalue of the matrix A transpose times A
  • κ(A)\kappa(A) = Condition number: how much relative errors can be amplified when solving Ax = b

Worked Example

Problem: Let A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} and let E=(0.100−0.1)E = \begin{pmatrix} 0.1 & 0 \\ 0 & -0.1 \end{pmatrix} be a small measurement error. Use Weyl's inequality, ∣λi(A+E)−λi(A)∣≤∥E∥2|\lambda_i(A+E) - \lambda_i(A)| \le \|E\|_2 for symmetric AA and EE with eigenvalues listed in the same order, to bound how far each eigenvalue of AA can move. Then check the bound against the exact eigenvalues of A+EA + E.
Step 1: Find the eigenvalues of AA.
det⁡(A−λI)=(2−λ)2−1=0  ⟹  λ1=3, λ2=1\det(A - \lambda I) = (2-\lambda)^2 - 1 = 0 \;\Longrightarrow\; \lambda_1 = 3,\ \lambda_2 = 1
Step 2: EE is diagonal, so its spectral norm is its largest absolute diagonal entry. Weyl's inequality says each eigenvalue moves by at most this much.
∥E∥2=0.1  ⟹  λ1(A+E)∈[2.9, 3.1],λ2(A+E)∈[0.9, 1.1]\|E\|_2 = 0.1 \;\Longrightarrow\; \lambda_1(A+E) \in [2.9,\ 3.1],\quad \lambda_2(A+E) \in [0.9,\ 1.1]
Step 3: Check against the exact eigenvalues of A+E=(2.1111.9)A + E = \begin{pmatrix} 2.1 & 1 \\ 1 & 1.9 \end{pmatrix}.
(2.1−λ)(1.9−λ)−1=0  ⟹  λ=2±1.01≈3.005, 0.995(2.1-\lambda)(1.9-\lambda) - 1 = 0 \;\Longrightarrow\; \lambda = 2 \pm \sqrt{1.01} \approx 3.005,\ 0.995
Answer: Weyl's inequality guarantees each eigenvalue moves by at most 0.10.1. The actual shifts are only about 0.0050.005, well inside the bound. Bounds like this let you trust eigenvalues computed from data with small errors, without recomputing them exactly.

Why It Matters

Condition numbers tell an engineer or data scientist whether a computed solution to a linear system can be trusted. Without that check, rounding error in a regression or a structural model may quietly wreck the answer. The matrix exponential eAte^{At} solves the linear differential systems x′=Axx' = Ax that appear in differential equations and control theory courses.

Common Mistakes

Mistake: Assuming the spectral norm always equals the largest absolute eigenvalue.
Correction: That is true only for symmetric (more generally, normal) matrices. In general, use singular values. For example, (0100)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} has both eigenvalues equal to 0, but its spectral norm is 1.

Related Terms