Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
A partial fraction decomposition with the Extension option
ResourceFunction["ExtendedApart"][exp,var] rewrites a rational expression as a sum of terms with minimal degree denominators in the complex domain, treating all variables other than var as constants. | |
ResourceFunction["ExtendedApart"][exp,var,Extension→{a1,a2,…}] allows coefficients that are rational combinations of the algebraic numbers ai. |
Decompose a rational expression into partial fractions:
In[1]:= | ![]() |
Out[1]= | ![]() |
Compare with Apart:
In[2]:= | ![]() |
Out[2]= | ![]() |
Factor the denominator into linear factors:
In[3]:= | ![]() |
Out[3]= | ![]() |
Decompose allowing complex coefficients:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
In[7]:= | ![]() |
Out[7]= | ![]() |
Allow the rationals extended by the algebraic number coefficients:
In[8]:= | ![]() |
Out[8]= | ![]() |
Allow a finite algebraic extension of rationals:
In[9]:= | ![]() |
Out[9]= | ![]() |
ExtendedApart threads over lists:
In[10]:= | ![]() |
Out[10]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License