Collect

Collects the terms of an expression with respect to one of the variables.

Syntax

collect(Expression, Identifier)
collect(Expression, List)

Description

Given an expression and an identifier x in the expression, collects the term of the expression in powers of xLaTeXx.

polynomials.collect1.calc.png

Given an expression and a list with identifiers in the expression, collects the term of the expression in powers of the variables of the list.

polynomials.collect2.calc.png