COLLECT

From iMath
Revision as of 19:00, 10 May 2019 by Jrheinlaender (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Syntax

COLLECT ( equation|expression, symbol )


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Try to restructure both sides of the equation as a polynomial in the given variable. The variable may be omitted, in which case iMath uses the variable that occurs in the greatest amount of powers.


Example

COLLECT ( x y + x^2 y + y^2 x = 0, x) will give the result (y^2 + y) x + x^2 y = 0.

COLLECT ( x y + x^2 y + y^2 x = 0, y) will give the result (x^2 + x) y + x y^2 = 0.

See also

SIMPLIFY