FactorTermsList

FactorTermsList[poly]

gives a list in which the first element is the overall numerical factor in poly, and the second element is the polynomial with the overall factor removed.

FactorTermsList[poly,{x1,x2,}]

gives a list of factors of poly. The first element in the list is the overall numerical factor. The second element is a factor that does not depend on any of the xi. Subsequent elements are factors which depend on progressively more of the xi.

Examples

open allclose all

Basic Examples  (1)

Pull out an overall numerical factor, but do no further factoring:

Scope  (2)

Define a larger polynomial:

Pull out an overall numerical factor:

Pull out factors that do not depend on x:

Pull out factors that do not depend on x and y and then factors that do not depend on x:

Here the terms have no common factors:

Options  (1)

Modulus  (1)

Pull out overall numerical factor over integers modulo 7:

Properties & Relations  (2)

FactorTermsList gives a list of factors:

This multiplies the factors together:

FactorTerms gives a product of factors:

Expand combines the factors back together:

FactorList gives a list of all irreducible factors:

Introduced in 1988
 (1.0)