Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Algebra functions

Polynomials and rational expressions: expand, factor, simplify, collect terms, combine fractions or split them into partial fractions, and compute Gröbner bases, resultants and minimal polynomials.

52 functions

Described functions

  • factor

    Factor a polynomial into irreducible factors.

  • simplify

    Simplify an expression, optionally under assumptions.

  • expand

    Multiply out products and powers into a sum.

  • apart

    Split a rational expression into partial fractions.

  • cancel

    Cancel the common factors of a fraction.

  • coefficients

    List the coefficients of a polynomial, constant term first.

  • collect

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

  • degree

    Degree of a polynomial in a variable.

  • denominator

    Denominator of a fraction.

  • numerator

    Numerator of a fraction.

  • subs

    Substitute a rule, or a list of rules, in an expression.

  • together

    Combine fractions into one over a common denominator.

  • complex_expand

    Expand an expression assuming its variables are real.

  • cyclotomic

    Cyclotomic polynomial of a given order.

  • discriminant

    Discriminant of a polynomial in a variable.

  • full_simplify

    Search harder than simplify for a simpler form, under assumptions.

  • function_expand

    Rewrite special functions of shifted arguments in terms of simpler ones.

  • groebner_basis

    Groebner basis of a list of polynomials.

  • minimal_polynomial

    Minimal polynomial of an algebraic number over the rationals.

  • nc_multiply

    The noncommutative product: multiplies quaternions in order, and anything else stays as written.

  • polynomial_gcd

    Greatest common divisor of two polynomials.

  • polynomial_lcm

    Least common multiple of two polynomials.

  • polynomial_quotient

    Quotient of a polynomial division.

  • polynomial_remainder

    Remainder of a polynomial division.

  • power_expand

    Expand powers and logarithms of products and powers.

  • resultant

    Resultant of two polynomials in a variable.

  • to_radicals

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

More functions in this category

Nobody has described these yet: each is listed with its first form.

Other categories

Last updated