This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


rewrites a rational expression as a sum of terms with minimal denominators.
treats all variables other than var as constants.
  • Apart gives the partial fraction decomposition of a rational expression.
  • Apart writes expr as a polynomial in var together with a sum of ratios of polynomials, where the degree in var of each numerator polynomial is less than that of the corresponding denominator polynomial.
  • Apart[expr, Trig->True] treats trigonometric functions as rational functions of exponentials, and manipulates them accordingly.
  • Apart automatically threads over lists in expr, as well as equations, inequalities, and logic functions.
Decompose into partial fractions:
Decompose into partial fractions:
Click for copyable input
Apart can handle symbolic parameters:
Treat as the main variable and as a constant:
Treat as the main variable and as a constant:
Here Apart picks as the main variable and treats as a constant:
Apart threads over equations and inequalities:
Partial fraction decomposition over the rationals:
Partial fraction decomposition over the integers modulo 2:
Partial fraction decompositions of trigonometric expressions:
Together acts as an inverse of Apart:
New in 1 | Last modified in 6