6 EC
Semester 1, period 1, 2
5122NULA6Y
This course covers how a number of standard linear algebra problems can be solved or numerically approximated in an efficient and stable way. As such, the course is not only valuable for students who aim to work outside the academic world, but also for those who wish to contribute to the theoretical developments that are still in progress. The charm of the course lies in two aspects. Firstly, the most obvious solution method is not necessarily the most efficient, and secondly, whilst designing an algorithm, one has to take into account its stability: although a computed solution to a problem usually does not solve that problem exactly, it should preferably solve a problem that is, in some norm, in some sense, close to the original problem (this will be made precise in the course). This can lead to surprising insights and results.
It is a common misconception that rounding errors are central in Numerical Linear Algebra. Although it cannot be denied that they play an important role, they are not fundamental. Indeed, it is also true that even if a computer were not to make any rounding error during all its computations, it still would not be able to compute eigenvalues or singular values of a larger matrix exactly (Abel-Ruffini Theorem). Thus, approximations and their error analysis are not just a consequence of the computer's finite precision arithmetic limitations, more often they are a mathematical necessity.
The course treats a large part of the book ``Numerical Linear Algebra'' by L.N. Trefethen and D. Bau, a book used by graduate students at universities as Cornell, MIT, and Oxford. The first author is an influential contemporary numerical analyst. We refer to his personal website for parts of the book, and some interesting essays on the meaning of Numerical Analysis.
Apart from that, we will add a number of new topics, such as fast multiplication, automorphism groups of nondegenerate bilinear forms and their numerical aspects, and bi-orthogonality for which hand-outs will be made available. Furthermore, certain topics of the book will be treated in more detail than in the book, hence we strongly advice active participation and presence in class.
Topics to be covered: QR-decomposition using Gram-Schmidt, modified Gram-Schmidt, Givens rotations and Householder reflections, automorphism groups, symplectic and Hamiltonian matrices, linear least-squares problems (full rank and rank-deficient), conditioning and stability, finite precision arithmetic, LU-decomposition with partial pivoting, Cholesky-decomposition, bi-orthogonalization, power method, inverse iteration, QR-iteration with shifts, bisection for eigenvalues, Sturm sequences, divide-and-conquer for eigenvalues, Jacobi method for eigenvalues, Golub-Kahan bidiagonalization.
Lloyd N. Trefethen and David Bau III: `Numerical Linear Algebra', SIAM Society for Industrial and Applied Mathematics, Philadelphia.
A number of hand-outs written by the lecturer.
Lectures provide explanations and illustrations of the material from the book and motivation of the relevance of the topics covered. Often, more details that in the book will be given, and also some topics that are not in the book.
Exercise classes are there to solve both theoretical problems and computer programming assessments. The ability to tackle such problems and assessments gives the student insight in the level of understanding of the material.
Activiteit |
Aantal uur |
Computerpracticum |
6 |
Werkcollege |
20 |
Tentamen |
16 |
Hoorcollege |
26 |
Zelfstudie |
100 |
Using the Linear Algebra programming environment MatLab.
Programme's requirements concerning attendance (OER-B):
Item and weight | Details |
Final grade | |
1 (100%) Tentamen |
The final grade for NLA is determined as follows. Consider:
Minimal requirements to pass are:
If you do not satisfy these requirements, your final grade is the minimum of 5.0 and G, defined as
G = (2/3)*T+(1/9)(M1+M2+M3).
If you do satisfy the requirements, your final grade is G rounded to halves, with the exception that G<5.5 will not be rounded to 5.5: if G<5.5 you fail the course, unless you are eligible for the resit (see below).
Homework bonus (only if G is at least 5.5!)
There will be in total eight graded homework sets. Homework is graded by 0,1,2 or 3. Let H be the sum of these homework sets, then if G is at least 5.5, define
E = G + (10-G)*(H/72)
and your final grade is E rounded to halves, with the exception that 5.5 will (forcibly) not occur.
Thus, if you score the maximum of 24 points for homework, you compensate one third of the difference between G and 10: it raises 5.5 to 7.0 and it raises 7.0 to 8.0.
Observe that this bonus is particularly attractive if you score not too high for G. And yes, it raises 10 to 10 but who needs a bonus then anyway :-)
Exam Resit
If T < 5.0 you need to do the Exam Resit and score for it a grade R of at least 5.0.
R then replaces T in the definition of G.
In this situation, no homework bonus will be assigned anymore.
Replacing Matlab Assignment
Only if no more than one of the three MatLab assignments is less than 5.0, you can ask for a replacing MatLab assignment, which will then be held in an invigilated setting during three hours.
In other words, you fail the course immediately if two or three of them are less than 5.0
This opportunity will only be given if T is at least 5.0 (or if the resit R is at least 5.0; this means that if you need both the exam resit and a replacing MatLab assignment, the latter will only be given if R is at least 5.0)
Its grade M will then replace the one of M1, M2, M3 that was below 5.0.
Also in this situation, no homework bonus will be assigned anymore.
No Show Formalities
The minimum score for T and M1, M2 and M3 is 1.0, also if you do not show up or do not hand in.
Not handing in homework scores 0 (logically).
Contact the course coordinator to make an appointment for inspection.
three programming assignments
Matlab assignments will be made individually. You get a grade between 1 and 10, rounded to halves. Feedback will be given by the teaching assistant.
The 'Regulations governing fraud and plagiarism for UvA students' applies to this course. This will be monitored carefully. Upon suspicion of fraud or plagiarism the Examinations Board of the programme will be informed. For the 'Regulations governing fraud and plagiarism for UvA students' see: www.student.uva.nl
Week | Topics | Course material |
1 | Matrix fundamentals, orthogonality, unitary matrices, norms, reduced and full SVD, projections, MatLab. All this material is part of the prerequisites. Strassen multiplication and automorphism groups of nondegenerate bilinear forms. | T&B, Lectures 1,2,3,4,5,6,9 |
2 | QR-factorization, Classical and Modified Gram-Schmidt. The Cholesky decomposition for Hermitian positive definite matrices. |
T&B, Lectures 7,8,23. Graded Homework Set 1. |
3 | Triangular orthogonalization versus orthogonal triangularization. Householder reflections, Givens rotations, linear least-squares problems and their solution via the normal equations and Cholesky factorization, via QR-decomposition, and via the SVD. | T&B, Lectures 10,11. Graded Homework set 2. |
4 | MATLAB ASSIGNMENT 1. QR-factorization in finite precision arithmetic. | HANDOUT 1; |
5 | Conditioning; absolute and relative condition numbers; matrix condition number; polynomial root conditioning; stability, backward stability; backward stability of elementary operations. | T&B, Lectures 12,14,15. Graded Homework Set 3. |
6 | Backward stability of Householder QR, and of back-substitution for upper triangular systems. | T&B, Lectures 16,17. Graded Homework set 4. |
7 |
Linear least-squares problems: stability of algorithms for the solution and conditioning of the mathematical problem. |
T&B, Lecture 18. Graded Homework Set 5. |
8 |
Gaussian elimination with complete and partial pivoting; stability of Gaussian elimination. Bi-orthogonalization. |
T&B, Lectures 20,21,22. Graded Homework Set 6. |
9 | Eigenvalues and eigenvectors; review of spectral theorems, Jacobi and Schur triangulation, and Jordan form; unreduced upper Hessenberg form and tridiagonalization; power method, inverse iteration, and Rayleigh quotient iteration; perturbation theory. | T&B, Lectures 24,25,26,27. Graded Homework Set 7. |
10 | Simultaneous iteration and QR-iteration for real symmetric matrices. QR-iteration with shifts; the duality lemma. MATLAB ASSIGNMENT 2 | T&B, Lectures 27,28. Graded |
11 | Jacobi's method for eigenvalues; the bisection method for eigenvalues; the interlacing theorem; methods for singular values. |
HANDOUT 3; T&B, Lecture 29. Homework Set 8. |
12 | Divide and Conquer method for eigenvalues. MATLAB ASSIGNMENT 3 | T&B, Lecture 30. |
13 | Question Hour and Course Overview | T&B, Lectures 1-30. |
EXAM | T&B, Lectures 1-30. All Homework sets including the new material that is not in T&B |
The schedule for this course is published on DataNose.
There is no Honours Extension of this course. However, if you did not do so in year 2, it is possible to enroll for the Honours Extension for Numerical Analysis in Spring, which has aspects of both Numerical Analysis and Numerical Linear Algebra.
Students enrolling in this course should have a good grasp of Linear Algebra, going beyond performing mere matrix computations. In particular, geometrical insights into such manipulations are indispensable.
Furtherore, students are supposed to have good general computer programming abilities (preferably also in MatLab) and basic knowledge of Numerical Mathematics.
This corresponds to the following courses in the BSc Mathematics: