此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)
Mathematica HowTo
How to | Compute a Limit
Even simple-looking limits are sometimes quite complicated to compute. Mathematica provides functionality to evaluate several kinds of limits.
Use Limit to calculate limits; the first argument is the function and the second has the form variable -> value. You can expect that :
In[1]:=
Click for copyable input
Out[1]=
You may want to calculate limits from the right or left. For example, although is not well defined, Mathematica defaults to limits from the right:
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
To force the limit to be from the left, use Direction->1:
In[4]:=
Click for copyable input
Out[4]=
    
If you know something about a parameter in a limit, use the Assumptions option to include this information.
Suppose you want to calculate . Without knowing more, the limit cannot be calculated:
In[5]:=
Click for copyable input
Out[5]=
If, however, you know that 0<=x<1, then you can compute the answer:
In[6]:=
Click for copyable input
Out[6]=