TOPICS
Search

Scaling and Squaring Method


The scaling and squaring method is an algorithm for computing the matrix exponential by approximating it at a scaled matrix and recovering the result by repeated squaring. For a square matrix A and a nonnegative integer s, the exact identity is

 e^A=(e^(2^(-s)A))^(2^s).
(1)

Scaling makes a low-degree Padé approximant or Taylor polynomial effective near zero (Higham 2005, Fasi and Higham 2019).

For a rational function approximation r_m=p_m/q_m to the exponential function, put

 X_0=q_m(B)^(-1)p_m(B),
(2)

where B=2^(-s)A, provided q_m(B) is invertible. The matrix inverse is usually avoided by solving a matrix equation. Repeated squaring then gives

 X_(j+1)=X_j^2
(3)

for 0<=j<s, so X_s approx e^A. The approximation degree and the scaling must balance computational cost and accuracy. Excessive scaling can increase both cost and roundoff error (Al-Mohy and Higham 2009).

The Fasi-Higham arbitrary-precision matrix exponential algorithm takes the unit roundoff of the arithmetic as input. It adaptively chooses between increasing the approximation degree and scaling again, using bounds on the error of the underlying approximation. It supports diagonal Padé approximants or Taylor polynomials, with or without a Schur decomposition (Fasi and Higham 2019). The Fasi-Higham positivity conjecture arose in its error analysis. Counterexamples to the unrestricted conjecture do not establish failure of the algorithm (Scardino 2026).


See also

Fasi-Higham Positivity Conjecture, Matrix Exponential, Padé Approximant, Taylor Polynomial

Explore with Wolfram|Alpha

References

Al-Mohy, A. H. and Higham, N. J. "A New Scaling and Squaring Algorithm for the Matrix Exponential." SIAM J. Matrix Anal. Appl. 31, 970-989, 2009. https://doi.org/10.1137/09074721X.Fasi, M. and Higham, N. J. "An Arbitrary Precision Scaling and Squaring Algorithm for the Matrix Exponential." SIAM J. Matrix Anal. Appl. 40, 1233-1256, 2019. https://doi.org/10.1137/18M1228876.Higham, N. J. "The Scaling and Squaring Method for the Matrix Exponential Revisited." SIAM J. Matrix Anal. Appl. 26, 1179-1193, 2005. https://doi.org/10.1137/04061101X.Scardino, F. "On a Positivity Conjecture of Fasi and Higham for Padé Approximants to the Matrix Exponential." 28 Oct 2026. https://arxiv.org/abs/2610.39051.

Cite this as:

Weisstein, Eric W. "Scaling and Squaring Method." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/ScalingandSquaringMethod.html

Subject classifications