(C1) a/c+b/d;
b a
(D1) - + -
d C
(C2) rat(%);
a d + b C
(D2)/R/ ---------
C d
(C3) PARTFRAC(%,c,d);
b a
(D3) - + -
d C
- Function: PARTFRAC (exp, var)
expands the expression exp in partial fractions with respect to
the main variable, var. PARTFRAC does a complete partial fraction
decomposition. The algorithm employed is based on the fact that
the denominators of the partial fraction expansion (the factors of
the original denominator) are relatively prime. The numerators
can be written as linear combinations of denominators, and the
expansion falls out. See EXAMPLE(PARTFRAC); for examples.
Martin