Factor2

Description

Factor2[poly] factors a polynomial in a standard way. Factor2 works sometimes better than Factor on polynomials involving rationals with sums in the denominator. Factor2 uses Factor internally and is in general slower than Factor. There are four possible settings of the option Method (0,1,2,3). In general Factor will work faster than Factor2.

Options[Factor2]

See also:  Collect2.

Examples

t1 = (a - x) (b - x)

t2 = {Factor2[t1],  Factor[t1]}

t3 = Expand[(a - b) (a + b)]

Factor[t3]

Factor2[t3]

Factor2[t3, FactorFull -> True]

Clear[t1, t2, t3]