Escolar Documentos
Profissional Documentos
Cultura Documentos
Advisory Board
M.A.J. Chaplain, University of St. Andrews
A. MacIntyre, Queen Mary University of London
S. Scott, King’s College London
N. Snashall, University of Leicester
E. Süli, University of Oxford
M.R. Tehranchi, University of Cambridge
J.F. Toland, University of Cambridge
More information about this series at http://www.springernature.com/series/3423
Folkmar Bornemann
lower and adjoint upper triangular system from the manuscript† of A.-L. Cholesky (1910), cf. §8.3
†
« Sur la résolution numérique des systèmes d’équations linéaires », Fonds André-Louis Cholesky (1875-1918),
courtesy of the Archives de l’Ecole Polytechnique, Palaiseau, France.
Preface
This book was developed from the lecture notes of an undergraduate level course
for students of mathematics at the Technical University of Munich, consisting of
two lectures per week. Its goal is to present and pass on a skill set of algorithmic
and numerical thinking based on the fundamental problem set of numerical linear
algebra. Limiting the scope to linear algebra creates a stronger thematic coherency
in the course material than would be found in other introductory courses on
numerical analysis. Beyond the didactic advantages, numerical linear algebra
represents the basis for the field of numerical analysis, and should therefore be
learned and mastered as early as possible.
This exposition will emphasize the viability of partitioning vectors and matrices
block-wise as compared to a more classic, component-by-component approach. In
this way, we achieve not only a more lucid notation and shorter algorithms, but
also a significant improvement in the execution time of calculations thanks to the
ubiquity of modern vector processors and hierarchical memory architectures.
The motto for this book will therefore be:
A higher level of abstraction is actually an asset.
During our discussion of error analysis we will be diving uncompromisingly deep
into the relevant concepts in order to gain the greatest possible understanding
of assessing numerical processes. More shallow approaches (e.g., the infamous
“rules of thumb”) only result in unreliable, expensive and sometimes downright
dangerous outcomes.
The algorithms and accompanying numerical examples will be provided in the
programming environment MATLAB, which is near to ubiquitous at universities
around the world. Additionally, one can find the same examples programmed in
the trailblazing numerical language Julia from MIT in Appendix B. My hope is
that the following passages will not only pass on the intended knowledge, but
also inspire further computer experiments.
The accompanying e-book offers the ability to click through links in the passages.
Links to references elsewhere in the book will appear blue, while external links
will appear red. The latter will lead to explanations of terms and nomenclature
which are assumed to be previous knowledge, or to supplementary material such
as web-based computations, historical information and sources of the references.
vii
viii Preface
Student’s Laboratory
In order to enhance the learning experience when reading this book, I recommend creating
one’s own laboratory, and outfitting it with the following “tools”.
Tool 2: Calculation Work Horse I will be devoting most of the pages of this book to
the ideas and concepts of numerical linear algebra, and will avoid getting caught up with
tedious calculations. Since many of these calculations are mechanical in nature, I encourage
every reader to find a suitable “calculation work horse” to accomplish these tasks for them.
Some convenient options include computer algebra systems such as Maple or Mathematica;
the latter offers a free “one-liner” version online in the form of WolframAlpha. Several
examples can be found as external links in §14.
Tool 3: Textbook X In order to gain further perspective on the subject matter at hand,
I recommend always having a second opinion, or “Textbook X”, within reach. Below I have
listed a few excellent options:
• Peter Deuflhard, Andreas Hohmann: Numerical Analysis in Modern Scientific Computing, 2nd ed.,
Springer-Verlag, New York, 2003.
A refreshing book; according to the preface, my youthful enthusiasm helped form the presentation of error
analysis.
• Lloyd N. Trefethen, David Bau: Numerical Linear Algebra, Society of Industrial and Applied
Mathematics, Philadelphia, 1997.
A classic and an all time bestseller of the publisher, written in a lively voice.
• James W. Demmel: Applied Numerical Linear Algebra, Society of Industrial and Applied Mathe-
matics, Philadelphia, 1997.
Deeper and more detailed than Trefethen–Bau, a classic as well.
Tool 4: Reference Material For even greater immersion and as a starting point for
further research, I strongly recommend the following works:
• Gene H. Golub, Charles F. Van Loan: Matrix Computations, 4th ed., The Johns Hopkins University
Press, Baltimore, 2013.
The “Bible” on the topic.
• Nicholas J. Higham: Accuracy and Stability of Numerical Algorithms, 2nd ed., Society of Industrial
and Applied Mathematics, Philadelphia, 2002.
The thorough modern standard reference for error analysis (without eigenvalue problems, though).
• Roger A. Horn, Charles R. Johnson: Matrix Analysis, 2nd ed., Cambridge University Press,
Cambridge, 2012.
A classic on the topic of matrix theory; very thorough and detailed, a must-have reference.
Contents
Preface vii
Student’s Laboratory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
II Matrix Factorization 21
7 Triangular Decomposition . . . . . . . . . . . . . . . . . . . . . . . . 21
8 Cholesky Decomposition . . . . . . . . . . . . . . . . . . . . . . . . . 28
9 QR Decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
IV Least Squares 69
16 Normal Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
17 Orthogonalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
V Eigenvalue Problems 75
18 Basic Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
19 Perturbation Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
20 Power Iteration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
21 QR Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Appendix 99
A MATLAB: A Very Short Introduction . . . . . . . . . . . . . . . . . 99
ix
x Contents
Notation 147
Index 149