This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Algebraic Computation / Formula Manipulation /

Further Examples: Apart

Apart splits up expressions into partial fractions.

In[1]:=

Out[1]=

Here neither x nor y are treated as constants.

In[2]:=

Out[2]=

Here y is treated as a constant.

In[3]:=

Out[3]=

Here x is treated as a constant.

In[4]:=

Out[4]=

By default, and Sin[2 x] is not treated as a rational function of exponentials.

In[5]:=

Out[5]=

In[6]:=

Out[6]=

With Sin[2 x] is treated as a rational function of exponentials.

In[7]:=

Out[7]=