Bivariate Limits - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Bivariate Limits

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.

fsinx y2cosxcosy:

limitf,x=0,y=0

−1..1

(1)

gcosx2+y31x2+y2:

limitg,x=0,y=0

0

(2)

Plot these two functions in the neighborhood of the origin:

pfplot3df,x=0.5..0.5,y=0.5..0.5,axes=boxed:pf

pgplot3dg,x=0.5..0.5,y=0.5..0.5,axes=boxed:pg

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 y=x and y=x. Indeed:

f__1fx=a|f(x)y=x;limx0f__1

f__1sinx222cosx

1

(3)

f__2fx=a|f(x)y=x;limx0f__2

f__2sinx222cosx

−1

(4)

withplots:

c1spacecurvex,x,1,x=0.5..0.5,color=red,thickness=3:

c2spacecurvex,x,1,x=0.5..0.5,color=blue,thickness=3:

displaypf,c1,c2

How does Maple determine these limits? Let us consider a circle C given by x2+y2=r2, where we will later let r 0. Using the theory of Lagrange multipliers, the extremal values (maxima and minima) of the function f  on the circle, for a fixed radius r, satisfy the condition that the gradient of the function and the gradient of the constraint equation of the circle are parallel:

Cx2+y2r2:

withVectorCalculus:withLinearAlgebra:

dfnormal~Jacobianf,x,y

dfycosxycosx+ycosxycosy2ycosxy+sinxysinx2+cosx+cosy2xcosxycosx+xcosxycosy2xcosxy+sinxysiny2+cosx+cosy2

(5)

dCJacobianC,x,y

dC2x2y

(6)

eqnumernormalDeterminantdf,dC

eq2cosxcosxyx22cosxcosxyy2+2cosycosxyx22cosycosxyy22sinxysinxy+2sinxysinyx4cosxyx2+4cosxyy2

(7)

Thus, the maximal and minimal values of f  on C occur when both C=0 and eq=0. For the bivariate limit, this means that it is sufficient to consider only those critical paths satisfying eq=0. 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.

eq2mtayloreq,x,y,8

eq2x4+y4+112x6+14x4y214x2y4112y6

(8)

Now consider y the main variable and try to solve the equation eq2=0 in terms of univariate Taylor series y=sx, and start by looking at the lowest degree terms of eq2, specifically

selectdegree=4,eq2

x4+y4

(9)

factor

xyx+yx2+y2

(10)

You see that there are two approximate solutions which make the lowest degree terms of eq2 vanish, specifically, y=x and y=x. In this example, these actually make the original equation eq vanish identically:

eqx=a|f(x)y=x

0

(11)

eqx=a|f(x)y=x

0

(12)

Indeed, these are exactly the same two paths from above leading to the extremal values 1 and 1. Since you have found two directions with different limits, you can conclude that the bivariate limit does not exist. The third factor, x2+y2, does not admit any real solutions and can therefore be ignored.
The following graph depicts both critical paths in the x, y-plane.

implicitploteq,x=0.5..0.5,y=0.5..0.5,numpoints=10000,thickness=2

Note that the critical paths are not necessarily always lines. For example, in the second example above:

dgnormal~Jacobiang,x,y

dg2xsinx2x2+sinx2y2+y3+cosx21x2+y22y3x2yy3+2cosx22x2+y22

(13)

eqnumernormalDeterminantdg,dC

eq2xy2sinx2+3y

(14)

implicitploteq,x=0.5..0.5,y=0.5..0.5,numpoints=100000,thickness=3

In this example, eq factors into linear factors, and you obtain the following solutions for the critical paths:

paths  Vector3:paths1x=solveop2,eq,x:paths2y=solveop3,eq,y:paths3y=solveop4,eq,y:paths

The limits along all of the critical paths are identical:

g__1gx=a|f(x)paths1;limy0g__1

g__1y

0

(15)

g__2gx=a|f(x)paths2;limx0g__2

g__2cosx21x2

0

(16)

g__3gx=a|f(x)paths3;limx0g__3

g__3cosx28sinx23271x2+4sinx229

0

(17)

This is a proof that the bivariate limit of g at the origin exists and is equal to 0.

The following graph depicts the function g as well as all of the critical paths:

curve__1plotsspacecurverhspaths1,y,g__1,y=0.5..0.5,color=red,thickness=3:

curve__2plotsspacecurvex,rhspaths2,g__2,x=0.5..0.5,color=red,thickness=3:

curve__3plotsspacecurvex,rhspaths3,g__3,x=0.5..0.5,color=red,thickness=3:

displaypg,curve__1, curve__2,curve__3

In general, the critical equation does not factor into linear factors, and then series approximations for all the critical paths are used.

See Also

updates/Maple17/BivariateLimits, updates/Maple2015/BivariateLimits, limit, limit/multi - multidimensional limits