factors a polynomial over the integers.
Details and Options
- Factor applies only to the top algebraic level in an expression. You may have to use Map, or apply Factor again, to reach other levels.
- Factor[poly,GaussianIntegers->True] factors allowing Gaussian integer coefficients.
- If any coefficients in poly are complex numbers, factoring is done allowing Gaussian integer coefficients.
- The exponents of variables need not be positive integers. Factor can deal with exponents that are linear combinations of symbolic expressions.
- When given a rational expression, Factor effectively first calls Together, then factors numerator and denominator.
- With the default setting Extension->None, Factor[poly] will treat algebraic number coefficients in poly like independent variables.
- Factor[poly,Extension->Automatic] will extend the domain of coefficients to include any algebraic numbers that appear in poly. »
- Factor automatically threads over lists, as well as equations, inequalities and logic functions.
Examplesopen allclose all
Basic Examples (3)
Basic Uses (6)
When modeling behavior with polynomials, it is important to determine when the polynomial evaluates to zero. For example, suppose the cost to produce a video game system is modeled by the following expression:
Then we solve to find where the profit function is zero using Factor:
Use Factor to find when a polynomial is zero:
We can see they share a common factor of . Confirm this result using PolynomialGCD:
Properties & Relations (3)
Wolfram Research (1988), Factor, Wolfram Language function, https://reference.wolfram.com/language/ref/Factor.html (updated 2007).
Wolfram Language. 1988. "Factor." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/Factor.html.
Wolfram Language. (1988). Factor. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Factor.html