Math helps us find answers.
Sometimes answers are not exact. We find a guess that is very close. This helps us fly planes. It helps us study the weather. It is a big help to us. Can you find a pattern?
Math helps us solve hard puzzles.
Sometimes an answer is not exact. We find a guess that is very close. This is called an approximation.
People used to use big books of tables. Now, we use fast computers. Computers help us study the weather. They also help us fly ships in space. They even help car makers stay safe. Math makes these big jobs possible.
Sometimes math problems are too hard to solve perfectly. We cannot find one exact answer with symbols. Instead, we find a guess that is very close. This is called numerical analysis.
This way of thinking is very old. A clay tablet from Babylon shows a close guess for a square root.
Long ago, people used big books of tables to find answers. Now, we use fast computers. Computers let us solve much bigger problems.
We use these tools every day. Scientists use them to predict the weather. Engineers use them to plan space flights. Car companies use them to test crash safety.
Even stores use them to pick the best prices.
There are two main ways to find answers. Direct methods use a set number of steps. Iterative methods repeatedly update an estimate. With suitable conditions they approach a useful answer, but some iterations fail to converge. We must also watch for errors. Small mistakes can grow into big ones. We try to find stable ways to keep errors small.
Numerical analysis studies algorithms for calculating approximations and understanding their errors. It is useful when exact symbolic solutions are unavailable or when an approximation is more practical. The goal is a result accurate enough for a stated purpose, with reasons to trust it.
Direct methods use a finite sequence of operations in exact arithmetic. Gaussian elimination for a suitable nonsingular linear system is an example. Iterative methods repeatedly update estimates and require a stopping rule. Neither category automatically guarantees a better result in finite-precision arithmetic.
Bisection illustrates an error bound. To find the positive square root of two, consider f(x) = x² − 2. It is continuous, negative at one and positive at two. Halving that interval and retaining a sign-changing half keeps a root inside. After ten halvings, the interval width is 1/1024. Its midpoint is at most 1/2048 from the root in exact arithmetic.
Other methods can be faster but have different requirements. Newton's method uses a derivative and an initial estimate. It may fail or cycle for an unsuitable problem or starting point.
Two questions must be separated. Conditioning asks how sensitive the mathematical answer is to changes in the input. Stability asks how an algorithm handles errors, including rounding. A sensible-looking decimal alone answers neither question.
Numerical analysis develops and evaluates computational methods for mathematical problems. Its central questions include accuracy, convergence, stability and cost. A useful result includes an error assessment appropriate to the problem, rather than merely a large number of printed digits.
Error has several sources. A mathematical model may only approximate a physical process. Input measurements may be uncertain. Replacing an infinite process by finitely many steps introduces truncation error, while finite-precision arithmetic introduces rounding. More computation does not necessarily reduce every kind of error.
For root finding, bisection provides a transparent guarantee under explicit hypotheses. A continuous function with opposite signs at the endpoints has a root between them. If each update keeps a sign-changing half, the bracket width halves. For f(x) = x² − 2 on [1, 2], ten such reductions leave width 2⁻¹⁰. The midpoint of the remaining bracket has absolute error at most 2⁻¹¹ in exact arithmetic. Numerical implementations must also handle rounding and a midpoint that can no longer change.
Newton's method uses local derivative information and can converge rapidly near a suitable root. It is not guaranteed to improve every initial guess. For f(x) = x³ − 2x + 2, the Newton update starting at zero gives one, and the next update returns to zero. The resulting two-cycle does not approach a root.
Conditioning belongs to the problem: it measures sensitivity to perturbed inputs. Stability belongs to the algorithm: an unstable procedure can add substantial error beyond that sensitivity. Even a stable algorithm cannot recover information absent from imprecise data in a badly conditioned problem.
Direct and iterative are also algorithmic distinctions, not rankings. Direct solvers terminate after a specified finite construction in exact arithmetic; iterative solvers generate successive approximations. Both require attention to floating-point effects and the assumptions under which an error estimate is valid.
🖼️ Images & Media (5)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
Sources for this explanation
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.