1 and 2. (Sept 3rd and 10th) Numerical Computing (annotated)

In the main textbook, this is covered in chapters 5 and 6. I suggest instead reading part I (chapters 1-4) in the textbook by O’Leary.

For more information consult chapter 1 in the book by Driscoll or chapter I in notes by Jonathan Goodman

Here are some MATLAB scripts used as examples in the lecture notes: Fibbonaci, integral, vectorization, harmonic sum double precision and single precision. Also an example solution to the example homework problem on finite difference first derivative in double precision and single precision.

Here is a printout of the the Maple script studying propagated error in HW1 problem 2.

3 and 4. (Sept 17th and 24th) Solving Linear Systems (annotated)

Please go through Section 1 (Review of Linear Algebra) on your own ahead of class.

For dense square and overdetermined systems see chapter 7 in the main textbook, while for sparse matrices see 12.2 in the textbook. For a more in-depth overview of sparse solvers see chapters 27 (direct) or 28 (iterative) in the textbook by O’Leary.

For a more mathematical review of linear algebra consult part 1 of notes by Jonathan Goodman, and for a more in-depth discussion on performance consult part 2 of notes by Jonathan Goodman

Here is the MATLAB code MyLU.m.

5. (Oct 1st) Eigen and singular values (annotated)

Look at 12.1 in the textbook for eigenvalues; Google’s original Page Rank algorithm is covered in 12.1.5 and you may find it interesting. Also see section 5.5 for eigenvalues and 5.6 for SVD in the textbook by O’Leary. Here are is the MATLAB code for Compression.m

6. (Oct 8th) Solving Nonlinear Equations (annotated)

The main textbook treats only equations in a single variable as a warmup in Chapter 4. Systems of nonlinear equations are not covered in the textbook but this is very important; see instead chapter 24 in the textbook by O’Leary, and in particular the discussion of continuation methods.

Here is the MATLAB script FZero.m.

7. (Oct 15th) Optimization (annotated)

Based on various sources, including these notes by Jonathan Goodman. Optimization is discussed in good detail in chapters 9 (unconstrained) and 10 (constrained, advanced) in the textbook by O’Leary.

Here is the MATLAB script Rosenbrock.m.

8. (Oct 22nd) Interpolation (Function Approximation) (annotated)

See chapter 8 of textbook and also these notes by Jonathan Goodman.

Here are some MATLAB scripts used as examples in the lecture notes: Runge1D.m, Hills2D.m, HillsIrreg2D.m.

9. (Oct 29th) Fast Fourier Transform (annotated)

We will discuss Fourier Transforms, including the FFT algorithm, and briefly introduce wavelets. This is not covered in the textbooks, and is more advanced material not included in the final exam, and is optional in the homework. Nevertheless I believe it to be one of the most improtant tools in Numerical Analysis.

10. (Nov 5th) Integration (Quadrature) (annotated)

Look at Chapter 10 in the textbook (we will not cover Gaussian quadrature in detail, but see section 10.3 in textbook).

You can generate the Gauss-Lobato quadrature points and weights using the MATLAB code GLNodeWt.m.

11. (Nov 12th) Monte Carlo Methods (annotated)

See chapter 16 in the textbook by O’Leary. My lecture notes are mostly based on these lecture notes by Jonathan Goodman. Further technical details on variance reduction are in these (advanced) notes by Goodman.

12. (Nov 19 and Dec 3rd) Ordinary Differential Equations (ODEs) (annotated)

See chapter 11 in the textbook or look at these lecture notes by Jonathan Goodman. See also chapter 20 in the textbook by O’Leary. A concise summary and two proofs of convergence of Euler’s method not given in my lecture slides is in these notes by David Bindel.

No class Nov 26th (Thanksgiving)

13 (Dec 3rd and 10th) Partial Differential Equations (PDEs) (annotated)

Based on various sources, just a brief sketch. See chapter 14 in the textbook, along with chapter 13 for boundary value problems in one dimension.

14 (Dec 17th) Final Project Presentations