# Minimization of the labour of calculation

*minimization of the computational work*

A branch of modern computational mathematics, devoted to the design and investigation of methods which allow one to find an approximate solution, with preassigned accuracy , of a problem from a class with the least computational cost (least volume of calculation). This branch of computational mathematics can be related to the more general branch concerned with the problem of optimizing methods (see, for example, [1], [2]) in which alongside the problem of minimizing the computational work one considers the dual problem of finding, among the approximation methods requiring roughly the same amount of calculation, a method with maximal accuracy (least error). The latter problem is characteristic, for example, of problems in numerical integration in which the number of points of integration, which measures the computational work, is fixed.

Let (usually , for a precise solution of is sought) be the required accuracy for the solution of a problem from a given class of related problems, and let be an admissible method for finding the solution of any problem from ; the set of such methods will be denoted by . Let a number characterize the computational cost when by using the method a solution of is to be found with accuracy , and put

Then the minimization problem is to find a method such that

that is, in essence one seeks an optimal method for solving not just a fixed problem , but a whole class of problems (optimization for a class). Mostly the minimization of the computational work is done in the asymptotic sense as , , where is a parameter defining the "dimension" of the problem to be solved.

A method is called order optimal if the computational cost in it is at most finitely many times a quantity which is a lower estimate of the computational cost in any possible method; a method is called logarithmically optimal if

The computational work itself is usually characterized by the number of arithmetic operations generated by the method in attaining the accuracy in its realization on a conventional computer. To some extent this simplification is justified, since in many methods logical operations on real computers are performed in at most finitely many arithmetic operations. For admissible methods, as a rule, their stability with respect to rounding errors is required. It is important that the asymptotic growth of the amount of machine memory used in these methods is not too large.

To make this problem of minimizing the computational work concrete, the description of the class must be made precise and the metric space which is used to define the accuracy of a solution of the resulting problem must be stated.

The solution of many such concrete minimization problems is not only of theoretical interest, but has also a great applied significance, allowing one to solve problems on computers with comparatively small expense of machine time. This is particularly important both for problems which require a large amount of calculations, characteristic for example of multi-dimensional problems in mathematical physics (see [2]–[8]), and for problems similar to the problems of calculating elementary functions and finding discrete Fourier transforms (see [1], [9]), which are standard and repeatedly used for the solution of other, more complex, problems. The problem of minimization of the computational work is fairly complicated and in many cases only a partial solution has been obtained.

In practice, for the solution of a problem of relatively small dimension and with no great accuracy, sometimes methods with poor asymptotic characteristics may require less machine time. Often, if the computational cost is acceptable, then the choice of the method is guided first of all by considerations of simplicity and reliability.

Suppose that the original problem is finite dimensional and that there are methods which give a precise solution in a finite number of arithmetic operations, if these operations are performed without rounding errors. As examples one can take the problem of calculating the value of a polynomial of degree for given values of with , the multiplication of two square matrices of order , the solution of a given system of algebraic equations with a square matrix of order , and the problem of finding the discrete Fourier transform (see [1], [9]):

(1) |

where is the imaginary unit, the vector is given and a vector , , is sought. No concrete restrictions are imposed on the form of , , , the number , and the vector , and, therefore, in each of these problems the admissible class consists of all problems of such form. In similar problems takes the role of a parameter and special consideration is given to the behaviour of the computational cost as . For the first of these problems Horner's method, writing in the form

allows one to calculate using multiplications and additions. It has been proved (see [9]) that this method is optimal: There is no method which would require fewer additions and subtractions or fewer multiplications and divisions; the stability is acceptable if is not large (see [1]).

For the second and third problems there are a number of methods giving solutions as in arithmetic operations (see [1]) and they are actually applied in practice. The least computational cost among all methods known at present is attained in a method with estimate , (see [9], [10]). This method is rather complicated and for a number of reasons is at present interesting only from the theoretical point of view. It is not known (1989), whether there is even a logarithmically-optimal method. There is a conjecture that there exists a logarithmically-optimal method with arithmetic operations, where

For problem (1), the subject of harmonic analysis, the simplest methods require arithmetic operations with complex numbers. In 1965 a method was suggested which allows one to find the vector in arithmetic operations (see [1], [9]); this method is called the method of the fast discrete Fourier transform. This method is logarithmically optimal; it is widely used in practice. There are a large number of similar minimization problems, solved and unsolved (see [9], [10]); order-optimal or logarithmically-optimal estimates of the computational cost for finding the solution of similar problems may be considered as an indicator of their complexity.

Minimization of the computational work for the solution of grid systems of equations, which arise either in difference methods or in projection-grid methods (finite-element methods) for the approximate solution of boundary value problems for equations and systems of equations of strongly-elliptic type, has a special theoretical and applied significance, and, usually, is accomplished asymptotically as , where is the number of unknowns in the system, and as . For the solution of the simplest difference analogues of certain boundary value problems for the Poisson equation in a rectangle or a parallelopiped, certain direct methods have been applied successfully which are logarithmically optimal and require arithmetic operations (see [3], [5], [8], [11], [12]). In the case of a rectangle (see [13]) an order-optimal method is known which requires operations. Using the same iteration method one can obtain a logarithmically-optimal estimate of the type

where is the accuracy of the solution of the system in some metric, for a fairly broad class of discrete boundary value problems in a parallelopipedal grid for linear and non-linear strongly-elliptic systems in certain ideal domains (see [2]–[8], [14]). (For example, in a plane they may be generated from a finite number of rectangles with sides parallel to the coordinate axes; and in a three-dimensional space they may be decomposed by a finite number of plane sections parallel to the given coordinate planes into parallelopipeds with boundaries parallel to the coordinate planes.) For more complicated domains the use of grids, topologically equivalent to the above grid domains , and certain types of projection-grid methods often allows one to obtain systems of equations which are as effectively solvable as in the case of ideal domains (see [3], [8], [15], [16]). Here the right-hand sides of these systems can be arbitrary vectors; if it is taken into account that they arise in special form as functionals on sufficiently smooth functions, then methods have been constructed with computational cost and even , under the condition that , . Methods of the latter type, for the solution of a problem on a given grid, use a sequence of similar problems on sparser grids (see [8], [16]).

There are methods which allow one to find with accuracy the minor eigen values and corresponding eigen functions for certain grid analogues of elliptic eigen value problems, at an expense of , or even (for , ), operations (see [8], [15], [16]).

Let the problem be to solve a well-posed operator equation

(2) |

where the operator acts from to , and and are infinite-dimensional Banach spaces. Let be the class of such problems with different for which the solution to (2) belongs to some compact set . Usually is given by one condition:

(3) |

where is a Banach space imbedded in . If is sought with accuracy in the norm of , then often information estimates, uniform with respect to all , are known for the least dimension of a vector , the assignment of which allows one to obtain an element

(4) |

(see [1], [2], [8], [17], [18]). These lower estimates for give obvious lower estimates for the required computational cost in any admissible method. In a number of boundary value problems for strongly-elliptic systems variants of the projection-grid method have been constructed which lead to algebraic systems of equations

(5) |

in unknowns, for which, first, order-optimal iteration methods of approximate solution are known and, secondly, the corresponding functions of the vectors (see (4)) are -approximations in of the solution of (2), where and is a constant not depending on (see [7], [8], [16]). If the effort in forming (5) is not taken into account, these methods lead to order-minimal estimates for the computational cost. For example, for a second-order elliptic equation, where , ( are the Sobolev spaces [19]), if is a domain in the plane, the estimate for the expense of the number of arithmetic operations is obtained. The computational work in forming (5) can often also be estimated as if information on the given functions in the corresponding spaces is used. In particular, in the example must be considered as an element of , but not of (see [16]). A similar kind of estimate has been obtained for certain differential eigen value problems (see [8], [15]).

Questions on the minimization of the computational work for the solution of integral equations, ordinary differential equations and non-stationary partial differential equations have also been discussed (see, for example, [1]–[4], [20]–[22]).

#### References

[1] | N.S. Bakhvalov, "Numerical methods: analysis, algebra, ordinary differential equations" , MIR (1977) (Translated from Russian) |

[2] | J.F. Traub, H. Wozniakowski, "A general theory of optimal algorithms" , Acad. Press (1980) |

