Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

function_expand function

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

How to write it

function_expand(expr)

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

Examples

  • Γ(x+1)=xΓ(x)\displaystyle \Gamma(x+1) = x \Gamma(x)
    function_expand(gamma(x + 1))

    In the solver, function_expand(gamma(x + 1)) gives x*gamma(x).

    Open in the solver

Functions its examples use

  • gamma

    Gamma function: gamma(n) is (n - 1)! for a whole number n.

  • expand

    Multiply out products and powers into a sum.

  • complex_expand

    Expand an expression assuming its variables are real.

  • power_expand

    Expand powers and logarithms of products and powers.

  • groebner_basis

    Groebner basis of a list of polynomials.

  • full_simplify

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

  • minimal_polynomial

    Minimal polynomial of an algebraic number over the rationals.