[PDF] Pascal Matrices - MIT



Previous PDF Next PDF







Preliminary Estimates of Spatially Distributed Net

gapascal Contents V Vertical Datum Ele vation, as used in this report, refers to the altitude of the ground surface above sea level, where sea level refers to the



Pascal Matrices - MIT

a 0 a 1 a 2 a 3 b 0 b 1 b 2 b 3 Figure 2: L counts paths to the 45 gluing line U counts paths above paths going from ai−1 to the point (k − 1,k − 1) Those continuations of the upward start are counted by Li−1,k −1



Pascal - tutorialspointcom

Pascal ii About the Tutorial Pascal is a procedural programming language, designed in 1968 and published in 1970 by Niklaus Wirth and named in honor of the French mathematician and



Pascal User Manual and Report

Kathleen Jensen Niklaus Wirth Pascal User Manual and Report ISO Pascal Standard Fourth Edition, Revised by Andrew B Mickel James F Miner With 76 Figures



“The Wager” by Blaise Pascal

“The Wager” by Blaise Pascal From the reading “So we may well know that there is a God without knowing what He is ” Hence it comes that, if there are as many risks on one side as on the other,



Programming Languages Overview & Syntax

2 2 Introduction to Programming Languages Agenda 1 Instructor and Course Introduction 3 Programming Language Syntax 4 Conclusion



Georgia Standards of Excellence Curriculum Frameworks Mathematics

Georgia Department of Education Georgia Standards of Excellence Framework GSE Algebra II/Advanced Algebra • Unit 2 Mathematics GSE Algebra II/Advanced Algebra Unit 2: Operations with Polynomials





FINLANDS FÖRFATTNINGSSAMLING - Edilex

gapascal 8§ Tätningar Tätningarna i kopplingar för kopparrör ska ha en hållbarhet som uppfyller kraven i ta-bell 3 Tabell 3 Hållbarhetskrav för elastomertätningar 9§ Märkning Tillverkaren ska märka den mekaniska kopplingen för kopparrör permanent så att den kan identifieras och spåras

[PDF] tableau de conversion cm3

[PDF] tableau de conversion m3 en l

[PDF] 1l en cm3

[PDF] conversion cm en cm3

[PDF] catu am-18/1

[PDF] exemple fiche e6 contexte international

[PDF] exemple fiche e6 bts am contexte international

[PDF] fiche e6 organiser un evenement

[PDF] action professionnelle bts am internationale

[PDF] affichage reglementaire poste hta

[PDF] affichage obligatoire poste haute tension

[PDF] fiche e6 bts am exemple

[PDF] si a divise c et b divise c alors ab divise c

[PDF] tout nombre impair est premier

[PDF] si a divise b et b divise a alors a=b ou a=-b démonstration

Pascal Matrices

Alan Edelman and Gilbert Strang

Department of Mathematics, Massachusetts Institute of

Technology

edelman@math.mit.edu and gs@math.mit.edu Every polynomial of degreenhasnroots; every continuous function on [0,1] attains its maximum; every real symmetric matrix has a complete set of orthonormal eigenvectors. "General theorems" are a big part of the mathematics we know. We can hardly resist the urge to generalize further! Remove hypotheses, make the theorem tighter and more difficult, include more functions, move into Hilbert space,... It"s in our nature. The other extreme in mathematics might be called the "particular case". One specific function or group or matrix becomesspecial. It obeys the general rules, like everyone else. At the same time it has some little twist that connects familiar objects in a neat way. This paper is about an extremely particular case. The familiar object isPascal"s triangle. The little twist begins by putting that triangle of binomial coefficients into a matrix. Three different matrices-symmetric, lower triangular, and upper triangular-can hold Pascal"s triangle in a convenient way. Truncation producesnbynmatricesSnandLnandUn-the pattern is visible forn= 4: S 4=? ??1 1 1 1

1 2 3 4

1 3 6 10

1 4 10 20?

??L4=? ??1 1 1 1 2 1

1 3 3 1?

??U4=? ??1 1 1 1 1 2 3 1 3 1? We mention first a very specific fact: The determinant of everySnis 1. (If we emphasized detLn= 1 and detUn= 1, you would write to the Editor. Too special!) Determinants are often a surface reflection of a deeper property within the matrix. That is true here, and the connection between the three matrices is quickly revealed. It holds for everyn:

SequalsLtimesU

and then (detS) = (detL)(detU) = 1. This identityS=LUis an instance of one of the four great matrix factorizations of linear algebra [10]: 1

1.Triangular times triangular:A=LUfrom Gaussian elimination

2.Orthogonal times triangular:A=QRfrom Gram-Schmidt

3.Orthogonal times diagonal times orthogonal:A=UΣVTwith

the singular values in Σ

4.Diagonalization:A=SΛS-1with eigenvalues in Λ and eigenvectors

