Mathematica 9 is now available

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

Collect

FilledSmallSquare Collect[expr, x] collects together terms involving the same powers of objects matching x.

FilledSmallSquare Collect[expr, , , ... ] collects together terms that involve the same powers of objects matching , , ... .

FilledSmallSquare Collect[expr, var, h] applies h to the expression that forms the coefficient of each term obtained.

FilledSmallSquare Collect[expr, x] effectively writes expr as a polynomial in x or a fractional power of x.

FilledSmallSquare Examples: Collect[x + n x + m, x] LongRightArrow; Collect[(1+x+y)^3, x] LongRightArrow.

FilledSmallSquare Collect[expr, x, Simplify] can be used to simplify each coefficient separately.

FilledSmallSquare See Section 1.4.5 and Section 3.3.1.

FilledSmallSquare See also: Series, CoefficientList, Together, Cases.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.