Cancel

Cancel[expr]

cancels out common factors in the numerator and denominator of expr.

Details and Options

  • Cancel cancels out the greatest common divisor of the numerator and denominator.
  • Cancel[expr,Modulus->p] generates a result modulo p.
  • Cancel[expr,Extension->Automatic] allows operations to be performed on algebraic numbers in expr.
  • Cancel[expr,Trig->True] treats trigonometric functions as rational functions of exponentials, and manipulates them accordingly.
  • Cancel automatically threads over lists, as well as equations, inequalities and logic functions.

Examples

open allclose all

Basic Examples  (1)

Cancel common factors:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (2)

Options  (3)

Properties & Relations  (1)

See Also

Apart  GCD  PolynomialGCD  PolynomialQuotient

Tutorials

Introduced in 1988
(1.0)
| Updated in 2007
(6.0)