**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:

- Analyze the conditioning of numerical problems and the stability of numerical algorithms
- State and derive the stability properties, computational complexity, and applicability criteria of standard numerical algorithms
- Identify the numerical algorithms best suited for given problems
- Solve complex problems by designing and implementing appropriate combinations of numerical algorithms

**Textbooks:**

- Heath,
*Scientific Computing: An Introductory Survey*, 2nd Ed. - Trefethen and Bau,
*Numerical Linear Algebra* - Boyd and Vandenberghe,
*Convex Optimization*

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

- Mon, 3 Jan: Introduction, conditioning (Heath 1.1–1.2.4, 1.2.6, Trefethen & Bau 12 up to “Relative Condition Number”)
- Practice problems: Heath exercises 1.1–1.5, computer problem 1.1

- Thu, 6 Jan: Floating-point arithmetic, accuracy and stability (Trefethen & Bau 12–14)

- Mon, 10 Jan: More about stability, linear algebra (T&B 15, 1 up to “Range and Nullspace”)
- Practice problems: T&B exercises 15.1, 1.1–2

- Thu, 13 Jan: Linear algebra, orthogonality (TB 1, 2)
- Practice problems: T&B exercises 1.3–4, 2.*

- Mon, 17 Jan: Norms, SVD (TB 3, 4 up to “Reduced SVD”)
- Practice problems: T&B exercises 3.*

- Thu, 20 Jan: More about SVD, projections (TB 4, 5, 6)
- Practice problems: T&B exercises 4.* (use
`scipy.linalg.svd`

for 4.3), 5.*, 6.* - Further reading: Ranade, “Some uses of spectral methods”

- Practice problems: T&B exercises 4.* (use

- Mon, 24 Jan: QR factorization (T&B 7, 8, 9)
- Practice problems: T&B exercises 7.*, 8.*, 9.* (all programming exercises should be done in Python using Numpy, Scipy, and Matplotlib)

- Thu, 27 Jan: Householder triangularization, least-squares problems (T&B 10, 16, 11)
- Practice problems: T&B exercises 10.*, 16.*, 11.* (use
`scipy.linalg.solve`

for Matlab’s`\`

) - Further reading: T&B 17 (“Stability of Back Substitution”)

- Practice problems: T&B exercises 10.*, 16.*, 11.* (use

- Mon, 31 Jan: LU factorization (T&B 20, 21, 22)

- Homework assignments: 40% (dates for future assignments are tentative)
- Assignment 1: 13 Jan – 27 Jan
- Assignment 2: 27 Jan – 10 Feb
- Assignment 3: 10 Feb – 3 Mar
- Assignment 4: 3 Mar – 17 Mar
- Assignment 5: 17 Mar – 31 Mar

- Minor: 25%
- Major: 35%

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:

- “Getting started with Python for science” from the
*Scipy Lecture Notes* - “Python Numpy Tutorial” from the
*Stanford CS231n notes*

**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.

The Kyunki Saas Bhi Kabhi Bahu Thi Rule:This rule says that you are free to meet with fellow students(s) and discuss assignments with them. Writing on a board or shared piece of paper is acceptable during the meeting; however, you should not take any written (electronic or otherwise) record away from the meeting. This applies when the assignment is supposed to be an individual effort or whenever two teams discuss common problems they are each encountering (inter-group collaboration). After the meeting, engage in a half hour of mind-numbing activity (like watching an episode ofKyunki Saas Bhi Kabhi Bahu Thi), before starting to work on the assignment. This will assure that you are able to reconstruct what you learned from the meeting, by yourself, using your own brain.

The Right to Information Rule:To assure that all collaboration is on the level, you must always write the name(s) of your collaborators on your assignment. This also applies when two groups collaborate.