The limit command has been enhanced for the case of limits of quotients of two bivariate analytic functions (i.e., functions in two variables for which a Taylor expansion exists at the limit point). Many such limits that could not be determined previously are now computable.
In Maple 2016, the following limit calls would return unevaluated, but they can now be computed in Maple 2017.
>
|
|
>
|
|
>
|
|
>
|
|
Plot these two functions in the neighborhood of the origin:
>
|
|
>
|
|
In the latter example, you can visually verify the existence of the limit.
In the first example, by inspecting the graph you can identify two different directions with different limits, namely and . Indeed:
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
How does Maple determine these limits? Let us consider a circle given by , where we will later let . Using the theory of Lagrange multipliers, the extremal values (maxima and minima) of the function on the circle, for a fixed radius , satisfy the condition that the gradient of the function and the gradient of the constraint equation of the circle are parallel:
>
|
|
>
|
|
| (5) |
>
|
|
>
|
|
| (7) |
Thus, the maximal and minimal values of on occur when both and . For the bivariate limit, this means that it is sufficient to consider only those critical paths satisfying . In order to solve this equation, first approximate it by a multivariate Taylor series at the origin, up to terms of order 8 or higher.
>
|
|
| (8) |
Now consider the main variable and try to solve the equation in terms of univariate Taylor series , and start by looking at the lowest degree terms of , specifically
>
|
|
You see that there are two approximate solutions which make the lowest degree terms of vanish, specifically, and . In this example, these actually make the original equation vanish identically:
>
|
|
>
|
|
Indeed, these are exactly the same two paths from above leading to the extremal values and . Since you have found two directions with different limits, you can conclude that the bivariate limit does not exist. The third factor, , does not admit any real solutions and can therefore be ignored.
The following graph depicts both critical paths in the , -plane.
>
|
|
Note that the critical paths are not necessarily always lines. For example, in the second example above:
>
|
|
| (13) |
>
|
|
| (14) |
>
|
|
In this example, factors into linear factors, and you obtain the following solutions for the critical paths:
>
|
|
The limits along all of the critical paths are identical:
>
|
|
>
|
|
>
|
|
| |
This is a proof that the bivariate limit of at the origin exists and is equal to .
The following graph depicts the function as well as all of the critical paths:
>
|
|
>
|
|
>
|
|
>
|
|
In general, the critical equation does not factor into linear factors, and then series approximations for all the critical paths are used.
|