Partial fractions
Partial fraction expansion is used to change a rational fraction in the form , where and are polynomials, into an expression of the form , where are polynomials that are factors of .
Syntax
partial_fractions(Fraction)
partial_fractions(Fraction, Ring)
Description
Given a fraction of polynomials, returns a list whose elements are lists , ..., . The list has as elements the polynomials and .
Given a fraction of polynomials and a ring, returns a list whose elements are lists , ..., . The list has as elements the polynomials and . The decomposition is done over the specified ring.