A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Condition Number of a Matrix

Graduate Depth 111 in the knowledge graph ☐ I know this ☆ Set as goal
1topic build on this
709prerequisites beneath it
See this on the map →
Gaussian Elimination with PivotingCondition Number of a Problem→→Multicollinearity: Detection Using VIF
condition-number matrix-sensitivity ill-conditioning

Core Idea

The condition number κ(A) = ||A|| ||A⁻¹|| measures sensitivity of the linear system Ax = b to perturbations in A and b. Relative error in x is bounded by approximately κ(A) times relative error in data. Large condition numbers indicate ill-conditioned problems; small perturbations cause large solution changes regardless of algorithm choice.

Explainer

When you solve a linear system Ax = b using Gaussian elimination with pivoting, you obtain a numerical answer — but how much should you trust it? The answer depends not on your algorithm's quality, but on the problem itself. The condition number κ(A) is the quantity that tells you how sensitive the solution is to small perturbations in the data, regardless of how you solve the system.

To build intuition, think of κ(A) as an "error amplification factor." If the data in b has relative errors of size ε (due to measurement noise or floating-point representation), the computed solution x can have relative errors up to roughly κ(A) · ε. If κ(A) = 10³ and your data has 6 significant digits (ε ≈ 10⁻⁶), you might lose 3 of those digits — leaving only 3 significant digits in your solution. If κ(A) = 10¹², you lose 12 digits, and on a 16-digit double-precision machine, your "solution" may be numerically meaningless even with a perfect algorithm.

The formal definition κ(A) = ||A|| · ||A⁻¹|| measures how much the matrix can stretch vectors (||A||) and how much the inverse can then amplify perturbations (||A⁻¹||). A geometric picture: a well-conditioned matrix maps the unit sphere to a modestly elongated ellipsoid; an ill-conditioned matrix maps it to a very thin needle — and when the needle gets perturbed, recovering the preimage amplifies the perturbation enormously. An orthogonal matrix has κ = 1 (it only rotates, never stretches), so it is perfectly conditioned.

Ill-conditioning is a property of the problem, not the algorithm. No amount of clever pivoting or iterative refinement can rescue a truly ill-conditioned system, because the information in b simply does not determine x precisely. Common sources of ill-conditioning include nearly linearly dependent rows or columns, matrices with rows spanning widely different scales, and the Hilbert matrix (whose (i,j) entry is 1/(i+j−1)) — a famous example whose condition number grows exponentially with size. When you encounter κ(A) >> 1, the right response is not to seek a better algorithm but to reconsider whether the problem is well-posed, or to employ regularization techniques that trade solution sensitivity for solution stability.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Center of Mass → Conservation of Linear Momentum → Elastic Collisions → Inelastic Collisions → Coefficient of Restitution → Collision Analysis and Real-World Applications → Two-Body Collisions in the Center-of-Mass Frame → Reduced Mass and Two-Body Problems → Kinematics in Two Dimensions → Projectile Motion → Circular Motion: Kinematics → Simple Harmonic Motion → Introduction to Differential Equations → Euler's Method for Numerical Solutions → Euler's Method for ODEs (Error Analysis) → Runge-Kutta Methods → Multistep Methods: Adams-Bashforth and Adams-Moulton → Stiff Differential Equations and Stability Regions → Stability Regions and A-Stability → Numerical Stability and Conditioning → Condition Number of a Problem → Condition Number of a Matrix

Longest path: 112 steps · 709 total prerequisite topics

Prerequisites (2)

Leads To (1)