WLJS LogoWLJS Notebook

Factor

Factor[poly] factors a polynomial over the integers.

Examples

Factor a polynomial:

Factor[x^2 - 1]
(* (x - 1)(x + 1) *)

Factor a cubic:

Factor[x^3 - 1]
(* (x - 1)(x^2 + x + 1) *)

Please visit the official Wolfram Language Reference for more details.

On this page