Skip to main content

Partial fractions

Partial fraction expansion is used to change a rational fraction in the form f(x)g(x), where f and g are polynomials, into an expression of the form jfj(x)gj(x), where gj(x) are polynomials that are factors of g(x).

Syntax

partial_fractions(Fraction)
partial_fractions(Fraction, Ring)

Description

Given a fraction of polynomials, returns a list L whose elements are lists L1, ..., Lk. The list Lj has as elements the polynomials fj(x) and gj(x)g_j(x).

polynomials.partial_fractions1.calc.png

Given a fraction of polynomials and a ring, returns a list LL whose elements are lists L1L_1, ..., LkL_k. The list LjL_j has as elements the polynomials fj(x)f_j(x) and gj(x)g_j(x). The decomposition is done over the specified ring.

polynomials.partial_fractions2.calc.png