Fundamentals of Computing
Davoud Mirzaei
TL;DR
This lecture surveys the fundamentals of numerical computing, focusing on how numerical representations, rounding, and error sources affect the accuracy of computations on continuous problems. It develops a framework for analyzing error through notions of conditioning and stability, and applies it to simple algorithms (multiplication, summation, inner products, and linear systems) to illustrate forward and backward error concepts. Key topics include fixed-point and floating-point representations (IEEE 754), machine epsilon, subnormals, rounding modes, and the dangers of ill-conditioned problems such as those arising from Hilbert-type matrices and polynomial roots. The discussion emphasizes the practical impact of rounding and discretization on algorithmic reliability, and provides guidelines for avoiding numerical pitfalls through modeling choices, error analysis, and algorithm design. The material connects theoretical conditioning with concrete computational strategies, illustrating how to assess and improve robustness in scientific computing tasks.
Abstract
This lecture addresses some general ideas behind numerical computations ranging from representation of numbers in computers to stability and accuracy of standard algorithms for some simple mathematical problems.
