FunctionExpand
Usage
• FunctionExpand[expr] 试图展开expr中的特殊的和特定的其他函数,可能时化简复合自变量为更简单的自变量。
• FunctionExpand[expr, assum] 使用假设展开。
Notes
• FunctionExpand 使用大的规则集。 • FunctionExpand 应用到一定的三角函数和特殊函数。 • FunctionExpand自动由FullSimplify调用。 • FunctionExpand中的假设可以如同在Simplify中那样指定。 • 例如: FunctionExpand[expr, x Reals] 假设是一个实数进行展开.
Further Examples
Here is an elementary simplification.
In[1]:=
|
Out[1]=
|
The incomplete gamma function with an integer as the first argument can be expressed in terms of exponentials.
In[2]:=
|
Out[2]=
|
The next few examples yield results that still contain special functions but are considered simpler by Mathematica because the arguments of the resulting special functions are simpler.
In[3]:=
|
Out[3]=
|
In[4]:=
|
Out[4]=
|
In[5]:=
|
Out[5]=
|
FunctionExpand acts like PowerExpand when appropriate.
In[6]:=
|
Out[6]=
|
Here FunctionExpand refrains from distributing the exponent, since and are not always equal.
In[7]:=
|
Out[7]=
|
In[8]:=
|
Out[8]=
|
In[9]:=
|
Out[9]=
|
A common use of FunctionExpand is to simplify trigonometric expressions involving integer or half-integer multiples of the arc.
In[10]:=
|
Out[10]=
|
In[11]:=
|
Out[11]=
|
Many functions can be expressed in terms of gamma functions.
In[12]:=
|
Out[12]=
|
This can be convenient in checking identities.
In[13]:=
|
Out[13]=
|
Here are some other examples in which FunctionExpand expresses exotic or specialized functions in terms of more familiar or more fundamental ones.
In[14]:=
|
Out[14]=
|
In[15]:=
|
Out[15]=
|
In[16]:=
|
Out[16]=
|
Using Assumptions If a, b, c are integers, you can pull out a common factor from GCD.
In[17]:=
|
Out[17]=
|
This assumes n is an integer greater than .
In[18]:=
|
Out[18]=
|
This assumes p and q are distinct primes.
In[19]:=
|
Out[19]=
|
|