Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: partition (<expr>, <x>) Returns a list of two expressions. They are (1) the factors of <expr> (if it is a product), the terms of <expr> (if it is a sum), or the list (if it is a list) which dont contain <x> and, (2) the factors, terms, or list which do.
![Partition Example partition (2*a*x*f(x), x);
partition (a+b, x);
partition ([a, b, f(a), c], a);](http://maxima-online.org//plot.html?g=i-1423399757.png&t=img&db=r-1021661941)
(%i1) partition (2*a*x*f(x), x);
(%o1) [2 a, x f(x)]
(%i2) partition (a+b, x);
(%o2) [b + a, 0]
(%i3) partition ([a, b, f(a), c], a);
(%o3) [[b, c], [a, f(a)]] There are also some inexact matches for partition. Try ?? partition to see them.
(%o1) true (%i2)