inS. Symmetric matrices allowS-1=ST-orthonormal eigenvectors and real eigenvalues in the spectral theorem. InA=LU, the triangularUis the goal of elimination. The pivots lie on its diagonal (those are ratios detAn/detAn-1, so the pivots for Pascal are all

1"s). We reachUby row operations that are recorded inL. ThenAx=b

is solved by forward elimination and back substitution. In principle this is straightforward, but the cost adds up: billions a year for the most frequently used algorithm in scientific computing. For a symmetric positive definite matrix, we can symmetrizeA=LU toS=LLT(sometimes named after Cholesky). That is Pascal"s case with

U=LT, as we want to prove.

This article will offer four proofs ofS=LU. The first three are known, the fourth might be partly new. They come from thinking about different ways to approach Pascal"s triangle: First proof: The binomial coefficients satisfy the right identity Second proof:S,L, andUcount paths on a directed graph Third proof: Pascal"s recursion generates all three matrices Fourth proof: The coefficients of (1 +x)nhave a functional meaning. The binomial identity that equatesSijwith?LikUkjnaturally comes first- but it gives no hint of the "source" ofS=LU. The path-counting proof (which multiplies matrices by gluing graphs!) is more appealing. The re- cursive proof uses elimination and induction. The functional proof is the shortest:VerifySv=LUvfor the family of vectorsv= (1,x,x2,...). This allows the "meaning" of Pascal"s triangle to come through. The reader can guess that the last proof is our favorite. It leads toward larger ideas; transformations likex→1+xandx→1/(1-x) are particular cases ofx→(ax+b)/(cx+d). We are close to matrix representations of the 2 M¨obius group. At the same timeS,L, andUarise in themultipole method- one of the "top ten algorithms of the 20th century," which has tremendously speeded up the evaluation of sums?ak/(x-rk). You see that the urge to generalize is truly irresistible! We hereby promise not to let it overwhelm this short paper. Our purpose is only to look at Pas- cal"s triangle from four different directions-identities, graphs, recursions, and functions. Pascal matrices led to several Worked Examples in the new textbook [10], and this paper is on the course web pageweb.mit.edu/18.06/.

Proof 1: Matrix Multiplication

The direct proof multipliesLUto reachS. All three matrices start with rowi= 0 and columnj= 0. Then thei,kentry ofLis?i k?= "ichoosek". Multiplying rowiofLtimes columnjofU=LT, the goal is to verify that ?LikUkj=n? k=0? i k?? j k? =?i+j i? =Sij.(1) Separatei+jobjects into two groups, containingiobjects andjobjects. If we selecti-kobjects from the first group andkfrom the second group, we have choseniobjects out ofi+j. The first selection can be made in?i i-k?=?i k?ways and the second selection in?j k?ways. Any numberkfrom

0 to min(i,j) is admissible, so the total count agrees with equation (1):

min(i,j)? k=0? i k?? j k? =?i+j i? .(2) In this form the sum accounts for the triangularity ofLandU. The binomial coefficients are zero fork > iandk > j. A shorter proof is hard to imagine (though Proof 4 comes close). But thediscoveryofLU=Swould be unlikely this way. Binomial people would know the identity (1), the rest of us are conditioned to take their word for it. David Ingerman showed us how to multiply matrices by "gluing graphs"- and this gives a visual explanation [3, 7] ofLU=S.

Proof 2: Gluing Graphs

The first step is to identifySijas the number of paths fromaitobjon the up-and-left directed graph in Figure 1. 3 Only one path goes directly up froma0tobj, agreeing withS0j= 1 in the top row ofS. One path goes directly across fromaitob0, agreeing with S i0= 1. From that row and column the rest ofSis built recursively, based on Pascal"s ruleSi-1,j+Si,j-1=Sij. We show that path-counting gives a

0a1a2a3b

0b 1b 2b 3 Figure 1: The directed graph for the path-counting matrixS. A typical entry isS22= "4 choose 2" = 6. There are 6 paths froma2 tob2(3 that start across and 3 that start upwards). The paths that start across then go fromai-1tobj; by induction those are counted bySi-1,j. The paths that start upward go to level 1 and from there tobj. Those are counted bySi,j-1and Pascal"s rule is confirmed. (For this we imagine the whole graph shifted down one level, so we are actually going fromaitobj-1 inSi,j-1ways.) We do not know who first connected the matrixSwith this graph.

Now cut the graph along the 45

◦line in Figure 2. We want to show that L ikcounts the paths fromaito the (k,k) point on that diagonal line. Then U kjcounts paths from the 45◦line tobj. The reasoning is again by induction. Start fromLi0= 1 for the single path across fromaito (0,0). AlsoLii= 1 for the single path up to (i,i). Pascal"s recursion isLik=Li-1,k+Li-1,k-1when his triangle is placed intoL. By induction,Li-1,kcounts the paths that start to the left fromai, and go fromai-1to (k,k). The other paths to (k,k) start upward fromai.

By shifting the graph down and left (along the 45

◦line) we imagine these 4 a

0a1a2a3b

0b 1b 2b 3 Figure 2:Lcounts paths to the 45◦gluing line.Ucounts paths above. paths going fromai-1to the point (k-1,k-1). Those continuations of the upward start are counted byLi-1,k-1. The path counts agree with Pascal"s recursion, so they are the entries ofL. SimilarlyUkjcounts the paths from (k,k) tobj. It only remains to recognize that gluing the graphs is equivalent to mul- tiplyingLtimesU! The termLikUkjcounts paths fromaitobjthrough (k,k). Then the sum overkcounts all paths (and agrees withSij). The 6 paths froma2tob2come from 1·1+2·2+1·1. This completes the second proof. One generalization of this proof (to be strongly resisted) comes from removing edgesfrom the graph. We might remove the edge froma1toa0. That cancels all paths that go across toa0before going up. The zeroth row of

1"s is subtracted from all other rows ofS, which is the first step of Gaussian

elimination. Those row operations (edge removals) are at the heart of Proof 3.S=LU is the fundamental matrix factorization produced by elimination.

Proof 3: Gaussian Elimination

The steps of elimination produce zeros below each pivot, one column at a time. The first pivot inS(and alsoL) is its upper left entry 1. Normally we subtract multiples of the first equation from those below. For the Pascal matrices Brawer and Pirovino [1] noticed that we couldsubtract each row 5 from the row beneath. The elimination matrixEhas entriesEii= 1 andEi,i-1=-1. For 4 by 4 matrices you can see how the next smallerLappears: EL 4=? ??1 -1 1 -1 1 -1 1? ??1 1 1 1 2 1

1 3 3 1?

??1 0 1 0 1 1

0 1 2 1?

??=?1 0 0L3? .(3) EtimesLgives the Pascal recursionLik-Li-1,k=Li-1,k-1, producing the smaller matrixLn-1-shifted down as in (3). This suggests a proof by induction. Assume thatLn-1Un-1=Sn-1.

Then equation (3) and its transpose give

(ELn)(UnET) =?1 0

0Ln-1??

1 0

0Un-1?

=?1 0

0Sn-1?

.(4) We hope that the last matrix agrees withESnET. Then we can premultiply byE-1and postmultiply by (ET)-1, to conclude thatLnUn=Sn.

Look at thei,jentry ofESnET:

(ESn)ij=Sij-Si-1,jand (ESnET)ij= (Sij-Si-1,j)-(Si,j-1-Si-1,j-1). In that last expression, the first three terms cancel to leaveSi-1,j-1. This is the (i,j) entry for the smaller matrixSn-1, shifted down as in (4). The induction is complete. This "algorithmic" approach could have led toLU=Swithout knowing that result in advance. On the graph, multiplying byEis like removing all horizontal edges that reach the 45 ◦line from the right. Then all paths must goupwardto that line. In counting, we may take their last step for granted- leaving a triangular graph one size smaller (corresponding toLn-1!). The complete elimination fromStoUcorresponds to removingall hor- izontal edgesbelow the 45◦line. ThenL=Isince every path to that line goes straight up. Elimination usually clears out columns ofS(and columns of edges) but this does not leave a smallerSn-1. The good elimination order multiplies byEto remove horizontal edgesa diagonal at a time. This gave the induction in Proof 3. 6

Powers, Inverse, and Logarithm ofL

In preparing for Proof 4, consider the "functional" meaning ofL. Every Taylor series around zero is the inner product of a coefficient vectora= (a0,a1,a2,...) with the moment vectorv= (1,x,x2,...). The Taylor series represents a functionf(x): ?a kxk=aTv=aTL-1Lv.(5) HereLbecomes aninfinitetriangular matrix, containing all of the Pascal triangle. MultiplyingLvshows that (5) ends with a series in powers of (1 +x): Lv=? ??1 1 1 1 2 1 ??1 x x 2 ??1 1 +x (1 +x)2 ??(6) The simple multiplication (6) is very useful. A second multiplication by Lwould give powers of 2 +x. Multiplication byLpgives powers ofp+x.

Thei,jentry ofLpmust bepi-j?i

j?, as earlier authors have observed (the 4 by 4 case is displayed): L p=? ??1 p1 p 22p1
p

33p23p1?

??andLpLq=Lp+q.(7) For all matrix sizesn= 1,2,...,∞the powersLpare a representation of the groupsZandR(integerpand realp). The inverse matrixL-1has the same form withp=-1. Call and Velleman [2] foundL-1which isDLD-1: L -1=? ??1 -1 1 1-2 1 -1 3-3 1? ??1 -1 1 -1? ??1 1 1 1 2 1

1 3 3 1?

??1 -1 1 -1? (8) L phas the exponential formeApand we can computeA= logL:

A= limp→0e

Ap-Ip= limp→0L

p-Ip=? ??0 1 0 0 2 0

0 0 3 0?

??.(9) 7 The seriesL=eA=I+A+A2/2! +···has onlynterms. It produces the binomial coefficients inL. This matrixAhas no negative subdeterminants. Then its exponentialLis alsototally positive[8, page 115] and so is the productS=LU.

Pascal Eigenvalues

A brief comment about eigenvalues can come before Proof 4 ofS=LU. The eigenvalues ofLandUare their diagonal entries, all 1"s. Transposing Lquotesdbs_dbs13.pdfusesText_19