A unique computed allocation may still react strongly to small data changes. Invertibility answers whether an exact inverse exists; conditioning asks how strongly it can amplify errors. Keeping those questions separate prevents a mathematically valid solve from being mistaken for a robust estimate.
Finite elimination terminates and preserves the solution set
Let , , with positive finite integers . The permitted row operations are an exchange of two distinct rows, multiplication of a row by a nonzero scalar, and addition of a scalar multiple of one row to a different row. Their inverses are respectively the same exchange, multiplication by the reciprocal, and subtraction of that multiple. Applying an operation to the entire augmented array therefore preserves exactly the solutions of : the new equations are consequences of the old, and its inverse gives the reverse implication. Each operation is also multiplication on the left by the result of applying it to the identity matrix, an invertible elementary matrix.
Scan the coefficient columns from left to right, maintaining the next unused row. If the current column has a nonzero entry in an unused row, exchange that row into the next position, divide by its nonzero pivot, and subtract multiples of it from every other row to clear that column. Advance the unused-row index. If every unused entry in the column is zero, skip the column. Previously chosen pivot columns remain unit columns: the current unused rows have zeros in them, so the new pivot row and every subsequent subtraction preserve those zeros and earlier pivots. There are only column scans and at most pivots, each with finitely many row operations. Thus the algorithm terminates. At its end, the nonzero coefficient rows have increasing pivot columns and zeros below and above each pivot; any remaining coefficient row is zero. This proves the reduced echelon form used below, without assuming it will eventually appear.
Classification and the homogeneous freedom
Write for the number of pivots in the coefficient part. A zero coefficient row with a nonzero transformed right side is the impossible equation , so the system has no solution. Otherwise assign arbitrary real values to all nonpivot variables. In each pivot row, its pivot variable equals the transformed right side minus the displayed linear combination of these free variables; no other pivot variable occurs. These formulas both construct a solution and recover every solution. If the solution is unique. If , changing a free variable changes the vector, giving infinitely many solutions.
For the free variables can all be zero, giving the zero solution. If , set one free variable to one and the others to zero, and use the pivot formulas. This constructs a nonzero homogeneous solution. If , the formulas force every homogeneous variable to zero. For a consistent system, fixing one solution , subtraction proves that every solution has the form with , and substitution proves the converse.
For square , if every column has a pivot, the coefficient form is . The product of the finitely many elementary matrices satisfies . Since is invertible, and therefore also : is a two-sided inverse. If a pivot is missing, the nonzero homogeneous solution constructed above rules out any inverse. This also justifies applying the same row operations to to obtain in the invertible case.
1 Inverses and elimination
For square , an inverse is a matrix with . It is unique: if are inverses, . If and are invertible, , as multiplication in both orders verifies. The order reverses because the inverse must undo the last operation first.
Row operations are left multiplication by invertible elementary matrices. If elimination takes to through product , then and . Applying the same operations to gives .
A missing pivot gives a nonzero solution of the homogeneous system , which rules out invertibility.
For a matrix,
when . Direct multiplication gives before division, proving the formula. When , row reduction or an explicit dependent-column argument shows singularity. The scalar is the determinant. A small determinant by itself is not a scale-invariant measure of poor conditioning: has a small determinant but preserves relative input errors perfectly.
2 Reciprocal allocation near a singular rule
For , the equations , have the following coefficient matrix and inverse
For and , nonnegative direct costs give nonnegative totals. The denominator also shows why rules approaching full mutual recycling can produce large gross totals. At and direct costs , totals are . Increasing each direct cost by 0.01 increases each total by 1.
This is a factor-100 amplification of absolute changes. It is not a factor-100 amplification of relative changes in this example: both direct and total costs rise by 1%. Relative sensitivity depends on directions and on the baseline state. Gross totals also include repeated internal services, so they should not be interpreted as newly created external spending.
3 Norms and a relative-error bound
For a vector, . Its induced matrix norm is the maximum absolute row sum, . The inequality follows by bounding each row's dot product. Induced norms are submultiplicative, since applying the vector bound twice gives .
If and the data change by while stays fixed, then . For nonzero ,
Proof. The first bound gives . Also , so . Multiply.
The condition number is a worst-case bound, not an equality for every perturbation. It is at least 1 because . Its practical interpretation also depends on chosen units and scaling of observations and unknowns.
Worked example. Take , , giving . A data perturbation changes by . In the infinity norm the data's relative change is 0.001, the solution's is 0.1, and . The bound is attained here.
The induced infinity norm has the claimed lower bound too
For positive finite and , put . The vector norm is positive away from zero and absolutely homogeneous. The coordinate inequalities also prove its triangle inequality. Define the induced matrix norm as . Each row satisfies , so the supremum is at most .
If , all entries are zero and the supremum is zero. If , choose a row attaining the finite maximum and set when , when , and otherwise. At least one entry of this vector has magnitude one, so . Moreover . The supremum is therefore at least , proving . The argument constructs a maximizing sign vector; an upper estimate alone would not prove this equality.
A convergent matrix geometric series in every induced real norm
Why a norm on a finite real coordinate space is complete
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Heine–Borel in finite-dimensional Euclidean space
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Continuous images and extreme values
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
Let be finite and let be any norm on : it is positive except at zero, absolutely homogeneous, and satisfies the triangle inequality. Write for the standard coordinate vectors and . Put . Expanding in the standard basis gives
The reverse triangle inequality gives , so is Euclidean-continuous. The proved compactness theorem applies to the nonempty Euclidean unit sphere. Hence attains a minimum there; because every point of that sphere is nonzero. For , apply this minimum to . Including , we obtain
If is -Cauchy, each coordinate is real-Cauchy, since . Real completeness supplies limits . The finite sum of the squared coordinate differences tends to zero, so and then . Thus every -Cauchy sequence converges in . The zero-dimensional space has just the zero vector and is complete separately. No infinite-dimensional completeness or equivalence-of-norms claim is being made.
Fix a real norm on , , and define the induced matrix norm by . The established inequalities make this supremum finite: the elementary bounds give , since the Euclidean norm of a nonnegative list is at most its sum. Hence the ratio is at most . Homogeneity and the triangle inequality follow by taking suprema of the corresponding vector inequalities. If , some standard vector has , so . Thus this is a norm on the finite real vector space of matrices, and that space is complete by the proved finite-coordinate result. Moreover , , and applying this bound twice gives .
Let . For , ; the separate zeroth term is , of norm one. If , and the series is just . Otherwise and : write , , and use . The finite geometric identity gives . Consequently the partial sums are Cauchy in the complete matrix space, so they converge to a matrix and .
Finite multiplication telescopes in both orders:
Submultiplicativity makes multiplication by the fixed matrix continuous, while . Taking limits proves . Thus the series is the two-sided inverse of , with the displayed norm bound. For the perturbation formula take ; the factorization then gives . No diagonalization or infinite-dimensional Banach-space premise was left implicit.
4 Perturbing the model coefficients
If changes to , factor it as . For any induced norm with , the geometric matrix series
converges absolutely. Finite partial products telescope to , whose remainder tends to zero; this proves it is the inverse, without diagonalizability. Consequently
If the perturbed system has right-hand side , subtract equations to obtain . This identity exposes both observation error and coefficient error. Small entrywise changes in an ill-conditioned model need not mean small solution changes.
5 Graded practice
E1 Foundation. Invert and solve .
E2 Conditioning. Continue with the matrix and baseline right-hand side from E1. Find . For , calculate and compare the relative bound.
E3 Scaling. Explain why has a tiny determinant in dimension 2 but condition number 1.
E4 Coefficient error. For and , give a bound for and for the relative solution change when the right-hand side is fixed and nonzero. State separately what happens for zero right-hand side.
6 Full solutions
S1. The determinant is 1 and . Multiplying by gives , checked in the original system.
S2. The maximum row sum of is 3 and of its inverse is 3, so . The solution perturbation is . The baseline solution has norm 1, so relative solution error is ; baseline has norm 3, so the condition bound is , attained here.
S3. Its determinant is , but its inverse is . Thus the product of induced norms is . Uniform scaling changes absolute size without distorting relative directions.
S4. The inverse norm is at most . With fixed nonzero data , the baseline solution and , so . If , both unique solutions are zero; their absolute change is zero, but a relative ratio with zero baseline norm is undefined. The hypothesis is a norm bound, not merely a statement that every entry is below 0.1.
Summary
Invertibility establishes a unique exact inverse; conditioning measures its sensitivity. Absolute and relative amplification are different. Norm inequalities provide defensible bounds, and a convergent matrix geometric series controls coefficient perturbations without assuming diagonalizability or treating a small determinant as a complete stability diagnosis.