Computing Limits of Quotients of Multivariate Real Analytic Functions
Abstract.
We present an algorithm for computing limits of quotients of real analytic functions. The algorithm is based on computation of a bound on the Łojasiewicz exponent and requires the denominator to have an isolated zero at the limit point.
Keywords:
Multivariate function limit, symbolic limit computation.
1. Introduction
Computation of limits is one of the basic problems of computational calculus. In the univariate case computing limits of rational functions is easy, and the state of the art limit computation algorithms [3, 6] are applicable to large classes of functions. In the multivariate case computing limits of real rational functions is a nontrivial problem that has been a subject of recent research [1, 2, 8, 9, 10]. In [7] we compared five methods for computation of limits of real rational functions based on the Cylindrical Algebraic Decomposition (CAD) algorithm. Here we extend the methods to computation of limits of quotients of multivariate analytic functions.
The limit of a real function may not exist, however the lower limit and the upper limit always exist. A weak version of the limit computation problem consists of deciding whether the limit exists and, if it does, finding the value of the limit. A strong version consists of finding the values of the lower limit and the upper limit.
Let us state the problems precisely. Denote , . Let be an open set and let denote the set of analytic functions on . Let , , , , and let .
Problem 1.
Find such that or prove that such does not exist.
Problem 2.
Find such that and .
Example 3.
Let and . Then
Example 4.
Let and . Then
and does not exist.

