This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Algebraic Computation / Formula Manipulation /


FilledSmallSquare Cancel[expr] cancels out common factors in the numerator and denominator of expr.

FilledSmallSquare Example: Cancel[(x^2-1)/(x-1)] LongRightArrow.

FilledSmallSquare Cancel is Listable.

FilledSmallSquare Cancel cancels out the greatest common divisor of the numerator and denominator.

FilledSmallSquare Cancel[expr, Modulus->p] generates a result modulo p.

FilledSmallSquare Cancel[expr, Extension->Automatic] allows operations to be performed on algebraic numbers in expr.

FilledSmallSquare Cancel[expr, Trig -> True] treats trigonometric functions as rational functions of exponentials, and manipulates them accordingly.

FilledSmallSquare See Section 1.4.5 and Section 3.3.3.

FilledSmallSquare See also: Apart, GCD.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples