

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Prof. W. Kahan Page 1
Gaussian Elimination solves a system Ax = b of linear equations for x by a sequence of rational operations ( +, –, ·, / ) during which rounding errors occur unless some extra effort is put into performing the arithmetic exactly. This effort may be worthwhile if the data [A, b] is known exactly, particularly if the data consists entirely of integers. In this case the arithmetic generates rational numbers stored as pairs of integers “ in lowest terms ” ( i.e. with no common divisor ). Reduction to lowest terms is time-consuming but necessary to prevent the pairs of integers from growing enormously too wide, and it reveals a curious phenomenon: the divisor integers take relatively few distinct values. Chió’s trick exploits this phenomenon to perform elimination using exclusively integer arithmetic with integers scarcely bigger than they have to be.
Since its appearance in 1853 Chió’s trick has been rediscovered repeatedly ( once by the Rev. C.L. Dodgson who wrote Alice in Wonderland and other amusements under his pen-name “Lewis Carroll” ) and often with incomplete, incorrect or extremely complicated proofs of validity. Let’s see whether these notes can do better.
Nowadays many texts explain the relation between Gaussian Elimination and the Triangular Factorization PA = LU wherein P is a permutation matrix that takes account of “Pivotal” row exchanges, L is “Unit Lower Triangular” ( it has 1 ’s on its diagonal ), and U is upper triangular. Although P is a product of row exchanges performed as they are determined during the elimination process, we can imagine that they had been applied in advance to produce a matrix PA whose linearly dependent rows, if any, are its last. It is customary to take for granted also that the linearly dependent columns of PA , if any, are its last few, as can be arranged by reordering columns if necessary. In short, all except perhaps the last few of the leading principal submatrices of PA are assumed invertible; otherwise the factorization PA = LU becomes either impossible or non-unique.
Our treatment of Chió’s trick is also simplified by the assumption that all except perhaps the last few of the leading principal submatrices of A are invertible. This simplification is tantamount to the application in advance of whatever row and/or column exchanges would otherwise be found during Chió’s elimination process to be necessary to ensure the assumption’s validity; this is not a significant restriction so far as matrix computations are concerned. However, this restriction does prevent our treatment of Chió’s trick from being applied directly to explain how a similar trick works during the computations of greatest common divisors of pairs of polynomials, and the computations of continued fraction expansions of rational functions.
Our treatment begins with a representation for the intermediate stages reached during the process of Gaussian elimination or, equivalently, triangular factorization. For each k = 1, 2, 3, …, after the first k unknowns kave been eliminated from all but the first k of the equations Ax = b , the remaining equations take the form Sk zk = gk wherein zk is obtained from x by deleting its
first k components, and Sk is a Schur Complement derived from A by partitioning as follows:
This document was created with FrameMaker 4 0 4
Prof. W. Kahan Page 2
[A, b] =.
Here Vk = Lk Uk is the first principal k-by-k submatrix of A ; its triangular factors are Lk and
Uk. The existence of Vk–1^ is assured by our simplifying assumption, which also ensures the
existence of the factorization Vk = Lk Uk. Because Lk is unit triangular, det(Lk ) = 1 and we
find det(Uk ) = det(Lk )det(Uk ) = det(Lk Uk ) = det(Vk ) ≠ 0 , so Uk–1^ exists and Uk–1^ Lk–1^ = V (^) k–^.
Also Lk := Ck Uk–1^ and [Uk , gk ] := Lk–1^ [Rk , rk ]. The Schur complement of Vk in A is Sk
determined from [Sk , gk ] := [Hk , hk ] – Ck V (^) k–1^ [Rk , rk ]. ( Check it all out!)
What happens when k advances to k+1? Lk becomes the leading (k+1)-by-(k+1) principal
submatrix of Lk+1 , and Uk does likewise for Uk+1. The rest is best explained by partitioning
[Sk , g (^) k ] =.
First ßk becomes the last element uk+1,k+1 of U (^) k+1 ; the rest of the last column of Uk+1 comes
from the first column of Uk. The rest of [Uk , gk ] becomes the first k rows of [Uk+1 , g (^) k+1 ] ,
whose last row comes from [pTk , πk ]. The last row of Lk+1 is formed by appending 1 to the
first row of Lk , whose remaining rows form the first k columns of Lk+1 , whose last column is
VERIFY THE FOREGOING PARAGRAPH TO CONFIRM YOUR UNDERSTANDING OF THE PROCESSES OF ELIMINATION AND TRIANGULAR FACTORIZATION
For future reference note that ßk = uk+1,k+1 = det(Uk+1 )/det(Uk ) = det(Vk+1 )/det(Vk ).
function of the elements of A with common†^ denominator det(Vk ). Therefore all elements of
[Tk , uk ] := det(Vk )[Sk , gk ] = det(Vk )[Hk , hk ] – Ck Adj(Vk ) [Rk , rk ]
are polynomials in the elements of A , and the reduced equations Sk zk = gk are equivalent to
equations Tk zk = uk all of whose coefficients are, like those of [A, b] , integers.
This is what Chió’s trick does, but not directly. If we tried to compute polynomials Tk and uk
directly using only additions, subtractions and multiplications, but no divisions, the arithmetic work would grow horrendously with k. Chió’s trick works faster by using divisions too.
† Footnote: Though Vk–1^ = Adj(Vk)/det(Vk) and Sk = Hk – Ck Adj(Vk) Rk/det(Vk) are rational functions “ of the
elements of A with common denominator det(Vk) ” some elements of Vk–1^ and Sk may, after reduction to lowest terms, have denominators that properly divide det(Vk). This certainly happens when Vk is triangular, for instance.
V (^) k R (^) k r (^) k C (^) k H (^) k h (^) k
L (^) k O L (^) k I
U (^) k U (^) k g (^) k O S (^) k g (^) k
= ⋅
βk p Tk πk q (^) k W (^) k w (^) k