Recently two algorithms partially solving Problem 1 for rational functions have been proposed. The algorithm presented in [9] solves a modified version of the problem, namely it decides whether the limit exists and is finite. The negative answer includes both the case when the limit does not exist and the case when the limit exists and is infinite. The algorithm uses Wu’s elimination method, rational univariate representations, and requires adjoining two infinitesimal elements to the field. The algorithm presented in [1] (which generalizes algorithms of [2, 8]) solves Problem 1 under the additional assumption that is an isolated zero of . The authors use the theory of Lagrange multipliers to reduce the problem to computing the limit along a real algebraic set, and solve the reduced problem using regular chains methods.
In [7] we presented five methods based on the CAD algorithm that solve both Problem 1 and Problem 2 for arbitrary rational functions. In this note we describe an algorithm that reduces computation of limits of quotients of multivariate analytic functions to computation of limits of rational functions. The algorithm can be combined with any of the algorithms described in [7] to solve both Problem 1 and Problem 2 for quotients of analytic functions.
2. The Algorithm
Let , where and are analytic functions in a neighbourhood of . Without loss of generality we will assume that . If then is continuous at , and hence the limit can be obtained by evaluation. Therefore w.l.o.g. we will assume that . The only computability assumption we make about functions and is that for any we can compute the Taylor polynomials and of total degree . This is a typical case in a computer algebra system, where and are given as expressions obtained by composing analytic functions implemented in the system. Taylor polynomials of arbitrary degree can be readily computed, but for instance algorithms for testing whether an expression represents a function that is identically zero may not be available.
Remark 5.
This specification is not sufficient to always solve Problem 1 or 2. For instance, let , let , and suppose that and are expressions that as functions (but not as expressions) satisfy equalities and for some (unknown) . If then otherwise the limit does not exist. Suppose that no algorithms are available that would simplify and to explicit polynomials. Computation of the Taylor polynomials and for any finite does not allow to decide whether and are finite, but greater than , or are infinite. Hence Problem 1 or 2 cannot always be solved. Similarly, we cannot always decide whether the zero of at is isolated.
The algorithm we present here solves Problem 1 and 2 if has an isolated zero at . Otherwise the algorithm does not terminate. Considering Remark 5, this is the best we can hope for with the given input specification.
Let be an open neighbourhood of , and let denote the Euclidean norm of . The algorithm is based on the following theorem, which is a special case of the Łojasiewicz inequality [5].
Theorem 6.
Let and suppose that for some . Then there exist positive constants , , and such that if then .
Algorithm 7.
(MLIM)
Input: , ,
such that .
Output: .
-
(1)
Set .
-
(2)
Compute .
-
(3)
If the limit does not exist or is not zero, set and go to step .
-
(4)
Return .
Theorem 8.
If has an isolated zero at then Algorithm 7 terminates and returns
Otherwise the algorithm does not terminate.
Proof.
Suppose that has an isolated zero at . By Theorem 6 there exist positive constants , , and such that if then . To prove that Algorithm 7 terminates it suffices to show that if then
Let . We have
Since is an analytic function whose Taylor series does not contain terms of degree lower than , is bounded in a neighbourhood of . Moreover, if ,
hence
which proves that
To show that Algorithm 7 returns note that
We have
Since is an analytic function whose Taylor series does not contain terms of degree lower than , is bounded in a neighbourhood of . Moreover,
hence
Similarly
and therefore
Suppose now that the zero of at is not isolated. Let .
If the zero of at is not isolated, then
attains arbitrarily large values in any neighbourhood of , and hence
does not exist or is not zero.
If the zero of at is isolated, then for some . Since is an analytic function whose Taylor series does not contain terms of degree lower than , there exists such that for all . Let . For we have
and hence
Since is a limit point of ,
does not exist or is not zero. Therefore Algorithm 7 does not terminate. ∎
Remark 9.
Algorithm 7 can be adapted to compute the upper limit or the limit of by returning the upper limit or the limit of in step .
Example 10.
Example 11.
The second part of the proof does need two cases, that is the zero of at may be isolated even if the zero of at is not isolated. Let . Then has an isolated zero at . However, the zero of at is not isolated. In a neighbourhood of zero there are two analytic solutions of with initial series terms given by
Remark 12.
In some cases it is possible to detect that the zero of at is not isolated and terminate the algorithm. For instance if is the lowest degree nonzero form of the Taylor series of and and for some , then and for with some , and hence the zero of at is not isolated.
The number of limit computations in step can be reduced by using fast negative criteria to decide that the zero of at is not isolated.
3. Example
Let us compute the lower limit and the upper limit of at , where
For in step we have . Since , the limit
does not exist, and so in step we set and go back to step . Now
and
hence we move on to step . We have and the returned value is
To find the upper limit we just need to compute the upper limit in step
To compute limits of rational functions Algorithm 7 can use any of the algorithms described in [7]. We used the implementation of these algorithms in Mathematica. In this example methods based on topological properties performed better. Algorithm 15 (TLIM) took seconds when using Algorithm 14 (ZCQ2) and seconds when using Algorithm 13 (ZCQ1). Methods based on optimization were not able to complete the computation in hours. The most time-consuming part of the computation is the limit in step with .
References
- [1] P. Alvandi, M. Kazemi, and M. Moreno Maza. Computing limits of real multivariate rational functions. In Proceedings of the International Symposium on Symbolic and Algebraic Computation, ISSAC 2016, pages 39–46. ACM, 2016.
- [2] C. Cadavid, S. Molina, and J. D. Velez. Limits of quotients of bivariate real analytic functions. J. Symbolic Comp., 50:197–207, 2013.
- [3] D. Gruntz. On computing limits in a symbolic manipulation system. PhD thesis, ETH, 1996.
- [4] K. Kurdyka and S. Spodzieja. Separation of real algebraic sets and the łojasiewicz exponent. Proceedings of the AMS, 142(9):3089–3102, 2014.
- [5] S. Łojasiewicz. Ensembles semi-analytiques. I.H.E.S., 1964.
- [6] B. Salvy and J. Shackell. Symbolic asymptotics: Multiseries of inverse functions. J. Symb. Comput., 27:543–563, 1999.
- [7] A. Strzeboński. Comparison of cad-based methods for computation of rational function limits. In Proceedings of the International Symposium on Symbolic and Algebraic Computation, ISSAC 2018, pages 375–382. ACM, 2018.
- [8] J. D. Velez, J. P. Hernandez, and C. A. Cadavid. Limits of quotients of real polynomial functions of three variables, 2015. arXiv 1505.04121.
- [9] S. J. Xiao and G. X. Zeng. Determination of the limits for multivariate rational functions. Science China Mathematics, 57(2):397–416, 2014.
- [10] S. J. Xiao, X. N. Zeng, and G. X. Zeng. Real valuations and the limits of multivariate rational functions. Journal of Algebra and Its Applications, 14(5):1550–1567, 2015.