ArticleslgStudy

mathematics

Numerical certification

Numerical certification is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Numerical certification rather than just read about it. In short: Numerical certification is the process of verifying the correctness of a candidate solution to a system of equations. In (numerical) computational mathematics, such as numerical algebraic geometry, candidate solutions are computed algorithmically, but there is the possibility that errors have corrupted the candidates.

Key takeaways

  • Numerical certification belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Numerical certification to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Numerical certification from memory before moving on to harder problems.

Reference excerpt

Numerical certification is the process of verifying the correctness of a candidate solution to a system of equations. In (numerical) computational mathematics, such as numerical algebraic geometry, candidate solutions are computed algorithmically, but there is the possibility that errors have corrupted the candidates. For instance, in addition to the inexactness of input data and candidate solutions, numerical errors or errors in the discretization of the problem may result in corrupted candidate solutions. The goal of numerical certification is to provide a certificate which proves which of these candidates are, indeed, approximate solutions. Methods for certification can be divided into two flavors: a priori certification and a posteriori certification. A posteriori certification confirms the correctness of the final answers (regardless of how they are generated), while a priori certification confirms the correctness of each step of a specific computation. A typical example of a posteriori certification is Smale's alpha theory, while a typical example of a priori certification is interval arithmetic.

Certificates A certificate for a root is a computational proof of the correctness of a candidate solution. For instance, a certificate may consist of an approximate solution x, a region R containing x, and a proof that R contains exactly one solution to the system of equations. In this context, an a priori numerical certificate is a certificate in the sense of correctness in computer science. On the other hand, an a posteriori numerical certificate operates only on solutions, regardless of how they are computed. Hence, a posteriori certification is different from algorithmic correctness – for an extreme example, an algorithm could randomly generate candidates and attempt to certify them as approximate roots using a posteriori certification.

A posteriori certification methods There are a variety of methods for a posteriori certification, including

Alpha theory The cornerstone of Smale's alpha theory is bounding the error for Newton's method. Smale's 1986 work introduced the quantity α, which quantifies the convergence of Newton's method. More precisely, let F be a system of analytic functions in the variables x, D the derivative operator, and N the Newton operator. The quantities β(f,x)=‖x−N(x)‖=‖Df(x)−1f(x)‖ γ(f,x)=supk≥2‖Df(x)−1Dkf(x)k!‖1k−1 and α(f,x)=β(f,x)γ(f,x) are used to certify a candidate solution. In particular, if α(f,x)<13−3174, then x is an approximate solution for f, i.e., the candidate is in the domain of quadratic convergence for Newton's method. In other words, if this inequality holds, then there is a root x∗ of F so that iterates of the Newton operator converge as ‖Nk(x)−x∗‖≤122k−1‖x−x∗‖. The software package alphaCertified provides an implementation of the alpha test for polynomials by estimating β and γ.

Interval Newton and Krawczyck methods Suppose G:ℝn→ℝn is a function whose fixed points correspond to the roots of F. For example, the Newton operator has this property. Suppose that I is a region, then,

If G maps I into itself, i.e., G(I)⊆I, then by Brouwer fixed-point theorem, G has at least one fixed point in I, and, hence F has at least one root in I. If G is contractive in a region containing I, then there is at most one root in I. There are versions of the following methods over the complex numbers, but both the interval arithmetic and conditions must be adjusted to reflect this case.

Interval Newton method In the univariate case, Newton's method can be directly generalized to certify a root over an interval. For an interval J, let m(J) be the midpoint of J. Then, the interval Newton operator applied to J is

IN(J)=m(J)−F(m(J))/F′(J). In practice, any interval containing F′(J) can be used in this computation. If x is a root of F, then by the mean value theorem, there is some c∈J such that F(m(J))−F′(c)(m(J)−x)=F(x)=0. In other words, F(m(J))=F′(c)(m(J)−x). Since F′(J) contains the inverse of F at all points of J, it follows that m(J)−x∈F(m(J))/F′(J). Therefore, x=m(J)−(m(J)−x)∈IN(J). Furthermore, if 0∉F′(J), then either m(J) is a root of F and IN(J)={m(J)} or m(J)∉IN(J). Therefore, J∩N(J) is at most half the width of J. Therefore, if there is some root of F in J, the iterative procedure of replacing J by J∩IN(J) will converge to this root. If, on the other hand, there is no root of F in J, this iterative procedure will eventually produce an empty interval, a witness to the nonexistence of roots. See interval Newton method for higher dimensional analogues of this approach.

Krawczyck method Let Y be any n×n invertible matrix in GL(n,ℝ). Typically, one takes Y to be an approximation to F′(y)−1. Then, define the function G(x)=x−YF(x). We observe that x is a fixed of G if and only if x is a root of F. Therefore the approach above can be used to identify roots of F. This approach is similar to a multivariate version of Newton's method, replacing the derivative with the fixed matrix Y. We observe that if J is a compact and convex region and y∈J, then, for any x∈J, there exist c1,…,cn∈J such that

G(y)−G(x)=[∇g1(c1)T⋮∇gn(cn)T](y−x). Let G′(J) be the Jacobian matrix of G evaluated on J. In other words, the entry (G′(J))ij consists of the image of ∂gi∂xj over J. It then follows that G(x)∈G(y)+∇G(J)(x−y), where the matrix-vector product is computed using interval arithmetic. Then, allowing x to vary in J, it follows that the image of G on J satisfies the following containment: G(J)⊂G(y)+G′(J)(J−y), where the calculations are, once again, computed using interval arithmetic. Combining this with the formula for G, the result is the Krawczyck operator

Ky,Y(J)=y−YF(y)+(I−F′(J))(J−y), where I is the identity matrix. If Ky,Y(J)⊂J, then G has a fixed point in J, i.e., F has a root in J. On the other hand, if the maximum matrix norm using the supremum norm for vectors of all matrices in I−F′(J) is less than 1, then G is contractive within J, so G has a unique fixed point. A simpler test, when J is an axis-aligned parallelepiped, uses y=m(J), i.e., the midpoint of J. In this case, there is a unique root of F if

‖K(X)−m(X)‖<w(X)2, where w(X) is the length of the longest side of J.

Miranda test Miranda test (Yap, Vegter, Sharma)

A priori certification methods Interval arithmetic (Moore, Arb, Mezzarobba) Condition numbers (Beltran–Leykin)

Interval arithmetic

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Numerical certification

Start with the simplest possible case. Write down what Numerical certification claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Numerical certification before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Numerical certification ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Numerical certification

In research
Numerical certification appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Numerical certification in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Numerical certification is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebraic geometry, Nonlinear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Numerical certification outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Numerical certification” →

How to study Numerical certification in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Numerical certification means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Numerical certification out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Numerical certification in simple terms?

Numerical certification is the process of verifying the correctness of a candidate solution to a system of equations. In (numerical) computational mathematics, such as numerical algebraic geometry, candidate solutions are computed algorithmically, but there is the possibility that errors have corru…

Why does Numerical certification matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Numerical certification?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Numerical certification.

Tags

  • Algebraic geometry
  • Nonlinear algebra

Keep exploring