Numerical Analysis Introduction
Fundamentals of Numerical Computation (High School Level)
Overview
In this introduction, we develop an intuitive understanding of what numerical computation is. We learn what it means to solve mathematical problems with a computer and what kinds of errors arise in the process.
Learning Objectives
- Understand the basic ideas behind numerical computation
- Learn the concept of errors (rounding error, truncation error)
- Be able to find the root of an equation using the bisection method
- Understand the basic ideas of numerical differentiation and numerical integration
- Understand that there are cases where computers cannot compute "exactly"
Table of Contents
-
Chapter 1
What is Numerical Computation?
The purpose of numerical computation, the difference between analytical and numerical solutions, and the idea of approximation
-
Chapter 2
Fundamentals of Error
Absolute error, relative error, rounding error, truncation error
-
Chapter 3
Bisection Method
The most basic method for finding a root of $f(x) = 0$
-
Chapter 4
Introduction to Numerical Differentiation
The idea of finite difference approximation $f'(x) \approx \frac{f(x+h) - f(x)}{h}$
-
Chapter 5
Introduction to Numerical Integration
Riemann sums and an intuitive understanding of the trapezoidal rule
-
Chapter 6
Pitfalls in Computation
Catastrophic cancellation, absorption error, overflow and underflow
Visualizing the Bisection Method
The bisection method finds a root of $f(x) = 0$ by repeatedly halving the interval. For a continuous function $f$, if $f(a)$ and $f(b)$ have opposite signs, the Intermediate Value Theorem guarantees that a root exists in the interval $(a, b)$. The bisection method exploits this property by checking the sign at the midpoint $c = (a+b)/2$ and narrowing down to the sub-interval containing the root.
Prerequisites
- Basic middle school mathematics (equations, graphs of functions)
- High school mathematics (basic concepts of differentiation and integration) is desirable