Skip to main content
QUICK REVIEW

[Paper Review] Revisiting the stability of computing the roots of a quadratic polynomial

Nicola Mastronardi, Van Dooren Paul|arXiv (Cornell University)|Sep 29, 2014
Numerical methods for differential equationsMathematics2 references5 citations
TL;DR

This paper establishes that computing the roots of a quadratic polynomial can be achieved with element-wise mixed stability (EMS), meaning the computed roots are close to the exact roots of a slightly perturbed polynomial in a relative, component-wise sense. It proves EMS is attainable and stronger than norm-wise backward stability, but shows no algorithm can achieve element-wise backward stability (EBS) universally, as demonstrated by a counterexample with small coefficients.

ABSTRACT

We show in this paper that the roots $x_1$ and $x_2$ of a scalar quadratic polynomial $ax^2+bx+c=0$ with real or complex coefficients $a$, $b$ $c$ can be computed in a element-wise mixed stable manner, measured in a relative sense. We also show that this is a stronger property than norm-wise backward stability, but weaker than element-wise backward stability. We finally show that there does not exist any method that can compute the roots in an element-wise backward stable sense, which is also illustrated by some numerical experiments.

Motivation & Objective

  • To analyze the numerical stability of algorithms for computing the roots of a quadratic polynomial with real or complex coefficients.
  • To determine whether element-wise backward stability (EBS) is achievable for all quadratic polynomials.
  • To establish a stronger stability notion—element-wise mixed stability (EMS)—that is both practical and theoretically sound.
  • To demonstrate through theory and numerical experiments that EBS is unattainable in general, especially for polynomials with small coefficients.

Proposed method

  • Transform the quadratic polynomial into a monic form via scaling, ensuring backward and forward stability in coefficient computation.
  • Apply variable scaling to reduce the problem to a standardized form $ y^2 - 2\beta y + e = 0 $, where $ e = \pm 1 $, to simplify root computation.
  • Use stable arithmetic for square roots and basic operations under the IEEE floating-point standard, ensuring relative backward errors are bounded by $ \mathcal{O}(u) $.
  • Prove that the computed roots satisfy element-wise mixed stability (EMS), meaning perturbations in roots and coefficients are relative and component-wise.
  • Use normed vector inequalities and bounds on backward errors to show that EMS implies norm-wise backward stability (NBS), but is stronger.
  • Construct a counterexample with $ \beta = 2^{-t} + 2^{-2t} $, showing that no representable roots can satisfy EBS due to inherent grid limitations and relative error accumulation.

Experimental results

Research questions

  • RQ1Can the roots of a quadratic polynomial be computed in an element-wise backward stable manner?
  • RQ2Is element-wise mixed stability (EMS) achievable for all quadratic polynomials with real or complex coefficients?
  • RQ3How does EMS compare to norm-wise backward stability (NBS) in terms of strength and practicality?
  • RQ4Why is element-wise backward stability (EBS) unattainable in general, even with optimal algorithms?
  • RQ5What role do small coefficients play in undermining EBS, and how does this affect numerical stability?

Key findings

  • Element-wise mixed stability (EMS) is achievable for computing the roots of a quadratic polynomial with real or complex coefficients, ensuring relative backward errors of order $ \mathcal{O}(u) $ for each coefficient and root.
  • EMS is a stronger stability property than norm-wise backward stability (NBS), as it provides component-wise relative bounds rather than vector norm bounds.
  • No algorithm can achieve element-wise backward stability (EBS) for all quadratic polynomials, as proven by a counterexample with $ \beta = 2^{-t} + 2^{-2t} $ and $ 2^{-2t} \leq u/2 $.
  • In the counterexample, all representable roots yield a relative error of order $ \sqrt{u} $ in the sum, making EBS impossible due to grid constraints of floating-point arithmetic.
  • Numerical experiments confirm that EMS holds for random real and complex polynomials, but fails for polynomials with very small $ \beta $, consistent with the theoretical impossibility of EBS.
  • The transformation to the standardized form $ y^2 - 2\beta y + e = 0 $ with $ e = \pm 1 $ enables stable computation and is key to achieving EMS.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.