Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Partial fraction decomposition (apart)

Split a rational expression into partial fractions.

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

How to write it

apart(expr)

Split with respect to the variable of the expression.

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

apart(expr, x)

Split with respect to a chosen variable.

expr
Any expression: a number, a formula, a list or a matrix. Takes an expression.
x
The variable to split by. Takes a variable.

Examples

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

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

    Open in the solver
  • 1x(x+1)=1x−1x+1\displaystyle \frac{1}{x (x+1)} = \frac{1}{x}-\frac{1}{x+1}
    apart(1/(x (x + 1)), x)

    In the solver, apart(1/(x (x + 1)), x) gives 1/x - 1/(x + 1).

    Open in the solver
  • cancel

    Cancel the common factors of a fraction.

  • together

    Combine fractions into one over a common denominator.

  • coefficients

    List the coefficients of a polynomial, constant term first.

  • to_radicals

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

  • collect

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

  • subs

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