
partfrac - partial fraction decomposition

Calling sequence:

partfrac(f [ , x ])

Parameters:
f  --   fraction
x  --   indeterminate

Summary:

partfrac(f,x) returns the partial fraction decomposition of the expression
f with respect to the variable x. The second argument can be omitted when
f has only one indeterminate.

>>  partfrac(x^4/(x^3-3*x+2));

                                            - 2
                    11         16      (x - 1)
              x + --------- + --------- + ----------
                  9 (x - 1)   9 (x + 2)      3

>>  f := x^2/(x^2-a^2):
   partfrac(f,x);

                        a          a
                   - --------- - --------- + 1
                    2 (a + x)   2 (a - x)

>>  partfrac(f,a);

                          x          x
                      --------- - ---------
                      2 (a + x)   2 (a - x)

See also:  normal

