COL726: Numerical Algorithms

Semester II, 2021-22

Course Description

Content: Conditioning and stability, floating-point arithmetic. Numerical linear algebra: Vector and matrix norms, singular value decomposition, QR factorization, LU and Cholesky factorizations, conjugate gradient method, eigenvalue algorithms. Nonlinear problems: root finding, interpolation, numerical integration and differentiation, unconstrained optimization.

Objectives: At the end of the course, students will be able to:

Textbooks:

Prerequisites: COL106 or equivalent. Overlaps with MTL704. Familiarity with linear algebra and calculus is assumed.

Lectures

  1. Mon, 3 Jan: Introduction, conditioning (Heath 1.1–1.2.4, 1.2.6, Trefethen & Bau 12 up to “Relative Condition Number”)
  2. Thu, 6 Jan: Floating-point arithmetic, accuracy and stability (Trefethen & Bau 12–14)
  1. Mon, 10 Jan: More about stability, linear algebra (T&B 15, 1 up to “Range and Nullspace”)
  2. Thu, 13 Jan: Linear algebra, orthogonality (TB 1, 2)
  1. Mon, 17 Jan: Norms, SVD (TB 3, 4 up to “Reduced SVD”)
  2. Thu, 20 Jan: More about SVD, projections (TB 4, 5, 6)
  1. Mon, 24 Jan: QR factorization (T&B 7, 8, 9)
  2. Thu, 27 Jan: Householder triangularization, least-squares problems (T&B 10, 16, 11)
  1. Mon, 31 Jan: Conditioning of least-squares, LU factorization (T&B 18 up to Theorem 18.1, 20, 21)
  2. Thu, 3 Feb: Stability of LU, Cholesky factorization, iterative methods (T&B 22, 23, 32)
  1. Mon, 7 Feb: Arnoldi, GMRES (T&B 33, 35)
  2. Thu, 10 Feb: Conjugate gradients (T&B 38)
  1. Mon, 21 Feb: Eigenvalues (T&B 24, 25, 26)
  2. Thu, 24 Feb: Eigenvalue algorithms (T&B 27, 28)
  1. Thu, 3 Mar: Conditioning of eigenvalues, nonlinear equations (Heath 4.3, 5.1–5.5)
  1. Mon, 7 Mar: Nonlinear systems of equations (H 5.5.3–4, 5.6)
  2. Thu, 10 Mar: Interpolation (H 7.1–7.3.3)
  3. Sat, 12 Mar: Piecewise polynomial interpolation, numerical integration (H 7.3.5–7.4.2, 8.1–8.2)
  1. Mon, 14 Mar: Numerical integration (H 8.3–8.3.3)
  2. Thu, 17 Mar: Numerical integration, differentiation, optimization (H 8.3.5–6, 8.6, Boyd & Vandenberghe 1)
  1. Mon, 21 Mar: Convex sets and functions (B&V 2.1–3, 3.1–2)
  2. Thu, 24 Mar: Optimization (B&V 4.1–2, 9.1–2)
  1. Mon, 28 Mar: Descent methods (B&V 9.3–4)
  2. Thu, 31 Mar: Newton’s method (B&V 9.5)

Evaluation

Students should use Python 3 with Numpy/Scipy for the programming component of the homework. If you do not have prior experience with these libraries, please go through one of the following tutorials to familiarize yourself:

Grading: Following institute policy, a minimum of 80% marks are required for an A grade, and minimum 30% marks for D.

Late policy: Homework assignments are due at midnight on the due date. You are allowed a total of 5 late days across all the assignments. A maximum of 2 late days can be used for each assignment. Any assignment submitted late after the total allowed late days have been used will not be graded.

Audit policy: A minimum of 40% marks is required for audit pass.

Attendance policy: Attendance lower than 50% may result in a one-grade penalty (e.g. A to A–, or A– to B).

Collaboration policy: Adapted from Dan Weld’s guidelines, via Mausam:

Collaboration is a very good thing. On the other hand, cheating is considered a very serious offense. Please don’t do it! Concern about cheating creates an unpleasant environment for everyone. If you cheat, you get a zero in the assignment, and additionally you risk losing your position as a student in the department and the institute. The department’s policy on cheating is to report any cases to the disciplinary committee. What follows afterwards is not fun.

So how do you draw the line between collaboration and cheating? Here’s a reasonable set of ground rules. Failure to understand and follow these rules will constitute cheating, and will be dealt with as per institute guidelines.