[3] | G.I. Marchuk, "Methods of numerical mathematics" , Springer (1975) (Translated from Russian) |

[4] | A.A. Samarskii, "Theorie der Differenzverfahren" , Akad. Verlagsgesell. Geest u. Portig K.-D. (1984) (Translated from Russian) |

[5] | A.A. Samarskii, E.S. Nikolaev, "Numerical methods for grid equations" , 1–2 , Birkhäuser (1989) (Translated from Russian) |

[6] | R. Glowinski, "Numerical methods for nonlinear variational problems" , Springer (1984) |

[7] | V.G. Korneev, "Schemes for the finite element method with a high order of accuracy" , Leningrad (1977) (In Russian) |

[8] | A.G. D'yakonov, "Minimization of computational work. Asymptotically-optimal algorithms" , Moscow (1989) (In Russian) |

[9] | A. Borodin, I. Munro, "The computational complexity of algebraic and numeric problems" , Amer. Elsevier (1975) |

[10] | J.F. Traub (ed.) , Analytic computational complexity , Acad. Press (1976) |

[11] | P. Concus, G. Golub, "Use of fast direct methods for the efficient numerical solution of nonseparable elliptic equations" SIAM J. Numer. Anal. , 10 (1973) pp. 1103–1120 |

[12] | R.J. Barker, "Advanced techniques for the direct numerical solution of Poisson's equation" , Mathematical Models and Numerical Methods , Banach Center Publ. , 3 , PWN (1978) pp. 255–268 |

[13] | R.E. Bank, D.J. Rose, "Extrapolated fast direct algorithms for elliptic boundary value problems" , Algorithms and complexity (Proc. Symp. Carnegie-Mellon Univ.) , Acad. Press (1976) pp. 201–249 |

[14] | G.I. Marchuk, Yu.A. Kuznetsov, A.M. Matsokin, "Fictitious domain and domain decomposition methods" Soviet J. Numer. Anal. Math. Modelling , 1 : 1 (1986) pp. 3–35 |

[15] | E.G. D'yakonov, "Effective methods for solving eigenvalue problems with fourth-order elliptic operators" Soviet J. Anal. Math. Modelling , 1 : 1 (1986) pp. 59–82 |

[16] | U. Trottenberg (ed.) , Multigrid Methods. Proc. Köln-Porz, 1981 , Lect. notes in math. , 960 , Springer (1982) |

[17] | , Theoretical foundations and construction of numerical algorithms of problems of mathematical physics , Moscow (1979) pp. 45–118 (In Russian) |

[18] | V.M. Tikhomirov, "Some problems in approximation theory" , Moscow (1976) (In Russian) |

[19] | S.L. Sobolev, "Applications of functional analysis in mathematical physics" , Amer. Math. Soc. (1963) (Translated from Russian) |

[20] | K.V. Emel'yanov, A.M. Il'in, "Number of arithmetical operations necessary for the approximate solution of Fredholm integral equations of the second kind" USSR Comp. Math. Math. Phys. , 7 : 4 (1967) pp. 259–266 Zh. Vychisl. Mat. i Mat. Fiz. , 7 : 4 (1967) pp. 905–910 |

[21] | V.V. Ivanov, "Optimal algorithms for the numerical solution of singular integral equations" , Continuum Mechanics and Related Problems in Anal. , Moscow (1972) pp. 209–219 (In Russian) |

[22] | Yu.R. Akopyan, L.A. Oganesyan, "A variational-difference method for solving two-dimensional linear parabolic equations" USSR Comp. Math. Math. Phys. , 17 : 1 (1977) pp. 101–110 Zh. Vychisl. Mat. Mat. Fiz. , 17 : 1 (1977) pp. 109–118 |

#### Comments

#### References

[a1] | J.F. Traub, H. Wozniakowski, "Information, uncertainty, complexity" , Addison-Wesley (1983) |

**How to Cite This Entry:**

Minimization of the labour of calculation. E.G. D'yakonov (originator),

*Encyclopedia of Mathematics.*URL: http://www.encyclopediaofmath.org/index.php?title=Minimization_of_the_labour_of_calculation&oldid=18453