Fundamentals / Numerical mathematics / Numerical linear algebra / Notebooks

How large can the last column grow?

This integer family isolates growth during elimination from the sensitivity of a linear system. Change the dimension and compare the largest numbers produced with a direct condition estimate. The displayed elimination keeps the first row when pivot sizes tie.

Change parameters · Explore the notebook example

Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.

Save notebook (.ipynb)

Python runs on this device. The first run loads the scientific libraries.

Compare the pivot bound with the growth and conditioning

The exponential growth is exact in binary for these small integer inputs. It gives a possible roundoff hazard for perturbed problems; it does not prove large forward error in this exact demonstration.

Challenge

Reorder the rows before calling eliminate. What changes in the growth history when pivot ties are resolved differently? Which singular values remain unchanged under the row permutation?