Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Cancel common factors of a fraction (cancel)

Cancel the common factors of a fraction.

With this function, the solver shows the steps whenever it finds them.

How to write it

cancel(expr)

expr
Any expression: a number, a formula, a list or a matrix. Takes an expression.

Examples

  • x2−1x−1=x+1\displaystyle \frac{x^{2}-1}{x-1} = x+1
    cancel((x^2 - 1)/(x - 1))

    In the solver, cancel((x^2 - 1)/(x - 1)) gives x + 1.

    Open in the solver
  • coefficients

    List the coefficients of a polynomial, constant term first.

  • apart

    Split a rational expression into partial fractions.

  • collect

    Group the terms of an expression by powers of a variable.

  • together

    Combine fractions into one over a common denominator.

  • complex_expand

    Expand an expression assuming its variables are real.

  • to_radicals

    Write algebraic numbers, given as roots of polynomials, with radicals.