Scientific Computing
Preface
These notes started as a study guide for CS 111 at UC Santa Barbara and turned into a habit. Whenever I ran into an idea I couldn’t explain from scratch, I wrote it down until I could. Feynman’s test (if you can’t explain something simply, you don’t really understand it) turns out to be a reliable way to find gaps, and research kept turning up new ones in eigenvalue algorithms, iterative solvers, spectral graph methods, and Koopman theory. What you’re reading is a working reference I wrote as a graduate student, mostly for my own use.
Computers were first built for numerical work. A ``computer’’ was originally a person, someone paid to evaluate functions by hand. During the Second World War the U.S. Army employed rooms full of them to produce artillery firing tables, and the backlog was large enough to justify building ENIAC (1945). Among the machine’s first jobs were calculations for thermonuclear weapons design, work in which John von Neumann was closely involved. His 1947 paper with Goldstine laid the foundations of numerical stability analysis. In 1950, Jule Charney’s group used ENIAC to run the first computer weather forecast, a calculation Lewis Fry Richardson had once estimated would take 64,000 people working in concert. Later, the Apollo Guidance Computer navigated to the Moon with a few kilobytes of working memory, and the Cooley–Tukey FFT (1965) cut a core signal-processing computation from \(O(n^2)\) to \(O(n \log n)\).
Most of what follows is linear algebra. Nearly every numerical method works by reducing a nonlinear problem to a sequence of linear ones, because linear problems are the ones we understand best. We know when solutions exist, how sensitive they are to perturbations, and how to compute them reliably. Newton’s method, finite element discretization, PCA, and gradient-based optimization all come down to repeated linearization. Once linear algebra feels familiar, most of the other methods in these notes are easier to follow.
For a more rigorous treatment, start with Principles of Scientific Computing by Bindel and Goodman and G. W. Stewart’s Afternotes on Numerical Analysis. For a broader tour of the literature, the CS 6241 reading list at Cornell is a great place to look. Much of the perspective here comes from CS 210A (Matrix Analysis), taught by Professor Shivkumar Chandrasekaran in the ECE department at UC Santa Barbara. If you get the chance to take it, do.
Aditya Dendukuri \ UC Santa Barbara, 2025