I've read the documentation on apart() and factor() but I still don't understand the purpose of putting a0 as the second argument to the call to apart(). Also, leaving out a0 produces a NotImplementedError: multivariate partial fraction decomposition error. and replacing a0 with other symbols like a1, a2, etc works fine. But I still don't understand what's going on. Please help.
Sartaj Singh
unread,
Jun 15, 2015, 1:25:57 PM6/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
Here, frac is multivariate, i.e it depends on more than one variable. So, you need to explicitly tell the apart function for which variable should it perform the decomposition.
Eg. No need to give x as the second argument
In[21]: apart(1/((x+1)*(x+2))) Out[21]: 11 -─────+───── x +2 x +1
x is required here (multivariate)
In[22]: apart(y/((x+1)*(x+2)), x) Out[22]: y y -─────+───── x +2 x +1
Hugh
unread,
Jun 26, 2015, 9:18:55 AM6/26/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message